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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] [PATCH] Allow Xend to find device number for sdX or hdX

To: Anthony Liguori <aliguori@xxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] Allow Xend to find device number for sdX or hdX with udev
From: Felipe Alfaro Solana <lkml@xxxxxxx>
Date: 2005年1月15日 11:38:54 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: 2005年1月15日 10:39:54 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <1105736457.7777.17.camel@localhost >
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>
References: <1105736457.7777.17.camel@localhost >
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
On 14 Jan 2005, at 22:00, Anthony Liguori wrote:
Symptom:
When using a udev-based dom0, if you try to create a domU with a virtual
sda device and you do not have a local scsi device xm create fails.
Fix:
When using udev, only the device nodes needed are made. The follow
patch changes Xend to return a device number based on:
http://www.lanana.org/docs/device-list/devices.txt
For sd and hd devices if stat() fails. It was tested against both 2.0.2
and 2.0.3.
Another solution is to tell udev to automatically create /dev/sda1 every time it gets started:
# mknod /etc/udev/devices b 8 1
When udev starts, all device files inside /etc/udev/devices are automatically copied to /dev, with no further configuration or triggering of hotplug or coldplug events. NOTE: This is what I use for VMware, which needs a lot of /dev/vm* devices to function properly: I moved all VMware-specific device files into /etc/udev/devices so when udev starts, those files are copied back to /dev.
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: RE: [Xen-devel] lvm management of block devices in dom0 not working as well as it should , Ian Pratt
Next by Date: Re: [Xen-devel] [PATCH] Allow Xend to find device number for sdX or hdX with udev , Jan Kundrát
Previous by Thread: [Xen-devel] [PATCH] Allow Xend to find device number for sdX or hdX with udev , Anthony Liguori
Next by Thread: Re: [Xen-devel] [PATCH] Allow Xend to find device number for sdX or hdX with udev , Jan Kundrát
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /