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 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Can't login with Xen and Gentoo

To: jslittl@xxxxxxxxxxxxx
Subject: Re: [Xen-users] Can't login with Xen and Gentoo
From: Hans de Hartog <dehartog@xxxxxxxxxx>
Date: Sat, 16 Sep 2006 14:23:00 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 16 Sep 2006 05:24:08 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1158407995.7375.6.camel@localhost>
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: <E1GOYhb-00012f-7Q@host-192-168-0-1-bcn-london> <1158407995.7375.6.camel@localhost>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060813
Hi John,

I struggled with that myself some time ago. To use the console (as well
with grub, xen, and the kernel) I made the following setup in grub.conf:

default 0
timeout 30

serial --unit=0 --speed=9600 --word=8 --parity=no --stop=1
terminal serial

title   Xen 3.0.2 + Linux 2.6.16.28
root    (hd0,0)
kernel  /boot/xen.gz com1=9600,8n1,0x3f8,4 console=com1 dom0_mem=70M
module  /boot/vmlinuz-2.6.16.28-xen0 root=/dev/hda3 console=ttyS0,9600

title   Linux 2.6.17.6
root    (hd0,0)
kernel  /boot/linux-2.6.17.6 root=/dev/hda3 console=ttyS0,9600

Further more, make sure your console (ttyS0, tty0 or so) are
mentioned in /etc/securetty. You can find out your console
when you boot your standard kernel; login on the console and
give the tty command.
And there used to be a problem some time ago when the packages
shadow and pam-login were blocking each other. You had to unmerge
one of them and (not log out!) emerge the other.
And finally, make sure you run (a)getty on the console (specify
in /etc/inittab).
Note: your console can be tty0 when running your standard kernel
and ttyS0 when running dom0.

Hope this helps,
Hans.

John Little wrote:
> Hi all,
> 
> I installed Xen 3.0.2 using Gentoo portage.  The kernel boots ok to the
> console but when I try to login either as root or myself it won't
> authenticate.
> 
> I read some posts that mentioned not having a populated /dev directory
> but this is in place.  It also contains a full range of tty* and has
> console in it.
> 
> I'm at a loss for what to look for.  The console login is ok when
> booting to the standard kernel.  Can anyone point me in the right
> direction of what I should be checking/doing differently?
> 
> Thanks,
> John

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

<Prev in Thread] Current Thread [Next in Thread>