Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: X keeps crashing and locking up the terminal  (Read 5053 times)

0 Members and 1 Guest are viewing this topic.

Cricket_Lover

    Topic Starter


    Beginner

    • Experience: Guru
    • OS: Linux variant
    X keeps crashing and locking up the terminal
    « on: September 19, 2011, 06:42:28 PM »
    I'm running a VectorLinux box here, and X crashes every now and then. However, when it crashes, the console (physical console, as in keyboard and monitor) lock up, so I can't change to a text console. I am able to log in still through SSH, however.

    I need to be able to recover from this without rebooting. Preferably, I should be able to execute a short script as root to fix it.

    I do NOT have the magic SysRq compiled into my kernel.

    Any ideas?

    * I _am_ able to use kbd_mode to switch to XLATE, which fixes the keyboard problem. However, the display is still locked up, in whatever mode my X uses.

    Rob Pomeroy



      Prodigy

    • Systems Architect
    • Thanked: 124
      • Me
    • Experience: Expert
    • OS: Other
    Re: X keeps crashing and locking up the terminal
    « Reply #1 on: September 21, 2011, 02:53:04 AM »
    Have you checked the error logs to see if you can account for the crashing?  Seems to me that if the console is locking up, it's a driver issue.  Does VL offer a better driver for your graphics card, perhaps?

    I'm assuming by "lock up" you mean that the Ctrl-Alt-F1 to F8 keys become unresponsive?
    Only able to visit the forums sporadically, sorry.

    Geek & Dummy - honest news, reviews and howtos

    Cricket_Lover

      Topic Starter


      Beginner

      • Experience: Guru
      • OS: Linux variant
      Re: X keeps crashing and locking up the terminal
      « Reply #2 on: September 21, 2011, 05:22:10 PM »
      I can't figure out what causes the crash. What's even more strange is that the most recent time, it 'hung up' on startup, and X kept running (though I couldn't see it or interact with it). However, even had I known the cause, I'd still need a means of recovery.

      Yes, the 'lockup' is the KB being in raw mode (which is fixable using kbd_mode over SSH, or by magic sysrq if it had been compiled in), but the display remains as a full black screen, no matter if I change terminals or not (I can confirm that I can change terminals using the KB status LEDs). And X works usually (for example, right now).

      I cannot say at the moment if there is an explicit driver availible for the chipset (as I'm using the built-in). I'll look into it. However, for what it's worth, the display is limited to 1024x768 right now, and I know that Windows 98 could use higher resolutions.

      And my text terminal is the 80x25 "MS-DOS mode" (as I call it). I'm not using a framebuffer console.

      Rob Pomeroy



        Prodigy

      • Systems Architect
      • Thanked: 124
        • Me
      • Experience: Expert
      • OS: Other
      Re: X keeps crashing and locking up the terminal
      « Reply #3 on: September 22, 2011, 01:04:23 AM »
      Might be worth booting off Knoppix or something like that and seeing how X behaves.  Sometimes the line of least resistance will be an alternative (but still lean and mean) distro.  Xubuntu might be worth a look - the Debian-based distros are pretty strong on hardware detection.
      Only able to visit the forums sporadically, sorry.

      Geek & Dummy - honest news, reviews and howtos

      Cricket_Lover

        Topic Starter


        Beginner

        • Experience: Guru
        • OS: Linux variant
        Kernel panic
        « Reply #4 on: September 27, 2011, 07:11:20 PM »
        Okay, I literally just got kernel panic from X. Numlock was off, caps lock and scroll lock blinking together, monitor in power saving mode. I had been updating a lot of things related to X recently (glib, etc.), so that might be part of the cause.

        I have attached the full log file.

        What should I go about doing?

        [regaining space - attachment deleted by admin]

        Rob Pomeroy



          Prodigy

        • Systems Architect
        • Thanked: 124
          • Me
        • Experience: Expert
        • OS: Other
        Re: X keeps crashing and locking up the terminal
        « Reply #5 on: September 30, 2011, 08:03:01 AM »
        I'm afraid I don't know what to suggest at this stage.  Sounds like you have a driver/kernel module/x module issue that, short of a reinstall, will be hard to fix.  See my previous comment though.
        Only able to visit the forums sporadically, sorry.

        Geek & Dummy - honest news, reviews and howtos