Bug 119894 - [ata] Initialization of disc controller fails [regression]
Summary: [ata] Initialization of disc controller fails [regression]
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 6.3-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-22 13:20 UTC by Burkhard Steding
Modified: 2017-12-31 22:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Burkhard Steding 2008-01-22 13:20:02 UTC
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 retries the
system usually comes up without problems.
Comment 1 Burkhard Steding 2008-02-02 16:07:58 UTC
The problem also exists with 7.0RC1.
Comment 2 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:29 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped