* pciback error - what does it mean?
@ 2006-08-28 19:57 Stefan Neuwirth
0 siblings, 0 replies; 6+ messages in thread
From: Stefan Neuwirth @ 2006-08-28 19:57 UTC (permalink / raw)
To: xen-devel
I'm still playing around with xen-3.0.2-3 and the pciback.hide
option. Currently I'm trying to give the guest a pcmcia-to-pci card
with a prism54 wlan card in the slot. When starting the guest the
following message apears in the bootlog:
...
pciback 0000:02:09.0: can't export pci devices that don't have a
normal (0) or bridge (1) header type!
...
The lspci of the card:
0000:02:09.0 CardBus bridge: Ricoh Co Ltd RL5c475 (rev 81)
Flags: bus master, medium devsel, latency 168, IRQ 16
Memory at e1002000 (32-bit, non-prefetchable)
Bus: primary=02, secondary=04, subordinate=07, sec-latency=176
Memory window 0: 30000000-31fff000 (prefetchable)
Memory window 1: 34000000-35fff000
I/O window 0: 00004400-000044ff
I/O window 1: 00004800-000048ff
16-bit legacy interface ports at 0001
What does the message mean?
Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: pciback error - what does it mean?
@ 2006-08-28 20:26 Ian Pratt
2006-08-28 21:02 ` Keir Fraser
0 siblings, 1 reply; 6+ messages in thread
From: Ian Pratt @ 2006-08-28 20:26 UTC (permalink / raw)
To: Stefan Neuwirth, xen-devel
> I'm still playing around with xen-3.0.2-3 and the pciback.hide
> option. Currently I'm trying to give the guest a pcmcia-to-pci card
> with a prism54 wlan card in the slot. When starting the guest the
> following message apears in the bootlog:
>
> ...
> pciback 0000:02:09.0: can't export pci devices that don't have a
> normal (0) or bridge (1) header type!
> ...
Cardbus bridges have a "2" in this field. No idea what will happen if
you disable this test in pciback, but it's worth a go...
Ian
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: pciback error - what does it mean?
2006-08-28 20:26 Ian Pratt
@ 2006-08-28 21:02 ` Keir Fraser
2006-08-29 18:12 ` Stefan Neuwirth
0 siblings, 1 reply; 6+ messages in thread
From: Keir Fraser @ 2006-08-28 21:02 UTC (permalink / raw)
To: Ian Pratt, Stefan Neuwirth, xen-devel
On 28/8/06 9:26 pm, "Ian Pratt" <m+Ian.Pratt@cl.cam.ac.uk> wrote:
>> I'm still playing around with xen-3.0.2-3 and the pciback.hide
>> option. Currently I'm trying to give the guest a pcmcia-to-pci card
>> with a prism54 wlan card in the slot. When starting the guest the
>> following message apears in the bootlog:
>>
>> ...
>> pciback 0000:02:09.0: can't export pci devices that don't have a
>> normal (0) or bridge (1) header type!
>> ...
>
> Cardbus bridges have a "2" in this field. No idea what will happen if
> you disable this test in pciback, but it's worth a go...
It'll almost certainly just work. I'm not sure a test on device type is
really necessary.
-- Keir
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: pciback error - what does it mean?
2006-08-28 21:02 ` Keir Fraser
@ 2006-08-29 18:12 ` Stefan Neuwirth
0 siblings, 0 replies; 6+ messages in thread
From: Stefan Neuwirth @ 2006-08-29 18:12 UTC (permalink / raw)
To: Keir Fraser; +Cc: Ian Pratt, xen-devel
Keir Fraser <Keir.Fraser@cl.cam.ac.uk> writes:
> On 28/8/06 9:26 pm, "Ian Pratt" <m+Ian.Pratt@cl.cam.ac.uk> wrote:
>
>>> I'm still playing around with xen-3.0.2-3 and the pciback.hide
>>> option. Currently I'm trying to give the guest a pcmcia-to-pci card
>>> with a prism54 wlan card in the slot. When starting the guest the
>>> following message apears in the bootlog:
>>>
>>> ...
>>> pciback 0000:02:09.0: can't export pci devices that don't have a
>>> normal (0) or bridge (1) header type!
>>> ...
>>
>> Cardbus bridges have a "2" in this field. No idea what will happen if
>> you disable this test in pciback, but it's worth a go...
>
> It'll almost certainly just work. I'm not sure a test on device type is
> really necessary.
Just disable the test will lead to trouble in function
pciback_config_header_add_fields
(.../xen/pciback/conf_space_header.c). There are two structures called
header_0 and header_1 that are used by pciback_config_add_fields. So
someone decided to not implement header_2 - maybe there was a reason
for the decision...
Stefan
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: pciback error - what does it mean?
@ 2006-08-29 20:16 Ian Pratt
2006-08-29 20:29 ` Stefan Neuwirth
0 siblings, 1 reply; 6+ messages in thread
From: Ian Pratt @ 2006-08-29 20:16 UTC (permalink / raw)
To: Stefan Neuwirth, Keir Fraser; +Cc: xen-devel
> >> Cardbus bridges have a "2" in this field. No idea what will happen
if
> >> you disable this test in pciback, but it's worth a go...
> >
> > It'll almost certainly just work. I'm not sure a test on device type
is
> > really necessary.
>
> Just disable the test will lead to trouble in function
> pciback_config_header_add_fields
> (.../xen/pciback/conf_space_header.c). There are two structures called
> header_0 and header_1 that are used by pciback_config_add_fields. So
> someone decided to not implement header_2 - maybe there was a reason
> for the decision...
Looking at include/linux/pci_regs.h there's quite a lot of similarity
between a 'bridge' header type 1 and a 'cardbus bridge' header type2.
It may well work defining a header_2 the same as header_1 and adding it
to pciback_config_header_add_fields
Ian
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: pciback error - what does it mean?
2006-08-29 20:16 Ian Pratt
@ 2006-08-29 20:29 ` Stefan Neuwirth
0 siblings, 0 replies; 6+ messages in thread
From: Stefan Neuwirth @ 2006-08-29 20:29 UTC (permalink / raw)
To: Ian Pratt; +Cc: xen-devel
"Ian Pratt" <m+Ian.Pratt@cl.cam.ac.uk> writes:
>> >> Cardbus bridges have a "2" in this field. No idea what will happen
> if
>> >> you disable this test in pciback, but it's worth a go...
>> >
>> > It'll almost certainly just work. I'm not sure a test on device type
> is
>> > really necessary.
>>
>> Just disable the test will lead to trouble in function
>> pciback_config_header_add_fields
>> (.../xen/pciback/conf_space_header.c). There are two structures called
>> header_0 and header_1 that are used by pciback_config_add_fields. So
>> someone decided to not implement header_2 - maybe there was a reason
>> for the decision...
>
> Looking at include/linux/pci_regs.h there's quite a lot of similarity
> between a 'bridge' header type 1 and a 'cardbus bridge' header type2.
> It may well work defining a header_2 the same as header_1 and adding it
> to pciback_config_header_add_fields
Ok, everything back to start. It's not necessary to give the
card-bridge device to the guest system. I can use the pcmcia card in
the guest system just by giving the pci id of this card to the guest
and let the dom0 system init and manage the bridge - I'm really
suprised that it works this way.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-08-29 20:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-28 19:57 pciback error - what does it mean? Stefan Neuwirth
-- strict thread matches above, loose matches on Subject: below --
2006-08-28 20:26 Ian Pratt
2006-08-28 21:02 ` Keir Fraser
2006-08-29 18:12 ` Stefan Neuwirth
2006-08-29 20:16 Ian Pratt
2006-08-29 20:29 ` Stefan Neuwirth
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.