NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/54289: wd1 fails to be identified properly



The following reply was made to PR kern/54289; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%consolidated.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/54289: wd1 fails to be identified properly
Date: Fri, 25 Oct 2019 15:37:17 -0500 (CDT)

 I devised a procedure to test -current on the fileserver without risking
 the RAID if disks fail to be detected--reboot in single-user mode,
 disable autoconfiguration and boot the test kernel in single-user mode.
 
 Booting a 9.99.17 kernel (the first I've built since the switch to GCC-8)
 seems to detect wd0 (the first in the RAID set), but still complains
 about IDENTIFY FAILED and can't find identify wd1-wd3 (more RAID disks)
 at all.  These are all on the siisata card.  The system disk is wd4 on
 the onboard piixide parallel bus and wd5-wd8 (the rest of the RAID) are
 on the onboard Intel ahcisata ports.
 
 I captured the dmesg before rebooting with its normal system (8.1_STABLE).
 
 The relevant bits:
 
 [   1.0254336] ppb4 at pci4 dev 0 function 0: Pericom Semiconductors PI7C9X111SL PCIe to PCI Reverse Bridge (rev. 0x02)
 [   1.0254336] ppb4: PCI Express capability version 1 <PCI-E to PCI/PCI-X Bridge>
 [   1.0254336] pci5 at ppb4 bus 5
 [   1.0254336] pci5: i/o space, memory space enabled, rd/line, wr/inv ok
 [   1.0254336] siisata0 at pci5 dev 4 function 0: CMD Technology SiI3124 SATALink (rev. 0x02)
 [   1.0254336] siisata0: interrupting at msi1 vec 0
 [   1.0254336] siisata0: SiI3124, 3.0Gb/s
 [   1.0254336] siisata0: 32-bit 66MHz PCI
 [   1.0254336] atabus0 at siisata0 channel 0
 [   1.0254336] atabus1 at siisata0 channel 1
 [   1.0254336] atabus2 at siisata0 channel 2
 [   1.0254336] atabus3 at siisata0 channel 3
 
 [   1.0254336] piixide0 at pci0 dev 31 function 1: Intel 82801GB/GR IDE Controller (ICH7) (rev. 0x01)
 [   1.0254336] piixide0: bus-master DMA support present
 [   1.0254336] piixide0: primary channel configured to compatibility mode
 [   1.0254336] piixide0: primary channel interrupting at ioapic0 pin 14
 [   1.0254336] atabus4 at piixide0 channel 0
 [   1.0254336] piixide0: secondary channel configured to compatibility mode
 [   1.0254336] piixide0: secondary channel ignored (disabled)
 [   1.0254336] ahcisata0 at pci0 dev 31 function 2: Intel 82801GB/GR AHCI SATA Controller (rev. 0x01)
 [   1.0254336] ahcisata0: 64-bit DMA
 [   1.0254336] ahcisata0: AHCI revision 1.10, 4 ports, 32 slots, CAP 0xc320ff03<PSC,SSC,PMD,ISS=0x2=Gen2,SCLO,SAL,SNCQ,S64A>
 [   1.0254336] ahcisata0: interrupting at msi2 vec 0
 [   1.0254336] atabus5 at ahcisata0 channel 0
 [   1.0254336] atabus6 at ahcisata0 channel 1
 [   1.0254336] atabus7 at ahcisata0 channel 2
 [   1.0254336] atabus8 at ahcisata0 channel 3
 
 [   1.7984930] siisata0 port 0: device present, speed: 3.0Gb/s
 [   1.7984930] siisata0 port 1: device present, speed: 3.0Gb/s
 [   1.7984930] siisata0 port 2: device present, speed: 3.0Gb/s
 [   1.7984930] siisata0 port 3: device present, speed: 3.0Gb/s
 [   1.7984930] ahcisata0 port 0: device present, speed: 3.0Gb/s
 [   1.7984930] ahcisata0 port 1: device present, speed: 3.0Gb/s
 [   1.7984930] ahcisata0 port 2: device present, speed: 3.0Gb/s
 [   1.7984930] ahcisata0 port 3: device present, speed: 3.0Gb/s
 [   1.8084982] wd0 at atabus0 drive 0
 [   1.8084982] wd0: <Hitachi HDS721010CLA332>
 [   1.8084982] wd0: drive supports 16-sector PIO transfers, LBA48 addressing
 [   1.8084982] wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
 
 [   7.8311162] wd0: autoconfiguration error: IDENTIFY failed
 [   7.8311162] autoconfiguration error: wd0: unable to open device, error = 5
 [  10.8383800] wd0(siisata0:0:0): using PIO mode 0
 [  10.8383800] wd1 at atabus1 drive 0
 [  16.8629319] wd1: autoconfiguration error: IDENTIFY failed
 [  16.8629319] wd1: fixing 0 sector size
 [  16.8629319] wd1: secperunit and ncylinders are zero
 [  19.8701959] wd1(siisata0:1:0): using PIO mode 0
 [  19.8701959] wd2 at atabus2 drive 0
 [  25.8947475] wd2: autoconfiguration error: IDENTIFY failed
 [  25.8947475] wd2: fixing 0 sector size
 [  25.8947475] wd2: secperunit and ncylinders are zero
 [  28.9020114] wd2(siisata0:2:0): using PIO mode 0
 [  28.9020114] wd3 at atabus3 drive 0
 [  34.9265633] wd3: autoconfiguration error: IDENTIFY failed
 [  34.9265633] wd3: fixing 0 sector size
 [  34.9265633] wd3: secperunit and ncylinders are zero
 [  37.9338271] wd3(siisata0:3:0): using PIO mode 0
 [  37.9338271] wd4 at atabus4 drive 0
 [  37.9338271] wd4: <Maxtor 31536H2>
 [  37.9338271] wd4: drive supports 16-sector PIO transfers, LBA addressing
 [  37.9338271] wd4: 14655 MB, 29777 cyl, 16 head, 63 sec, 512 bytes/sect x 30015216 sectors
 [  37.9940749] wd4: 32-bit data port
 [  37.9940749] wd4: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
 [  37.9940749] wd4(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
 [  37.9940749] wd5 at atabus5 drive 0
 [  37.9940749] wd5: <Hitachi HDS721010CLA332>
 [  37.9940749] wd5: drive supports 16-sector PIO transfers, LBA48 addressing
 [  37.9940749] wd5: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
 [  38.0242696] wd5: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [  38.0242696] wd5(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [  38.0242696] wd6 at atabus6 drive 0
 [  38.0242696] wd6: <Hitachi HDS721010CLA332>
 [  38.0242696] wd6: drive supports 16-sector PIO transfers, LBA48 addressing
 [  38.0242696] wd6: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
 [  38.0644482] wd6: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [  38.0644482] wd6(ahcisata0:1:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [  38.0644482] wd7 at atabus7 drive 0
 [  38.0644482] wd7: <Hitachi HDS721010CLA332>
 [  38.0644482] wd7: drive supports 16-sector PIO transfers, LBA48 addressing
 [  38.0644482] wd7: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
 [  38.0946233] wd7: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [  38.0946233] wd7(ahcisata0:2:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [  38.0946233] wd8 at atabus8 drive 0
 [  38.1046895] wd8: <Hitachi HDS721010CLA332>
 [  38.1046895] wd8: drive supports 16-sector PIO transfers, LBA48 addressing
 [  38.1046895] wd8: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
 [  38.1348227] wd8: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133), WRITE DMA FUA, NCQ (32 tags) w/PRIO
 [  38.1348227] wd8(ahcisata0:3:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA), NCQ (31 tags) w/PRIO
 [  44.3801110] wd0: autoconfiguration error: IDENTIFY failed
 [  44.3801110] opendisk: can't open dev wd0 (5)
 [  50.4448822] wd0: autoconfiguration error: IDENTIFY failed
 [  50.4448822] opendisk: can't open dev wd0 (5)
 [  56.5498116] wd0: autoconfiguration error: IDENTIFY failed
 [  56.5498116] WARNING: 9 errors while detecting hardware; check system log.
 [  56.5498116] boot device: wd4
 [  56.5498116] root on wd4a dumps on wd4b
 [  56.6401114] root file system type: ffs
 [  56.6501979] kern.module.path=/stand/amd64/9.99.17/modules
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index