Chris Hane
2008-May-01 20:33 UTC
[Xen-users] Boot into dom0 "Failed to parse block device name"
I am trying to install the binary version of xen 3.1. When I boot, after some console output, I get the following: :: Loading Initramfs scsi_mod: no version for "struct_module" found: kernel tainted. SCSI subsystem intialized :: Running Hook [udev] :: Loading udev...input: AT Translated Set 2 keyboard as /class/inpt/input0 done. :: Running Hook [keymap] :: Loading keymap...Cannot find default font done. :: Running Hook [filesystems] :: Loading root filesystem module... Attempting to create root device ''/dev/sda3'' ERROR: Failed to parse block device name for ''/dev/sda3'' unknown ERROR: root fs cannot be detected. Try using the rootfstype= kernel parameter. Waiting for devices to settle ...done. Root device ''/dev/sda3'' doesn''t exist, attempting to create it ERROR: Failed to parse block device name for ''/dev/sda3'' ERROR: Unable to create/detect root device ''/dev/sda3'' Dropping to a recovery shell... type ''exit'' to reboot My grub menu is: timeout 5 default 0 color light-blue/black light-cyan/blue # (0) Arch Linux title Arche Linux root (hd0,0) kernel /vmlinuz26 root=/dev/sda3 ro initrd /kernel26.img # (1) Xen 3.1 title Xen 3.1 root (hd0,0) kernel /xen.gz dom0_mem=524288 module /vmlinuz-2.6-xen root=/dev/sda3 ro module /kernel26xenB.img My fstab is: none /dev/pts devpts defaults 0 0 none /dev/shm tmpfs defaults 0 0 /dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0 /dev/fd0 /mnt/fd0 vfat user,noauto 0 0 /dev/sda1 /boot ext2 defaults 0 1 /dev/sda2 swap swap defaults 0 0 /dev/sda3 / ext2 defaults 0 1 /dev/sda4 /home ext2 defaults 0 1 Any help would be appreciated. Thanks, Chris.... _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Todd Deshane
2008-May-02 19:43 UTC
Re: [Xen-users] Boot into dom0 "Failed to parse block device name"
Hi Chris, On Thu, May 1, 2008 at 4:33 PM, Chris Hane <chrishane@gmail.com> wrote:> > I am trying to install the binary version of xen 3.1. > > When I boot, after some console output, I get the following: > > :: Loading Initramfs > scsi_mod: no version for "struct_module" found: kernel tainted. > SCSI subsystem intialized > :: Running Hook [udev] > :: Loading udev...input: AT Translated Set 2 keyboard as /class/inpt/input0 > done. > :: Running Hook [keymap] > :: Loading keymap...Cannot find default font > done. > :: Running Hook [filesystems] > :: Loading root filesystem module... > Attempting to create root device ''/dev/sda3'' > ERROR: Failed to parse block device name for ''/dev/sda3'' > unknown > ERROR: root fs cannot be detected. Try using the rootfstype= kernel > parameter. > Waiting for devices to settle ...done. > > Root device ''/dev/sda3'' doesn''t exist, attempting to create it > ERROR: Failed to parse block device name for ''/dev/sda3'' > ERROR: Unable to create/detect root device ''/dev/sda3'' > Dropping to a recovery shell... type ''exit'' to reboot > > > > My grub menu is: > timeout 5 > default 0 > color light-blue/black light-cyan/blue > > # (0) Arch Linux > title Arche Linux > root (hd0,0) > kernel /vmlinuz26 root=/dev/sda3 ro > initrd /kernel26.img > > # (1) Xen 3.1 > title Xen 3.1 > root (hd0,0) > kernel /xen.gz dom0_mem=524288 > module /vmlinuz-2.6-xen root=/dev/sda3 ro > module /kernel26xenB.img > > My fstab is: > none /dev/pts devpts defaults 0 0 > none /dev/shm tmpfs defaults 0 0 > > /dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0 > /dev/fd0 /mnt/fd0 vfat user,noauto 0 0 > /dev/sda1 /boot ext2 defaults 0 1 > /dev/sda2 swap swap defaults 0 0 > /dev/sda3 / ext2 defaults 0 1 > /dev/sda4 /home ext2 defaults 0 1 > > > > Any help would be appreciated. >Looks like you are missing a module in your initrd Did you build the file: kernel26xenB.img with the kernel modules that were in the downloaded binary package? Cheers, Todd> Thanks, > Chris.... > > > > > > > _______________________________________________ > 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
Chris Hane
2008-May-06 16:07 UTC
Re: [Xen-users] Boot into dom0 "Failed to parse block device name"
Todd Deshane wrote:> Hi Chris, > > > On Thu, May 1, 2008 at 4:33 PM, Chris Hane <chrishane@gmail.com> wrote: >> I am trying to install the binary version of xen 3.1. >> >> When I boot, after some console output, I get the following: >> >> :: Loading Initramfs >> scsi_mod: no version for "struct_module" found: kernel tainted. >> SCSI subsystem intialized >> :: Running Hook [udev] >> :: Loading udev...input: AT Translated Set 2 keyboard as /class/inpt/input0 >> done. >> :: Running Hook [keymap] >> :: Loading keymap...Cannot find default font >> done. >> :: Running Hook [filesystems] >> :: Loading root filesystem module... >> Attempting to create root device ''/dev/sda3'' >> ERROR: Failed to parse block device name for ''/dev/sda3'' >> unknown >> ERROR: root fs cannot be detected. Try using the rootfstype= kernel >> parameter. >> Waiting for devices to settle ...done. >> >> Root device ''/dev/sda3'' doesn''t exist, attempting to create it >> ERROR: Failed to parse block device name for ''/dev/sda3'' >> ERROR: Unable to create/detect root device ''/dev/sda3'' >> Dropping to a recovery shell... type ''exit'' to reboot >> >> >> >> My grub menu is: >> timeout 5 >> default 0 >> color light-blue/black light-cyan/blue >> >> # (0) Arch Linux >> title Arche Linux >> root (hd0,0) >> kernel /vmlinuz26 root=/dev/sda3 ro >> initrd /kernel26.img >> >> # (1) Xen 3.1 >> title Xen 3.1 >> root (hd0,0) >> kernel /xen.gz dom0_mem=524288 >> module /vmlinuz-2.6-xen root=/dev/sda3 ro >> module /kernel26xenB.img >> >> My fstab is: >> none /dev/pts devpts defaults 0 0 >> none /dev/shm tmpfs defaults 0 0 >> >> /dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0 >> /dev/fd0 /mnt/fd0 vfat user,noauto 0 0 >> /dev/sda1 /boot ext2 defaults 0 1 >> /dev/sda2 swap swap defaults 0 0 >> /dev/sda3 / ext2 defaults 0 1 >> /dev/sda4 /home ext2 defaults 0 1 >> >> >> >> Any help would be appreciated. >> > > Looks like you are missing a module in your initrd > > Did you build the file: kernel26xenB.img with the kernel modules that > were in the downloaded binary package? >I just rebuild the image with the following command and am getting the same error message. mkinitcpio -k 2.6.18-xen -g /boot/kernel26xenB.img /etc/mkinitcpio.conf is: MODULES="ata_piix ext3" BINARIES="" FILES="" HOOKS="base udev autodetect ide pata scsi sata keymap filesystems" I also reinstalled the underlying os that I am building on so that the filesystem of sda3 is ext3. Any thoughts on what I am doing wrong? Chris....> Cheers, > Todd > >> Thanks, >> Chris.... >> >> >> >> >> >> >> _______________________________________________ >> 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
Todd Deshane
2008-May-06 16:13 UTC
Re: [Xen-users] Boot into dom0 "Failed to parse block device name"
On Tue, May 6, 2008 at 12:07 PM, Chris Hane <chrishane@gmail.com> wrote:> > > > Todd Deshane wrote: > > > Hi Chris, > > > > > > On Thu, May 1, 2008 at 4:33 PM, Chris Hane <chrishane@gmail.com> wrote: > > > > > I am trying to install the binary version of xen 3.1. > > > > > > When I boot, after some console output, I get the following: > > > > > > :: Loading Initramfs > > > scsi_mod: no version for "struct_module" found: kernel tainted. > > > SCSI subsystem intialized > > > :: Running Hook [udev] > > > :: Loading udev...input: AT Translated Set 2 keyboard as > /class/inpt/input0 > > > done. > > > :: Running Hook [keymap] > > > :: Loading keymap...Cannot find default font > > > done. > > > :: Running Hook [filesystems] > > > :: Loading root filesystem module... > > > Attempting to create root device ''/dev/sda3'' > > > ERROR: Failed to parse block device name for ''/dev/sda3'' > > > unknown > > > ERROR: root fs cannot be detected. Try using the rootfstype= kernel > > > parameter. > > > Waiting for devices to settle ...done. > > > > > > Root device ''/dev/sda3'' doesn''t exist, attempting to create it > > > ERROR: Failed to parse block device name for ''/dev/sda3'' > > > ERROR: Unable to create/detect root device ''/dev/sda3'' > > > Dropping to a recovery shell... type ''exit'' to reboot > > > > > > > > > > > > My grub menu is: > > > timeout 5 > > > default 0 > > > color light-blue/black light-cyan/blue > > > > > > # (0) Arch Linux > > > title Arche Linux > > > root (hd0,0) > > > kernel /vmlinuz26 root=/dev/sda3 ro > > > initrd /kernel26.img > > > > > > # (1) Xen 3.1 > > > title Xen 3.1 > > > root (hd0,0) > > > kernel /xen.gz dom0_mem=524288 > > > module /vmlinuz-2.6-xen root=/dev/sda3 ro > > > module /kernel26xenB.img > > > > > > My fstab is: > > > none /dev/pts devpts defaults 0 0 > > > none /dev/shm tmpfs defaults 0 0 > > > > > > /dev/cdrom /mnt/cdrom iso9660 ro,user,noauto,unhide 0 0 > > > /dev/fd0 /mnt/fd0 vfat user,noauto 0 0 > > > /dev/sda1 /boot ext2 defaults 0 1 > > > /dev/sda2 swap swap defaults 0 0 > > > /dev/sda3 / ext2 defaults 0 1 > > > /dev/sda4 /home ext2 defaults 0 1 > > > > > > > > > > > > Any help would be appreciated. > > > > > > > > > > Looks like you are missing a module in your initrd > > > > Did you build the file: kernel26xenB.img with the kernel modules that > > were in the downloaded binary package? > > > > > > I just rebuild the image with the following command and am getting the same > error message. > > mkinitcpio -k 2.6.18-xen -g /boot/kernel26xenB.img > > /etc/mkinitcpio.conf is: > MODULES="ata_piix ext3" > BINARIES="" > FILES="" > HOOKS="base udev autodetect ide pata scsi sata keymap filesystems" > > I also reinstalled the underlying os that I am building on so that the > filesystem of sda3 is ext3. > > Any thoughts on what I am doing wrong? >I have always built with mkinitrd or mkinitramfs. Did you try using those directly? Also did you check /lib/modules/<the xen linux kernel> for the module(s) that it might be missing and/or complaining about?> Chris.... > > > > > > > > > > Cheers, > > Todd > > > > > > > Thanks, > > > Chris.... > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > 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 >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Chris Hane
2008-May-06 18:05 UTC
Re: [Xen-users] Boot into dom0 "Failed to parse block device name"
Todd Deshane wrote:> > I have always built with mkinitrd or mkinitramfs. Did you try using > those directly? > > Also did you check /lib/modules/<the xen linux kernel> for the > module(s) that it > might be missing and/or complaining about? >I tried mkinitrd: shell> depmod -a 2.6.18-xen shell> mkinitrd --show kernel_version=2.6.18-xen (config file below) - the generated image is about 2.9M - in the output of mkinitrd I saw that sd_mod and aacraid are included I get further but still won''t boot. The errors this time are: mdadm: No arrays found in config file mount: Mounting /dev/root on /new_root failed: No such device or address pivot_root: pivot_root: No such file or directory mount: /initrd: No such file or directory mount: /initrd: No such file or directory linuxrc: 543: /sbin/busybox not found freeing unused kernel memory: 192k freed BusyBox v1.01 (2006.07.21-19:34+0000) Built-in Shell (ash) Enter ''help'' for a list of built-in commands. /bin/sh: can''t access tty; job control turned off /etc/mkinitrd.conf: FILESYSTEMS=ext3 Chris.... _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users