Hi I''m running Xen on Fedora core 3... uname -a Linux groucho 2.6.10-1.1148_FC4xen0 #1 SMP Sat Feb 19 15:15:24 EST 2005 i686 i686 i386 GNU/Linux # xm list Name Id Mem(MB) CPU State Time(s) Console Domain-0 0 121 0 r---- 140.9 What I''m trying to do is get SuSE 9.2 to come up in it''s own domain.. /dev/hda2 = root for FC-3 /dev/hdb2 = root for SuSE 9.2 My config file in /etc/xen (suse) # cat suse kernel ="/boot/vmlinuz-2.6.10-1.1148_FC4xenU" memory = 64 name = "suse" nics = 1 disk = [''phy:hdb2,hdb2,w''] root = "/dev/hdb2 ro" My problem... When I run ''xm create -c suse'' everything seems fine right up to the point of mounting root and I get this error: md: ... autorun DONE. Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,66) <0>Rebooting in 1 seconds.. This is a reiserfs /dev/hdb2 - does this xen kernel support reiserfs ? Or is my config file wrong ? Thanks !! Jim (Jim Martin - jamesm@wwt.net) ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Mon, 21 Feb 2005, Jim Martin wrote:> Hi > I''m running Xen on Fedora core 3... > uname -a > Linux groucho 2.6.10-1.1148_FC4xen0 #1 SMP Sat Feb 19 15:15:24 EST 2005 i686 > i686 i386 GNU/Linux > > # xm list > Name Id Mem(MB) CPU State Time(s) Console > Domain-0 0 121 0 r---- 140.9 > > What I''m trying to do is get SuSE 9.2 to come up in it''s own domain.. > /dev/hda2 = root for FC-3 > /dev/hdb2 = root for SuSE 9.2 > > My config file in /etc/xen (suse) > # cat suse > kernel ="/boot/vmlinuz-2.6.10-1.1148_FC4xenU" > memory = 64 > name = "suse" > nics = 1 > disk = [''phy:hdb2,hdb2,w''] > root = "/dev/hdb2 ro" > > My problem... > When I run ''xm create -c suse'' everything seems fine right up to the point of > mounting root and I get this error: > md: ... autorun DONE. > Kernel panic - not syncing: VFS: Unable to mount root fs on > unknown-block(3,66) > <0>Rebooting in 1 seconds.. > > This is a reiserfs /dev/hdb2 - does this xen kernel support reiserfs ? > Or is my config file wrong ?Xen kernels have no problem with reiserfs (indeed, they should work with any filesystem). Your problem is due to the fact that you are booting with a Fedora kernel, which unlike (IIRC) the suse kernels, has reiserfs as a module, not compiled in. Not to worry, all you have to do is add an initrd line. Unfortunately, the kernel-xenU package from Fedora does not currently ship with an initrd, so I think you''ll have to build one yourself. Try this command (I haven''t tested it, but it should work): mkinitrd /boot/initrd-2.6.10-1.1148_FC4xenU.img 2.6.10-1.1148_FC4xenU Then add ramdisk=/boot/initrd-2.6.10-1.1148_FC4xenU.img to your config file in /etc/xen. The kernel will load the necessary module(s) automatically so it should not be necessary to modify the initrd produced by mkinitrd. Hope this helps, -- Robin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> I''m running Xen on Fedora core 3... > uname -a > Linux groucho 2.6.10-1.1148_FC4xen0 #1 SMP Sat Feb 19 15:15:24 EST 2005 > i686 i686 i386 GNU/Linux > > # xm list > Name Id Mem(MB) CPU State Time(s) Console > Domain-0 0 121 0 r---- 140.9Looks good.> What I''m trying to do is get SuSE 9.2 to come up in it''s own domain.. > /dev/hda2 = root for FC-3 > /dev/hdb2 = root for SuSE 9.2 > > My config file in /etc/xen (suse) > # cat suse > kernel ="/boot/vmlinuz-2.6.10-1.1148_FC4xenU" > memory = 64 > name = "suse" > nics = 1 > disk = [''phy:hdb2,hdb2,w''] > root = "/dev/hdb2 ro"Also looks good, although I doubt the FC4 kernel includes support for ReiserFS - you might need to build a new one.> My problem... > When I run ''xm create -c suse'' everything seems fine right up to the > point of > mounting root and I get this error: > md: ... autorun DONE. > Kernel panic - not syncing: VFS: Unable to mount root fs on > unknown-block(3,66) > <0>Rebooting in 1 seconds.. > > This is a reiserfs /dev/hdb2 - does this xen kernel support reiserfs ? > Or is my config file wrong ?I don''t think this is a filesystem support problem - it looks like it''s not getting that far. However, SuSE 9.2 uses udev, so it seems likely you''ll need to boot the SuSE domain with an initrd. The stock one in your SuSE /boot may do the trick (If that doesn''t work, I think there''s also a Xen-specific one in the SuSE Xen rpms). Does anyone know whether FC4 is currently on the -stable, -testing or -unstable version of Xen? If it''s -stable or -testing, you could use the standard SuSE Xen kernel, otherwise you''ll have to build your own with ReiserFS support. Cheers, Mark> Thanks !! > Jim (Jim Martin - jamesm@wwt.net) > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Thanks Robin ! This got me a lot further on..but now I''m seeing this.. [root@groucho xen]# xm create -c suse Using config file "suse". Started domain suse, console on port 9607 ************ REMOTE CONSOLE: CTRL-] TO QUIT ******** Linux version 2.6.10-1.1148_FC4xenU (bhcompile@bugs.build.redhat.com) (gcc version 3.4.3 20050209 (Red Hat 3.4.3-19)) #1 SMP Sat Feb 19 15:28:44 EST 2005 BIOS-provided physical RAM map: Xen: 0000000000000000 - 0000000004000000 (usable) 64MB LOWMEM available. Using x86 segment limits to approximate NX protection DMI not present. IRQ lockup detection disabled Built 1 zonelists Kernel command line: root=/dev/hdb2 ro Initializing CPU#0 >>>snip<<<< Creating root device Mounting root filesystem VFS: Can''t find ext3 filesystem on dev hdb2. mount: error 22 mounting ext3 mount: error 2 mounting none Switching to new root switchroot: mount failed: 22 umount /initrd/dev failed: 2 Kernel panic - not syncing: Attempted to kill init! <0>Rebooting in 1 seconds.. [root@groucho ~]# xm list Name Id Mem(MB) CPU State Time(s) Console Domain-0 0 121 0 r---- 5515.8 suse 7 64 0 ---s- 1.0 9607 SO CLOSE..... Jim --------------------------------------------------------------- Robin Green wrote:> On Mon, 21 Feb 2005, Jim Martin wrote: > >> Hi >> I''m running Xen on Fedora core 3... >> uname -a >> Linux groucho 2.6.10-1.1148_FC4xen0 #1 SMP Sat Feb 19 15:15:24 EST >> 2005 i686 i686 i386 GNU/Linux >> >> # xm list >> Name Id Mem(MB) CPU State Time(s) Console >> Domain-0 0 121 0 r---- 140.9 >> >> What I''m trying to do is get SuSE 9.2 to come up in it''s own domain.. >> /dev/hda2 = root for FC-3 >> /dev/hdb2 = root for SuSE 9.2 >> >> My config file in /etc/xen (suse) >> # cat suse >> kernel ="/boot/vmlinuz-2.6.10-1.1148_FC4xenU" >> memory = 64 >> name = "suse" >> nics = 1 >> disk = [''phy:hdb2,hdb2,w''] >> root = "/dev/hdb2 ro" >> >> My problem... >> When I run ''xm create -c suse'' everything seems fine right up to the >> point of >> mounting root and I get this error: >> md: ... autorun DONE. >> Kernel panic - not syncing: VFS: Unable to mount root fs on >> unknown-block(3,66) >> <0>Rebooting in 1 seconds.. >> >> This is a reiserfs /dev/hdb2 - does this xen kernel support reiserfs ? >> Or is my config file wrong ? > > > Xen kernels have no problem with reiserfs (indeed, they should work > with any filesystem). Your problem is due to the fact that you are > booting with > a Fedora kernel, which unlike (IIRC) the suse kernels, has reiserfs as a > module, not compiled in. > > Not to worry, all you have to do is add an initrd line. Unfortunately, > the kernel-xenU package from Fedora does not currently ship with an > initrd, so I think you''ll have to build one yourself. Try this command > (I haven''t tested it, but it should work): > > mkinitrd /boot/initrd-2.6.10-1.1148_FC4xenU.img 2.6.10-1.1148_FC4xenU > > Then add > > ramdisk=/boot/initrd-2.6.10-1.1148_FC4xenU.img > > to your config file in /etc/xen. > > The kernel will load the necessary module(s) automatically so it should > not be necessary to modify the initrd produced by mkinitrd. > > Hope this helps,------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Mon, 21 Feb 2005, Mark Williamson wrote:>> I''m running Xen on Fedora core 3... >> uname -a >> Linux groucho 2.6.10-1.1148_FC4xen0 #1 SMP Sat Feb 19 15:15:24 EST 2005 >> i686 i686 i386 GNU/Linux >> >> # xm list >> Name Id Mem(MB) CPU State Time(s) Console >> Domain-0 0 121 0 r---- 140.9 > > Looks good. > >> What I''m trying to do is get SuSE 9.2 to come up in it''s own domain.. >> /dev/hda2 = root for FC-3 >> /dev/hdb2 = root for SuSE 9.2 >> >> My config file in /etc/xen (suse) >> # cat suse >> kernel ="/boot/vmlinuz-2.6.10-1.1148_FC4xenU" >> memory = 64 >> name = "suse" >> nics = 1 >> disk = [''phy:hdb2,hdb2,w''] >> root = "/dev/hdb2 ro" > > Also looks good, although I doubt the FC4 kernel includes support for ReiserFSActually, it does - but as a module, not built-in. So he needs to build an initrd - see my previous message.> I don''t think this is a filesystem support problem - it looks like it''s not > getting that far. However, SuSE 9.2 uses udevSo does Fedora Core 3, so its initrds should work.> so it seems likely you''ll > need to boot the SuSE domain with an initrd.Yup> The stock one in your > SuSE /boot may do the trickNot with this kernel it won''t, because this is a Fedora xenU kernel.> (If that doesn''t work, I think there''s also a > Xen-specific one in the SuSE Xen rpms).The only trouble with that is, the SuSE Xen rpms probably use a different version of the Xen patch, which might be incompatible, as you point out.> Does anyone know whether FC4 is currently on the -stable, -testing or > -unstable version of Xen?-unstable -- Robin ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
On Mon, 21 Feb 2005, Jim Martin wrote:> Thanks Robin ! > This got me a lot further on..but now I''m seeing this..Woops! My mistake. Do this instead: mkdir /mnt/suse mount -t reiserfs -o ro /dev/hdb2 /mnt/suse rm -f /boot/initrd-2.6.10-1.1148_FC4xenU.img # all on one line mkinitrd --fstab=/mnt/suse/etc/fstab /boot/initrd-2.6.10-1.1148_FC4xenU.img 2.6.10-1.1148_FC4xenU umount /mnt/suse # DO NOT OMIT THIS STEP! That should detect the root filesystem type correctly. Then try xm create again. -- Robin> > [root@groucho xen]# xm create -c suse > Using config file "suse". > Started domain suse, console on port 9607 > ************ REMOTE CONSOLE: CTRL-] TO QUIT ******** > Linux version 2.6.10-1.1148_FC4xenU (bhcompile@bugs.build.redhat.com) (gcc > version 3.4.3 20050209 (Red Hat 3.4.3-19)) #1 SMP Sat Feb 19 15:28:44 EST > 2005 > BIOS-provided physical RAM map: > Xen: 0000000000000000 - 0000000004000000 (usable) > 64MB LOWMEM available. > Using x86 segment limits to approximate NX protection > DMI not present. > IRQ lockup detection disabled > Built 1 zonelists > Kernel command line: root=/dev/hdb2 ro > Initializing CPU#0 >>>> snip<<<< > Creating root device > Mounting root filesystem > VFS: Can''t find ext3 filesystem on dev hdb2. > mount: error 22 mounting ext3 > mount: error 2 mounting none > Switching to new root > switchroot: mount failed: 22 > umount /initrd/dev failed: 2 > Kernel panic - not syncing: Attempted to kill init! > <0>Rebooting in 1 seconds.. > > [root@groucho ~]# xm list > Name Id Mem(MB) CPU State Time(s) Console > Domain-0 0 121 0 r---- 5515.8 > suse 7 64 0 ---s- 1.0 9607 > > SO CLOSE..... > > Jim > --------------------------------------------------------------- > > > > > Robin Green wrote: > >> On Mon, 21 Feb 2005, Jim Martin wrote: >> >>> Hi >>> I''m running Xen on Fedora core 3... >>> uname -a >>> Linux groucho 2.6.10-1.1148_FC4xen0 #1 SMP Sat Feb 19 15:15:24 EST 2005 >>> i686 i686 i386 GNU/Linux >>> >>> # xm list >>> Name Id Mem(MB) CPU State Time(s) Console >>> Domain-0 0 121 0 r---- 140.9 >>> >>> What I''m trying to do is get SuSE 9.2 to come up in it''s own domain.. >>> /dev/hda2 = root for FC-3 >>> /dev/hdb2 = root for SuSE 9.2 >>> >>> My config file in /etc/xen (suse) >>> # cat suse >>> kernel ="/boot/vmlinuz-2.6.10-1.1148_FC4xenU" >>> memory = 64 >>> name = "suse" >>> nics = 1 >>> disk = [''phy:hdb2,hdb2,w''] >>> root = "/dev/hdb2 ro" >>> >>> My problem... >>> When I run ''xm create -c suse'' everything seems fine right up to the point >>> of >>> mounting root and I get this error: >>> md: ... autorun DONE. >>> Kernel panic - not syncing: VFS: Unable to mount root fs on >>> unknown-block(3,66) >>> <0>Rebooting in 1 seconds.. >>> >>> This is a reiserfs /dev/hdb2 - does this xen kernel support reiserfs ? >>> Or is my config file wrong ? >> >> >> Xen kernels have no problem with reiserfs (indeed, they should work with >> any filesystem). Your problem is due to the fact that you are booting with >> a Fedora kernel, which unlike (IIRC) the suse kernels, has reiserfs as a >> module, not compiled in. >> >> Not to worry, all you have to do is add an initrd line. Unfortunately, >> the kernel-xenU package from Fedora does not currently ship with an initrd, >> so I think you''ll have to build one yourself. Try this command >> (I haven''t tested it, but it should work): >> >> mkinitrd /boot/initrd-2.6.10-1.1148_FC4xenU.img 2.6.10-1.1148_FC4xenU >> >> Then add >> >> ramdisk=/boot/initrd-2.6.10-1.1148_FC4xenU.img >> >> to your config file in /etc/xen. >> >> The kernel will load the necessary module(s) automatically so it should >> not be necessary to modify the initrd produced by mkinitrd. >> >> Hope this helps, > >------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
WAHOO !!! It worked !! Beautiful Robin ! Name Id Mem(MB) CPU State Time(s) Console Domain-0 0 121 0 r---- 7554.8 suse 9 64 0 -b--- 6.3 9609 Thanks for the help !!!!! This is a great project ! I''m really looking forward to using this in the future... Now to go play... :-D Cheers ! Jim ---------------------------------------------------------------------------------------------- Robin Green wrote:> On Mon, 21 Feb 2005, Jim Martin wrote: > >> Thanks Robin ! >> This got me a lot further on..but now I''m seeing this.. > > > Woops! My mistake. Do this instead: > > mkdir /mnt/suse > mount -t reiserfs -o ro /dev/hdb2 /mnt/suse > rm -f /boot/initrd-2.6.10-1.1148_FC4xenU.img > > # all on one line > mkinitrd --fstab=/mnt/suse/etc/fstab > /boot/initrd-2.6.10-1.1148_FC4xenU.img 2.6.10-1.1148_FC4xenU > > umount /mnt/suse # DO NOT OMIT THIS STEP! > > That should detect the root filesystem type correctly. Then try > xm create again. > > -- > Robin > >> >> [root@groucho xen]# xm create -c suse >> Using config file "suse". >> Started domain suse, console on port 9607 >> ************ REMOTE CONSOLE: CTRL-] TO QUIT ******** >> Linux version 2.6.10-1.1148_FC4xenU (bhcompile@bugs.build.redhat.com) >> (gcc version 3.4.3 20050209 (Red Hat 3.4.3-19)) #1 SMP Sat Feb 19 >> 15:28:44 EST 2005 >> BIOS-provided physical RAM map: >> Xen: 0000000000000000 - 0000000004000000 (usable) >> 64MB LOWMEM available. >> Using x86 segment limits to approximate NX protection >> DMI not present. >> IRQ lockup detection disabled >> Built 1 zonelists >> Kernel command line: root=/dev/hdb2 ro >> Initializing CPU#0 >> >>>>> snip<<<< >>>> >> Creating root device >> Mounting root filesystem >> VFS: Can''t find ext3 filesystem on dev hdb2. >> mount: error 22 mounting ext3 >> mount: error 2 mounting none >> Switching to new root >> switchroot: mount failed: 22 >> umount /initrd/dev failed: 2 >> Kernel panic - not syncing: Attempted to kill init! >> <0>Rebooting in 1 seconds.. >> >> [root@groucho ~]# xm list >> Name Id Mem(MB) CPU State Time(s) Console >> Domain-0 0 121 0 r---- 5515.8 >> suse 7 64 0 ---s- 1.0 9607 >> >> SO CLOSE..... >> >> Jim >> --------------------------------------------------------------- >> >> >> >> >> Robin Green wrote: >> >>> On Mon, 21 Feb 2005, Jim Martin wrote: >>> >>>> Hi >>>> I''m running Xen on Fedora core 3... >>>> uname -a >>>> Linux groucho 2.6.10-1.1148_FC4xen0 #1 SMP Sat Feb 19 15:15:24 EST >>>> 2005 i686 i686 i386 GNU/Linux >>>> >>>> # xm list >>>> Name Id Mem(MB) CPU State Time(s) Console >>>> Domain-0 0 121 0 r---- 140.9 >>>> >>>> What I''m trying to do is get SuSE 9.2 to come up in it''s own domain.. >>>> /dev/hda2 = root for FC-3 >>>> /dev/hdb2 = root for SuSE 9.2 >>>> >>>> My config file in /etc/xen (suse) >>>> # cat suse >>>> kernel ="/boot/vmlinuz-2.6.10-1.1148_FC4xenU" >>>> memory = 64 >>>> name = "suse" >>>> nics = 1 >>>> disk = [''phy:hdb2,hdb2,w''] >>>> root = "/dev/hdb2 ro" >>>> >>>> My problem... >>>> When I run ''xm create -c suse'' everything seems fine right up to >>>> the point of >>>> mounting root and I get this error: >>>> md: ... autorun DONE. >>>> Kernel panic - not syncing: VFS: Unable to mount root fs on >>>> unknown-block(3,66) >>>> <0>Rebooting in 1 seconds.. >>>> >>>> This is a reiserfs /dev/hdb2 - does this xen kernel support reiserfs ? >>>> Or is my config file wrong ? >>> >>> >>> >>> Xen kernels have no problem with reiserfs (indeed, they should work >>> with any filesystem). Your problem is due to the fact that you are >>> booting with >>> a Fedora kernel, which unlike (IIRC) the suse kernels, has reiserfs >>> as a >>> module, not compiled in. >>> >>> Not to worry, all you have to do is add an initrd line. Unfortunately, >>> the kernel-xenU package from Fedora does not currently ship with an >>> initrd, so I think you''ll have to build one yourself. Try this command >>> (I haven''t tested it, but it should work): >>> >>> mkinitrd /boot/initrd-2.6.10-1.1148_FC4xenU.img 2.6.10-1.1148_FC4xenU >>> >>> Then add >>> >>> ramdisk=/boot/initrd-2.6.10-1.1148_FC4xenU.img >>> >>> to your config file in /etc/xen. >>> >>> The kernel will load the necessary module(s) automatically so it should >>> not be necessary to modify the initrd produced by mkinitrd. >>> >>> Hope this helps, >> >> >> > >------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Hi Jim, On Mon, Feb 21, 2005 at 09:28:20AM -0600, Jim Martin wrote:> md: ... autorun DONE. > Kernel panic - not syncing: VFS: Unable to mount root fs on > unknown-block(3,66)hdb2> <0>Rebooting in 1 seconds.. > > This is a reiserfs /dev/hdb2 - does this xen kernel support reiserfs ? > Or is my config file wrong ?Did you compile reiserfs statically into the kernel? If not, you''ll need to put the module into an initrd. (Use -s off if you use the suse mkinitrd.) Regards, -- Kurt Garloff <kurt@garloff.de> [Koeln, DE] Physics:Plasma modeling <garloff@plasimo.phys.tue.nl> [TU Eindhoven, NL] Linux: SUSE Labs (Director) <garloff@suse.de> [Novell Inc]