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

Re: [Xen-devel] Cdrom on Linux domU PV



Dom0 is Squeeze 6.0.4 64 bit with kernel 2.6.32-5-xen-amd64 version
2.6.32-41, xen from xen-unstable.hg changeset 24701:3574f4d67843

On domUs pv xl file configuration: '/dev/scd0,raw,xvdb,ro,cdrom'

--------------------------------
DomU Mint 11 (based on Natty - Ubuntu 11.04):
udev           167-0ubuntu3
linux-image-2.6.38-8-generic           2.6.38-8.42

With physical cdrom, on xl file configuration: '/dev/scd0,raw,xvdb,ro,cdrom'

udevadm info --query=all --path /block/xvdb
P: /devices/vbd-51728/block/xvdb
N: xvdb
S: disk/by-path/xen-vbd-51728
S: disk/by-label/Ubuntu\x2012.04\x20LTS\x20amd64
E: UDEV_LOG=3
E: DEVPATH=/devices/vbd-51728/block/xvdb
E: MAJOR=202
E: MINOR=16
E: DEVNAME=/dev/xvdb
E: DEVTYPE=disk
E: SUBSYSTEM=block
E: ID_PATH=xen-vbd-51728
E: ID_PART_TABLE_TYPE=dos
E: ID_FS_LABEL=Ubuntu_12.04_LTS_amd64
E: ID_FS_LABEL_ENC=Ubuntu\x2012.04\x20LTS\x20amd64
E: ID_FS_TYPE=iso9660
E: ID_FS_USAGE=filesystem
E: UDISKS_PRESENTATION_NOPOLICY=1
E: DEVLINKS=/dev/disk/by-path/xen-vbd-51728
/dev/disk/by-label/Ubuntu\x2012.04\x20LTS\x20amd64

Not see it but work if do manual mount as root
---------

With iso cdrom, on xl file configuration:
'/mnt/vm/iso/precise.iso,raw,xvdb,ro,cdrom'

udevadm info --query=all --path /block/xvdb
P: /devices/vbd-51728/block/xvdb
N: xvdb
S: disk/by-path/xen-vbd-51728
S: disk/by-label/Ubuntu\x2012.04\x20LTS\x20amd64
E: UDEV_LOG=3
E: DEVPATH=/devices/vbd-51728/block/xvdb
E: MAJOR=202
E: MINOR=16
E: DEVNAME=/dev/xvdb
E: DEVTYPE=disk
E: SUBSYSTEM=block
E: ID_PATH=xen-vbd-51728
E: ID_PART_TABLE_TYPE=dos
E: ID_FS_LABEL=Ubuntu_12.04_LTS_amd64
E: ID_FS_LABEL_ENC=Ubuntu\x2012.04\x20LTS\x20amd64
E: ID_FS_TYPE=iso9660
E: ID_FS_USAGE=filesystem
E: UDISKS_PRESENTATION_NOPOLICY=1
E: DEVLINKS=/dev/disk/by-path/xen-vbd-51728
/dev/disk/by-label/Ubuntu\x2012.04\x20LTS\x20amd64

Not see it but work if do manual mount as root
--------------------------------


--------------------------------
DomU Mint 12 (based on Oneiric - Ubuntu 11.10):
udev           173-0ubuntu4.1
linux-image-3.0.0-13-generic           3.0.0-13.22

With physical cdrom, on xl file configuration: '/dev/scd0,raw,xvdb,ro,cdrom'

udevadm info --query=all --path /block/xvdb
P: /devices/vbd-51728/block/xvdb
N: xvdb
S: disk/by-path/xen-vbd-51728
S: cdrom
E: UDEV_LOG=3
E: DEVPATH=/devices/vbd-51728/block/xvdb
E: MAJOR=202
E: MINOR=16
E: DEVNAME=/dev/xvdb
E: DEVTYPE=disk
E: SUBSYSTEM=block
E: ID_CDROM=1
E: ID_PATH=xen-vbd-51728
E: ID_PATH_TAG=xen-vbd-51728
E: GENERATED=1
E: UDISKS_PRESENTATION_NOPOLICY=1
E: UDISKS_PARTITION_TABLE=1
E: UDISKS_PARTITION_TABLE_SCHEME=mbr
E: UDISKS_PARTITION_TABLE_COUNT=1
E: DEVLINKS=/dev/disk/by-path/xen-vbd-51728 /dev/cdrom
E: TAGS=:udev-acl:

Not see it but work if do manual mount as root
---------

