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-devel

Re: [Xen-devel] can't mount root... devfs???

To: James Harper <JamesH@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] can't mount root... devfs???
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Wed, 30 Jun 2004 10:59:20 +0100
Cc: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxxx>, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Wed, 30 Jun 2004 11:05:20 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Wed, 30 Jun 2004 19:38:50 +1000." <DD0CE8C1-59F4-40CE-9DDB-FD1BE32BD52C@mimectl>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> devfs is alive and well in 2.6. there is a udev(?) scheme i think which 
> accomplishes the same sort of thing via a different mechanism, but that is 
> about the extent of my knowledge on it and is probably wrong anyway!!!
> 
> it is the kernel failing to mount /dev/sda7, not userspace. It also fails if 
> I specify root as 0807, so I guess it isn't a devfs issue on dom1. Dom0 also 
> is using devfs, /dev/sda7 is a symlink to 
> /dev/scsi/host0/bus0/target5/lun0/part7, which is in turn of the right major 
> and minor number. Would xen be failing to work out the device numbers because 
> of the symlink?

Possibly, though we always used to look through links; don't know
about the new tools, but this could be the issue. Could you try a
devfs dom0 and standard dom1?
 
> After my next reboot i'll try making /dev/sda7 a proper device node. After 
> dom1 crashes and burns, I don't seem to be able to kill it (xm destroy 1), or 
> create it again, so I have to reboot. doh.

Is this with the latest repo? I think some changes that went in
last night finally got this functionality working again.

> Also, make menuconfig for xenU flashes an error on the screen but otherwise 
> works unless I try to look in SCSI where I get this message:
> Menuconfig has encountered a possible error in one of the kernel's
> configuration files and is unable to continue.  Here is the
> error

There's something broken with the arch/xen/config.in but I just
can't spot it. The error messages from the Linux config system
are so spectacularly unhelpful that it's impossible to
debug. Fortunately, the error message doesn't actually seem to
obviously break anything, though I have noticed xconfig do
strange things if you ever visit the SCSI config pages.

I think we need to revert to the standard i386 one, and then just
add back in the Xen specific options.

Anyone fancy a really boring but important job? ;-)

Ian


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel