Marco Sinhoreli
2008-Sep-23 16:57 UTC
[Xen-users] Problem to boot Xen 3.3.0 using CentOS as dom0
Hi all, I''m trying compile Xen 3.3.0 from source to use with CentOS 5.2. To compile it''s ok but after make a initrd and reboot the system, the linux kernel returns kernel panic. Below the message before the kernel panic: | Volume Group "VolGroup00" not found | [...] | mount: could not find filesystem ''/dev/root'' | switchroot mount failed: not sutch file or directory Anybody knows something about it? Best regards, -- Marco Sinhoreli _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Joseph L. Casale
2008-Sep-23 17:22 UTC
RE: [Xen-users] Problem to boot Xen 3.3.0 using CentOS as dom0
>| Volume Group "VolGroup00" not found >| [...] >| mount: could not find filesystem '/dev/root' >| switchroot mount failed: not sutch file or directory > > >Anybody knows something about it?Yeah, a module for your Mass Storage Device in your initrd :) Check what your system has, then regen that module in it. jlc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Joseph L. Casale
2008-Sep-23 18:42 UTC
RE: [Xen-users] Problem to boot Xen 3.3.0 using CentOS as dom0
>This issue continues. Reading this post [1], I decide to use the root >mount point outside of LVM. >[1] http://lists.xensource.com/archives/html/xen-users/2007-07/msg00377.htmlMarco, I assure you it works with LVM, there are at least a couple of us who do it :) The problem is your initrd, post the mkinitrd command you use, and post an lspci from your running install? Possibly there is a syntax error in your mkinitrd as you are presumably building it inside your non xen kernel? jlc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Marco Sinhoreli
2008-Sep-23 19:06 UTC
Re: [Xen-users] Problem to boot Xen 3.3.0 using CentOS as dom0
# mkinitrd -v -f /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen # lspci 00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1) 00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2) 00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2) 00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2) 00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2) 00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2) 00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1) 00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2) 00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2) 00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2) 00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2) 00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2) 00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2) 00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2) 00:0d.0 VGA compatible controller: nVidia Corporation GeForce 6100 nForce 430 (rev a2) 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control Cheers, On Tue, Sep 23, 2008 at 3:42 PM, Joseph L. Casale <JCasale@activenetwerx.com> wrote:>>This issue continues. Reading this post [1], I decide to use the root >>mount point outside of LVM. >>[1] http://lists.xensource.com/archives/html/xen-users/2007-07/msg00377.html > > Marco, > I assure you it works with LVM, there are at least a couple of us who do it :) > The problem is your initrd, post the mkinitrd command you use, and post an lspci > from your running install? > > Possibly there is a syntax error in your mkinitrd as you are presumably building it > inside your non xen kernel? > > jlc >-- Marco Sinhoreli _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Joseph L. Casale
2008-Sep-23 19:12 UTC
RE: [Xen-users] Problem to boot Xen 3.3.0 using CentOS as dom0
># mkinitrd -v -f /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xenWell, your not loading any scsi/sata modules for instance?># lspci > >00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2) > >00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)Yeah, you need this module I assume for your SATA discs? Do an lsmod in your working kernel, figure out what it is, then rebuild your initrd: # mkinitrd -f --with=<sata module> /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen That'll get you going... jlc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Marco Sinhoreli
2008-Sep-23 19:18 UTC
Re: [Xen-users] Problem to boot Xen 3.3.0 using CentOS as dom0
PS: My LVM root disk is on ide controller. # lsmod Module Size Used by autofs4 24517 2 hidp 23105 2 rfcomm 42457 0 l2cap 29505 10 hidp,rfcomm bluetooth 53797 5 hidp,rfcomm,l2cap sunrpc 144893 1 ip_conntrack_netbios_ns 6977 0 ipt_REJECT 9537 0 xt_state 6209 0 ip_conntrack 53025 2 ip_conntrack_netbios_ns,xt_state nfnetlink 10713 1 ip_conntrack iptable_filter 7105 0 ip_tables 17029 1 iptable_filter ip6t_REJECT 9409 1 xt_tcpudp 7105 6 ip6table_filter 6849 1 ip6_tables 18053 1 ip6table_filter x_tables 17349 6 ipt_REJECT,xt_state,ip_tables,ip6t_REJECT,xt_tcpudp,ip6_tables ipv6 258273 13 ip6t_REJECT xfrm_nalgo 13765 1 ipv6 crypto_api 11969 1 xfrm_nalgo cpufreq_ondemand 12493 1 dm_mirror 29253 0 dm_multipath 22089 0 dm_mod 61661 2 dm_mirror,dm_multipath video 21193 0 sbs 18533 0 backlight 10049 1 video i2c_ec 9025 1 sbs i2c_core 23745 1 i2c_ec button 10705 0 battery 13637 0 asus_acpi 19289 0 ac 9157 0 lp 15849 0 floppy 57125 0 snd_hda_intel 24793 0 snd_hda_codec 210881 1 snd_hda_intel snd_seq_dummy 7877 0 sg 36189 0 snd_seq_oss 32577 0 snd_seq_midi_event 11073 1 snd_seq_oss snd_seq 49585 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event snd_seq_device 11725 3 snd_seq_dummy,snd_seq_oss,snd_seq snd_pcm_oss 42945 0 snd_mixer_oss 19009 1 snd_pcm_oss snd_pcm 72005 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss snd_timer 24517 2 snd_seq,snd_pcm snd 52421 9 snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer k8_edac 18177 0 soundcore 11553 1 snd k8temp 9537 0 forcedeth 47433 0 edac_mc 26257 1 k8_edac snd_page_alloc 14281 2 snd_hda_intel,snd_pcm hwmon 7365 1 k8temp serio_raw 10693 0 pcspkr 7105 0 parport_pc 29157 1 parport 37513 2 lp,parport_pc ide_cd 40033 0 cdrom 36705 1 ide_cd sata_nv 28617 3 libata 143997 1 sata_nv sd_mod 24897 4 scsi_mod 134605 3 sg,libata,sd_mod ext3 123593 2 jbd 56553 1 ext3 uhci_hcd 25421 0 ohci_hcd 23261 0 ehci_hcd 33357 0 On Tue, Sep 23, 2008 at 4:12 PM, Joseph L. Casale <JCasale@activenetwerx.com> wrote:>># mkinitrd -v -f /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen > > Well, your not loading any scsi/sata modules for instance? > >># lspci >> >>00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2) >> >>00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2) > > Yeah, you need this module I assume for your SATA discs? > Do an lsmod in your working kernel, figure out what it is, then rebuild your initrd: > > # mkinitrd -f --with=<sata module> /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen > > That''ll get you going... > jlc >-- Marco Sinhoreli _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Joseph L. Casale
2008-Sep-23 19:28 UTC
RE: [Xen-users] Problem to boot Xen 3.3.0 using CentOS as dom0
>PS: My LVM root disk is on ide controller.I forgot to mention to provide a cat of modprobe.conf. From a machine without a scsi/sas controller I have, [root@host ~]# cat /etc/modprobe.conf alias eth0 e100 alias scsi_hostadapter ata_piix alias scsi_hostadapter1 ahci alias eth1 r8169 In this cheap box, the ata_piix is for the cdrom and ahci is for the sata bus its disc is on. Just for fun, try this, but check your modprobe.conf as well: # mkinitrd -f --with=sata_nv /boot/initrd-2.6.18.8-xen.img 2.6.18.8-xen HTH, jlc _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Boris Derzhavets
2008-Sep-27 15:40 UTC
Re: [Xen-users] Problem to boot Xen 3.3.0 using CentOS as dom0
View for details:- http://librenix.com/?inode=12488 --- On Tue, 9/23/08, Marco Sinhoreli <msinhore@gmail.com> wrote: From: Marco Sinhoreli <msinhore@gmail.com> Subject: [Xen-users] Problem to boot Xen 3.3.0 using CentOS as dom0 To: "xen-users" <xen-users@lists.xensource.com> Date: Tuesday, September 23, 2008, 12:57 PM Hi all, I''m trying compile Xen 3.3.0 from source to use with CentOS 5.2. To compile it''s ok but after make a initrd and reboot the system, the linux kernel returns kernel panic. Below the message before the kernel panic: | Volume Group "VolGroup00" not found | [...] | mount: could not find filesystem ''/dev/root'' | switchroot mount failed: not sutch file or directory Anybody knows something about it? Best regards, -- Marco Sinhoreli _______________________________________________ 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