tech-kern archive

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

Re: wd0 dos error



On 03/01/13 13:18, Greg Troxel wrote:
Philip Miller <sighoya%gmail.com@localhost> writes:

(redirected; this is appropriate for the users list)

When my netsd system is booting it will show a message about wd0:

wd0 at atabus3 drive 0
wd0: <WDC WD5000AAJS-00A8B0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ixpide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
It looks like the driver is not ok with your controller/disk.  You
didn't explain how many disks you have, or show the dmesg from the
controller being probed.
dmesg of all storages inside:
wd0 at atabus3 drive 0
wd0: <WDC WD5000AAJS-00A8B0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd1 at atabus3 drive 1
wd1: <WDC WD5000AAKS-00UU3A0>
wd1: drive supports 16-sector PIO transfers, LBA48 addressing
wd1: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ixpide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd1(ixpide0:0:1): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd2 at atabus4 drive 0
wd2: <WDC WD5000AAKS-00UU3A0>
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd3 at atabus4 drive 1
wd3: <OCZ-AGILITY3>
wd3: drive supports 16-sector PIO transfers, LBA48 addressing
wd3: 57241 MB, 116301 cyl, 16 head, 63 sec, 512 bytes/sect x 117231408 sectors
wd3: 32-bit data port
wd3: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd2(ixpide0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd3(ixpide0:1:1): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
wd0: dos partition I/O error
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
wd0: dos partition I/O error
wd0d: device fault reading fsbn 32 of 32-33 (wd0 bn 32; cn 0 tn 1 sn 15), retrying wd0d: device fault reading fsbn 32 of 32-33 (wd0 bn 32; cn 0 tn 1 sn 15), retrying wd0d: device fault reading fsbn 32 of 32-33 (wd0 bn 32; cn 0 tn 1 sn 15), retrying wd0d: device fault reading fsbn 32 of 32-33 (wd0 bn 32; cn 0 tn 1 sn 15), retrying wd0d: device fault reading fsbn 32 of 32-33 (wd0 bn 32; cn 0 tn 1 sn 15), retrying
wd0d: device fault reading fsbn 32 of 32-33 (wd0 bn 32; cn 0 tn 1 sn 15)
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
wd0: dos partition I/O error
wd0d: device fault reading fsbn 50000 of 50000-50003 (wd0 bn 50000; cn 367 tn 5 sn 3), retrying wd0d: device fault reading fsbn 50000 of 50000-50003 (wd0 bn 50000; cn 367 tn 5 sn 3), retrying wd0d: device fault reading fsbn 50000 of 50000-50003 (wd0 bn 50000; cn 367 tn 5 sn 3), retrying wd0d: device fault reading fsbn 50000 of 50000-50003 (wd0 bn 50000; cn 367 tn 5 sn 3), retrying wd0d: device fault reading fsbn 50000 of 50000-50003 (wd0 bn 50000; cn 367 tn 5 sn 3), retrying wd0d: device fault reading fsbn 50000 of 50000-50003 (wd0 bn 50000; cn 367 tn 5 sn 3)
findroot: unable to read block 50001 of dev wd0 (5)
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)
wd0: dos partition I/O error
wd0d: device fault reading fsbn 0 of 0-3 (wd0 bn 0; cn 0 tn 0 sn 0), retrying wd0d: device fault reading fsbn 0 of 0-3 (wd0 bn 0; cn 0 tn 0 sn 0), retrying wd0d: device fault reading fsbn 0 of 0-3 (wd0 bn 0; cn 0 tn 0 sn 0), retrying wd0d: device fault reading fsbn 0 of 0-3 (wd0 bn 0; cn 0 tn 0 sn 0), retrying wd0d: device fault reading fsbn 0 of 0-3 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0d: device fault reading fsbn 0 of 0-3 (wd0 bn 0; cn 0 tn 0 sn 0)

I have 4 storeages inside and one ouside: /dev/sd0
sd0 at scsibus0 target 0 lun 0: <Disk, Name, 01.0> disk fixed
sd0: 298 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 625142448 sectors
boot device: sd0
root on sd0a dumps on sd0b
netbsd is on /dev/sd0
I would try using dd to read from rwd0d, at various places, and see if
you can discern a pattern.
How should I do this?. I need exactly the right command with the arguments.
Where is your root fs in netbsd?  something else?
/dev/sd0
You might also try reading ixpide(4) and recompiling a kernel to have
the no-dma flag.
Where to paste the 0x0002 flag?. In KERNEL config or in another file?


Home | Main Index | Thread Index | Old Index