Next-in-Thread Next Message

Feedback Thank you for suggestions; beta solved IRQ problem and bus numbering was my fault. 

Forum: Non-x86 PCMCIA Issues
Re: Sad "no valid ROM images found!" on 3.1.12 pcmcia-cs: How can I deal with it? (Tsuneya Watabe)
Re: None The irq thing is easy; I'm not sure about the bus problem (David Hinds)
Date: 2000, Mar 12
From: Tsuneya Watabe watabe

David, thank you for your kind reply and my apologies for delay in 

You wrote:

>First, the interrupt problem: that one is my mistake.  I think this
>should be fixed in the 10-Mar-00 beta on in

I confirmed this beta was working well with my 2.2.15pre7 kernel and 
10B-T/100B-TX cardbus card. Thank you.

>In 2.2.*, the Cardbus drivers will generally use the PCI bus numbers
>assigned by the BIOS, unless they are left unassigned.  I think the
>2.3.* kernel may renumber PCI busses automatically.  That may be a

Thanks for this info. I've built the latest kernel (2.3.51) and got 
the same wrong numbering of busses:

 kernel: Linux PCMCIA Card Services 3.1.13
 kernel:   kernel build: 2.3.51 #11 Sun Mar 12 00:15:51 JST 2000
 kernel:   TI 1130 PCI-to-CardBus at slot 00:13, mem 0x80803000
 kernel:     host opts [0]: [pci only] [pci irq 22] [lat 32/176] [bus 1/2]
 kernel:     host opts [1]: [pci only] [pci irq 23] [lat 32/176] [bus 3/4]
 kernel:     PCI card interrupts, polling interval = 1000 ms
 cardmgr[506]: starting, version is 3.1.13
 kernel: cs: no valid ROM images found!

>However, you say you have the same "no valid ROM images" problem with
>2.2.15pre9 and later kernels, and that makes less sense to me.  Is it
>possible that you tested these kernels after warm booting from 2.3.*,
>and the 2.3.* bus settings might have survived the warm boot?  I would
>carefully look at the bridge probe messages for each kernel after a
>cold boot to see if there is a difference between the 2.2.15pre7 and
>the later (broken) kernels.

Woops, sorry. I found that this "no valid ROM images" problem with 
2.2.15pre* kernel is dependent on whether or not I used some patches 
applied to drivers/pci/pci.c and arch/ppc/kernel/pmac_pci.c, which were
originally written by Ryuichi Oikawa for the purpose of using 32-bit 
cardbus cards as PCI cards under linuxppc. You can check the contents 
of the patches from the URL below: (written in Japanese)

I'd incidentally applied these patches to my linux-2.2.15pre7 but not
to others. Now I've built the latest pre14 kernel and applied the same
patches to it. Then the 3.1.13 beta pcmcia-cs was well working with my 
32-bit cardbus LAN card. Unfortunately it appears that these patches 
can not be applied to 2.3.* kernels. 

My great apologies to you for taking your time.

p.s. To PB users:

To use the above patched kernel with pcmcia-cs and 32-bit cards, I 
used OF (Open Firmware) booting into the kernel. To use booting into 
this kernel via BootX under MacOS, the pcmcia service should be disabled.

Next-in-Thread Next Message

Add Message to: "Thank you for suggestions; beta solved IRQ problem and bus numbering was my fault."

Members Subscribe Admin Mode Show Frames Help for HyperNews at 1.10