kern/119894: Initialization of disc controller fails

Burkhard Steding burkhard.steding at gmx.de
Tue Jan 22 13:20:04 UTC 2008


>Number:         119894
>Category:       kern
>Synopsis:       Initialization of disc controller fails
>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 Jan 22 13:20:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Burkhard Steding
>Release:        6.3-RELEASE
>Organization:
>Environment:
FreeBSD xxl.local 6.3-RELEASE FreeBSD 6.3-RELEASE #0: Wed Jan 16 04:18:52 UTC 2008     root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
I have a problem with the disc controller during booting. Sometimes it's okay, but usually it fails. This problem is new with i386 6.3-RELEASE. I never had problems with older releases.

Here is the output of dmesg when everything is fine (verbose boot):

..
atapci0: <Intel ICH5 SATA150 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x3
6,0xf000-0xf00f irq 18 at device 31.2 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0xf000
ata0: <ATA channel 0> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: reset tp1 mask=03 ostat0=51 ostat1=00
ata0: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata0: stat1=0x00 err=0x00 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=00 stat1=00 devices=0x4<ATAPI_MASTER>
ioapic0: routing intpin 14 (ISA IRQ 14) to vector 54
ata0: [MPSAFE]
ata1: <ATA channel 1> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
ata1: reset tp1 mask=03 ostat0=50 ostat1=00
ata1: stat0=0xd0 err=0x01 lsb=0x00 msb=0x00
ata1: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata1: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
ata1: reset tp2 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ioapic0: routing intpin 15 (ISA IRQ 15) to vector 55
ata1: [MPSAFE]

When it fails, I see lots of messages

..
ata1: stat0=0x80 err=0xff lsb=0xff msg=0xff
..

scrolling up very fast and finally:

ata1: reset tp2 stat0=80 stat1=80 devices=0x0

Later on the disk is not found and the kernel can't mount the root file system.
The computer is a Shuttle XPC-G2 with FB61 mainboard and Intel82865G + 82801EB chipset.
>How-To-Repeat:
The error occurs most of the time. After maybe half a dozen retires the system usually comes up without problems.

>Fix:


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


More information about the freebsd-bugs mailing list