WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-users

[Top] [All Lists]

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

To: Xen <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-users] inittab corrupted/serial console broken on Xen-ified kernel?
From: Evan Lavelle <sa212+xen@xxxxxxxxxxx>
Date: 2007年12月17日 16:20:39 +0000
Cc: Sadique Puthen <sputhenp@xxxxxxxxxx>, David Stone <unclestoner@xxxxxxxxx>
Delivery-date: 2007年12月17日 08:21:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1a74a8410712170709w32983b31xcbf4ae5efbb9eae3@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4761BE71.5090304@xxxxxxxxxxx> <47625186.2040905@xxxxxxxxxx> <47625AD1.3050905@xxxxxxxxxxx> <1a74a8410712170709w32983b31xcbf4ae5efbb9eae3@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)
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
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] debian domU strange network behaviuor... , Martin Emrich
Next by Date: Re: [Xen-users] Ubuntu guest domain on Fedora host (dom0) domain , Julius Spencer
Previous by Thread: Re: [Xen-users] inittab corrupted/serial console broken on Xen-ified kernel? , David Stone
Next by Thread: Re: [Xen-users] inittab corrupted/serial console broken on Xen-ified kernel? , Tom Brown
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /