Chris Laware
2007-Jun-19 13:09 UTC
[Xen-users] OpenSuse 10.2 & Xen 3.1 initrd file missing
Hi, I recently put together an OpenSuse 10.2 machine (Tyan motherboard with Opteron dual-core) and downloaded the Xen 3.1 rpm''s. After loading them and modifying grub to boot into the Xen kernel, I get a "file not found" error on the xen initrd file. As it turns out, there is a link for the xen initrd file in /boot/grub but the file doesn''t exist. Not sure what to even bother with except maybe building from the source code. Any ideas on why the rpm never installed the initrd file for xen? This is the correct rpm for Suse and the kernels are the same version. Thanks, Chris _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-Jun-19 13:13 UTC
RE: [Xen-users] OpenSuse 10.2 & Xen 3.1 initrd file missing
> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Chris Laware > Sent: 19 June 2007 14:09 > To: xen-users@lists.xensource.com > Subject: [Xen-users] OpenSuse 10.2 & Xen 3.1 initrd file missing > > Hi, > > > > I recently put together an OpenSuse 10.2 machine (Tyan > motherboard with Opteron dual-core) and downloaded the Xen > 3.1 rpm''s. After loading them and modifying grub to boot > into the Xen kernel, I get a "file not found" error on the > xen initrd file. As it turns out, there is a link for the > xen initrd file in /boot/grub but the file doesn''t exist. > Not sure what to even bother with except maybe building from > the source code. Any ideas on why the rpm never installed > the initrd file for xen? This is the correct rpm for Suse > and the kernels are the same version.That''s probably a bug in the RPM - I presume that the RPM should produce a initrd file - it can''t have a pre-built one, because what your initrd contains depends on the way your system is set up and what components you have in the system. You should be able to make one yourself with "minitrd /boot/<whatevername> 2.6.XX-xen" (2.6.XX-xen should match the kernel of the Xen-kernel you installed with the package). -- Mats -- Mats> > > > Thanks, > > > > Chris > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Marcel Schroers
2007-Jun-19 13:15 UTC
Re: [Xen-users] OpenSuse 10.2 & Xen 3.1 initrd file missing
Hi Chris, well I had the sam problem. It''s seems that the initrd itself is missing. I''ve just made an initrd with(example): mkinitrd /boot/initrd-xen.img 2.6.18-xen (if I remember it right)... if you got some special hardware, like HDD Controller which needs extra kernel-modules please make sure they''re build into the initrd otherwise your HDD''s won''t be recognized(you can check it with the -v option in mkinitrd). Cheers, Marcel Am 19.06.2007 um 15:09 schrieb Chris Laware:> Hi, > > > > I recently put together an OpenSuse 10.2 machine (Tyan motherboard > with Opteron dual-core) and downloaded the Xen 3.1 rpm’s. After > loading them and modifying grub to boot into the Xen kernel, I get > a “file not found” error on the xen initrd file. As it turns out, > there is a link for the xen initrd file in /boot/grub but the file > doesn’t exist. Not sure what to even bother with except maybe > building from the source code. Any ideas on why the rpm never > installed the initrd file for xen? This is the correct rpm for > Suse and the kernels are the same version. > > > > Thanks, > > > > Chris > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Chris Laware
2007-Jun-19 15:53 UTC
RE: [Xen-users] OpenSuse 10.2 & Xen 3.1 initrd file missing
Hi Mats, I''ve tried that and I get an error that the filesystem/directory in my /boot/init-xen.img/etc/fstab cannot be found. I''ve got all my modules I need called out in the mkinitrd script (so my raid card driver, etc. will be pre-loaded in the RAM disk). Still looking...... Thanks, Chris -----Original Message----- From: Petersson, Mats [mailto:Mats.Petersson@amd.com] Sent: Tuesday, June 19, 2007 9:14 AM To: Chris Laware; xen-users@lists.xensource.com Subject: RE: [Xen-users] OpenSuse 10.2 & Xen 3.1 initrd file missing> -----Original Message----- > From: xen-users-bounces@lists.xensource.com > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > Chris Laware > Sent: 19 June 2007 14:09 > To: xen-users@lists.xensource.com > Subject: [Xen-users] OpenSuse 10.2 & Xen 3.1 initrd file missing > > Hi, > > > > I recently put together an OpenSuse 10.2 machine (Tyan > motherboard with Opteron dual-core) and downloaded the Xen > 3.1 rpm''s. After loading them and modifying grub to boot > into the Xen kernel, I get a "file not found" error on the > xen initrd file. As it turns out, there is a link for the > xen initrd file in /boot/grub but the file doesn''t exist. > Not sure what to even bother with except maybe building from > the source code. Any ideas on why the rpm never installed > the initrd file for xen? This is the correct rpm for Suse > and the kernels are the same version.That''s probably a bug in the RPM - I presume that the RPM should produce a initrd file - it can''t have a pre-built one, because what your initrd contains depends on the way your system is set up and what components you have in the system. You should be able to make one yourself with "minitrd /boot/<whatevername> 2.6.XX-xen" (2.6.XX-xen should match the kernel of the Xen-kernel you installed with the package). -- Mats -- Mats> > > > Thanks, > > > > Chris > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Chris Laware
2007-Jun-19 15:59 UTC
Re: [Xen-users] OpenSuse 10.2 & Xen 3.1 initrd file missing
Hi Marcel, I did try that (my modules for the RAID card, etc. are called out in the initrd script for all kernel builds under sysconfig) and it errors out saying it cannot find the directory under /boot/initrd-xen.img/etc/fstab (it fails on line 3036 of the mkinitrd script). I must still have a fileystem issue but can''t figure what it is. I''ve gone through the mkinitrd script, double-checked my modules for inclusion (processor, RAID, sata driver) in the config script and they seem to be right. Yet it still fails which means I missing something here. A regular build for SUSE 10.2 initrd goes smoothly with all the modules included. Still looking.... Thanks, Chris -----Original Message----- From: Marcel Schroers [mailto:schroers@physik.uni-wuppertal.de] Sent: Tuesday, June 19, 2007 9:16 AM To: Chris Laware Cc: xen-users@lists.xensource.com Subject: [BARRACUDA-SPAM] Re: [Xen-users] OpenSuse 10.2 & Xen 3.1 initrd file missing Hi Chris, well I had the sam problem. It''s seems that the initrd itself is missing. I''ve just made an initrd with(example): mkinitrd /boot/initrd-xen.img 2.6.18-xen (if I remember it right)... if you got some special hardware, like HDD Controller which needs extra kernel-modules please make sure they''re build into the initrd otherwise your HDD''s won''t be recognized(you can check it with the -v option in mkinitrd). Cheers, Marcel Am 19.06.2007 um 15:09 schrieb Chris Laware:> Hi, > > > > I recently put together an OpenSuse 10.2 machine (Tyan motherboard > with Opteron dual-core) and downloaded the Xen 3.1 rpm''s. After > loading them and modifying grub to boot into the Xen kernel, I get > a "file not found" error on the xen initrd file. As it turns out, > there is a link for the xen initrd file in /boot/grub but the file > doesn''t exist. Not sure what to even bother with except maybe > building from the source code. Any ideas on why the rpm never > installed the initrd file for xen? This is the correct rpm for > Suse and the kernels are the same version. > > > > Thanks, > > > > Chris > > > > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Petersson, Mats
2007-Jun-19 16:31 UTC
RE: [Xen-users] OpenSuse 10.2 & Xen 3.1 initrd file missing
> -----Original Message----- > From: Chris Laware [mailto:claware@mid-city.com] > Sent: 19 June 2007 16:53 > To: Petersson, Mats; xen-users@lists.xensource.com > Subject: RE: [Xen-users] OpenSuse 10.2 & Xen 3.1 initrd file missing > > Hi Mats, > > I''ve tried that and I get an error that the filesystem/directory in my > /boot/init-xen.img/etc/fstab cannot be found. I''ve got all > my modules I > need called out in the mkinitrd script (so my raid card > driver, etc. will be > pre-loaded in the RAM disk). Still looking......This is probably why the initrd generation fails in the first place - it''s trying to locate a file that doesn''t exist, due to a space missing between the /boot/init-xen.img and /etc/fstab in the mkinitrd (which is a script file) - You may be able to get a new mkinitrd from SuSE or you can try to hack yours by adding a space where it''s looking for the fstab. -- Mats> > Thanks, > > Chris > > > -----Original Message----- > From: Petersson, Mats [mailto:Mats.Petersson@amd.com] > Sent: Tuesday, June 19, 2007 9:14 AM > To: Chris Laware; xen-users@lists.xensource.com > Subject: RE: [Xen-users] OpenSuse 10.2 & Xen 3.1 initrd file missing > > > > > -----Original Message----- > > From: xen-users-bounces@lists.xensource.com > > [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of > > Chris Laware > > Sent: 19 June 2007 14:09 > > To: xen-users@lists.xensource.com > > Subject: [Xen-users] OpenSuse 10.2 & Xen 3.1 initrd file missing > > > > Hi, > > > > > > > > I recently put together an OpenSuse 10.2 machine (Tyan > > motherboard with Opteron dual-core) and downloaded the Xen > > 3.1 rpm''s. After loading them and modifying grub to boot > > into the Xen kernel, I get a "file not found" error on the > > xen initrd file. As it turns out, there is a link for the > > xen initrd file in /boot/grub but the file doesn''t exist. > > Not sure what to even bother with except maybe building from > > the source code. Any ideas on why the rpm never installed > > the initrd file for xen? This is the correct rpm for Suse > > and the kernels are the same version. > > That''s probably a bug in the RPM - I presume that the RPM > should produce > a initrd file - it can''t have a pre-built one, because what > your initrd > contains depends on the way your system is set up and what components > you have in the system. > > You should be able to make one yourself with "minitrd > /boot/<whatevername> 2.6.XX-xen" (2.6.XX-xen should match the > kernel of > the Xen-kernel you installed with the package). > > -- > Mats > > -- > Mats > > > > > > > > Thanks, > > > > > > > > Chris > > > > > > > > > > > > > > > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users