[Fedora-xen] Xenguest-install.py Tries to boot non-xen kernel Bad File Descriptor

Demetri Mouratis dmourati at gmail.com
Tue Jun 6 16:40:08 UTC 2006


On 6/6/06, Stephen C. Tweedie <sct at redhat.com> wrote:
> Hi,
>
> On Thu, 2006-06-01 at 15:42 -0700, Demetri Mouratis wrote:
>
> > [root at db4 ~]# xenguest-install.py -n xendomain1 -f
> > /home/xen/xendomain1 -s 25 -r 256 -l
> > http://ops1.rnmd.net/fedora/core/5/i386/os -x
> > ks=http://ops1.rnmd.net/kickstart/cfgs/ks-fedora-core-5-xen-guest.cfg
>
> ...
>
> > [root at db4 ~]# xm create -c xendomain1
> > Using config file "/etc/xen/xendomain1".
> > Going to boot Fedora Core (2.6.15-1.2054_FC5smp)
> >   kernel: /vmlinuz-2.6.15-1.2054_FC5smp
> >   initrd: /initrd-2.6.15-1.2054_FC5smp.img
> > Error: (9, 'Bad file descriptor')
> >
> > It looks to me like the problem is that xm create is trying to boot a
> > non xen Kernel.
>
> Looks like it.  What are the contents of your kickstart file?  A non-
> kickstart domU install definitely leaves the domU, not the smp, kernel
> installed.
>
> -_Stephen

Hi Stephen,

Thanks for the reply. Attached is my ks file.  I don't think there is
anything funky going on there.  Basically, I did a manual install from
the xenguest-install script then poached the resultant anaconda-ks.cfg
file.  The strange thing from my perspective, and I've noted this in
the bug, is that invoking xenguest-install non-interactively, i.e.,
without the -x option, produces a working domU booting the correct
kernel.

Thanks.

# Kickstart file generated by Demetri

install
url --url http://ops1.rnmd.net/fedora/core/5/i386/os
lang en_US.UTF-8
langsupport --default=en_US.UTF-8 en_US.UTF-8
keyboard us
network --device eth0 --bootproto dhcp
rootpw --iscrypted _removed to protect the innocent_
firewall --disabled
selinux --disabled
authconfig --enableshadow --enablemd5
timezone America/Los_Angeles
bootloader --location=mbr
reboot
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --all --drives=xvda --initlabel
part /boot --fstype ext3 --size=100 --ondisk=xvda
part pv.2 --size=0 --grow --ondisk=xvda
volgroup VolGroup00 --pesize=32768 pv.2
logvol / --fstype ext3 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow
logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00
--size=272 --grow --maxsize=544

%packages
@ admin-tools
@ text-internet
@ dialup
@ smb-server
@ web-server
@ printing
@ server-cfg
kernel-smp
grub
lvm2
e2fsprogs

%post




More information about the Fedora-xen mailing list