All, I am running xen3.0.2 and xen unstable on RHEL 4, and get this error when trying to boot Xen kernel(domain0) ...... Creating root device Mounting root filesystem mount: error 6 mounting ext3 mount: error 2 mounting none Switching to new root switchroot: mount failed: 22 umount /initrd/dev failed: 2 Kernel panic - not syncing: Attempting to kill init! Then system reboot.In grub.conf,I have changed the root=LABEL=/ to the actual device (root=/dev/sda3),and make the same change in /etc/fstab,but I got same error.***** * My system is Intel Xeon, Dual Core Machine, 2.8GHz. 32 bit Linux my installation steps as below, # pwd /home/vineet/xen-3.0.2 # make world # make install # cd /boot # depmod 2.6.16-xen # mkinitrd -f -v initrd-2.6.16-xen.img 2.6.16-xen Creating initramfs Looking for deps of module scsi_mod Looking for deps of module sd_mod scsi_mod Looking for deps of module scsi_mod Looking for deps of module unknown Looking for deps of module mptbase Looking for deps of module mptscsih mptbase scsi_mod Looking for deps of module mptbase Looking for deps of module scsi_mod Looking for deps of module ide-disk Looking for deps of module dm-mod Looking for deps of module ext3 jbd Looking for deps of module jbd Using modules: ./kernel/drivers/scsi/scsi_mod.ko ./kernel/drivers/scsi/sd_mod.ko ./kernel/drivers/message/fusion/mptbase.ko ./kernel/drivers/message/fusion/mptscsih.ko ./kernel/drivers/md/dm-mod.ko./kernel/fs/jbd/jbd.ko ./kernel/fs/ext3/ext3.ko /sbin/nash -> /tmp/initrd.L28813/bin/nash /sbin/insmod.static -> /tmp/initrd.L28813/bin/insmod /sbin/udev.static -> /tmp/initrd.L28813/sbin/udev /etc/udev/udev.conf -> /tmp/initrd.L28813/etc/udev/udev.conf copy from /lib/modules/2.6.16-xen/./kernel/drivers/scsi/scsi_mod.ko(elf32-i386) to /tmp/initrd.L28813/lib/scsi_mod.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/drivers/scsi/sd_mod.ko(elf32-i386) to /tmp/initrd.L28813/lib/sd_mod.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/drivers/message/fusion/mptbase.ko(elf32-i386) to /tmp/initrd.L28813/lib/mptbase.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/drivers/message/fusion/mptscsih.ko(elf32-i386) to /tmp/initrd.L28813/lib/mptscsih.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/drivers/md/dm-mod.ko(elf32-i386) to /tmp/initrd.L28813/lib/dm-mod.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/fs/jbd/jbd.ko(elf32-i386) to /tmp/initrd.L28813/lib/jbd.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/fs/ext3/ext3.ko(elf32-i386) to /tmp/initrd.L28813/lib/ext3.ko(elf32-i386) Loading module scsi_mod Loading module sd_mod Loading module mptbase Loading module mptscsih Loading module dm-mod Loading module jbd Loading module ext3 # My grub.conf file: default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Red Hat enterprise linux (2.6.9-22.ELsmp) root (hd0,0) kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.9-22.ELsmp.img title Red Hat enterprise linux (2.6.9-22.EL) root (hd0,0) kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.9-22.EL.img title Xen 3.0 / XenLinux 2.6 root (hd0,0) kernel /xen-3.0.gz module /vmlinuz-2.6-xen root=LABEL=/ ro console=tty0 module /initrd-2.6.16-xen.img I have tried giving different options to creation of mkinitrd command but it doesnot work. I have tried "builtin" and "with" options and it doesnot worl. In addition, I have tried to make hyperthreading disabled,it doesnot work for me. I have seen many such messages but no concrete solution to this problem. Please help. -Vineet _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Adding to my message: here is result of "df -k" command. I am not using LVM. /dev/sda3 69938772 11354576 55031424 18% / /dev/sda1 101086 30610 65257 32% /boot none 2075724 0 2075724 0% /dev/shm Please help vineet ---------- Forwarded message ---------- From: vineet chadha <virtual.chadha@gmail.com> Date: Jun 13, 2006 8:42 AM Subject: switchroot mount failed To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com All, I am running xen3.0.2 and xen unstable on RHEL 4, and get this error when trying to boot Xen kernel(domain0) ...... Creating root device Mounting root filesystem mount: error 6 mounting ext3 mount: error 2 mounting none Switching to new root switchroot: mount failed: 22 umount /initrd/dev failed: 2 Kernel panic - not syncing: Attempting to kill init! Then system reboot.In grub.conf,I have change d the root=LABEL=/ to the actual device (root=/dev/sda 3),and make the same change in /etc/fstab, but I got same error.***** * My system is Intel Xeon, Dual Core Machine, 2.8GHz. 32 bit Linux my installation steps as below, # pwd /home/vineet/xen-3.0.2 # make world # make install # cd /boot # depmod 2.6.16-xen # mkinitrd -f -v initrd-2.6.16-xen.img 2.6.16-xen Creating initramfs Looking for deps of module scsi_mod Looking for deps of module sd_mod scsi_mod Looking for deps of module scsi_mod Looking for deps of module unknown Looking for deps of module mptbase Looking for deps of module mptscsih mptbase scsi_mod Looking for deps of module mptbase Looking for deps of module scsi_mod Looking for deps of module ide-disk Looking for deps of module dm-mod Looking for deps of module ext3 jbd Looking for deps of module jbd Using modules: ./kernel/drivers/scsi/scsi_mod.ko ./kernel/drivers/scsi/sd_mod.ko ./kernel/drivers/message/fusion/mptbase.ko ./kernel/drivers/message/fusion/mptscsih.ko ./kernel/drivers/md/dm- mod.ko./kernel/fs/jbd/jbd.ko ./kernel/fs/ext3/ext3.ko /sbin/nash -> /tmp/initrd.L28813/bin/nash /sbin/insmod.static -> /tmp/initrd.L28813/bin/insmod /sbin/udev.static -> /tmp/initrd.L28813/sbin/udev /etc/udev/udev.conf -> /tmp/initrd.L28813/etc/udev/udev.conf copy from /lib/modules/2.6.16-xen/./kernel/drivers/scsi/scsi_mod.ko(elf32-i386) to /tmp/initrd.L28813/lib/scsi_mod.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/drivers/scsi/sd_mod.ko(elf32-i386) to /tmp/initrd.L28813/lib/sd_mod.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/drivers/message/fusion/mptbase.ko(elf32-i386) to /tmp/initrd.L28813/lib/mptbase.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/drivers/message/fusion/mptscsih.ko(elf32-i386) to /tmp/initrd.L28813/lib/mptscsih.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/drivers/md/dm-mod.ko(elf32-i386) to /tmp/initrd.L28813/lib/dm-mod.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/fs/jbd/jbd.ko(elf32-i386) to /tmp/initrd.L28813/lib/jbd.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/fs/ext3/ext3.ko(elf32-i386) to /tmp/initrd.L28813/lib/ext3.ko(elf32-i386) Loading module scsi_mod Loading module sd_mod Loading module mptbase Loading module mptscsih Loading module dm-mod Loading module jbd Loading module ext3 # My grub.conf file: default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Red Hat enterprise linux (2.6.9-22.ELsmp) root (hd0,0) kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.9-22.ELsmp.img title Red Hat enterprise linux (2.6.9-22.EL) root (hd0,0) kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet initrd /initrd- 2.6.9-22.EL.img title Xen 3.0 / XenLinux 2.6 root (hd0,0) kernel /xen-3.0.gz module /vmlinuz-2.6-xen root=LABEL=/ ro console=tty0 module /initrd-2.6.16-xen.img I have tried giving different options to creation of mkinitrd command but it doesnot work. I have tried "builtin" and "with" options and it doesnot worl. In addition, I have tried to make hyperthreading disabled,it doesnot work for me. I have seen many such messages but no concrete solution to this problem. Please help. -Vineet _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Luciano Miguel Ferreira Rocha
2006-Jun-13 15:58 UTC
Re: [Xen-devel] switchroot mount failed
On Tue, Jun 13, 2006 at 08:42:51AM -0700, vineet chadha wrote:> All, > I am running xen3.0.2 and xen unstable on RHEL 4, and get this error when > trying to boot Xen kernel(domain0) > ...... > Creating root device > Mounting root filesystem > mount: error 6 mounting ext3 > mount: error 2 mounting noneThese two errors are serious. Either there''s something wrong with the ext3 module you''re using (compiled for a different kernel?), or, for some obscure reason, LABEL=/ isn''t supported. Try specifying root=/dev/sda3 instead. -- lfr 0/0 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
I have mentioned in my message that I have tried /dev/sda3 options Also, I have compiled ext3 module for same kernel, matter of fact Xen source code get a pristine kernel from kernel.org to complete the build. So, where i am wrong? Any ideas are welcome. Regards, Vineet On 6/13/06, Luciano Miguel Ferreira Rocha <strange@nsk.no-ip.org> wrote:> > On Tue, Jun 13, 2006 at 08:42:51AM -0700, vineet chadha wrote: > > All, > > I am running xen3.0.2 and xen unstable on RHEL 4, and get this error > when > > trying to boot Xen kernel(domain0) > > ...... > > Creating root device > > Mounting root filesystem > > mount: error 6 mounting ext3 > > mount: error 2 mounting none > > These two errors are serious. Either there''s something wrong with the > ext3 module you''re using (compiled for a different kernel?), or, for > some obscure reason, LABEL=/ isn''t supported. > > Try specifying root=/dev/sda3 instead. > > -- > lfr > 0/0 > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
You mean to provide builtin option in mkinitrd.... Now, I am trying mkinitrd --builtin .... initrd-xxxx 2.6.xxxx I just did make world and make install ....is there is to specify to compile scsi and ext3 in kernel ? On 6/13/06, Luciano Miguel Ferreira Rocha <strange@nsk.no-ip.org> wrote:> > On Tue, Jun 13, 2006 at 09:02:32AM -0700, vineet chadha wrote: > > Hey, > > > > If you read my message, i have mentioned i have tried that. > > Yes, you''re right. Sorry for not seeing it. > > If you compile the scsi and ext3 modules in the kernel (instead of as > modules) and boot without an initrd, what error do you get? > > -- > lfr > 0/0 > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, Can xen developers kindly post relevant solution to this problem. I have seen many times on xen list- not a simple answer. It has come to the point of frustration. I can provide any information needed. Regards, Vineet ---------- Forwarded message ---------- From: vineet chadha <virtual.chadha@gmail.com> Date: Jun 13, 2006 8:42 AM Subject: switchroot mount failed To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com All, I am running xen3.0.2 and xen unstable on RHEL 4, and get this error when trying to boot Xen kernel(domain0) ...... Creating root device Mounting root filesystem mount: error 6 mounting ext3 mount: error 2 mounting none Switching to new root switchroot: mount failed: 22 umount /initrd/dev failed: 2 Kernel panic - not syncing: Attempting to kill init! Then system reboot.In grub.conf,I have change d the root=LABEL=/ to the actual device (root=/dev/sda 3),and make the same change in /etc/fstab, but I got same error.***** * My system is Intel Xeon, Dual Core Machine, 2.8GHz. 32 bit Linux my installation steps as below, # pwd /home/vineet/xen-3.0.2 # make world # make install # cd /boot # depmod 2.6.16-xen # mkinitrd -f -v initrd-2.6.16-xen.img 2.6.16-xen Creating initramfs Looking for deps of module scsi_mod Looking for deps of module sd_mod scsi_mod Looking for deps of module scsi_mod Looking for deps of module unknown Looking for deps of module mptbase Looking for deps of module mptscsih mptbase scsi_mod Looking for deps of module mptbase Looking for deps of module scsi_mod Looking for deps of module ide-disk Looking for deps of module dm-mod Looking for deps of module ext3 jbd Looking for deps of module jbd Using modules: ./kernel/drivers/scsi/scsi_mod.ko ./kernel/drivers/scsi/sd_mod.ko ./kernel/drivers/message/fusion/mptbase.ko ./kernel/drivers/message/fusion/mptscsih.ko ./kernel/drivers/md/dm- mod.ko./kernel/fs/jbd/jbd.ko ./kernel/fs/ext3/ext3.ko /sbin/nash -> /tmp/initrd.L28813/bin/nash /sbin/insmod.static -> /tmp/initrd.L28813/bin/insmod /sbin/udev.static -> /tmp/initrd.L28813/sbin/udev /etc/udev/udev.conf -> /tmp/initrd.L28813/etc/udev/udev.conf copy from /lib/modules/2.6.16-xen/./kernel/drivers/scsi/scsi_mod.ko(elf32-i386) to /tmp/initrd.L28813/lib/scsi_mod.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/drivers/scsi/sd_mod.ko(elf32-i386) to /tmp/initrd.L28813/lib/sd_mod.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/drivers/message/fusion/mptbase.ko(elf32-i386) to /tmp/initrd.L28813/lib/mptbase.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/drivers/message/fusion/mptscsih.ko(elf32-i386) to /tmp/initrd.L28813/lib/mptscsih.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/drivers/md/dm-mod.ko(elf32-i386) to /tmp/initrd.L28813/lib/dm-mod.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/fs/jbd/jbd.ko(elf32-i386) to /tmp/initrd.L28813/lib/jbd.ko(elf32-i386) copy from /lib/modules/2.6.16-xen/./kernel/fs/ext3/ext3.ko(elf32-i386) to /tmp/initrd.L28813/lib/ext3.ko(elf32-i386) Loading module scsi_mod Loading module sd_mod Loading module mptbase Loading module mptscsih Loading module dm-mod Loading module jbd Loading module ext3 # My grub.conf file: default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title Red Hat enterprise linux (2.6.9-22.ELsmp) root (hd0,0) kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.9-22.ELsmp.img title Red Hat enterprise linux (2.6.9-22.EL) root (hd0,0) kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet initrd /initrd- 2.6.9-22.EL.img title Xen 3.0 / XenLinux 2.6 root (hd0,0) kernel /xen-3.0.gz module /vmlinuz-2.6-xen root=LABEL=/ ro console=tty0 module /initrd-2.6.16-xen.img I have tried giving different options to creation of mkinitrd command but it doesnot work. I have tried "builtin" and "with" options and it doesnot worl. In addition, I have tried to make hyperthreading disabled,it doesnot work for me. I have seen many such messages but no concrete solution to this problem. Please help. -Vineet _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Hi, I am attaching lpci and lsmod for Xen boot problem mentioned below. Any clues ? -Vineet On 6/13/06, vineet chadha <virtual.chadha@gmail.com> wrote:> > Hi, > > Can xen developers kindly post relevant solution to this problem. I have > seen many times on xen list- not a simple answer. It has come to the point > of frustration. I can provide any information needed. > > Regards, > Vineet > > ---------- Forwarded message ---------- > From: vineet chadha <virtual.chadha@gmail.com> > Date: Jun 13, 2006 8:42 AM > Subject: switchroot mount failed > To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com > > > All, > I am running xen3.0.2 and xen unstable on RHEL 4, and get this error when > trying to boot Xen kernel(domain0) > ...... > Creating root device > Mounting root filesystem > mount: error 6 mounting ext3 > mount: error 2 mounting none > Switching to new root > switchroot: mount failed: 22 > umount /initrd/dev failed: 2 > Kernel panic - not syncing: Attempting to kill init! > Then system reboot.In grub.conf,I have change d the root=LABEL=/ to the > actual device > (root=/dev/sda 3),and make the same change in /etc/fstab, but I got same > error.***** > * > My system is Intel Xeon, Dual Core Machine, 2.8GHz. 32 bit Linux > > my installation steps as below, > # pwd > /home/vineet/xen-3.0.2 > # make world > # make install > > # cd /boot > # depmod 2.6.16-xen > # mkinitrd -f -v initrd-2.6.16-xen.img 2.6.16-xen > Creating initramfs > Looking for deps of module scsi_mod > Looking for deps of module sd_mod scsi_mod > Looking for deps of module scsi_mod > Looking for deps of module unknown > Looking for deps of module mptbase > Looking for deps of module mptscsih mptbase scsi_mod > Looking for deps of module mptbase > Looking for deps of module scsi_mod > Looking for deps of module ide-disk > Looking for deps of module dm-mod > Looking for deps of module ext3 jbd > Looking for deps of module jbd > Using modules: ./kernel/drivers/scsi/scsi_mod.ko > ./kernel/drivers/scsi/sd_mod.ko ./kernel/drivers/message/fusion/mptbase.ko > ./kernel/drivers/message/fusion/mptscsih.ko ./kernel/drivers/md/dm- mod.ko./kernel/fs/jbd/jbd.ko ./kernel/fs/ext3/ext3.ko > /sbin/nash -> /tmp/initrd.L28813/bin/nash > /sbin/insmod.static -> /tmp/initrd.L28813/bin/insmod > /sbin/udev.static -> /tmp/initrd.L28813/sbin/udev > /etc/udev/udev.conf -> /tmp/initrd.L28813/etc/udev/udev.conf > copy from > /lib/modules/2.6.16-xen/./kernel/drivers/scsi/scsi_mod.ko(elf32-i386) to > /tmp/initrd.L28813/lib/scsi_mod.ko(elf32-i386) > copy from > /lib/modules/2.6.16-xen/./kernel/drivers/scsi/sd_mod.ko(elf32-i386) to > /tmp/initrd.L28813/lib/sd_mod.ko(elf32-i386) > copy from > /lib/modules/2.6.16-xen/./kernel/drivers/message/fusion/mptbase.ko(elf32-i386) > to /tmp/initrd.L28813/lib/mptbase.ko(elf32-i386) > copy from > /lib/modules/2.6.16-xen/./kernel/drivers/message/fusion/mptscsih.ko(elf32-i386) > to /tmp/initrd.L28813/lib/mptscsih.ko(elf32-i386) > copy from /lib/modules/2.6.16-xen/./kernel/drivers/md/dm-mod.ko(elf32-i386) > to /tmp/initrd.L28813/lib/dm-mod.ko(elf32-i386) > copy from /lib/modules/2.6.16-xen/./kernel/fs/jbd/jbd.ko(elf32-i386) to > /tmp/initrd.L28813/lib/jbd.ko(elf32-i386) > copy from /lib/modules/2.6.16-xen/./kernel/fs/ext3/ext3.ko(elf32-i386) to > /tmp/initrd.L28813/lib/ext3.ko(elf32-i386) > Loading module scsi_mod > Loading module sd_mod > Loading module mptbase > Loading module mptscsih > Loading module dm-mod > Loading module jbd > Loading module ext3 > # > My grub.conf file: > default=0 > timeout=5 > splashimage=(hd0,0)/grub/splash.xpm.gz > hiddenmenu > title Red Hat enterprise linux (2.6.9-22.ELsmp) > root (hd0,0) > kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/ rhgb quiet > initrd /initrd-2.6.9-22.ELsmp.img > title Red Hat enterprise linux (2.6.9-22.EL) > root (hd0,0) > kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet > initrd /initrd- 2.6.9-22.EL.img > title Xen 3.0 / XenLinux 2.6 > root (hd0,0) > kernel /xen-3.0.gz > module /vmlinuz-2.6-xen root=LABEL=/ ro console=tty0 > module /initrd-2.6.16-xen.img > I have tried giving different options to creation of mkinitrd command but > it doesnot work. I have tried "builtin" and "with" options and it doesnot > worl. In addition, I have tried to make hyperthreading disabled,it doesnot > work for me. > I have seen many such messages but no concrete solution to this problem. > Please help. > > > -Vineet >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Does teh kernel boot output indicate that the SCSI module has loaded and actually detected any discs (sda in particular)? This doesn''t look like a Xen-specific problem. -- Keir On 14 Jun 2006, at 20:38, vineet chadha wrote:> Hi, > > I am attaching lpci and lsmod for Xen boot problem mentioned below. > Any clues ? > > -Vineet > > On 6/13/06, vineet chadha <virtual.chadha@gmail.com> wrote: Hi, >> >> Can xen developers kindly post relevant solution to this problem. I >> have seen many times on xen list- not a simple answer. It has come >> to the point of frustration. I can provide any information needed. >> >> Regards, >> Vineet >> >> ---------- Forwarded message ---------- >> From: vineet chadha <virtual.chadha@gmail.com> >> Date: Jun 13, 2006 8:42 AM >> Subject: switchroot mount failed >> To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com >> >> >> All, >> I am running xen3.0.2 and xen unstable on RHEL 4, and get this error >> when trying to boot Xen kernel(domain0) >> ...... >> Creating root device >> Mounting root filesystem >> mount: error 6 mounting ext3 >> mount: error 2 mounting none >> Switching to new root >> switchroot: mount failed: 22 >> umount /initrd/dev failed: 2 >> Kernel panic - not syncing: Attempting to kill init! >> Then system reboot.In grub.conf,I have change d the root=LABEL=/ to >> the actual device >> (root=/dev/sda 3),and make the same change in /etc/fstab, but I got >> same error. >> My system is Intel Xeon, Dual Core Machine, 2.8GHz. 32 bit Linux >> >> my installation steps as below, >> # pwd >> /home/vineet/xen-3.0.2 >> # make world >> # make install >> >> # cd /boot >> # depmod 2.6.16-xen >> # mkinitrd -f -v initrd-2.6.16-xen.img 2.6.16-xen >> Creating initramfs >> Looking for deps of module scsi_mod >> Looking for deps of module sd_mod scsi_mod >> Looking for deps of module scsi_mod >> Looking for deps of module unknown >> Looking for deps of module mptbase >> Looking for deps of module mptscsih mptbase scsi_mod >> Looking for deps of module mptbase >> Looking for deps of module scsi_mod >> Looking for deps of module ide-disk >> Looking for deps of module dm-mod >> Looking for deps of module ext3 jbd >> Looking for deps of module jbd >> Using modules: ./kernel/drivers/scsi/scsi_mod.ko >> ./kernel/drivers/scsi/sd_mod.ko >> ./kernel/drivers/message/fusion/mptbase.ko >> ./kernel/drivers/message/fusion/mptscsih.ko ./kernel/drivers/md/dm- >> mod.ko ./kernel/fs/jbd/jbd.ko ./kernel/fs/ext3/ext3.ko >> /sbin/nash -> /tmp/initrd.L28813/bin/nash >> /sbin/insmod.static -> /tmp/initrd.L28813/bin/insmod >> /sbin/udev.static -> /tmp/initrd.L28813/sbin/udev >> /etc/udev/udev.conf -> /tmp/initrd.L28813/etc/udev/udev.conf >> copy from >> /lib/modules/2.6.16-xen/./kernel/drivers/scsi/scsi_mod.ko(elf32-i386) >> to /tmp/initrd.L28813/lib/scsi_mod.ko(elf32-i386) >> copy from >> /lib/modules/2.6.16-xen/./kernel/drivers/scsi/sd_mod.ko(elf32-i386) >> to /tmp/initrd.L28813/lib/sd_mod.ko(elf32-i386) >> copy from >> /lib/modules/2.6.16-xen/./kernel/drivers/message/fusion/ >> mptbase.ko(elf32-i386) to >> /tmp/initrd.L28813/lib/mptbase.ko(elf32-i386) >> copy from >> /lib/modules/2.6.16-xen/./kernel/drivers/message/fusion/ >> mptscsih.ko(elf32-i386) to >> /tmp/initrd.L28813/lib/mptscsih.ko(elf32-i386) >> copy from >> /lib/modules/2.6.16-xen/./kernel/drivers/md/dm-mod.ko(elf32-i386) to >> /tmp/initrd.L28813/lib/dm-mod.ko(elf32-i386) >> copy from /lib/modules/2.6.16-xen/./kernel/fs/jbd/jbd.ko(elf32-i386) >> to /tmp/initrd.L28813/lib/jbd.ko(elf32-i386) >> copy from >> /lib/modules/2.6.16-xen/./kernel/fs/ext3/ext3.ko(elf32-i386) to >> /tmp/initrd.L28813/lib/ext3.ko(elf32-i386) >> Loading module scsi_mod >> Loading module sd_mod >> Loading module mptbase >> Loading module mptscsih >> Loading module dm-mod >> Loading module jbd >> Loading module ext3 >> # >> My grub.conf file: >> default=0 >> timeout=5 >> splashimage=(hd0,0)/grub/splash.xpm.gz >> hiddenmenu >> title Red Hat enterprise linux (2.6.9-22.ELsmp) >> root (hd0,0) >> kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/ rhgb quiet >> initrd /initrd-2.6.9-22.ELsmp.img >> title Red Hat enterprise linux (2.6.9-22.EL) >> root (hd0,0) >> kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet >> initrd /initrd- 2.6.9-22.EL.img >> title Xen 3.0 / XenLinux 2.6 >> root (hd0,0) >> kernel /xen-3.0.gz >> module /vmlinuz-2.6-xen root=LABEL=/ ro console=tty0 >> module /initrd-2.6.16-xen.img >> I have tried giving different options to creation of mkinitrd command >> but it doesnot work. I have tried "builtin" and "with" options and it >> doesnot worl. In addition, I have tried to make hyperthreading >> disabled,it doesnot work for me. >> I have seen many such messages but no concrete solution to this >> problem. Please help. >> >> >> -Vineet<lspci.out><lsmod.out>_________________________________________ >> ______ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
vineet chadha
2006-Jun-14 20:28 UTC
Re: [Xen-users] Re: [Xen-devel] Re: switchroot mount failed
Hi keir, Normal kernel is booting and detecting SCSI disk fine. When i boot in Xen mode, it gives this problem. If you put search "switchroot mount failed" in Xen user/dev list, u will see this has been a common issuse with no solution posted. Yes, I also believe it is problem with xen kernel not detecting the SCSI drivers or something. which log file u want me to check. Regards, Vineet On 6/14/06, Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote:> > > Does teh kernel boot output indicate that the SCSI module has loaded > and actually detected any discs (sda in particular)? This doesn''t look > like a Xen-specific problem. > > -- Keir > > > On 14 Jun 2006, at 20:38, vineet chadha wrote: > > > Hi, > > > > I am attaching lpci and lsmod for Xen boot problem mentioned below. > > Any clues ? > > > > -Vineet > > > > On 6/13/06, vineet chadha <virtual.chadha@gmail.com> wrote: Hi, > >> > >> Can xen developers kindly post relevant solution to this problem. I > >> have seen many times onxen list- not a simple answer. It has come > >> to the point of frustration. I can provide any information needed. > >> > >> Regards, > >> Vineet > >> > >> ---------- Forwarded message ---------- > >> From: vineet chadha <virtual.chadha@gmail.com> > >> Date: Jun 13, 2006 8:42 AM > >> Subject: switchroot mount failed > >> To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com > >> > >> > >> All, > >> I am running xen3.0.2 and xen unstable on RHEL 4, and get this error > >> when trying to boot Xen kernel(domain0) > >> ...... > >> Creating root device > >> Mounting root filesystem > >> mount: error 6 mounting ext3 > >> mount: error 2 mounting none > >> Switching to new root > >> switchroot: mount failed: 22 > >> umount /initrd/dev failed: 2 > >> Kernel panic - not syncing: Attempting to kill init! > >> Then system reboot.In grub.conf,I have change d the root=LABEL=/ to > >> the actual device > >> (root=/dev/sda 3),and make the same change in /etc/fstab, but I got > >> same error. > >> My system is Intel Xeon, Dual Core Machine, 2.8GHz. 32 bit Linux > >> > >> my installation steps as below, > >> # pwd > >> /home/vineet/xen-3.0.2 > >> # make world > >> # make install > >> > >> # cd /boot > >> # depmod 2.6.16-xen > >> # mkinitrd -f -v initrd-2.6.16-xen.img 2.6.16-xen > >> Creating initramfs > >> Looking for deps of module scsi_mod > >> Looking for deps of module sd_mod scsi_mod > >> Looking for deps of module scsi_mod > >> Looking for deps of module unknown > >> Looking for deps of module mptbase > >> Looking for deps of module mptscsih mptbase scsi_mod > >> Looking for deps of module mptbase > >> Looking for deps of module scsi_mod > >> Looking for deps of module ide-disk > >> Looking for deps of module dm-mod > >> Looking for deps of module ext3 jbd > >> Looking for deps of module jbd > >> Using modules: ./kernel/drivers/scsi/scsi_mod.ko > >> ./kernel/drivers/scsi/sd_mod.ko > >> ./kernel/drivers/message/fusion/mptbase.ko > >> ./kernel/drivers/message/fusion/mptscsih.ko ./kernel/drivers/md/dm- > >> mod.ko ./kernel/fs/jbd/jbd.ko ./kernel/fs/ext3/ext3.ko > >> /sbin/nash -> /tmp/initrd.L28813/bin/nash > >> /sbin/insmod.static -> /tmp/initrd.L28813/bin/insmod > >> /sbin/udev.static -> /tmp/initrd.L28813/sbin/udev > >> /etc/udev/udev.conf -> /tmp/initrd.L28813/etc/udev/udev.conf > >> copy from > >> /lib/modules/2.6.16-xen/./kernel/drivers/scsi/scsi_mod.ko(elf32-i386) > >> to /tmp/initrd.L28813/lib/scsi_mod.ko(elf32-i386) > >> copy from > >> /lib/modules/2.6.16-xen/./kernel/drivers/scsi/sd_mod.ko(elf32-i386) > >> to /tmp/initrd.L28813/lib/sd_mod.ko(elf32-i386) > >> copy from > >> /lib/modules/2.6.16-xen/./kernel/drivers/message/fusion/ > >> mptbase.ko(elf32-i386) to > >> /tmp/initrd.L28813/lib/mptbase.ko(elf32-i386) > >> copy from > >> /lib/modules/2.6.16-xen/./kernel/drivers/message/fusion/ > >> mptscsih.ko(elf32-i386) to > >> /tmp/initrd.L28813/lib/mptscsih.ko(elf32-i386) > >> copy from > >> /lib/modules/2.6.16-xen/./kernel/drivers/md/dm-mod.ko(elf32-i386) to > >> /tmp/initrd.L28813/lib/dm-mod.ko(elf32-i386) > >> copy from /lib/modules/2.6.16-xen/./kernel/fs/jbd/jbd.ko(elf32-i386) > >> to /tmp/initrd.L28813/lib/jbd.ko(elf32-i386) > >> copy from > >> /lib/modules/2.6.16-xen/./kernel/fs/ext3/ext3.ko(elf32-i386) to > >> /tmp/initrd.L28813/lib/ext3.ko(elf32-i386) > >> Loading module scsi_mod > >> Loading module sd_mod > >> Loading module mptbase > >> Loading module mptscsih > >> Loading module dm-mod > >> Loading module jbd > >> Loading module ext3 > >> # > >> My grub.conf file: > >> default=0 > >> timeout=5 > >> splashimage=(hd0,0)/grub/splash.xpm.gz > >> hiddenmenu > >> titleRed Hatenterprise linux(2.6.9-22.ELsmp) > >> root (hd0,0) > >> kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/ rhgb quiet > >> initrd /initrd-2.6.9-22.ELsmp.img > >> title Red Hatenterprise linux (2.6.9-22.EL) > >> root (hd0,0) > >> kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet > >> initrd /initrd- 2.6.9-22.EL.img > >> title Xen 3.0 / XenLinux 2.6 > >> root (hd0,0) > >> kernel /xen-3.0.gz > >> module /vmlinuz-2.6-xen root=LABEL=/ ro console=tty0 > >> module /initrd-2.6.16-xen.img > >> I have tried giving different options to creation of mkinitrd command > >> but it doesnot work. I have tried "builtin" and "with" options and it > >> doesnot worl. In addition, I have tried to make hyperthreading > >> disabled,it doesnot work for me. > >> I have seen many such messages but no concrete solution to this > >> problem. Please help. > >> > >> > >> -Vineet<lspci.out><lsmod.out>_________________________________________ > >> ______ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
vineet chadha
2006-Jun-14 20:31 UTC
Re: [Xen-users] Re: [Xen-devel] Re: switchroot mount failed
Adding to this, i am not redirecting my boot logs to another machine. but as i observed through boot process, it is detecting all modules, even mkinitrd doesn''t complain about missing modules. On 6/14/06, vineet chadha <virtual.chadha@gmail.com> wrote:> > Hi keir, > > Normal kernel is booting and detecting SCSI disk fine. When i boot in Xen > mode, it gives this problem. If you put search "switchroot mount failed" in > Xen user/dev list, u will see this has been a common issuse with no solution > posted. Yes, I also believe it is problem with xen kernel not detecting the > SCSI drivers or something. > which log file u want me to check. > > Regards, > Vineet > > > On 6/14/06, Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote: > > > > Does teh kernel boot output indicate that the SCSI module has loaded > and actually detected any discs (sda in particular)? This doesn''t look > like a Xen-specific problem. > > -- Keir > > > On 14 Jun 2006, at 20:38, vineet chadha wrote: > > > Hi, > > > > I am attaching lpci and lsmod for Xen boot problem mentioned below. > > Any clues ? > > > > -Vineet > > > > On 6/13/06, vineet chadha <virtual.chadha@gmail.com> wrote: Hi, > >> > >> Can xen developers kindly post relevant solution to this problem. I > >> have seen many times onxen list- not a simple answer. It has come > > >> to the point of frustration. I can provide any information needed. > >> > >> Regards, > >> Vineet > >> > >> ---------- Forwarded message ---------- > >> From: vineet chadha <virtual.chadha@gmail.com> > >> Date: Jun 13, 2006 8:42 AM > >> Subject: switchroot mount failed > >> To: xen-users@lists.xensource.com, xen-devel@lists.xensource.com > >> > >> > >> All, > >> I am running xen3.0.2 and xen unstable on RHEL 4, and get this error > >> when trying to boot Xen kernel(domain0) > >> ...... > >> Creating root device > >> Mounting root filesystem > >> mount: error 6 mounting ext3 > >> mount: error 2 mounting none > >> Switching to new root > >> switchroot: mount failed: 22 > >> umount /initrd/dev failed: 2 > >> Kernel panic - not syncing: Attempting to kill init! > >> Then system reboot.In grub.conf,I have change d the root=LABEL=/ to > >> the actual device > >> (root=/dev/sda 3),and make the same change in /etc/fstab, but I got > >> same error. > >> My system is Intel Xeon, Dual Core Machine, 2.8GHz. 32 bit Linux > >> > >> my installation steps as below, > >> # pwd > >> /home/vineet/xen-3.0.2 > >> # make world > >> # make install > >> > >> # cd /boot > >> # depmod 2.6.16-xen > >> # mkinitrd -f -v initrd-2.6.16-xen.img 2.6.16-xen > >> Creating initramfs > >> Looking for deps of module scsi_mod > >> Looking for deps of module sd_mod scsi_mod > >> Looking for deps of module scsi_mod > >> Looking for deps of module unknown > >> Looking for deps of module mptbase > >> Looking for deps of module mptscsih mptbase scsi_mod > >> Looking for deps of module mptbase > >> Looking for deps of module scsi_mod > >> Looking for deps of module ide-disk > >> Looking for deps of module dm-mod > >> Looking for deps of module ext3 jbd > >> Looking for deps of module jbd > >> Using modules: ./kernel/drivers/scsi/scsi_mod.ko > >> ./kernel/drivers/scsi/sd_mod.ko > >> ./kernel/drivers/message/fusion/mptbase.ko > >> ./kernel/drivers/message/fusion/mptscsih.ko ./kernel/drivers/md/dm- > >> mod.ko ./kernel/fs/jbd/jbd.ko ./kernel/fs/ext3/ext3.ko > >> /sbin/nash -> /tmp/initrd.L28813/bin/nash > >> /sbin/insmod.static -> /tmp/initrd.L28813/bin/insmod > >> /sbin/udev.static -> /tmp/initrd.L28813/sbin/udev > >> /etc/udev/udev.conf -> /tmp/initrd.L28813/etc/udev/udev.conf > >> copy from > >> /lib/modules/2.6.16-xen/./kernel/drivers/scsi/scsi_mod.ko(elf32-i386) > >> to /tmp/initrd.L28813/lib/scsi_mod.ko(elf32-i386) > >> copy from > >> /lib/modules/2.6.16-xen/./kernel/drivers/scsi/sd_mod.ko(elf32-i386) > >> to /tmp/initrd.L28813/lib/sd_mod.ko(elf32-i386) > >> copy from > >> /lib/modules/2.6.16-xen/./kernel/drivers/message/fusion/ > >> mptbase.ko(elf32-i386) to > >> /tmp/initrd.L28813/lib/mptbase.ko(elf32-i386) > >> copy from > >> /lib/modules/2.6.16-xen/./kernel/drivers/message/fusion/ > >> mptscsih.ko(elf32-i386) to > >> /tmp/initrd.L28813/lib/mptscsih.ko(elf32-i386) > >> copy from > >> /lib/modules/2.6.16-xen/./kernel/drivers/md/dm-mod.ko(elf32-i386) to > >> /tmp/initrd.L28813/lib/dm-mod.ko(elf32-i386) > >> copy from /lib/modules/2.6.16-xen/./kernel/fs/jbd/jbd.ko(elf32-i386) > >> to /tmp/initrd.L28813/lib/jbd.ko(elf32-i386) > >> copy from > >> /lib/modules/2.6.16-xen/./kernel/fs/ext3/ext3.ko(elf32-i386) to > >> /tmp/initrd.L28813/lib/ext3.ko(elf32-i386) > >> Loading module scsi_mod > >> Loading module sd_mod > >> Loading module mptbase > >> Loading module mptscsih > >> Loading module dm-mod > >> Loading module jbd > >> Loading module ext3 > >> # > >> My grub.conf file: > >> default=0 > >> timeout=5 > >> splashimage=(hd0,0)/grub/splash.xpm.gz > >> hiddenmenu > >> titleRed Hatenterprise linux(2.6.9-22.ELsmp) > > >> root (hd0,0) > >> kernel /vmlinuz-2.6.9-22.ELsmp ro root=LABEL=/ rhgb quiet > >> initrd /initrd-2.6.9-22.ELsmp.img > >> title Red Hatenterprise linux ( 2.6.9-22.EL) > > >> root (hd0,0) > >> kernel /vmlinuz-2.6.9-22.EL ro root=LABEL=/ rhgb quiet > >> initrd /initrd- 2.6.9-22.EL.img > >> title Xen 3.0 / XenLinux 2.6 > >> root (hd0,0) > >> kernel /xen- 3.0.gz > >> module /vmlinuz-2.6-xen root=LABEL=/ ro console=tty0 > >> module /initrd-2.6.16-xen.img > >> I have tried giving different options to creation of mkinitrd command > >> but it doesnot work. I have tried "builtin" and "with" options and it > >> doesnot worl. In addition, I have tried to make hyperthreading > >> disabled,it doesnot work for me. > >> I have seen many such messages but no concrete solution to this > >> problem. Please help. > >> > >> > >> -Vineet<lspci.out><lsmod.out>_________________________________________ > >> ______ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > _______________________________________________ > 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
Keir Fraser
2006-Jun-14 20:49 UTC
Re: [Xen-users] Re: [Xen-devel] Re: switchroot mount failed
On 14 Jun 2006, at 21:28, vineet chadha wrote:> Normal kernel is booting and detecting SCSI disk fine. When i boot in > Xen mode, it gives this problem. If you put search "switchroot mount > failed" in Xen user/dev list, u will see this has been a common issuse > with no solution posted.I don''t see any duplicates from anyone else if I use those search terms. Perhaps you can provide links to some threads with people having the same issue as you?> Yes, I also believe it is problem with xen kernel not detecting the > SCSI drivers or something. > which log file u want me to check.When the boot fails, do you see any lines of output from the kernel stating that it has found a block device ''sda''? If the machine reboots too quickly for you to read then try adding ''noreboot'' to Xen''s command line. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
vineet chadha
2006-Jun-14 21:13 UTC
Re: [Xen-users] Re: [Xen-devel] Re: switchroot mount failed
Here are links to see for switch root problem ( specifically first link is exactly similar). http://lists.xensource.com/archives/html/xen-users/2006-06/msg00274.html http://lists.xensource.com/archives/html/xen-users/2006-06/msg00272.html http://lists.xensource.com/archives/html/xen-users/2006-05/msg00416.html I have re-installed OS and xen in my system ( as i messed up with grub when palying around it and in hope that i will rectify that error). I am not getting same error now but i am getting following error: PCI: If a device doesn''t work, try "pci=routeirq". If it helps, post a report PCI : Bridge: 0000:01:00:0 IO window :c000-cfff MEM window : fce00000-fcefffff PREFETCH window: e0000000-e01fffff PCI : Bridge: 0000:01:00:2 IO window :d000-dfff MEM window : fcf00000-fcffffff PREFETCH window: e0000000-e01fffff PCI : Bridge: 0000:01:00:0 IO window :c000-dfff MEM window : fce00000-fcefffff PREFETCH window: e0000000-e01fffff I have tried pci=routeirq and apci=off, it still give me error Yes, I know about noreboot option and I knew module were loaded and detected. Thanks for helping me out. I have been trying to make xen work on dual core Xeon 2.8GhZ for last two days....and i have to try all options...so i am now not able to replicate same error. I am using Xen 3.0.2-2. Kindly guide me with this current error. Regards, Vineet On 6/14/06, Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote:> > > On 14 Jun 2006, at 21:28, vineet chadha wrote: > > > Normal kernel is booting and detecting SCSI disk fine. When i boot in > > Xen mode, it gives this problem. If you put search "switchroot mount > > failed" in Xen user/dev list, u will see this has been a common issuse > > with no solution posted. > > I don''t see any duplicates from anyone else if I use those search > terms. Perhaps you can provide links to some threads with people having > the same issue as you? > > > Yes, I also believe it is problem with xen kernel not detecting the > > SCSI drivers or something. > > which log file u want me to check. > > When the boot fails, do you see any lines of output from the kernel > stating that it has found a block device ''sda''? If the machine reboots > too quickly for you to read then try adding ''noreboot'' to Xen''s command > line. > > -- Keir > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Keir Fraser
2006-Jun-14 21:13 UTC
Re: [Xen-users] Re: [Xen-devel] Re: switchroot mount failed
On 14 Jun 2006, at 22:13, vineet chadha wrote:> PCI: If a device doesn''t work, try "pci=routeirq". If it helps, post a > report > > I have tried pci=routeirq and apci=off, it still give me error > > Yes, I know about noreboot option and I knew module were loaded and > detected. > Thanks for helping me out. I have been trying to make xen work on dual > core Xeon 2.8GhZ for last two days....and i have to try all > options...so i am now not able to replicate same error. I am using Xen > 3.0.2-2. Kindly guide me with this current error.The line above is not an error. It''s just useful information if a PCI device happens not to work. You should ignore it. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
vineet chadha
2006-Jun-14 21:15 UTC
Re: [Xen-users] Re: [Xen-devel] Re: switchroot mount failed
Adding to this, I have now build kernel with scsi Fusion MPT drivers builtin ( i am not sure if that has removed that error-- in fact I am not sure till this whole thing is working). On 6/14/06, vineet chadha <virtual.chadha@gmail.com> wrote:> > Here are links to see for switch root problem ( specifically first link > is exactly similar). > > http://lists.xensource.com/archives/html/xen-users/2006-06/msg00274.html > http://lists.xensource.com/archives/html/xen-users/2006-06/msg00272.html > http://lists.xensource.com/archives/html/xen-users/2006-05/msg00416.html > > I have re-installed OS and xen in my system ( as i messed up with grub > when palying around it and in hope that i will rectify that error). I am not > getting same error now but i am getting following error: > > PCI: If a device doesn''t work, try "pci=routeirq". If it helps, post a > report > PCI : Bridge: 0000:01:00:0 > IO window :c000-cfff > MEM window : fce00000-fcefffff > PREFETCH window: e0000000-e01fffff > PCI : Bridge: 0000:01:00:2 > IO window :d000-dfff > MEM window : fcf00000-fcffffff > PREFETCH window: e0000000-e01fffff > PCI : Bridge: 0000:01:00:0 > IO window :c000-dfff > MEM window : fce00000-fcefffff > PREFETCH window: e0000000-e01fffff > > I have tried pci=routeirq and apci=off, it still give me error > > Yes, I know about noreboot option and I knew module were loaded and > detected. > Thanks for helping me out. I have been trying to make xen work on dual > core Xeon 2.8GhZ for last two days....and i have to try all options...so i > am now not able to replicate same error. I am using Xen 3.0.2-2. Kindly > guide me with this current error. > > Regards, > Vineet > > > On 6/14/06, Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote: > > > > > On 14 Jun 2006, at 21:28, vineet chadha wrote: > > > > > Normal kernel is booting and detecting SCSI disk fine. When i boot in > > > Xen mode, it gives this problem. If you put search "switchroot mount > > > failed" in Xen user/dev list, u will see this has been a common issuse > > > with no solution posted. > > > > I don''t see any duplicates from anyone else if I use those search > > terms. Perhaps you can provide links to some threads with people having > > the same issue as you? > > > > > Yes, I also believe it is problem with xen kernel not detecting the > > > SCSI drivers or something. > > > which log file u want me to check. > > > > When the boot fails, do you see any lines of output from the kernel > > stating that it has found a block device ''sda''? If the machine reboots > > too quickly for you to read then try adding ''noreboot'' to Xen''s command > > line. > > > > -- Keir > > > > > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
vineet chadha
2006-Jun-14 21:22 UTC
Re: [Xen-users] Re: [Xen-devel] Re: switchroot mount failed
System hangs at this point. Any clue ? On 6/14/06, Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote:> > > On 14 Jun 2006, at 22:13, vineet chadha wrote: > > > PCI: If a device doesn''t work, try "pci=routeirq". If it helps, post a > > report > > > > I have tried pci=routeirq and apci=off, it still give me error > > > > Yes, I know about noreboot option and I knew module were loaded and > > detected. > > Thanks for helping me out. I have been trying to make xen work on dual > > core Xeon 2.8GhZ for last two days....and i have to try all > > options...so i am now not able to replicate same error. I am using Xen > > 3.0.2-2. Kindly guide me with this current error. > > The line above is not an error. It''s just useful information if a PCI > device happens not to work. You should ignore it. > > -- Keir > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Keir Fraser
2006-Jun-14 21:25 UTC
Re: [Xen-users] Re: [Xen-devel] Re: switchroot mount failed
On 14 Jun 2006, at 22:22, vineet chadha wrote:> System hangs at this point. Any clue ?Can you reproduce this with the latest xen-unstable tree? -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Tue, 2006-13-06 at 08:42 -0700, vineet chadha wrote:> > I am running xen3.0.2 and xen unstable on RHEL 4, and get this error > when trying to boot Xen kernel(domain0) \ > ...... > Creating root device > Mounting root filesystem > mount: error 6 mounting ext3 > mount: error 2 mounting none > Switching to new root > switchroot: mount failed: 22I''ve been using Xen on a CentOS 4 system for about a month, and I''ve had my share of problems: this was one of them. In my case, I was setting up a second domU, and every time I would boot it, it would freeze at the "Switching to new root" step. It was quite puzzling because the new domU was based on an existing one that was working perfectly. During my trouble shooting, I discovered that my base image didn''t have a /dev directory. So, I created a /dev directory (empty of course, since CentOS 4 uses udev), unmounted the logical volume that contained the domU, started it, and behold, it finished booting. It''s now running smoothly. Sooo, you might want to check that /dev exists before you start the domU. Even though /dev is populated at boot time, it seems a /dev directory must first exist. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.16-1.2111_FC4 i686 GNU/Linux 00:21:29 up 1 day, 17:51, 4 users, load average: 0.39, 0.12, 0.04 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I checked /dev/ is also there. Also, I have tested with xen-unstable, I do get switchroot problem. For now, I have moved to another machine to work on. On 6/14/06, Kanwar Ranbir Sandhu <m3freak@rogers.com> wrote:> > On Tue, 2006-13-06 at 08:42 -0700, vineet chadha wrote: > > > > I am running xen3.0.2 and xen unstable on RHEL 4, and get this error > > when trying to boot Xen kernel(domain0) \ > > ...... > > Creating root device > > Mounting root filesystem > > mount: error 6 mounting ext3 > > mount: error 2 mounting none > > Switching to new root > > switchroot: mount failed: 22 > > I''ve been using Xen on a CentOS 4 system for about a month, and I''ve had > my share of problems: this was one of them. > > In my case, I was setting up a second domU, and every time I would boot > it, it would freeze at the "Switching to new root" step. It was quite > puzzling because the new domU was based on an existing one that was > working perfectly. > > During my trouble shooting, I discovered that my base image didn''t have > a /dev directory. So, I created a /dev directory (empty of course, > since CentOS 4 uses udev), unmounted the logical volume that contained > the domU, started it, and behold, it finished booting. It''s now running > smoothly. > > Sooo, you might want to check that /dev exists before you start the > domU. Even though /dev is populated at boot time, it seems a /dev > directory must first exist. > > Regards, > > Ranbir > -- > Kanwar Ranbir Sandhu > Linux 2.6.16-1.2111_FC4 i686 GNU/Linux > 00:21:29 up 1 day, 17:51, 4 users, load average: 0.39, 0.12, 0.04 > > > > _______________________________________________ > 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