Bug 34965

Summary: 4.4, 4.5 freeze at boot time on ASUS P2B series MBs (P2B-B)
Product: Base System Reporter: Francois Pollet <freebsd>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-RELEASE   
Hardware: Any   
OS: Any   

Description Francois Pollet 2002-02-15 15:10:00 UTC
FreeBSD 4.4 and 4.5 hangs at boot time during device detection.

Kernel boot is OK
Device selection is OK
Devices detection hangs after serial (sioX) and parallel (ppcX) ports
detection. The last line printed is:
 plip0 ....

It seems that some kind of conflict happens between ppc0 and ATA/SCSI
drives detection.

The same hardware works without any trouble during a FreeBSD 4.3
installation.

Fix: 

Do not know the fix, but the workaround is:

! Enable the USB interrupt in the P2B Motherboard BIOS config !

No jumper exist on the MB to disable the USB ports, but those
who do not need USB usualy disable the IRQ to keep one more
IRQ free. DON'T DO THAT !

This is probably due to some changes in the usb code
between 4.3 and 4.4 ?
How-To-Repeat: Restart the machine ...
Comment 1 Jeremy Lea freebsd_committer freebsd_triage 2002-02-15 16:35:05 UTC
Hi,

On Fri, Feb 15, 2002 at 07:07:48AM -0800, Francois Pollet wrote:
> It seems that some kind of conflict happens between ppc0 and ATA/SCSI
> drives detection.

This was reported by someone on the lists, and upgrading to the latest
BIOS (xxx13) fixed it for them.

Regards,
  -Jeremy

-- 
FreeBSD - Because the best things in life are free...
                                           http://www.freebsd.org/
Comment 2 Francois Pollet 2002-02-18 16:52:19 UTC
> This was reported by someone on the lists, and upgrading to the latest
> BIOS (xxx13) fixed it for them.

At the early beginning of our investigations, we suspected a SCSI problem 
and we upgraded our 2940UW BIOS to 2.20.

Finaly, after having tested the 4.4 boot CD with the same SCSI adapter
and drive on a P4-B, we saw that the acd0 was detected AFTER the plip0 but
BEFORE the SCSI drives. We suspected then a problem with the P2B-B BIOS
settings.
Our ASUS P2B-B motherboard was already configured with the latest official
BIOS (10.11). We tried the latest 10.13beta7 this morning.

I confirm that the latest BIOS release for the P2B-B does NOT fix the problem.
After reseting the MB BIOS settings to the 'Setup Defaults', the USB IRQ is
activated with the side effect that the problem seems to be fixed as explained
in the workaround ...

The workaround is enough except for those using many adapters that require
specific IRQs (if all slots in use ...)

Regards,

Francois.
Comment 3 hsu 2002-03-23 02:58:59 UTC
I see this same problem with ASUS P2B-S and P2B-DS (latter has only one
processor installed), both freeze with boot floppies and kernels later
than 4.3 (some -STABLE kernels work, I do not have date but a guess might be
2001/03/20).  BIOS upgrade did not have effect.
Comment 4 curtis 2002-08-16 01:05:17 UTC
The problem is still in BIOS rev 1014 beta 2.
The enable USB interrupt workaround appears to work if you have spare 
interrupts.
Comment 5 Johan Karlsson freebsd_committer freebsd_triage 2003-12-04 15:21:25 UTC
State Changed
From-To: open->feedback

Is this still a problem with newer releases of FreeBSD 
for example 4.9?
Comment 6 Kris Kennaway freebsd_committer freebsd_triage 2004-04-24 09:16:52 UTC
State Changed
From-To: feedback->closed

Feedback timeout
Comment 7 fp 2004-04-24 15:15:39 UTC
Sorry, but I never had the occasion to test P2Bxx under 4.9
(old hardware never recycled)

The problem never happened again on any other ASUS MB I use under 4.9 (P3x,P4x)