WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Re: DomU (CentOS) on Dom0 (Debian) can't find /sys/block

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Re: DomU (CentOS) on Dom0 (Debian) can't find /sys/block/sda/dev
From: Tom Brown <tbrown@xxxxxxxxxxxxx>
Date: Fri, 11 Aug 2006 13:51:39 -0700 (PDT)
Delivery-date: Fri, 11 Aug 2006 13:52:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <ebipsu$3jl$1@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <44DCDC6D.50306@xxxxxxxxxx> <ebipsu$3jl$1@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
> 

----------------------------------------------------------------------
tbrown@xxxxxxxxxxxxx   | 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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>