* yenta_socket
@ 2005-05-23 14:45 Dmitriy Tochansky
2005-05-23 15:54 ` yenta_socket Atsushi Nemoto
2005-05-23 16:25 ` yenta_socket Dmitriy Tochansky
0 siblings, 2 replies; 4+ messages in thread
From: Dmitriy Tochansky @ 2005-05-23 14:45 UTC (permalink / raw)
To: linux-mips
Hi!
Cant get where is the problem.
Look. I have pci->pcmcia cardbus adaptor CP3-HOUSE and I want to start it on mips.
Im enable cardbus yenta type in kernel config and see the follow:
Yenta: CardBus bridge found at 0000:00:11.0 [e4bf:2000]
yenta 0000:00:11.0: Preassigned resource 0 busy, reconfiguring...
yenta 0000:00:11.0: Preassigned resource 1 busy, reconfiguring...
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:11.0, mfunc 0x0fc01d02, devctl 0x66
drivers/pcmcia/ti113x.h pci_irq_status = 0
Yenta TI: socket 0000:00:11.0 probing PCI interrupt failed, trying to fix
Yenta TI: socket 0000:00:11.0 falling back to parallel PCI interrupts
Yenta TI: socket 0000:00:11.0 no PCI interrupts. Fish. Please report.
CPU 0 Unable to handle kernel paging request at virtual address 00000004, epc =0
....
As far I understand driver cant get irq for this card but when I disable
this driver I can see(via cat /proc/pci) that cardbus have irq 4... :(
Ideas\advices are wellcome!
--
Dmitriy Tochansky
toch@dfpost.ru
JID: dtoch@jabber.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: yenta_socket
2005-05-23 14:45 yenta_socket Dmitriy Tochansky
@ 2005-05-23 15:54 ` Atsushi Nemoto
2005-05-23 16:18 ` yenta_socket Dmitriy Tochansky
2005-05-23 16:25 ` yenta_socket Dmitriy Tochansky
1 sibling, 1 reply; 4+ messages in thread
From: Atsushi Nemoto @ 2005-05-23 15:54 UTC (permalink / raw)
To: linux-mips
>>>>> On Mon, 23 May 2005 18:45:01 +0400, Dmitriy Tochansky <toch@dfpost.ru> said:
toch> Im enable cardbus yenta type in kernel config and see the
toch> follow:
toch> yenta 0000:00:11.0: Preassigned resource 0 busy, reconfiguring...
toch> yenta 0000:00:11.0: Preassigned resource 1 busy, reconfiguring...
I think these messages are due to confliction with resource management
codes in drivers/pci/setup-bus.c. Though I do not see details yet,
this quick workaround might solve this issue.
--- linux-mips/drivers/pcmcia/yenta_socket.c 2005-04-18 00:43:34.000000000 +0900
+++ linux/drivers/pcmcia/yenta_socket.c 2005-05-04 00:21:38.000000000 +0900
@@ -611,10 +611,12 @@
*/
static void yenta_allocate_resources(struct yenta_socket *socket)
{
+#if 0
yenta_allocate_res(socket, 0, IORESOURCE_MEM|IORESOURCE_PREFETCH);
yenta_allocate_res(socket, 1, IORESOURCE_MEM);
yenta_allocate_res(socket, 2, IORESOURCE_IO);
yenta_allocate_res(socket, 3, IORESOURCE_IO); /* PCI isn't clever enough to use this one yet */
+#endif
}
---
Atsushi Nemoto
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: yenta_socket
2005-05-23 15:54 ` yenta_socket Atsushi Nemoto
@ 2005-05-23 16:18 ` Dmitriy Tochansky
0 siblings, 0 replies; 4+ messages in thread
From: Dmitriy Tochansky @ 2005-05-23 16:18 UTC (permalink / raw)
To: linux-mips
On Tue, 24 May 2005 00:54:47 +0900 (JST)
Atsushi Nemoto <anemo@mba.ocn.ne.jp> wrote:
> >>>>> On Mon, 23 May 2005 18:45:01 +0400, Dmitriy Tochansky <toch@dfpost.ru> said:
>
> toch> Im enable cardbus yenta type in kernel config and see the
> toch> follow:
>
> toch> yenta 0000:00:11.0: Preassigned resource 0 busy, reconfiguring...
> toch> yenta 0000:00:11.0: Preassigned resource 1 busy, reconfiguring...
>
> I think these messages are due to confliction with resource management
> codes in drivers/pci/setup-bus.c. Though I do not see details yet,
> this quick workaround might solve this issue.
>
> --- linux-mips/drivers/pcmcia/yenta_socket.c 2005-04-18 00:43:34.000000000 +0900
> +++ linux/drivers/pcmcia/yenta_socket.c 2005-05-04 00:21:38.000000000 +0900
> @@ -611,10 +611,12 @@
Well, yes, the resourse problem "dissapear", but irq is still asking to report. I'll try to check setup-bus.c becourse IMHO there is problem in irq assignment or something.
Yenta: CardBus bridge found at 0000:00:11.0 [e4bf:2000]
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta TI: socket 0000:00:11.0, mfunc 0x0fc01d02, devctl 0x66
drivers/pcmcia/ti113x.h pci_irq_status = 0
Yenta TI: socket 0000:00:11.0 probing PCI interrupt failed, trying to fix
Yenta TI: socket 0000:00:11.0 falling back to parallel PCI interrupts
Yenta TI: socket 0000:00:11.0 no PCI interrupts. Fish. Please report.
CPU 0 Unable to handle kernel paging request at virtual address 00000004, epc =c
Oops in arch/mips/mm/fault.c::do_page_fault, line 167[#1]:
--
Dmitriy Tochansky
toch@dfpost.ru
JID: dtoch@jabber.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: yenta_socket
2005-05-23 14:45 yenta_socket Dmitriy Tochansky
2005-05-23 15:54 ` yenta_socket Atsushi Nemoto
@ 2005-05-23 16:25 ` Dmitriy Tochansky
1 sibling, 0 replies; 4+ messages in thread
From: Dmitriy Tochansky @ 2005-05-23 16:25 UTC (permalink / raw)
To: linux-mips
On Mon, 23 May 2005 18:45:01 +0400
Dmitriy Tochansky <toch@dfpost.ru> wrote:
> Yenta: CardBus bridge found at 0000:00:11.0 [e4bf:2000]
> yenta 0000:00:11.0: Preassigned resource 0 busy, reconfiguring...
> yenta 0000:00:11.0: Preassigned resource 1 busy, reconfiguring...
> Yenta: Enabling burst memory read transactions
> Yenta: Using CSCINT to route CSC interrupts to PCI
> Yenta: Routing CardBus interrupts to PCI
> Yenta TI: socket 0000:00:11.0, mfunc 0x0fc01d02, devctl 0x66
> drivers/pcmcia/ti113x.h pci_irq_status = 0
> Yenta TI: socket 0000:00:11.0 probing PCI interrupt failed, trying to fix
> Yenta TI: socket 0000:00:11.0 falling back to parallel PCI interrupts
> Yenta TI: socket 0000:00:11.0 no PCI interrupts. Fish. Please report.
> CPU 0 Unable to handle kernel paging request at virtual address 00000004, epc =0
> ....
Hm... Bus 5?
Linux Kernel Card Services
options: [pci] [cardbus]
PCI: Bus 1, cardbus bridge: 0000:00:11.0
IO window: 00001000-00001fff
IO window: 00002000-00002fff
PREFETCH window: 40000000-41ffffff
MEM window: 42000000-43ffffff
PCI: Bus 5, cardbus bridge: 0000:00:11.1
IO window: 00003000-00003fff
IO window: 00004000-00004fff
PREFETCH window: 44000000-45ffffff
MEM window: 46000000-47ffffff
PCI: Enabling device 0000:00:11.0 (0000 -> 0002)
PCI: Enabling device 0000:00:11.1 (0000 -> 0002)
--
Dmitriy Tochansky
toch@dfpost.ru
JID: dtoch@jabber.ru
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-05-23 16:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-23 14:45 yenta_socket Dmitriy Tochansky
2005-05-23 15:54 ` yenta_socket Atsushi Nemoto
2005-05-23 16:18 ` yenta_socket Dmitriy Tochansky
2005-05-23 16:25 ` yenta_socket Dmitriy Tochansky
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.