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

Re: [Xen-users] Upgrading to Xen 3 on Fedora Core 4



Hi All,
  The problem I've been having it explained on this site:-
http://www.option-c.com/xwiki/Xen_Errors#Kernel_panic:_VFS:_Unable_to_mount_root_fs_on_unknown-block.282.2C0.29
  I've now rebuilt the kernel including the SCSI support. Looking at my
fedora kernel boot it's using the aacraid SCSI driver. I selected that
driver as an option when I built the xen kernel.
If I reboot with Xen I still get the same error. So I tried making an
initrd:-
mkinitrd /boot/initrd-2.6.12.6-xen0.img 2.6.12.6-xen0
I get the error:-
No module aacraid found for kernel 2.6.12.6-xen0, aborting.
So I copied over the SCSI drivers folder from the /lib/modules fedora
kernel, then mkinitrd worked. I updated grub.conf, rebooted.
Finally Xen booted! I tried booting again without the initrd image and I got
the error again.

Should I have copied the aacriad module somewhere before I built the kernel?
It seems like it won't load it witout the image.

At least now I've got something I can play around with.



I've included the error message below so that people can find this post with
google if they experience the same problems.
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "sda9" or unknown-block(2,0)
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on unknown-block(2,0)
Lyle

------------------------------------------------------------
Lyle Hopkins          - CosmicPerl.com CGI Scripts -
Internet software solutions for the professional webmaster
Email: webmaster@xxxxxxxxxxxxxx
Web site: http://www.cosmicperl.com
Specializing in Affiliate Software solutions
------------------------------------------------------------
----- Original Message ----- 
From: "Xen" <xen@xxxxxxxxxxxxxxxxxx>
To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Cc: "Henning Sprang" <henning_sprang@xxxxxx>
Sent: Tuesday, February 07, 2006 2:08 PM
Subject: Re: [Xen-users] Upgrading to Xen 3 on Fedora Core 4


> Hi Henning,
>   Thanks very much for your help. I've never configured a Kernel before.
The
> make ARCH=xen menuconfig
> Command worked. I've added support for SCSI and RAID10 so hopefully
that'll
> do it.
>
> The error I was getting with
> make ARCH=xen xconfig
> was:-
> /usr/bin/ld: cannot find -lqt
>
> I have qt installed with all the required packages -devel, etc. I've read
> posts about -lqt now being -lqt-mt which is what I appear to have:-
> ldconfig -p | grep qt
> shows libqt-mt.so installed.
>
> I don't know how to get it to pickup the right libqt-mt.so file. I've
tried
> creatig a link and a symbolic link (ln -s libqt-mt.so libqt.so) and
updating
> ldconfig but neither worked.
>
>
>
> Lyle
>
> ------------------------------------------------------------
> Lyle Hopkins          - CosmicPerl.com CGI Scripts -
> Internet software solutions for the professional webmaster
> Email: webmaster@xxxxxxxxxxxxxx
> Web site: http://www.cosmicperl.com
> Specializing in Affiliate Software solutions
> ------------------------------------------------------------
> ----- Original Message ----- 
> From: "Henning Sprang" <henning_sprang@xxxxxx>
> To: "xen-users" <xen-users@xxxxxxxxxxxxxxxxxxx>
> Sent: Tuesday, February 07, 2006 11:54 AM
> Subject: Re: [Xen-users] Upgrading to Xen 3 on Fedora Core 4
>
>
> > On Tue, 2006-02-07 at 00:07 +0000, Xen wrote:
> > > Hi,
> > >   I've been struggling the past couple of days to install Zen 3 on
> > > FC4. The readme guide makes it sound simple, but I've had nothing but
> > > error after error and seem to have hit a complete dead end. Please
> > > could someone give me a guide, or tips if they have done this
> > > themselves.
> >
> > Please provide detailed information on what exactly you did, and what
> > exactly the errors and effects you are seeing look like. I am not a
> > Fedora/xen expert, but I see that answering you questions is hard for
> > others without additional information.
> >
> > >   I did manage to get a kernel to compile, but it didn't have the
> > > right drivers for my RAID 10 SATA hard disk (4 disks).
> >
> > Then you need to compile an own kernel with the needed drivers.
> >
> > >  I looked at a working install of FC4 and it looks like it uses SCSI
> > > drivers to get it working.
> >
> > Yes, SATA disks need SCSI drivers, I can tell from my experience(at lest
> > those I have need SCSI to run nicely with DMA). So this is completely
> > O.K.
> >
> > > I then had no luck running "make ARCH=xen xconfig", so I tried copying
> > > over a .config from the FC4 kernel and that wouldn't make.
> > >
> >
> > What do you mean with "had no luck"? If the config stuff doesn't work in
> > first place, something is completely wrong there.
> > Did you try using menuconfig instead of xconfig? (xconfig will obviously
> > not work on a console based system.
> > What config did you copy over, a plain fedora kernel config without xen?
> > That wouldn't work well to create a xen kernel. What happened exactly
> > when it "wouldn't make"?
> >
> > Henning
> > >
> >
> >
> > _______________________________________________
> > Xen-users mailing list
> > Xen-users@xxxxxxxxxxxxxxxxxxx
> > http://lists.xensource.com/xen-users
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users


_______________________________________________
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®.