With iso cdrom, on xl file configuration:
'/mnt/vm/iso/precise.iso,raw,xvdb,ro,cdrom'

udevadm info --query=all --path /block/xvdb
P: /devices/vbd-51728/block/xvdb
N: xvdb
S: disk/by-path/xen-vbd-51728
S: disk/by-label/Ubuntu\x2012.04\x20LTS\x20amd64
S: cdrom
E: UDEV_LOG=3
E: DEVPATH=/devices/vbd-51728/block/xvdb
E: MAJOR=202
E: MINOR=16
E: DEVNAME=/dev/xvdb
E: DEVTYPE=disk
E: SUBSYSTEM=block
E: ID_CDROM=1
E: ID_PATH=xen-vbd-51728
E: ID_PATH_TAG=xen-vbd-51728
E: ID_FS_LABEL=Ubuntu_12.04_LTS_amd64
E: ID_FS_LABEL_ENC=Ubuntu\x2012.04\x20LTS\x20amd64
E: ID_FS_TYPE=iso9660
E: ID_FS_USAGE=filesystem
E: ID_PART_TABLE_TYPE=dos
E: GENERATED=1
E: UDISKS_PRESENTATION_NOPOLICY=1
E: DEVLINKS=/dev/disk/by-path/xen-vbd-51728
/dev/disk/by-label/Ubuntu\x2012.04\x20LTS\x20amd64 /dev/cdrom
E: TAGS=:udev-acl:

Not see it but work if do manual mount as root
---------
---------
---------
I try also different configuration of device as partition...

With physical cdrom, on xl file configuration:
'/dev/scd0,raw,xvdb1,ro,cdrom'

udevadm info --query=all --path /block/xvdb
device path not found
udevadm info --query=all --path /block/xvdb1
P: /devices/vbd-51729/block/xvdb1
N: xvdb1
S: disk/by-path/xen-vbd-51729
S: cdrom1
E: UDEV_LOG=3
E: DEVPATH=/devices/vbd-51729/block/xvdb1
E: MAJOR=202
E: MINOR=17
E: DEVNAME=/dev/xvdb1
E: DEVTYPE=disk
E: SUBSYSTEM=block
E: ID_CDROM=1
E: ID_PATH=xen-vbd-51729
E: ID_PATH_TAG=xen-vbd-51729
E: GENERATED=1
E: UDISKS_PRESENTATION_NOPOLICY=1
E: UDISKS_PARTITION_TABLE=1
E: UDISKS_PARTITION_TABLE_SCHEME=mbr
E: UDISKS_PARTITION_TABLE_COUNT=1
E: DEVLINKS=/dev/disk/by-path/xen-vbd-51729 /dev/cdrom1
E: TAGS=:udev-acl:

See it as cdrom but not work, also with manual mount as root not work
---------

With iso cdrom, on xl file configuration:
'/mnt/vm/iso/precise.iso,raw,xvdb1,ro,cdrom'

udevadm info --query=all --path /block/xvdb
device path not found
udevadm info --query=all --path /block/xvdb1
P: /devices/vbd-51729/block/xvdb1
N: xvdb1
S: disk/by-path/xen-vbd-51729
S: disk/by-label/Ubuntu\x2012.04\x20LTS\x20amd64
S: cdrom1
E: UDEV_LOG=3
E: DEVPATH=/devices/vbd-51729/block/xvdb1
E: MAJOR=202
E: MINOR=17
E: DEVNAME=/dev/xvdb1
E: DEVTYPE=disk
E: SUBSYSTEM=block
E: ID_CDROM=1
E: ID_PATH=xen-vbd-51729
E: ID_PATH_TAG=xen-vbd-51729
E: ID_FS_LABEL=Ubuntu_12.04_LTS_amd64
E: ID_FS_LABEL_ENC=Ubuntu\x2012.04\x20LTS\x20amd64
E: ID_FS_TYPE=iso9660
E: ID_FS_USAGE=filesystem
E: ID_PART_TABLE_TYPE=dos
E: GENERATED=1
E: UDISKS_PRESENTATION_NOPOLICY=1
E: DEVLINKS=/dev/disk/by-path/xen-vbd-51729
/dev/disk/by-label/Ubuntu\x2012.04\x20LTS\x20amd64 /dev/cdrom1
E: TAGS=:udev-acl:

Cdrom full working and see it correctly
--------------------------------

If you need more test and data ask me and I do and post

--
View this message in context: 
http://xen.1045712.n5.nabble.com/Cdrom-on-Linux-domU-PV-tp5460198p5469072.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

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


 


Rackspace

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