2003-09-13 20:21:20

by Thomas Molina

[permalink] [raw]
Subject: presario laptop pcmcia loading problems

My Presario 12XL325 laptop is having a number of problems (see bugzilla
973). During late test4 or early test5 it started refusing to properly
initialize my wireless ethernet card, an SMC2632W. I am getting the
following output when the card is inserted:

Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
PCI: Assigned IRQ 9 for device 0000:00:0a.0
Yenta: CardBus bridge found at 0000:00:0a.0 [0e11:b103]
Yenta: Enabling burst memory read transactions
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta: ISA IRQ list 0018, PCI irq9
Socket status: 30000010
cs: memory probe 0x0c0000-0x0fffff: excluding 0xc0000-0xcbfff
0xe0000-0xfffff
orinoco.c 0.13e (David Gibson <[email protected]> and others)
orinoco_cs.c 0.13e (David Gibson <[email protected]> and
others)
orinoco_cs: RequestIRQ: Unsupported mode

I recall having the problem with RequestIRQ earlier in the 2.5 series, but
it went away. It now looks like it is back. I have attached files with
the following debugging info:

config file used to build the kernel
/proc/cpuinfo
dmesg output
/proc/interrupts
/proc/ioports
lspci output
ver_linux output

I hope this helps


Attachments:
sysconfig (22.71 kB)
syscpuinfo (392.00 B)
sysdmesg (5.35 kB)
sysinterrupts (377.00 B)
sysioports (568.00 B)
syslspci (4.93 kB)
sysverlinux (879.00 B)
Download all attachments

2003-09-13 20:27:29

by Russell King

[permalink] [raw]
Subject: Re: presario laptop pcmcia loading problems

On Fri, Sep 12, 2003 at 04:20:23PM -0400, Thomas Molina wrote:
> My Presario 12XL325 laptop is having a number of problems (see bugzilla
> 973). During late test4 or early test5 it started refusing to properly
> initialize my wireless ethernet card, an SMC2632W. I am getting the
> following output when the card is inserted:

> # CONFIG_ISA is not set

Turn this on.

--
Russell King ([email protected]) http://www.arm.linux.org.uk/personal/
Linux kernel maintainer of:
2.6 ARM Linux - http://www.arm.linux.org.uk/
2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core

2003-09-13 20:35:31

by Joshua Kwan

[permalink] [raw]
Subject: Re: presario laptop pcmcia loading problems

On Fri, Sep 12, 2003 at 04:20:23PM -0400, Thomas Molina wrote:
> # CONFIG_ISA is not set

Try enabling this, it fixed it for me the last time something akin to
this happened to me - orinoco_cs wouldn't work, after enabling this it
did...

--
Joshua Kwan


Attachments:
(No filename) (255.00 B)
(No filename) (827.00 B)
Download all attachments

2003-09-13 20:56:19

by Joshua Kwan

[permalink] [raw]
Subject: Re: presario laptop pcmcia loading problems

On Sat, Sep 13, 2003 at 09:27:19PM +0100, Russell King wrote:
> > # CONFIG_ISA is not set
>
> Turn this on.

How about requiring CONFIG_ISA for CONFIG_PCMCIA_HERMES? This problem is
happening quite often...

--- linux/drivers/net//wireless/Kconfig~ 2003-09-13 13:54:54.000000000 -0700
+++ linux/drivers/net//wireless/Kconfig 2003-09-13 13:55:21.000000000 -0700
@@ -241,7 +241,7 @@

config PCMCIA_HERMES
tristate "Hermes PCMCIA card support"
- depends on NET_RADIO && PCMCIA && HERMES
+ depends on NET_RADIO && PCMCIA && HERMES && ISA
---help---
A driver for "Hermes" chipset based PCMCIA wireless adaptors, such
as the Lucent WavelanIEEE/Orinoco cards and their OEM (Cabletron/

--
Joshua Kwan


Attachments:
(No filename) (710.00 B)
(No filename) (827.00 B)
Download all attachments

2003-09-13 22:04:55

by Russell King

[permalink] [raw]
Subject: Re: presario laptop pcmcia loading problems

On Sat, Sep 13, 2003 at 01:56:15PM -0700, Joshua Kwan wrote:
> On Sat, Sep 13, 2003 at 09:27:19PM +0100, Russell King wrote:
> > > # CONFIG_ISA is not set
> >
> > Turn this on.
>
> How about requiring CONFIG_ISA for CONFIG_PCMCIA_HERMES?

It's unrelated to Hermes.

Turning off CONFIG_ISA drops out a chunk of code to do with ISA support,
including support for ISA-style interrupts from PCMCIA. However, PCMCIA
cards are still useful if your cardbus socket routes PCMCIA card
interrupts to the PCI interrupt.

What I basically need to do (when I get around to it) is to work out
a decent way to handle routing the cardbus/pcmcia interrupts according
to what resources are available. But alas, time is a commodity which
I'm sorely lacking at the moment.

So for the moment, if you want to use PCMCIA cards, always ensure you
have CONFIG_ISA turned on.

--
Russell King ([email protected]) http://www.arm.linux.org.uk/personal/
Linux kernel maintainer of:
2.6 ARM Linux - http://www.arm.linux.org.uk/
2.6 PCMCIA - http://pcmcia.arm.linux.org.uk/
2.6 Serial core