Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2007 21:41:38 GMT
From:      David Nayloe <dragonsa@highveldmail.co.za>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/118842: Boot failure with apic enabled (FreeBSD 7)
Message-ID:  <200712182141.lBILfcpq070836@www.freebsd.org>
Resent-Message-ID: <200712182150.lBILo1Fx011830@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712182141.lBILfcpq070836>