Michael Morris
2006-Aug-11 19:37 UTC
[Xen-users] DomU (CentOS) on Dom0 (Debian) can''t find /sys/block/sda/dev
Hi, I''m running Debian Etch (unstable) as my host OS on AMD64 architecture, and I''ve installed Dom0 without many problems. I''m trying to boot a CentOS4 DomU (as a logical volume) without much success. The following is the output to standard out including a few lines before errors begin: pci_hotplug: PCI Hot Plug PCI Core version: 0.5 shpchp: Standard Hot Plug PCI Controller Driver version: 0.4 SCSI subsystem initialized 3ware 9000 Storage Controller device driver for Linux v2.26.02.007. register_blkdev: cannot get major 8 for sd /bin/cat: /sys/block/sda/dev: No such file or directory Waiting 1 seconds for /sys/block/sda/dev to show up /bin/cat: /sys/block/sda/dev: No such file or directory Waiting 2 seconds for /sys/block/sda/dev to show up /bin/cat: /sys/block/sda/dev: No such file or directory Waiting 4 seconds for /sys/block/sda/dev to show up /bin/cat: /sys/block/sda/dev: No such file or directory Waiting 8 seconds for /sys/block/sda/dev to show up /bin/cat: /sys/block/sda/dev: No such file or directory Waiting 16 seconds for /sys/block/sda/dev to show up /bin/cat: /sys/block/sda/dev: No such file or directory Device /sys/block/sda/dev seems to be down. Debugging opportunity, type ^D to continue. /bin/dash: can''t access tty; job control turned off # I''ve been unable to do anything promising with the debugging opportunity. I''ve tried configuring DomU with both the xen-tools package, and manually. The following is my DomU config file at /etc/xen/test.cfg: kernel = ''/boot/vmlinuz-2.6.16-2-xen-amd64-k8'' ramdisk = ''/boot/initrd.img-2.6.16-xen'' memory = ''96'' root = ''/dev/sda1 ro'' disk = [ ''phy:Debian/test-disk,sda1,w'', ''phy:Debian/test-swap,sda2,w'' ] name = ''test'' vif = [ ''ip=10.1.2.115'' ''bridge=xenbr0'' ] on_poweroff = ''destroy'' on_reboot = ''restart'' on_crash = ''restart'' I haven''t found anything useful on Google, although I did find a few people with the same problem. I would appreciate any suggestions on how to get my DomU to boot, or requests for more information. ______________ Mike Morris mike@datdec.com _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Markus Schuster
2006-Aug-11 20:38 UTC
[Xen-users] Re: DomU (CentOS) on Dom0 (Debian) can''t find /sys/block/sda/dev
Michael Morris wrote:> register_blkdev: cannot get major 8 for sd > /bin/cat: /sys/block/sda/dev: No such file or directory > Waiting 1 seconds for /sys/block/sda/dev to show up > [..] > I would appreciate any suggestions on how to get my DomU to boot, or > requests for more information.May it be that your domU uses yaird as initrd creator? I can remember that I had simmilar problems when trying unmodified yaird for the first time. I''ve created a custom domU yaird config and template. I can post them if you use yaird. Greetings, Markus _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Tom Brown
2006-Aug-11 20:51 UTC
Re: [Xen-users] Re: DomU (CentOS) on Dom0 (Debian) can''t find /sys/block/sda/dev
On Fri, 11 Aug 2006, Markus Schuster wrote:> Michael Morris wrote: > > register_blkdev: cannot get major 8 for sd > > /bin/cat: /sys/block/sda/dev: No such file or directory > > Waiting 1 seconds for /sys/block/sda/dev to show up > > [..] > > I would appreciate any suggestions on how to get my DomU to boot, or > > requests for more information. > > May it be that your domU uses yaird as initrd creator? I can remember that I > had simmilar problems when trying unmodified yaird for the first time. I''ve > created a custom domU yaird config and template. > I can post them if you use yaird.I would expect it was the incomplete path to his image files.> disk = [ ''phy:Debian/test-disk,sda1,w'', > ''phy:Debian/test-swap,sda2,w'' ]but I could be wrong. I would spec the full path /somedir/Debian/test-disk etc... He shouldn''t need an initrd if he just makes sure he''s got a few minimal files in /dev/ (e.g. console zero null and maybe his sda devices .... e.g. enough for the system to get udev up and running). Personally I try to avoid anything that complicates things, and that is especially true of boot processes... so unless I _need_ an initrd, I avoid them ... but some boot processes require it (like nbd/AOE which require user-space help). -Tom> > Greetings, Markus > > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >---------------------------------------------------------------------- tbrown@BareMetal.com | Don''t go around saying the world owes you a living; http://BareMetal.com/ | the world owes you nothing; it was here first. web hosting since ''95 | - Mark Twain _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users