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

Re: [Xen-users] 64 bit Memory and IO resources & pciback



Sounds like it could be a bug / quirk in the PCI passthrough drivers.  Perhaps 
they hadn't been tested with 64-bit mem and IO resources before.  That said 
I'd have thought they would have been, given Xen runs on PAE by default 
nowadays.

Probably worth reporting to xen-devel.

I've had a quick scan through the code for data size issues but am not seeing 
anything obvious at the moment.  Do any interesting messages come out in 
dmesg in dom0 when you do this?  Any interesting compile warnings when you 
built the kernel?

Cheers,
Mark

On Saturday 13 October 2007, Morten BÃgeskov wrote:
> Hello...
>
> I run into a situation...
> I've been more or less forced into using PAE (I would like 2.6.23 ;-)
> This however results in something undesired.
>
> PAE automatically selects "64 bit Memory and IO resources"
> CONFIG_RESOURCES_64BIT
>
> However
> "exporting" a Hauppauge PVR-500 & USB2 controller
>
> Wether I use
>    PCI Backend Mode (Passthrough)
>    PCI Backend Mode (Virtual PCI)
>
> xen-3.1.0: Non-PAE, No RESOURCES_64BIT => success
> xen-3.1.0: Non-PAE, RESOURCES_64BIT => failure
> xen-3.1.0: PAE, RESOURCES_64BIT => failure
>
> success means I can record tv & see usb-devices.
> failure? see below.
>
> Does anybosy know a kernel option that I need to pass to get this to work.
>
> when using RESOURCES_64BIT I get this in my domU console:
>
> PCI: Enabling device 0000:00:0a.0 (0000 -> 0002)
> ohci_hcd 0000:00:0a.0: init 0000:00:0a.0 fail, -14
> ohci_hcd: probe of 0000:00:0a.0 failed with error -14
> PCI: Enabling device 0000:00:0a.1 (0000 -> 0002)
> ohci_hcd 0000:00:0a.1: init 0000:00:0a.1 fail, -14
> ohci_hcd: probe of 0000:00:0a.1 failed with error -14
> PCI: Enabling device 0000:00:0a.2 (0000 -> 0002)
> ehci_hcd 0000:00:0a.2: init 0000:00:0a.2 fail, -14
> ehci_hcd: probe of 0000:00:0a.2 failed with error -14
>
> And
>
> ivtv:  ==================== START INIT IVTV ====================
> ivtv:  version 1.0.0 (2.6.18-xenU-video mod_unload K7 gcc-4.1) loading
> ivtv0: Autodetected Hauppauge card (cx23416 based)
> PCI: Enabling device 0000:02:08.0 (0000 -> 0002)
> ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> ivtv0: Encoder revision: 0x02060039
> tveeprom 0-0050: Hauppauge model 23559, rev D496, serial# 9481257
> tveeprom 0-0050: tuner model is Samsung TCPG 6121P30A (idx 96, type 73)
> tveeprom 0-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K)
> (eeprom 0x74)
> tveeprom 0-0050: second tuner model is Philips TEA5768HL FM Radio (idx
> 101, type 62)
> tveeprom 0-0050: audio processor is CX25843 (idx 37)
> tveeprom 0-0050: decoder processor is CX25843 (idx 30)
> tveeprom 0-0050: has radio, has no IR remote
> ivtv0: Autodetected WinTV PVR 500 (unit #1)
> tuner 0-0043: chip found @ 0x86 (ivtv i2c driver #0)
> tda9887 0-0043: tda988[5/6/7] found @ 0x43 (tuner)
> tuner 0-0060: TEA5767 detected.
> tuner 0-0060: chip found @ 0xc0 (ivtv i2c driver #0)
> tuner 0-0060: type set to 62 (Philips TEA5767HN FM Radio)
> tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> cx25840 0-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
> cx25840 0-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
> wm8775 0-001b: chip found @ 0x36 (ivtv i2c driver #0)
> tuner 0-0061: type set to 73 (Samsung TCPG 6121P30A)
> ivtv0: Registered device video0 for encoder MPEG (4 MB)
> ivtv0: Registered device video32 for encoder YUV (2 MB)
> ivtv0: Registered device vbi0 for encoder VBI (1 MB)
> ivtv0: Registered device video24 for encoder PCM audio (1 MB)
> ivtv0: Registered device radio0 for encoder radio
> ivtv0: Initialized WinTV PVR 500 (unit #1), card #0
> ivtv:  ======================  NEXT CARD  ======================
> ivtv1: Autodetected Hauppauge card (cx23416 based)
> PCI: Enabling device 0000:02:09.0 (0000 -> 0002)
> ivtv1: Cannot request encoder memory region on card 1.
> ivtv1: Error -5 on initialization
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users



-- 
Dave: Just a question. What use is a unicyle with no seat?  And no pedals!
Mark: To answer a question with a question: What use is a skateboard?
Dave: Skateboards have wheels.
Mark: My wheel has a wheel!

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