From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: Xen 4.0.0-rc8 problem: xenconsole: Could not read tty from store: No such file or directory Date: Sat, 27 Mar 2010 12:05:55 +0000 Message-ID: <1269691555.2490.7.camel@localhost.localdomain> References: <20100327112400.GW1878@reaktio.net> <20100327114705.GY1878@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20100327114705.GY1878@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Pasi =?ISO-8859-1?Q?K=E4rkk=E4inen?= Cc: "xen-devel@lists.xensource.com" , Keir Fraser , M A Young List-Id: xen-devel@lists.xenproject.org On Sat, 2010-03-27 at 11:47 +0000, Pasi K=E4rkk=E4inen wrote:=20 > On Sat, Mar 27, 2010 at 11:29:25AM +0000, Keir Fraser wrote: > > On 27/03/2010 11:24, "Pasi K=E4rkk=E4inen" wrote: > >=20 > > >> Assuming worked somewhat recently, I'd bisect. If it hasn't worked= recently > > >> I'd wonder what's different/special about those RPMs or test setup= . I wonder > > >> if it has something to do with using pygrub? Lots of grub2-support= patches > > >> went into that recently. > > >>=20 > > >=20 > > > I just tried 4.0.0-rc4, and it doesn't work there either: > > >=20 > > > [root@dom0 ~]# xm create -f /etc/xen/f12test-nonmanaged -c > > > Using config file "/etc/xen/f12test-nonmanaged". > > > xenconsole: Could not read tty from store: No such file or director= y > > > [root@dom0 ~]# Started domain f12test (id=3D1) > > >=20 > > > About pygrub.. Michael reported pvgrub doesn't work either, it cras= hes.. > > > it might be different issue though. > >=20 > > If the domain actually boot sokay then I suppose pygrub is unlikely t= o be > > the problem. Not sure it's impossible though, and I would at some poi= nt try > > booting a kernel in dom0 filespace, just to discount pygrub. > >=20 >=20 > Ok, I copied the kernel+initramfs to dom0, changed the configuration fi= le, > and now "xm create -c" works! >=20 > So it looks like a pygrub problem.. pygrub output should be in the xend logs, it includes the command line so you can copy that and run by hand in domain 0. Also you can run the individual pygrub modules (e.g. GrubConf.py) on a config file extracted from a guest to see if it works as expected (see the end of the file for the syntax). Do you know if FC12 uses grub1 or grub2? IIRC the recent patches were all to grub2 specific code paths. Ian.