Port-xen archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: XEN and cardbus
On 01/24/2010 07:17 PM, Manuel Bouyer wrote:
On Sat, Jan 23, 2010 at 05:27:47PM +0100, Juraj Hercek wrote:
My next try was to try this:
options PCI_BUS_FIXUP
#options PCI_ADDR_FIXUP
#options PCI_INTR_FIXUP
#options PCI_INTR_FIXUP_DISABLED
options RBUS_MIN_START="0x80000000"
cbb* at pci? dev? function ?
cardslot* at cbb?
cardbus* at cardslot?
pcmcia* at cardslot?
siisata* at cardbus? function ?
rtk* at cardbus? function ?
re* at cardbus? function ?
The RBUS_MIN_START helped in that way that I don't get memory mapping
problem now, but an interrupt related problem. Playing with
PCI_INTR_FIXUP{,_DISABLED} options didn't help and I'm getting this:
linkdev LNKD returned ACPI global irq 11, line 11
panic: Failed to bind physical IRQ 255
Full dmesg is attached. Any idea what can I do now?
It looks like you don't have ioapic in your kernel config file. Is it
intentionnal ?
I'm a bit confused, now, because I see "ioapic* at mainbus? apid
?" line in XEN3_DOM0 which I include to my customized kernel (and I'm
not deconfiguring it later). Also binary contains it, I believe:
$ zcat netbsd-XEN3PAE_DOM0_MASTER.gz | strings | grep _CFG_.*ioapic
_CFG_###> # boot messages with MPBIOS, acpi and ioapic can be quite large
_CFG_###> ioapic*\011\011at mainbus? apid ?
I also tried to enable PCI_INTR_FIXUP and also enabled "lapic" in Xen
command line. But it still tries to bind IRQ 255.
Is there some other, way to enable ioapic?
Looks like xen_intr_map() was called with *pirq = 255, that's wrong
Ok. I tried it the other way around - to disable ioapic with "no ioapic"
in my kernel config. And the kernel booted, also rtk0 adapter connected
to cardbus was recognized, but when I did "ifconfig up rtk0" whole thing
gets frozen. This is excerpt from dmesg:
cbb0: cacheline 0x8 lattimer 0x20
cbb0: bhlc 0x822008
pci_intr_map: no mapping for pin B (line=ff)
cbb0: couldn't map interrupt
cardslot0 at cbb0
cardbus0 at cardslot0: bus 3
pcmcia0 at cardslot0
...
Thanks,
Juraj
Home |
Main Index |
Thread Index |
Old Index