Xyon (xyon) wrote,

Yay for SysRq

So I kicked off a dvd burn and went to go to bed; but when I get into my room I hear strange noises coming from my computer. Sort of a rotaty ker-klunk noise.

I try to kill cdrecord; but it doesn't respond (my guess is that it's stuck in kernel mode waiting on a response from the dvd burner; so the kernel won't send it the signal until it leaves kernel mode (total guess)).

The noise is making me very sad; so I bite the bullet: Alt + SysRq + s (force-sync filesystem); Alt + SysRq + r (I thought it was reboot. Instead it does something with the keyboard: "Turns off keyboard raw mode and sets it to XLATE.").

So, after fighting with the keyboard for a minute (yay Alt + SysRq + r); I open the doc that contains all of the keys and what they do; tail /var/log/messages for good measure; sync a few more times; then Alt + SysRq + b (reBoot; of course).

So once the system rebooted I could eject the tray to see what was wrong... I accidentally dropped in two discs instead of one; I was hearing one slide under the other.

And reading sysrq.txt now it tells me that I should have done Alt + SysRq + u ("Unmount" --> Remount all filesystems read-only) after sync and before boot.
  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.