Skip to contentSkip to conversation

(no subject)

DISCUSSION David Howells 2 participants 3 messages Sep 21, 2009 – Sep 28, 2009

lore
Share & tools
lore
#0 lore raw

Hi,

I've come across an interesting problem with grub and grub2 booting with only a serial console: they won't finish booting if they don't have anything plugged into the serial port. The moment a serial cable is inserted, they throw up a menu and continues booting.

The board boots fine with the extlinux variant of syslinux with nothing attached to the serial port.

I have a Soekris net5501 board, which I'm trying to set up to be a DSL firewall router box. There is no video hardware, and there won't normally be anything plugged into the serial port.

David

#1 lore raw
Quoted 6 lines · David Howells

Hi,

I've come across an interesting problem with grub and grub2 booting with only a serial console: they won't finish booting if they don't have anything plugged into the serial port. The moment a serial cable is inserted, they throw up a menu and continues booting.

Could have something to do with a BIOS bug. What happens if you convert grub_checkkey() and grub_getkey() (in kern/term.c) into dummy stubs?

Signature · 5 lines
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."
#2 lore raw
Quoted 2 lines · Robert Millan

Could have something to do with a BIOS bug. What happens if you convert grub_checkkey() and grub_getkey() (in kern/term.c) into dummy stubs?

It doesn't seem to help. Grub still waits until the PC is plugged in before displaying its menu.

David