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

Re: [Xen-users] GPL PV drivers and CDROM



On 06/29/2009 04:51 PM, James Harper wrote:
Can you try that again with the PV drivers activated?

I don't see sectors being listed anywhere

James

Once the DomU is booted, get the domid and do:

xenstore-ls /local/domain/<domid>/device/vbd

  xenstore-ls /local/domain/16/device/vbd
768 = ""
   backend-id = "0"
   virtual-device = "768"
   device-type = "disk"
   state = "1"
   backend = "/local/domain/0/backend/vbd/16/768"
5632 = ""
   backend-id = "0"
   virtual-device = "5632"
   device-type = "disk"
   state = "1"
   backend = "/local/domain/0/backend/vbd/16/5632"
5696 = ""
   backend-id = "0"
   virtual-device = "5696"
   device-type = "cdrom"
   state = "1"
   backend = "/local/domain/0/backend/vbd/16/5696"
xenstore-ls /local/domain/0/backend/vbd/<domid>

send me the output of those
xenstore-ls /local/domain/0/backend/vbd/16
768 = ""
   domain = "xp01"
   frontend = "/local/domain/16/device/vbd/768"
   uuid = "023b39f2-7139-06d7-84cf-e6c1d1da5215"
   dev = "hda"
   state = "2"
   params = "/dev/vg02/xp01"
   mode = "w"
   online = "1"
   frontend-id = "16"
   type = "phy"
   physical-device = "fd:b"
   hotplug-status = "connected"
5632 = ""
   domain = "xp01"
   frontend = "/local/domain/16/device/vbd/5632"
   uuid = "d2715696-e7cf-2c58-3e2b-5d874de5aafa"
   dev = "hdc"
   state = "2"
   params = "/dev/vg01/xp01-data"
   mode = "w"
   online = "1"
   frontend-id = "16"
   type = "phy"
   physical-device = "fd:e"
   hotplug-status = "connected"
5696 = ""
   domain = "xp01"
   frontend = "/local/domain/16/device/vbd/5696"
   uuid = "bf23608e-eead-fd3d-d688-d137f0e88329"
   dev = "hdd"
   state = "2"
   params = "/dev/hdb"
   mode = "r"
   online = "1"
   frontend-id = "16"
   type = "phy"
   physical-device = "3:40"
   hotplug-status = "connected"


Matthieu

I've redone it with the XP really started :

768 = ""
 domain = "xp01"
 frontend = "/local/domain/18/device/vbd/768"
 uuid = "35d3f4d3-e627-6e8c-4f12-3e2ea261da37"
 dev = "hda"
 state = "4"
 params = "/dev/vg02/xp01"
 mode = "w"
 online = "1"
 frontend-id = "18"
 type = "phy"
 physical-device = "fd:b"
 hotplug-status = "connected"
 feature-barrier = "1"
 sectors = "31457280"
 info = "0"
 sector-size = "512"
5632 = ""
 domain = "xp01"
 frontend = "/local/domain/18/device/vbd/5632"
 uuid = "64613276-803e-7d2c-9595-03ba5232d771"
 dev = "hdc"
 state = "4"
 params = "/dev/vg01/xp01-data"
 mode = "w"
 online = "1"
 frontend-id = "18"
 type = "phy"
 physical-device = "fd:e"
 hotplug-status = "connected"
 feature-barrier = "1"
 sectors = "104857600"
 info = "0"
 sector-size = "512"
5696 = ""
 domain = "xp01"
 frontend = "/local/domain/18/device/vbd/5696"
 uuid = "18ec5077-0027-07ca-85ed-c7f716cf8627"
 dev = "hdd"
 state = "2"
 params = "/dev/hdb"
 mode = "r"
 online = "1"
 frontend-id = "18"
 type = "phy"
 physical-device = "3:40"
 hotplug-status = "connected"

And with /nogplpv (In this case the cdrom is show in XP):

768 = ""
 domain = "xp01"
 frontend = "/local/domain/19/device/vbd/768"
 uuid = "e3fc3bb5-570d-a049-89a8-79e4e653a4af"
 dev = "hda"
 state = "4"
 params = "/dev/vg02/xp01"
 mode = "w"
 online = "1"
 frontend-id = "19"
 type = "phy"
 physical-device = "fd:b"
 hotplug-status = "connected"
 feature-barrier = "1"
 sectors = "31457280"
 info = "0"
 sector-size = "512"
5632 = ""
 domain = "xp01"
 frontend = "/local/domain/19/device/vbd/5632"
 uuid = "38ad5b51-5ec8-d9ba-ace6-7cd5a4ba6200"
 dev = "hdc"
 state = "4"
 params = "/dev/vg01/xp01-data"
 mode = "w"
 online = "1"
 frontend-id = "19"
 type = "phy"
 physical-device = "fd:e"
 hotplug-status = "connected"
 feature-barrier = "1"
 sectors = "104857600"
 info = "0"
 sector-size = "512"
5696 = ""
 domain = "xp01"
 frontend = "/local/domain/19/device/vbd/5696"
 uuid = "2dff6e16-2099-09d4-b302-4ebf9ab7f18c"
 dev = "hdd"
 state = "2"
 params = "/dev/hdb"
 mode = "r"
 online = "1"
 frontend-id = "19"
 type = "phy"
 physical-device = "3:40"
 hotplug-status = "connected"

Matthieu.

_______________________________________________
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®.