Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Problens creating a Linux domU



On Mon, Jan 15, 2007 at 10:49:33AM -0200, Andre Filipe de Assuncao e Brito 
(decko) wrote:
> Hi guys! I'm having a problem creating a Linux domU.
> I'm getting this error:
> [2007-01-15 10:37:20 xend] DEBUG (blkif:24) exception looking up
> device number for 0x301: [Errno 2] No such file or directory: '/dev/0x301'

It shouldn't be fatal. If the file doesn't exixts in /dev/ it should
use the hex number. Also xen-3.0.3 has an internal table for some devices,
so just using 'hda' should work too (but you'll still get the error as it
first tries to find the node in /dev/)

> 
> The line referring to disks on my config file is this:
> 
> disk = [ 'phy:/dev/vnd0e,0x301,w' ]
> 
> It's necessary create the Linux dev files on dom0???

No, it's not. Here's what I used for example:
disk = [ 'file:/domains/rock0.vnd,hda,w', 'file:/domains2/rock1.vnd,hdb,w' ]

and I don't have /dev/hda or /dev/hdb.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index