[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Xen-users] Getting frustrated with Xen


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Art Fore <art.fore@xxxxxxxxx>
  • Date: Sat, 28 Oct 2006 00:05:19 +0800
  • Delivery-date: Fri, 27 Oct 2006 09:10:56 -0700
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:reply-to:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=S0EHgt4JUfXeH6SqwE2AQMiJAuIQOJuJKe3XGvNS86Q1F2tROSZ1LQWA6p3nauu3fgKkGrvcZ7dCXCpdX+hJRtBDZ+3oDBTXXS1Ms/NcFjCv0+f7qIzn1bXGMJtVHfS/zJ6ubtA1LCBeHgNHtJpEmoUnTlczN/EkakjrIS1tqHI=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

On Fri, 2006-10-27 at 17:48 +0200, Petersson, Mats wrote:
>  
> > -----Original Message-----
> > From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx 
> > [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Art Fore
> > Sent: 27 October 2006 16:31
> > To: xen-users@xxxxxxxxxxxxxxxxxxx
> > Subject: RE: [Xen-users] Getting frustrated with Xen
> > 
> > On Fri, 2006-10-27 at 17:28 +0200, Petersson, Mats wrote:
> > > > Well, another brick wall. I copied the following as a new entry
> > > > on /boot/grob/menu.lst
> > > > 
> > > > title Xen 3.0 / XenLinux 2.6
> > > >        kernel /boot/xen-3.0.gz console=vga
> > > >        module /boot/vmlinuz-2.6-xen root=<root-dev> ro 
> > console=tty0
> > > >        module /boot/initrd-2.6-xen.img
> > > > 
> > > > and modified it to:
> > > > 
> > > > title Xen 3.0 / XenLinux 2.6
> > > >        kernel /boot/xen-3.0.gz console=vga
> > > >        module /boot/vmlinuz-2.6-xen root=/dev/sda2 ro console=tty0
> > > >        module /boot/initrd-2.6-xen.img
> > > > 
> > > > Reboot, and I get /boot/initrd-2.6-xen.img: no such file and sure
> > > > enough, there is no such file. 
> > > > 
> > > > Tried the # depmod 2.6.16-xen that seemed to go OK.
> > > > Tried the 
> > > > mkinitrd -v -f --with=aacraid --with=sd_mod --with=scsi_mod
> > > > initrd-2.6.16-xen.img 2.6.16-xen
> > > > 
> > > > and got -v no valid option, so check man mkinitrd and seen a 
> > > > -V option.
> > > > Thinking a typographical error, changed the -v to -V. Then get
> > > > unrecognized --. Only thing I could find that might fit was 
> > > > -m, so tried
> > > > mkinitrd -V -f -m initrd-2.6.16-xen.img 2.6.16-xen
> > > > No luck there either. So, how does this work? The 
> > instructions sure do
> > > > not. (Actually the 2.6.16-zen does not make sense at all)
> > > 
> > > Unfortunately, different distributors have different options for
> > > mkinitrd, so you'll have to do "man mkinitrd" and see what 
> > the options
> > > are for manually forcing certain drivers into your 
> > initrd-file [assuming
> > > you actually NEED to have aacraid, sd_mod and scsi_mod in 
> > your initrd -
> > > you really shouldn't need to specify them manually in 
> > normal cases - but
> > > if you know you need those, then it's a good idea to force 
> > them in there
> > > just in case...]. 
> > > 
> > > On SuSE 9.x, you specify the moudles you want with -m, and 
> > -f, -v are
> > > both "meaningless". 
> > > On FC4, -f means "force overwrite of initrd file", and -v 
> > means "print
> > > verbose information". It also has the --with options. Note also that
> > > mkinitrd is a shell-script, so whilst it may not be 
> > immediately obvious
> > > what it does, you can "just read it", rather than binary 
> > files that you
> > > have to find the source of. 
> > > 
> > > I also think you should specify 2.6.16.29-xen, but maybe that's only
> > > when you build from unstable? Check what your version is called in
> > > /lib/modules/  - my machine has /lib/modules/2.6.16.29-xen 
> > and various
> > > older ones. You need to specify exactly the right version 
> > of linux, even
> > > if your initrd doesn't have that name in it... 
> > > 
> > > --
> > > Mats
> > Well, the machine is dead in the water now. When I boot into 
> > the non xen
> > kernnel, I get so many failures and cannot even go to run level 5. Why
> > should those commands have done anything to the normal kernel? Guess I
> > will have to do a reinstall to get back to where I was before. This is
> > really the shits. (am doing this from my laptop now)
> 
> Hmm - did you by any chance accidentally update another initrd than the
> one you use for xen? Check the dates on the files. You may be able to
> rescue it by doing another mkinitrd... 
> 
> If you have separate initrd for the Xen installation and the normal one,
> you shouldn't get any errors booting when you boot normal linux - I do
> that all the time [when my Xen doesn't work at all, which happens now
> and again when you're developing, it's the only way to get another Xen
> on there to get it working again]. 
> 
> And yes, I've s***wed up the installation once or twice by overwriting
> the wrong file in one way or another... Not fun at all... :-(
> 
> --
> Mats
> > 
There are so many errors on booting I doubt that I can rescue it like
you say, especially with the luck I am having lately.

Is there EXACT and correct instructions for installing Xen 3.03 on Suse
10.1 any where? Every thing I have tried so far has ended up not working
and I have not found anything specifically for Suse except for 9.3, but
that did not work either.

Now you see why I am so frustrated. (Just tried downloading the boot CD
for network install of the Suse 10.1 since it is updated, even though I
have the DVD. I get 1KB /sec on a 8 Mb dsl connection. That is how back
the internet service is here in Taiwan.)

Art


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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.