Find the answer to your Linux question:
Results 1 to 7 of 7
hi! how can i give commands to the kernel if linux freezes? i have the problem that KDE sometimes hangs and the system freezes after that. how can i shutdown ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie robak's Avatar
    Join Date
    Jan 2004
    Posts
    136

    question on kernel


    hi!

    how can i give commands to the kernel if linux freezes?
    i have the problem that KDE sometimes hangs and the system freezes after that.
    how can i shutdown the system savely or at least umount all the harddrives so that i get no damage to the file system?

    thx in advance

    greez robak
    make install not love

    Registered Linux user number 369245

  2. #2
    Content Team tylerwylie's Avatar
    Join Date
    Apr 2004
    Posts
    120
    Have you tried ctrl-alt backspace to kill X? If it freezes beyond that try some other stuff, alt f4's and whatever you can think to kill KDE processes or whatever to unfreeze it.

  3. #3
    Linux Newbie robak's Avatar
    Join Date
    Jan 2004
    Posts
    136
    of course

    nothing helped but the reset button
    make install not love

    Registered Linux user number 369245

  4. #4
    Just Joined!
    Join Date
    Sep 2004
    Posts
    7
    You have to have MAGIC_SYSRQ turned on in your kernel config file. (I hope you have at least kernel 2.6, i you don't go and download the latest ver, here's the link: www.kernel.org. And be sure to read fileocumentation/sysrq.txt first!!

  5. #5
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    If the entire system is not locked up, you can ssh in, su and kill the rogue process. I've had to do this many a time before...I love ssh.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

  6. #6
    Linux Newbie robak's Avatar
    Join Date
    Jan 2004
    Posts
    136
    thx for yout tips

    sysrq was what i was looking for.

    @sarumont: can you please tell me how to ssh into the system?
    make install not love

    Registered Linux user number 369245

  7. #7
    Linux Guru sarumont's Avatar
    Join Date
    Apr 2003
    Location
    /dev/urandom
    Posts
    3,682
    First off, you'll have to know the IP of the computer and have another box that can access that computer on the LAN. Then, install openssh. You can change your settings in /etc/ssh/sshd_config. I recommend adding the line (or uncommenting):

    Code:
    PermitRootLogin no
    This is probably the best thing you can do to secure your ssh server.

    Now just run sshd and blam! You're good to go! If you need a Windex ssh client, just google for putty and that's your guy. From a *nix box, just ssh user@IP.
    "Time is an illusion. Lunchtime, doubly so."
    ~Douglas Adams, The Hitchhiker's Guide to the Galaxy

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •