2.1.125: /proc/ide/ide0/hdb errors

Eyal Lebedinsky (eyal@eyal.emu.id.au)
Sun, 25 Oct 1998 10:50:02 +1100


kernel 2.1.125 vanilla

I have disks on all four ide ports. I have a small script that records
system info after bootup, and as part of this it dumps all /proc/ide
files.
I find that one disk fails when reading the smart_* entries, causing an
ide bus reset. Attached at the bottom is the command I use for this
disk,
the output and the relevant messages log.

Note how the second reset takes twice as long to complete, I do not
know if it means anything.

Should this failure happen? Can the smart_* entries be avoided for
disks that do not support this feature? Bus resets are not nice to see
and probably should be avoided if possible.

command:
========
find /proc/ide/ide0/hdb -type f \
-exec echo {}: \; \
-exec cat {} \; \
-exec echo \; \
-exec sleep 10 \;

output:
=======
/proc/ide/ide0/hdb/smart_thresholds:

/proc/ide/ide0/hdb/smart_values:

/proc/ide/ide0/hdb/geometry:
physical 6232/16/63
logical 779/128/63

/proc/ide/ide0/hdb/cache:
76

/proc/ide/ide0/hdb/capacity:
6281856

/proc/ide/ide0/hdb/settings:
name value min max
mode
---- ----- --- ---
----
bios_cyl 779 0 1023
rw
bios_head 128 0 255
rw
bios_sect 63 0 63
rw
breada_readahead 4 0 127
rw
bswap 0 0 1
r
file_readahead 72 0 2097151
rw
io_32bit 0 0 3
rw
keepsettings 0 0 1
rw
max_kb_per_request 122 1 127
rw
multcount 0 0 8
rw
nice1 1 0 1
rw
nowerr 0 0 1
rw
pio_mode write-only 0 255
w
slow 0 0 1
rw
unmaskirq 0 0 1
rw
using_dma 0 0 1
rw

/proc/ide/ide0/hdb/model:
QUANTUM FIREBALL_TM3200A

/proc/ide/ide0/hdb/media:
disk

/proc/ide/ide0/hdb/identify:
225a 1858 0000 0010 7e00 0200 003f 0000
0000 5154 3338 3336 3135 3936 3531 3430
2020 2020 2020 2020 0003 0099 0004 4136
422e 3146 3030 5155 414e 5455 4d20 4649
5245 4241 4c4c 5f54 4d33 3230 3041 2020
2020 2020 2020 2020 2020 2020 2020 8010
0000 0f00 0000 0200 0200 0003 1858 0010
003f da80 005f 0110 da80 005f 0007 0407
0003 0078 0078 012c 0078 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000

/proc/ide/ide0/hdb/driver:
ide-disk version 1.07

log:
====
Oct 25 10:24:21 eyal kernel: hdb: drive_cmd: status=0xd0 { Busy }
Oct 25 10:24:23 eyal kernel: hdb: status timeout: status=0xd0 { Busy }
Oct 25 10:24:23 eyal kernel: hdb: drive not ready for command
Oct 25 10:24:23 eyal kernel: ide0: reset: success
Oct 25 10:24:31 eyal kernel: hdb: drive_cmd: status=0xd0 { Busy }
Oct 25 10:24:38 eyal kernel: hdb: status timeout: status=0xd0 { Busy }
Oct 25 10:24:38 eyal kernel: hdb: drive not ready for command
Oct 25 10:24:38 eyal kernel: ide0: reset: success

--
Eyal Lebedinsky		(eyal@eyal.emu.id.au)

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/