kern/118842: Boot failure with apic enabled (FreeBSD 7)

David Nayloe dragonsa at highveldmail.co.za
Tue Dec 18 13:50:01 PST 2007


>Number:         118842
>Category:       kern
>Synopsis:       Boot failure with apic enabled (FreeBSD 7)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 18 21:50:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     David Nayloe
>Release:        FreeBSD-7.0 BETA4
>Organization:
Private
>Environment:
i386 (ASUS P5N-E Motherboard)
>Description:
The kernel is unable to find any SATA or IDE devices with apic enabled (which is required for Intel Core 2 CPU...).  The following messages appear with verbose logging (hand copied):

ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80
ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80
ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80
[...]
ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80
ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80
ata0: stat1=0x10 err=0x10 lsb=0x14 msb=0xeb
ata0: reset tp2 stat0=80 stat1=10 devices=0x8<ATAPI_SLAVE>
ata0: reinit done ..
      reiniting channel ..
      reset tp1 mask=03 ostat0=80 ostat1=58
ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80
ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80
ata0: stat0=0x80 err=0x80 lsb=0x80 msb=0x80
[...]
hptrr: no controller detected

An amd64 base and kernel will be checked to see if this problem also exists using amd64.  
>How-To-Repeat:
Boot system with SMP enabled (and apic) on ASUS P5* Motherboards
>Fix:
It has been hinted that there is a IRQ conflict between ata0 and apic.  
It is also possible that RELENG_6_* worked (unverified)...

WORK AROUND: disable apic with:
set hint.apic.0.disabled=1   # in boot loader...

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list