[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] inittab corrupted/serial console broken on Xen-ified kernel?



David Stone wrote:
Here's what I do on an F7 system with a built Xen 3.2 and Xenified
Linux kernel from the Xen soure: (2.6.18):

  Add the folloing line to /etc/inittab (after the rest of the getty lines)
    s1:12345:respawn:/sbin/agetty -L 115200 ttyS0 vt100
  Add "ttyS0" to /etc/securetty
  (Reboot)
  For Xen/Dom0:
    On Xen "command line" (in grub.conf) add: com1=115200,8n1
    On Xenified Linux "command line" (in grub.conf) add: console=ttyS0, 115200

It works for me no problem...it looks like you're doing more or less
the same thing?

Yes, looks pretty much the same:

grub.conf:
 kernel /xen.gz-2.6.21-2952.fc8 com1=115200,8n1
module /vmlinuz-2.6.21-2952.fc8xen ro root=/dev/VolGroup00/LogVol01 rhgb quiet console=ttyS0,115200n81

inittab:
co:12345:respawn:/sbin/agetty ttyS0 115200 vt100

The inittab/securetty settings work Ok when booting the non-Xen kernel, but not when booting the Xen kernel. Normally, for non-Xen, I get all of the BIOS output, the grub output, the kernel boot output, and a login on ttyS0. On the Xen kernel, I get everything except the login (and I also get the Xen booting stuff).

I tried swapping my 'co' inittab entry for your 'si' inittab entry, but it made no difference.

I got a reply on fedora-xen, saying that inittab actually *is* modified duirng Xen booting, and it looks like there's an error in the modification. However, this isn't the whole story. I've swapped around my inittab a bit, and it's no longer modified, but I *still* don't get a login. On both my old and new innitabs I get a message like this every 5 mintues in the system log and on the ttyS0 output:

INIT: Id "s1" respawning too fast: disabled for 5 minutes

(this is using your "s1" line). This basically seems to mean that the agetty entry in inittab is incorrect, even though (1) (in this case) it wasn't modified by FC8 and/or Xen, and (2) I know it's correct because it works on the un-Xenned kernel.

???

Evan


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.