Find the answer to your Linux question:
Results 1 to 5 of 5
As the title say, I'm having this odd problem, consistently, if I disconnect the USB keyboard from the box, it hangs after initializing md0 (raid of 10 sata disks).. The ...
  1. #1
    Just Joined! DusteD's Avatar
    Join Date
    May 2006
    Location
    Denmark
    Posts
    35

    Freezes on startup only if USB keyboard disconnected

    As the title say, I'm having this odd problem, consistently, if I disconnect the USB keyboard from the box, it hangs after initializing md0 (raid of 10 sata disks)..
    The cursor blinks, but it never gets further, I've had it hanging like that for a day (I started the box before I went to school, and when I got home, I found that it never booted completely)

    If I connect the keyboard, the box boots fine..
    Ever heard of anything like that?

  2. #2
    Linux Engineer rcgreen's Avatar
    Join Date
    May 2006
    Location
    the hills
    Posts
    1,112
    In fact, I have assumed that most computers
    will refuse to boot, whether you use a USB
    or a PS/2 keyboard. Maybe there is a setting
    in the BIOS where you can set it to disregard
    keyboard errors, so it will boot with or without
    the keyboard attached.

  3. #3
    Just Joined! DusteD's Avatar
    Join Date
    May 2006
    Location
    Denmark
    Posts
    35
    Quote Originally Posted by rcgreen View Post
    In fact, I have assumed that most computers
    will refuse to boot, whether you use a USB
    or a PS/2 keyboard. Maybe there is a setting
    in the BIOS where you can set it to disregard
    keyboard errors, so it will boot with or without
    the keyboard attached.
    Hi, thank you for your response, maybe I didn't make the situation clear;
    The problem is after control has gone from bios, to boot loader, to the linux kernel. And I suppose it's running, or very near to run, init at this point.

    Bios is set to "Halt on no errors", and bios would display an error message if that was the problem, it shouldn't hang the OS. :

  4. #4
    Just Joined! janrocks's Avatar
    Join Date
    May 2006
    Location
    Under the stairs
    Posts
    19
    From what I can tell the problem is most likely in the x-server config. I would hazard a guess instead of a specified keyboard and ps2/usb it's searching for one instead.

    First place I would start looking is in /etc/X11/xorg.conf ..

    Section "InputDevice"

    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Boots fine with or without a keyboard.. lenny 64.

  5. #5
    Just Joined! DusteD's Avatar
    Join Date
    May 2006
    Location
    Denmark
    Posts
    35
    Quote Originally Posted by janrocks View Post
    From what I can tell the problem is most likely in the x-server config. I would hazard a guess instead of a specified keyboard and ps2/usb it's searching for one instead.

    First place I would start looking is in /etc/X11/xorg.conf ..



    Boots fine with or without a keyboard.. lenny 64.
    Hi, thank you for your suggestion, but this happens before init is even run (or atleast, before init gets the chance to write any output), and there is no X windowing system installed.

Posting Permissions

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