Linux PARISC architecture development
 help / color / mirror / Atom feed
* [parisc-linux] C3600 crash with PCMCIA bridge
@ 2006-10-07 14:55 Guy Martin
  2006-10-07 15:27 ` James Bottomley
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Guy Martin @ 2006-10-07 14:55 UTC (permalink / raw)
  To: parisc-linux

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]


Hi all,

I've been experiencing kernel crashes when I plug a RICOH RL5c475 cardbus bridge.

I've attached the crash info.

Linux hope 2.6.17.4-pa6 #1 Thu Jul 13 09:06:34 CEST 2006 parisc PA8600 (PCX-W+) GNU/Linux

The kernel config is available here :
https://www.tuxicoman.be/temp/c3600-2.6.17.4-pa6.config

Regards,
  Guy

[-- Attachment #2: c3600-pcmcia.crash --]
[-- Type: application/octet-stream, Size: 6811 bytes --]

[-- Attachment #3: Type: text/plain, Size: 169 bytes --]

_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] C3600 crash with PCMCIA bridge
  2006-10-07 14:55 [parisc-linux] C3600 crash with PCMCIA bridge Guy Martin
@ 2006-10-07 15:27 ` James Bottomley
  2006-10-07 16:15   ` Helge Deller
  2006-10-07 15:27 ` John David Anglin
  2006-10-09  4:54 ` Grant Grundler
  2 siblings, 1 reply; 6+ messages in thread
From: James Bottomley @ 2006-10-07 15:27 UTC (permalink / raw)
  To: Guy Martin; +Cc: parisc-linux

On Sat, 2006-10-07 at 16:55 +0200, Guy Martin wrote:
> I've been experiencing kernel crashes when I plug a RICOH RL5c475 cardbus bridge.
> 
> I've attached the crash info.
> 
> Linux hope 2.6.17.4-pa6 #1 Thu Jul 13 09:06:34 CEST 2006 parisc PA8600 (PCX-W+) GNU/Linux

The only parisc chip known to work with cardbus is dino ... there are a
few strage tweaks you have to do to get it all running (and even dino
only seems to work with my single socket yenta bridge; it doesn't work
for helge with his dual yenta tadpole).

No-one's ever looked at putting the necessary code into astro ...
although it shouldn't be that hard.

James


_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] C3600 crash with PCMCIA bridge
  2006-10-07 14:55 [parisc-linux] C3600 crash with PCMCIA bridge Guy Martin
  2006-10-07 15:27 ` James Bottomley
@ 2006-10-07 15:27 ` John David Anglin
  2006-10-08  7:18   ` Guy Martin
  2006-10-09  4:54 ` Grant Grundler
  2 siblings, 1 reply; 6+ messages in thread
From: John David Anglin @ 2006-10-07 15:27 UTC (permalink / raw)
  To: Guy Martin; +Cc: parisc-linux

The crash occurs because the first argument in the call to
pci_enable_bridges is a null pointer.  It's here:

102253dc <pci_enable_bridges>:
102253dc:       6b c2 3f d9     stw rp,-14(sp)
102253e0:       6f c4 00 80     stw,ma r4,40(sp)
102253e4:       6b c3 3f 89     stw r3,-3c(sp)
102253e8:       4b 5c 00 28     ldw 14(r26),ret0

r26 is zero.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] C3600 crash with PCMCIA bridge
  2006-10-07 15:27 ` James Bottomley
@ 2006-10-07 16:15   ` Helge Deller
  0 siblings, 0 replies; 6+ messages in thread
From: Helge Deller @ 2006-10-07 16:15 UTC (permalink / raw)
  To: parisc-linux; +Cc: James Bottomley, Guy Martin, parisc-linux

On Saturday 07 October 2006 17:27, James Bottomley wrote:
> On Sat, 2006-10-07 at 16:55 +0200, Guy Martin wrote:
> > I've been experiencing kernel crashes when I plug a RICOH RL5c475 cardbus bridge.
> > 
> > I've attached the crash info.
> > 
> > Linux hope 2.6.17.4-pa6 #1 Thu Jul 13 09:06:34 CEST 2006 parisc PA8600 (PCX-W+) GNU/Linux
> 
> The only parisc chip known to work with cardbus is dino ... there are a
> few strage tweaks you have to do to get it all running (and even dino
> only seems to work with my single socket yenta bridge; it doesn't work
> for helge with his dual yenta tadpole).

Hi James,

One correction:
Last time I tried (and after a few people here on the list helped) it did worked with both slots in my tadpole.

Helge
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] C3600 crash with PCMCIA bridge
  2006-10-07 15:27 ` John David Anglin
@ 2006-10-08  7:18   ` Guy Martin
  0 siblings, 0 replies; 6+ messages in thread
From: Guy Martin @ 2006-10-08  7:18 UTC (permalink / raw)
  To: John David Anglin; +Cc: parisc-linux



Dave,

Thanks, by checking if lba_bus is != NULL before calling pci_enable_bridges() in lba_pci.c, my C3600 does boot.
However the bridge isn't working but that was expected :)

  Guy

On Sat, 7 Oct 2006 11:27:52 -0400 (EDT)
"John David Anglin" <dave@hiauly1.hia.nrc.ca> wrote:

> The crash occurs because the first argument in the call to
> pci_enable_bridges is a null pointer.  It's here:
> 
> 102253dc <pci_enable_bridges>:
> 102253dc:       6b c2 3f d9     stw rp,-14(sp)
> 102253e0:       6f c4 00 80     stw,ma r4,40(sp)
> 102253e4:       6b c3 3f 89     stw r3,-3c(sp)
> 102253e8:       4b 5c 00 28     ldw 14(r26),ret0
> 
> r26 is zero.
> 
> Dave
> -- 
> J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
> National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)

_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [parisc-linux] C3600 crash with PCMCIA bridge
  2006-10-07 14:55 [parisc-linux] C3600 crash with PCMCIA bridge Guy Martin
  2006-10-07 15:27 ` James Bottomley
  2006-10-07 15:27 ` John David Anglin
@ 2006-10-09  4:54 ` Grant Grundler
  2 siblings, 0 replies; 6+ messages in thread
From: Grant Grundler @ 2006-10-09  4:54 UTC (permalink / raw)
  To: Guy Martin; +Cc: parisc-linux

On Sat, Oct 07, 2006 at 04:55:19PM +0200, Guy Martin wrote:
> I've been experiencing kernel crashes when I plug a RICOH RL5c475
> cardbus bridge.
> 
> I've attached the crash info.

Thanks - I've looked over lba_driver_probe() and I'm wondering why
we are getting a NULL pointer back from pci_scan_bus_parented().

If you could determine why pci_create_bus() is returning a NULL
pointer to pci_scan_bus_parented(), that would probably provide
clues to the real problem.

And the first "if (lba_bus)" right after that bus scan seems
wrong to me too since the code below it will crash anyway.
Seems a NULL lba_bus should cleanup and exit with an error.

thanks,
grant
_______________________________________________
parisc-linux mailing list
parisc-linux@lists.parisc-linux.org
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-10-09  4:54 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-07 14:55 [parisc-linux] C3600 crash with PCMCIA bridge Guy Martin
2006-10-07 15:27 ` James Bottomley
2006-10-07 16:15   ` Helge Deller
2006-10-07 15:27 ` John David Anglin
2006-10-08  7:18   ` Guy Martin
2006-10-09  4:54 ` Grant Grundler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox