You are not logged in.
Pages: 1
hi folks!
Once and forever I would like to get rid of a harddisk problem that has been acute since about kernel .21 and continues after installing a fresh system: on shutdown the hdd is doing this 'soft like cotton batting' and one hears nothing, while on reboot it switches off very roughly which sounds like a buzz saw. Hence that once new hdd probably didn't last very long, I guess, say 1-1 1/2 years, and then crashed. After about nine months now I took another hdd (which is not new) lately -- same thing (edit: well, i haven't crashed yet)!
Some data:
# sdparm -a /dev/sda
/dev/sda: ATA SAMSUNG MP0603H UD10
Read write error recovery mode page:
AWRE 1
ARRE 0
TB 0
RC 0
EER 0
PER 0
DTE 0
DCR 0
RRC 0
COR_S 0
HOC 0
DSOC 0
WRC 0
RTL 0
Caching (SBC) mode page:
IC 0
ABPF 0
CAP 0
DISC 0
SIZE 0
WCE 1
MF 0
RCD 0
DRRP 0
WRP 0
DPTL 0
MIPF 0
MAPF 0
MAPFC 0
FSW 0
LBCSS 0
DRA 0
NV_DIS 0
NCS 0
CSS 0
Control mode page:
TST 0
TMF_ONLY 0
D_SENSE 0
GLTSD 1
RLEC 0
QAM 0
QERR 0
RAC 0
UA_INTLCK 0
SWP 0
ATO 0
TAS 0
AUTOLOAD 0
BTP -1
ESTCT 30
# lsmod
...
ide_pci_generic 4228 0 [permanent]
piix 6920 0 [permanent]
ide_core 103584 2 ide_pci_generic,piix
ata_piix 17668 4
libata 141840 1 ata_piix
scsi_mod 92204 5 usb_storage,sg,sr_mod,sd_mod,libata
dock 7952 2 bay,libata
Finally I entered this script (I used before kernel .22 but worked only for shutting down) into /etc/rc.local.shutdown
#!/bin/sh
for disk in `ls /sys/class/scsi_disk/`; do
echo 1 > /sys/class/scsi_disk/${disk}/stop_on_shutdown
done
without any effect, except this error on shutting down
/etc/rc.local/shutdown, line 3: /sys/class/scsi_disk/0:0:0:0/stop_on_shutdown: no such file or directory
/etc/rc.local/shutdown, line 3: /sys/class/scsi_disk/2:0:0:0/stop_on_shutdown: no such file or directory
But I think this script is not from importance here anyway -- all should be done by the hook autodetect included in mkinitcpio.conf.
Hope you can help me! Tell me if you need more output.
thx
Last edited by nexus7 (2008-06-07 23:24:20)
we are Arch.
you will be assimilated!
resistance is futile!
Offline
"error on shutting down" more specified (see above)
edit:// ...while the address 0:0:0:0 is the hdd and 2:0:0:0 is the dvd-rom, I guess
Last edited by nexus7 (2008-06-08 15:36:48)
we are Arch.
you will be assimilated!
resistance is futile!
Offline
bump! -- no one really?!
Well, I could strictly try avoid direct rebooting for the sake of seemingly any built in hdd...
but I'd also like to know more about the problem and how it could be solved~
we are Arch.
you will be assimilated!
resistance is futile!
Offline
Pages: 1