After an upgrade from 8.2-STABLE Sat Feb 26 14:47:49 MSK 2011, kernel failed to locate one of my hard disks (ad6) on an Intel ICH5 controller. Other attached disks are fine. diff between `egrep 'atapci1|ata3|ad6'` on dmesg's before and after upgrade: --- dmesg-verbose-8.2-ata3.log 2012-11-07 11:33:43.000000000 +0400 +++ dmesg-verbose-8.3-ata3.log 2012-11-07 11:33:50.000000000 +0400 @@ -2,28 +2,20 @@ atapci1: <Intel ICH5 SATA150 controller> atapci1: Reserved 0x10 bytes for rid 0x20 type 4 at 0xdc00 atapci1: [MPSAFE] atapci1: [ITHREAD] -ata2: <ATA channel 0> on atapci1 +ata2: <ATA channel> at channel 0 on atapci1 atapci1: Reserved 0x8 bytes for rid 0x10 type 4 at 0xec00 atapci1: Reserved 0x4 bytes for rid 0x14 type 4 at 0xe800 -ata3: <ATA channel 1> on atapci1 +ata3: <ATA channel> at channel 1 on atapci1 atapci1: Reserved 0x8 bytes for rid 0x18 type 4 at 0xe400 atapci1: Reserved 0x4 bytes for rid 0x1c type 4 at 0xe000 +ata3: SATA reset: ports status=0x02 ata3: p0: SATA connect time=0ms status=00000113 ata3: reset tp1 mask=01 ostat0=80 ostat1=00 ata3: stat0=0x50 err=0x01 lsb=0x3c msb=0xc3 -ata3: reset tp2 stat0=50 stat1=00 devices=0x1 +ata3: reset tp2 stat0=50 stat1=00 devices=0x0 ata3: [MPSAFE] ata3: [ITHREAD] -ata3: Identifying devices: 00000001 -ata3: New devices: 00000001 -ata3-master: pio=PIO4 wdma=WDMA2 udma=UDMA133 cable=40 wire -ad6: setting UDMA100 -ad6: 238475MB <WDC WD2500AAJS-62B4A0 03.03A01> at ata3-master UDMA100 SATA 1.5Gb/s -ad6: 488397168 sectors [484521C/16H/63S] 16 sectors/interrupt 1 depth queue -GEOM: new disk ad6 -ad6: Intel check1 failed -ad6: Adaptec check1 failed -ad6: LSI (v3) check1 failed -ad6: LSI (v2) check1 failed -ad6: FreeBSD check1 failed +ata3: Identifying devices: 00000000 +ata3: New devices: 00000000 Trying to mount root from ufs:/dev/ad6s1a +vfs.root.mountfrom=ufs:/dev/ad6s1a Probably it's the same problem as in http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/159511 Fix: Looks like problem appeared after this commit: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/ata-lowlevel.c.diff?r1=1.84.2.8;r2=1.84.2.9 After rolling src/sys/dev/ata back to 2011-05-25 and rebuilding kernel, ad6 is fine again.
Responsible Changed From-To: freebsd-bugs->mav Over to maintainer.
Hi. Your guess about commit causing this looks realistic. But I don't see problem in it. As I understand, the problem is either with the device or the controller reporting strange values instead of device signature. Respecting that this commit has its purpose and this is the only issue for almost a year I am not sure we should just revert it. Could you try to boot from FreeBSD 9.1-RC3 install image with enabled verbose messages to see whether disk will be detected there and how? -- Alexander Motin
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