Frederik Himpe posted on Wed, 12 Jun 2013 11:51:20 +0000 as excerpted: > After this happened, I was unable to unlock my X session, and running > reboot in a console did not have any effect, so I had to do a hard > reset.
Not specific to this bug, but just a potentially helpful hint with such lockups: "Magic SysRQ". Not to go into too much detail on what's a side topic, but briefly: Kernel option: CONFIG_MAGIC_SYSRQ Hit Alt+SysRQ+key at the same time (or one at a time but holding the first two down until "key" is hit, SysRQ key may be labeled SysRequest, PrtScr or similar), where "key" determines the action. There's a number of debugging actions possible, but for "ordinary users", the standard emergency sequence for "key" is "reisub". R: unRaw the keyboard (useful in X or elsewhere where the keyboard is put in raw mode). E: SIGTERM all processes (but init). I: SIGKILL all processes (but init). S: Sync mounted filesystems. U: Remount mounted filesystems read-only. B: Reboot (without syncing or unmounting/remounting, thus the S/U above). However, in my experience by the time you actually need it, the REI part does nothing as if it did you'd not be needing it, so simply "SUB" is the critical bit to remember. If the system's too locked up even the S/U won't work (the kernel will refuse to sync and remount ro if it believes it's too confused to do so safely), and only the B works, but of course that's about as bad as a hard reset so it's mostly helpful in knowing how hard the lockup was. If the kernel is dead too, even the B won't work, leaving only hard-reset. But where it works, "SUB" certainly does help save data that might otherwise be lost due to the unclean shutdown. The fact that you could /get/ to a console to try to run reboot definitely indicates that at least the SUB (and likely the REI bit as well) should have worked, had you used it, thus potentially saving any data otherwise at risk with a hard reset. Google for more, or check the wikipedia entry, which mentions the caveat that for magic-srq, QWERTY keyboard layout is always used, with a helpful conversion table for Dvorak, AZERTY and Colemak layouts. (Another caveat is that on some X-based desktops Ctrl might need added to the combo as well.) http://en.wikipedia.org/wiki/Magic_SysRq_key http://www.google.com/search?q=magic+sysrq -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html