HELP: Newbie needs help with crash
My computer just seized up (cursor frose; ctrl-alt bksp and ctrl-alt del did nothing). I then warm rebooted. After the usual, I got: Checking root file system Parallelizing fsck /dev/hda2 contains a file system with errors, check forced /dev/hda2: unattached inode 28780 /dev/hda2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY FSCK FAIL. lease repair manually and reboot. Please note that the root file system is currently mounted read only. To remount it write #mount -n -o remount,rw / I remounted as requested and got EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended. EXT2-fs error (device 03:02): ext2_check_blocks_bitmap: wrong free blocks count in super block, Stored = 3170112, counted = 3170136 EXT2-fs error (device 03:02): ext2_check_inodes_bitmap: wrong free inodes count in super block, Stored = 977529, counted = 977522 I then tried #fsck and got Parallelizing fsck version 1.10. #fsck -r gave same thing. Then tried #e2fsck /dev/hda2 as advised above and got /dev/hda2 is mounted. Do you want to continue (y/n). I cautiously responded n. I also tried #rdev -R/vmlinuz 1 which Sobell's book says should force Linux to boot with root file system mounted readonly, and got 1: no such file or directory. I am now at a standstill. Any help on what to do next would be much appreciated. Albert Hurd -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: HELP: Newbie needs help with crash
Go ahead, and run e2fsck, but read the man page first! I don't guarantee anything for you here (disclaimer) and am not a LINUX expert, but it did work for me when I received similar error messages. Read those man pages. If you can't do so on your Debian LINUX OS, the man pages are on the Web, too, if you have access to another OS. Actually, I must admit, though, that I proceeded with e2fsck without reading the man at the time, although I wouldn't suggest doing so in reaction to _any problem_ for anyone else. :-) _Art [Charset ISO-8859-1 unsupported, filtering to ASCII...] My computer just seized up (cursor frose; ctrl-alt bksp and ctrl-alt del did nothing). I then warm rebooted. After the usual, I got: Checking root file system Parallelizing fsck /dev/hda2 contains a file system with errors, check forced /dev/hda2: unattached inode 28780 /dev/hda2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY FSCK FAIL. lease repair manually and reboot. Please note that the root file system is currently mounted read only. To remount it write #mount -n -o remount,rw / I remounted as requested and got EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended. EXT2-fs error (device 03:02): ext2_check_blocks_bitmap: wrong free blocks count in super block, Stored = 3170112, counted = 3170136 EXT2-fs error (device 03:02): ext2_check_inodes_bitmap: wrong free inodes count in super block, Stored = 977529, counted = 977522 I then tried #fsck and got Parallelizing fsck version 1.10. #fsck -r gave same thing. Then tried #e2fsck /dev/hda2 as advised above and got /dev/hda2 is mounted. Do you want to continue (y/n). I cautiously responded n. I also tried #rdev -R/vmlinuz 1 which Sobell's book says should force Linux to boot with root file system mounted readonly, and got 1: no such file or directory. I am now at a standstill. Any help on what to do next would be much appreciated. Albert Hurd -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] . -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: HELP: Newbie needs help with crash
Albert Hurd wrote: My computer just seized up (cursor frose; ctrl-alt bksp and ctrl-alt del did nothing). This was probably not the operating system but X. If you have a network or serial connection to another machine or a dumb terminal it should still be possible to get out of this without hitting the reset button or the power switch. If you can, get a telnet session to your frozen machine and kill the X server. That should release the session on the frozen machine so that you don't get the problems caused by rebooting without a shutdown. If you have only the one machine, you are stuck, because X won't let you switch to a virtual terminal to do this. If you do have to hit the reset button, try to wait for a minute after any disk activity. That should give the system a chance to sync the disks and reduce the chance of damaging files; it's not guaranteed though. I then warm rebooted. After the usual, I got: Checking root file system Parallelizing fsck /dev/hda2 contains a file system with errors, check forced /dev/hda2: unattached inode 28780 /dev/hda2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY FSCK FAIL. lease repair manually and reboot. Please note that the root file system is currently mounted read only. To remount it write #mount -n -o remount,rw / I remounted as requested and got EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended. EXT2-fs error (device 03:02): ext2_check_blocks_bitmap: wrong free blocks count in super block, Stored = 3170112, counted = 3170136 EXT2-fs error (device 03:02): ext2_check_inodes_bitmap: wrong free inodes count in super block, Stored = 977529, counted = 977522 I then tried #fsck and got Parallelizing fsck version 1.10. #fsck -r gave same thing. Then tried #e2fsck /dev/hda2 as advised above and got /dev/hda2 is mounted. Do you want to continue (y/n). You really have no choice but to say yes here. You can't unmount your root file system without shutting down altogether! I cautiously responded n. I also tried #rdev -R/vmlinuz 1 which Sobell's book says should force Linux to boot with root file system mounted readonly, and got 1: no such file or directory. I am now at a standstill. Any help on what to do next would be much appreciated. -- Oliver Elphick[EMAIL PROTECTED] Isle of Wight http://www.lfix.co.uk/oliver PGP key from public servers; key ID 32B8FAA1 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: HELP: Newbie needs help with crash
On 5 Mar, Oliver Elphick wrote: If you have only the one machine, you are stuck, because X won't let you switch to a virtual terminal to do this. For the future crashes(not that should be any), you could get the joystick module and the jsr_daemon program. This allows you to perform two different functions by pushing the two joystick buttons in different patterns. I have it set for reboot or to kill xdm. The joystick debian package is compiled for 2.0.27 and 2.0.30 but if you grab the source you can compile it for your current kernel. I have it compiled for 2.0.33 if you want. The jsr_daemon is not Debianized(that I know of) you can find it at your local Sunsite mirror. -- Brian -- Mechanical Engineering [EMAIL PROTECTED] Purdue University http://www.ecn.purdue.edu/~servis -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: HELP: Newbie needs help with crash
On Thu, 5 Mar 1998, Oliver Elphick wrote: [ description of problem, and Oliver's helpful advice snipped ] : : Checking root file system : Parallelizing fsck : /dev/hda2 contains a file system with errors, check forced : /dev/hda2: unattached inode 28780 : /dev/hda2: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY : FSCK FAIL. lease repair manually and reboot. : Please note that the root file system is currently mounted read only. To : remount it write : #mount -n -o remount,rw / You should have run fsck at this point, and _then_ remounted it read/write. As you discovered, mounting a filesystem read/write when errors are present is not good. : I remounted as requested and got (well, it did't request that you do so; it was telling you how) : : EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended. : EXT2-fs error (device 03:02): ext2_check_blocks_bitmap: wrong free blocks : count in super block, Stored = 3170112, counted = 3170136 :EXT2-fs error (device 03:02): ext2_check_inodes_bitmap: wrong free inodes : count in super block, Stored = 977529, counted = 977522 : : I then tried #fsck and got : : Parallelizing fsck version 1.10. : : #fsck -r gave same thing. : : Then tried #e2fsck /dev/hda2 as advised above and got : : /dev/hda2 is mounted. Do you want to continue (y/n). : : You really have no choice but to say yes here. You can't unmount your root : file system without shutting down altogether! : : : I cautiously responded n. I also tried #rdev -R/vmlinuz 1 which Sobell's : book says should : force Linux to boot with root file system mounted readonly, and got : : 1: no such file or directory. : : : I am now at a standstill. Any help on what to do next would be much : appreciated. In your situation, I would boot from the rescue floppy, and manually fsck your partition(s). You could also mount them after fsck'ing, and poke around to see if everything's where it ought to be; alternatively, you could just reboot and cross your fingers. You really shouldn't run fsck on a mounted filesystem, which of course is problematic in the case of the root filesystem. -- Nathan Norman MidcoNet - 410 South Phillips Avenue - Sioux Falls, SD 57104 phone: (605) 334-4454 fax: (605) 335-1173 mailto://[EMAIL PROTECTED] http://www.midco.net PGP Key ID: 0xA33B86E9 - Public key available at keyservers PGP Key fingerprint: CE03 10AF 3281 1858 9D32 C2AB 936D C472 -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .