Detecting I/O error and Halting System : come back

From: zine el abidine Hamid
Date: Thu Dec 07 2006 - 06:01:59 EST


Hi evrybody,

I come back with my problem of "I/O error" (refer to
the following link to reffresh your mind :
http://groups.google.fr/group/linux.kernel/browse_thread/thread/386b69ca8389cda0/a58d753bf87c4f06?lnk=st&q=hamid+ZINE+EL+ABIDINE&rnum=2&hl=fr#a58d753bf87c4f06
)


I come back with a last question and I swear that I'll
stop annoying you with this problem.
Can you explain me why it seems that some part of the
hard drive are read only and others seems totaly
disepeared?
Some commands are available and works fine, others
generate an error like this :

-bash: /bin/some_command: Input/output error

Can you explain that?
Can I consider that the commands that are available
are in fact in the memory/cache and not read from the
hard drive?

Executing "e2fsck" turns sometimes in short : I got
"Bus error".
When I execute again "e2fsck" I optain this errors :
Error reading block XXXX ( Attempt to read block from
filesystem resulted in short read). Ignore error?
...
...
Inode XYZW (...) has bad mode (00).
Clear?
...



When I try to write to a file (that I can read and
that is not empty), I loose it ?(size = 0, and the
content seems to be gone away...)

Why, when I execute the shutdown commande, I got a bus
error?




Some Linux users pointed a journal commit problem;
what do you think about?
( see the link :
http://groups.google.fr/group/comp.os.linux.misc/browse_thread/thread/7b51af5a197d4ff3/facf167c3354a06f?lnk=st&q=bash+I%2FO+error&rnum=7&hl=fr#facf167c3354a06f
)


I googled and found that there are lot off similar
cases :
http://groups.google.fr/group/linux.redhat/browse_frm/thread/35cbedb6667755ed/64dc7232177c7dc8?lnk=st&q=bash%3A+Input%2Foutput+error&rnum=25&hl=fr#64dc7232177c7dc8
http://groups.google.fr/group/fa.linux.kernel/browse_frm/thread/87546535d17c674b/030caa62ad099af9?lnk=st&q=bash%3A+%2Fusr%2Fbin%2F%3A+Input%2Foutput+error&rnum=6&hl=fr#030caa62ad099af9
http://groups.google.fr/group/fa.linux.kernel/browse_frm/thread/60d92e4bb6a5f4db/18e69ef0d46448ac?lnk=st&q=bash%3A+%2Fusr%2Fbin%2F%3A+Input%2Foutput+error&rnum=10&hl=fr#18e69ef0d46448ac
http://groups.google.fr/group/comp.os.linux.misc/browse_frm/thread/a006864077740438/f08d570d516657c1?lnk=st&q=bash%3A+%2Fusr%2Fbin%2F%3A+Input%2Foutput+error&rnum=5&hl=fr#f08d570d516657c1
http://groups.google.fr/group/fa.linux.kernel/browse_frm/thread/60d92e4bb6a5f4db/18e69ef0d46448ac?lnk=st&q=bash%3A+%2Fusr%2Fbin%2F%3A+Input%2Foutput+error&rnum=10&hl=fr#18e69ef0d46448ac
http://groups.google.fr/group/alt.e-smith.fr/browse_frm/thread/44176232ffc3c1a6/5b35e4771b8030a7?lnk=st&q=bash%3A+%2Fusr%2Fbin%2F%3A+Input%2Foutput+error&rnum=63&hl=fr#5b35e4771b8030a7
http://groups.google.fr/group/comp.os.linux.misc/browse_frm/thread/137246f4bf738e2/b26503666b86972d?lnk=st&q=bash%3A+Input%2Foutput+error&rnum=3&hl=fr#b26503666b86972d
http://groups.google.fr/group/comp.os.linux.misc/browse_frm/thread/a006864077740438/f08d570d516657c1?lnk=st&q=bash%3A+Input%2Foutput+error&rnum=13&hl=fr#f08d570d516657c1
http://groups.google.fr/group/linux.gentoo.user/browse_frm/thread/678951cec2655493/54ed838422331550?lnk=st&q=bash%3A+Input%2Foutput+error&rnum=35&hl=fr#54ed838422331550







___________________________________________________________________________
Nouveau : téléphonez moins cher avec Yahoo! Messenger ! Découvez les tarifs exceptionnels pour appeler la France et l'international.
Téléchargez sur http://fr.messenger.yahoo.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/