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

Bug#607141: xm block-attach failed on domU



Peter Viskup <skupko.sk@gmail.com> writes:
> 'xm block-attach <domain> phy:data/disk /dev/xvda6 w'

I can attach a block device 

$ sudo xm block-attach 27 file:/local/xen/lindi-exp1/disk.img /dev/xvda w
$ sudo xm block-list 27
Vdev  BE handle state evt-ch ring-ref BE-path
51712  0    0     4      9      770   /local/domain/0/backend/vbd/27/51712

[   81.988522] blkfront: xvda: barriers enabled
[   81.988852]  xvda: xvda1
[   81.988969] xvda: p1 size 979902 exceeds device capacity, limited to end of disk

and also detach it:

$ sudo xm block-detach 27 51712

This particular domU was started with

name = 'lindi-exp1'
vcpus = '1'
memory = '256'
kernel = '/local/xen/lindi-exp1/vmlinuz-2.6.32-5-amd64'
ramdisk = '/local/xen/lindi-exp1/initrd.img-2.6.32-5-amd64'
nfs_server = '10.7.2.17'
nfs_root = '/tftpboot/lindi-exp1'
extra = 'root=/dev/nfs ip=dhcp'
vif = [ 'mac=52:54:00:12:35:09' ]
cpuid = [ '0:eax=0x3,ebx=0x0,ecx=0x0,edx=0x0',
'1:eax=0x0f61,ecx=xxxxxxxx0xx00xxxxxxxxx0xxxxxxxxx,edx=xxx0xxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'0x80000000:eax=0x80000004,ebx=0x0,ecx=0x0,edx=0x0',
'0x80000001:eax=0x0f61,ecx=xxxxxxxxxxxxxxxxxx0000000000000x,edx=00xx000xx0xxx0xxxxxxxxxxxxxxxxxx' ]
# up to leaf 0000_0003/8000_0004
# family 15 model 6 stepping 1 (Intel P4 Prescott, AMD K8)
# disable POPCNT, SSE4.[12], SSSE3
# disable HTT
# disable CMPLEGACY, SVM, EXTAPIC, ALTMOVCR8, ABM, SSE4a, MisAlignSSE,
#         3DNOWPrefetch, OSVW, IBS, SSE5, SKINIT, WDT
# disable 3DNOW, 3DNOWEXT, RDTSCP, Page1GB, FFXSR, MMXExt, MP
#
# Source: Cross-Vendor Migration
# AMD Operating Systems Research Center
# Uwe Dannowski       Andre Przywara
#   {Firstname.Lastname}@amd.com
# 2010 Advanced Micro Devices, Inc. All rights reserved.



Reply to: