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

Re: [Xen-users] problem in booting additional domains: "Error: Adding extent to vbd failed: error 8"



Hi,

Sounds like you've answered your own question! :)
No LVM support in your kernel?
Check to see if the device mapper is enabled in your .config.
Here's a snippet from mine:
#
# Multi-device support (RAID and LVM)
#
CONFIG_MD=y
CONFIG_BLK_DEV_MD=y
# CONFIG_MD_LINEAR is not set
CONFIG_MD_RAID0=y
CONFIG_MD_RAID1=y
# CONFIG_MD_RAID10 is not set
CONFIG_MD_RAID5=y
# CONFIG_MD_RAID6 is not set
# CONFIG_MD_MULTIPATH is not set
# CONFIG_MD_FAULTY is not set
CONFIG_BLK_DEV_DM=y
# CONFIG_DM_CRYPT is not set
CONFIG_DM_SNAPSHOT=y
CONFIG_DM_MIRROR=y
# CONFIG_DM_ZERO is not set

It seems that you've compiled these as modules, and if your root
is on LVM (and no initrd) then the kernel has no way of loading the modules.
The simplest way is to just compile all the modules you need directly into
the kernel.

Regarding sound, I've enabled my kernel for sound but haven't got around to
testing it yet. The modules load, however, and an lspci in dom0 shows
the card.

Marcus


Ardalan K wrote:

>Thanks Marcus,
>I had tried what you said and that had given me the
>same error. By the way, the documentation section of
>xen (section 5.3) also does n't put /dev. I think my
>problem with LVM originates from the fact that domain0
>does n't have LVM modules. It gives me the following
>error "LVM driver/module not loaded?". I don't have
>this problem when I boot with the plain Linux option
>from Grub and that's how I set up these logical
>volumes. I tried to configure linux-2.6.11-xen0
>(assuming this is the domain0 kernel) to have all the
>LVM and sound modules that my Suse 9.0 has but after I
>boot with xen, domain0 still does n't recognize LVM
>and my sound card. Please tell me if I am configuring
>the wrong kernel or if I am doing something wrong.
>Should I include these modules as part of kernel(not
>as modules)? Do I have the right initrd? Finally, I
>gave up on LVM and tried exporting physical devices
>(my hda7 partition) as VBD   AND THAT WORKED! :D
>
>I appreciate if anyone can tell me how I can get
>LVM/sound working. 
>
>Regards,
>Ardalan
>
>--- Marcus Brown <marcusbrutus@xxxxxxxxxxxxxxxx>
>wrote:
>
>  
>
>>Hi,
>>
>>I believe you need to specify the full name of the
>>device node, like
>>
>>disk = [ 'phy:/dev/xen/dom1root,hda1,w' ]
>>
>>(I assume 'xen' is your volume group name)
>>
>>Marcus.
>>
>>Ardalan K wrote:
>>
>>    
>>
>>>Hi,
>>>
>>>After I run "xm create dom1conf -c" I get the
>>>following error:
>>>Using config file "/etc/xen/dom1conf".
>>>Error: Adding extent to vbd failed: device (vbd
>>>      
>>>
>>(uname
>>    
>>
>>>phy:xen/dom1root) (dev hda1) (mode w)), error 8
>>>
>>>I am running Suse 9.0 and dom1root is the logical
>>>volume I created for domain 1.
>>>
>>>My config file is as follows:
>>>kernel = "/boot/vmlinuz-2.6.11-xenU"
>>>memory = 64
>>>name = "dom1"
>>>disk = [ 'phy:xen/dom1root,hda1,w' ]
>>>root = "/dev/hda1 ro"
>>>extra = "4"
>>>
>>>Any idea what the problem might be?
>>>Thanks in advance
>>>
>>>
>>>__________________________________________________
>>>Do You Yahoo!?
>>>Tired of spam?  Yahoo! Mail has the best spam
>>>      
>>>
>>protection around 
>>    
>>
>>>http://mail.yahoo.com 
>>>
>>>_______________________________________________
>>>Xen-users mailing list
>>>Xen-users@xxxxxxxxxxxxxxxxxxx
>>>http://lists.xensource.com/xen-users
>>> 
>>>
>>>      
>>>
>>_______________________________________________
>>Xen-users mailing list
>>Xen-users@xxxxxxxxxxxxxxxxxxx
>>http://lists.xensource.com/xen-users
>>
>>    
>>
>
>
>
>               
>____________________________________________________
>Sell on Yahoo! Auctions – no fees. Bid on great items.  
>http://auctions.yahoo.com/
>
>_______________________________________________
>Xen-users mailing list
>Xen-users@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-users
>  
>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.