SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
OK, so yesterday while in the midst of getting 2.6.17.13-generic up and running I had a couple of instances where the X server failed to start (default runlevel 4) because I had to sort out Synaptics and the NVIDIA driver. I made the mistake on one occassion of Ctrl-Alt-F7-ing over to the failed X (I don't know why), but then I found I couldn't get back to a tty to try to make a fix to the problem and either restart X or reboot nicely. Ctrl-Alt-F6 did nothing. Nor did Ctrl-Alt-Bkspc (not surprisingly as X didn't manage to start). I found myself with no choice but to hard power down which caused all kinds of fsck errors on reboot (of a severity that it dumped me into an administrative prompt to manually fsck and ignorantly attempt to answer it's questions about what inodes to fix and delete).
At this point, I was sure there was no way the system would boot again, but it did and I eventually got up and running. However, some of the fsck fixes clearly corrupted some things (lost my Firefox Bookmarks, for example) and while I haven't noticed any system weirdness yet, I am near certain there are now some bugaboos lurking where files have been corrupted that are going to bite me in the butt eventually.
So, my questions to the community:
1) Has anyone else found themselves in a situation where they were unable to Ctrl-Alt-F? to a console. I've never had that problem on previous Slacks or other distros. tty6 has always been there for me and I was shocked when I couldn't get to it. I can only think that the keymap for the X display console somehow got hosed.
2) Is there something else I could have done when I found myself unable to get to a console to safely shutdown or prevent the errors resulting from powering down while the fs was still mounted? Some secret key combination I don't know or something.
I have had that experience. In most cases I am able to go to another computer on my network and ssh into the seemingly hung machine and kill stuff nicely before rebooting it through the ssh session.
Now I know theres a lot going on and people has lost confidence in reiser but really I have found reiserfs to be the most reliable filesystem I've come accross. It has never let me down in odd crashes.
Something to look at.
Crashes of X are what taught me to use reiserfs also. I've never had any corruption whatsoever, even after hundreds of crashes when doing weird development stuff!
Anyway sysrq is an advanced kernel feature which must be compiled in. If X doesn't respond you push CTRL+ALT+SCROLL and then you have 2-3 seconds in which you can give a selection of commands. I have used it before, but not lately.
Thanks for the tips. I had seen the Sysrq thing when I've compiled kernels in the past, but never considered compiling it in. Now I get it. Whenever I get around to building a kernel I'll keep that in mind.
Sounds like Reiserfs may be worth a look, too. Not that I'm in any real hurry right now to wipe my partition and start over.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.