I tried a new domU with gpl pv 0.10.0.69 on xen 3.2.1 and the cdrom is not showing up anymore. I see a xen block device driver corresponding to the vbd but no cdrom. Are the 0.10.x drivers compatible with some "old" xen ? Matthieu. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> > I tried a new domU with gpl pv 0.10.0.69 on xen 3.2.1 and the cdrom is > not showing up anymore. > I see a xen block device driver corresponding to the vbd but no cdrom. > > Are the 0.10.x drivers compatible with some "old" xen ? >It should work, but not if there is no CDROM in the drive at the time (I''m assuming you are using the same config as posted in your previous email where you have a physical CDROM drive mapped through). The PV block device back end (in Dom0) has no facility for swapping images on the fly, so there is nothing I can do about it in GPLPV. On Xen 3.4.x and later, GPLPV has the ability to not provide a PV driver for the CDROM (it''s hardly a performance critical device) and so windows will use the QEMU IDE driver which does support hot changing etc. This relies on some additional features not present before 3.4.x. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 06/25/2009 11:40 AM, James Harper wrote:>> I tried a new domU with gpl pv 0.10.0.69 on xen 3.2.1 and the cdrom is >> not showing up anymore. >> I see a xen block device driver corresponding to the vbd but no cdrom. >> >> Are the 0.10.x drivers compatible with some "old" xen ? >> >> > > It should work, but not if there is no CDROM in the drive at the time > (I''m assuming you are using the same config as posted in your previous > email where you have a physical CDROM drive mapped through). > >I have a CDROM in my cd-drive, I tried also with an iso file (gparted iso) and got the same problem. Booting with /nogplpv show me the cdrom, and during the "xen bios" I saw signs that indicate the presence of the CDROM.> The PV block device back end (in Dom0) has no facility for swapping > images on the fly, so there is nothing I can do about it in GPLPV.Yes I know the problem and managed to cope with it with "older" version of gplpv.> On > Xen 3.4.x and later, GPLPV has the ability to not provide a PV driver > for the CDROM (it''s hardly a performance critical device) and so windows > will use the QEMU IDE driver which does support hot changing etc. This > relies on some additional features not present before 3.4.x. > >Read about it but I do not have official packages for this version on debian. Matthieu. _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On 06/25/2009 11:49 AM, Matthieu Patou wrote:> On 06/25/2009 11:40 AM, James Harper wrote: >>> I tried a new domU with gpl pv 0.10.0.69 on xen 3.2.1 and the cdrom is >>> not showing up anymore. >>> I see a xen block device driver corresponding to the vbd but no cdrom. >>> >>> Are the 0.10.x drivers compatible with some "old" xen ? >>> >> >> It should work, but not if there is no CDROM in the drive at the time >> (I''m assuming you are using the same config as posted in your previous >> email where you have a physical CDROM drive mapped through). >> > I have a CDROM in my cd-drive, I tried also with an iso file (gparted > iso) and got the same problem. > Booting with /nogplpv show me the cdrom, and during the "xen bios" I saw > signs that indicate the presence of the CDROM.Any idea on how to nail down this problem ? Matthieu _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> >> > >> It should work, but not if there is no CDROM in the drive at thetime> >> (I''m assuming you are using the same config as posted in yourprevious> >> email where you have a physical CDROM drive mapped through). > >> > > I have a CDROM in my cd-drive, I tried also with an iso file(gparted> > iso) and got the same problem. > > Booting with /nogplpv show me the cdrom, and during the "xen bios" Isaw> > signs that indicate the presence of the CDROM. > > Any idea on how to nail down this problem ? >Once the DomU is booted, get the domid and do: xenstore-ls /local/domain/<domid>/device/vbd xenstore-ls /local/domain/0/backend/vbd/<domid> send me the output of those James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
> 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 thosexenstore-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 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
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@lists.xensource.com http://lists.xensource.com/xen-users