NetBSD-Users archive

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

Re: wd0 dos error

On 03/01/13 16:10, Greg Troxel wrote:
(This does not belong on tech-kern.  You are having a user problem and we
don't have any reason to believe there is a kernel issue yet.  I have
redirected it once again.)

You have not posted the dmesg of the controllers, just the drive.  wd0
is at atabus3.  But atabus3 is at something.   You should read carefully
and understand your entire dmesg.

You left out the controller for scsibus0.  All of these things matter,
and people trying to help you need to understand what is going on.

   Where to paste the 0x0002 flag?. In KERNEL config or in another file?

Yes, in the kernel config.   See the NetBSD Guide about building your
own kernels.

With dd, the idea is to read all of each disk to see if you get errors.
Read the man page and understand all the arguments below first.  Do not
mess up if vs of!

So do:
   dd if=/dev/rsd0d of=/dev/null bs=256k
and see what happens.  You can type ^T to get interim status.

Then, move on to each other disk
   dd if=/dev/rwd0d of=/dev/null bs=256k

and record all the data/errors.  The big question is whether it's just
wd0d or if it's all 4 of them.

Note that the 'd' partition is for the whole disk.
All wd's are checked.
sd0 work
 all wd[1-3] work properly except wd0, no errors are record
0+0 records in
0+0 records out
0 bytes transferred in 10.082 secs (0 bytes/sec)
dd: /dev/rwd0d: Input/output error
0+0 records in
0+0 records out
0 bytes transferred in 10.083 secs (0 bytes/sec)

2.) In AHCI Mode:
sd0 work.
all wd[0-3] work properly.

Home | Main Index | Thread Index | Old Index