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

[Xen-devel] No block devices in domU

To: Xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] No block devices in domU
From: Gabor HALASZ <halasz.g@xxxxxxxxxxx>
Date: Fri, 28 Oct 2005 13:37:43 +0200
Delivery-date: Fri, 28 Oct 2005 15:40:33 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Debian Thunderbird 1.0.7 (X11/20051010)
Hi!

I tried to build a devel xen on x86_64 (xeon) on debian sarge; updated with mercurial, and built with default kernel config. When booting domU I can't see xen_blk: initialize... line on the console and I havn't block devices in domU.

The messages of domU

...
RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
Xen virtual console successfully installed as tty1
Event-channel device installed.
xen_net: Initialising virtual ethernet driver.
md: md driver 0.90.1 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
...
# mount /proc/
# cat /proc/devices
Character devices:
  1 mem
  4 tty
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
 10 misc
128 ptm
136 pts
203 cpu/cpuid

Block devices:
  1 ramdisk
  9 md
254 mdp

The view from dom0:

xen:~# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      245     1 r-----  2100.4
test                              10      256     1 -b----     0.5
xen:~# xm block-list 10
(2049 ((virtual-device 2049) (backend-id 0) (backend /local/domain/0/backend/vbd/10/2049) (ring-ref 8) (event-channel 6))) (2050 ((virtual-device 2050) (backend-id 0) (backend /local/domain/0/backend/vbd/10/2050) (ring-ref 9) (event-channel 7))) (2051 ((virtual-device 2051) (backend-id 0) (backend /local/domain/0/backend/vbd/10/2051) (ring-ref 10) (event-channel 8)))

The configuration:

xen:~# cat /etc/xen/test
builder         = 'linux'
kernel          = "/boot/vmlinuz-2.6.12.6-xenU"
ramdisk         = "/boot/ramdisk.ext2"
memory          = 256
name            = "test"
nics            = 0
on_poweroff     = 'destroy'
on_reboot       = 'restart'
on_crash        = 'restart'
root            = "/dev/ram0 rw"
vcpus           = 1
extra           = "ramdisk=32768"
disk = [ 'phy:evms/ZorpRoot,sda1,w', 'phy:evms/ZorpLog,sda2,w', 'phy:evms/ZorpSwap,sda3,w' ]

What can I do?

--
Gabor HALASZ <halasz.g@xxxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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