Skip to contentSkip to conversation

pc card hangs computer with 2.6 kernel (more details)

DISCUSSION Samuel Sieb 2 participants 3 messages Apr 3, 2004

lore
Share & tools
lore
#0 lore raw

I sent this originally to the pcmcia list, but haven't seen a response yet.

My laptop freezes as soon as I insert a Linksys WPC11 card which is an 802.11b wireless card. I don't think it's the driver since as far as I can tell, the drivers aren't included in the kernel (it's a prism 2). I first tried with a 2.6.1 kernel and then upgraded to 2.6.4 but it still acts the same. (I'm using Fedora Core Testing, updated to latest.)

The laptop is a Compaq Presario 2190, the cardbus is:
00:0a.0 CardBus bridge: O2 Micro, Inc. OZ6912 Cardbus Controller

        Subsystem: Hewlett-Packard Company: Unknown device 0024
        Flags: bus master, stepping, slow devsel, latency 168, IRQ 11
        Memory at 80000000 (32-bit, non-prefetchable)
        Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
        Memory window 0: 81000000-81100000 (prefetchable)
        Memory window 1: 10000000-103ff000
        I/O window 0: 00003000-0000307f
        I/O window 1: 00004000-000040ff
        16-bit legacy interface ports at 0001

dmesg shows:
Yenta: CardBus bridge found at 0000:00:0a.0 [103c:0024]
Yenta: ISA IRQ mask 0x0498, PCI irq 11
Socket status: 30000007
cs: IO port probe 0x0c00-0x0cff: clean.
cs: IO port probe 0x0100-0x04ff: excluding 0x200-0x207 0x220-0x22f 0x330-0x337 0x378-0x37f 0x388-0x38f 0x3c0-0x3df 0x408-0x40f 0x480-0x48f 0x4d0-0x4d7
cs: IO port probe 0x0a00-0x0aff: clean.

I just noticed that it did get a message in /var/log/messages:

Apr  1 09:48:57 localhost kernel: cs: memory probe xa0000000-0xa0ffffff:
clean.
Apr  1 09:48:57 localhost cardmgr[1001]: socket 0: Intersil PRISM2 11

Mbps Wireless Adapter

That's the last thing in the log before the next startup. If the card was already in when I booted it, then there was one more line in the log from the next booting step before it hung.

Further probing shows that the computer is still functioning as I can use sysrq functions. Using sysrq-p gives me a list that appears to scroll off the screen. From the top of the screen, the first few items are:
alloc_netdev
ether_setup
orinoco_cs_hard_reset
orinoco_cs_attach
orinoco_cs_event
bind_request
kmem_cache_alloc
bind_request
ds_ioctl
get_random_bytes
arch_align_stack
mmap_top
mm_init

I have updated the laptop's bios to the latest version. Any other information that would be helpful?

#1 lore raw
Quoted 9 lines · Samuel Sieb

I sent this originally to the pcmcia list, but haven't seen a response yet.

My laptop freezes as soon as I insert a Linksys WPC11 card which is an 802.11b wireless card. I don't think it's the driver since as far as I can tell, the drivers aren't included in the kernel (it's a prism 2). I first tried with a 2.6.1 kernel and then upgraded to 2.6.4 but it still acts the same. (I'm using Fedora Core Testing, updated to latest.)

The laptop is a Compaq Presario 2190

I had similar issues with an hp laptop which was running fedora at the time. It turns out to be the fedora pcmcia config vs the laptop. You can try this /etc/pcmcia/config.opts file, originally posted by Mathieu Lesniak (Thanks Mathieu!) in response to my issue - it forces pcmcia to use a specific irq and memory range, and it Worked For Me (tm)

--aubin

#
# Local PCMCIA Configuration File
#
#----------------------------------------------------------------------

# System resources available for PCMCIA devices

#include port 0x100-0x4ff, port 0xc00-0xcff
include port 0xfd00-0xfdff, port 0xfc00-0xfcff
#include memory 0xc0000-0xfffff
#include memory 0xa0000000-0xa0ffffff, memory 0x60000000-0x60ffffff include memory 0x80000000-0x80000fff, memory 0xffeff000-0xffefffff include memory 0xfbeff000-0xffefefff, memory 0x000d7000-0x000d7fff

# High port numbers do not always work...

# include port 0x1000-0x17ff

# Extra port range for IBM Token Ring
#include port 0xa00-0xaff

# Resources we should not use, even if they appear to be available

# First built-in serial port
exclude irq 3
exclude irq 4
#exclude irq 7
exclude irq 10
exclude irq 12

exclude irq 1
exclude irq 2
exclude irq 3
exclude irq 4
exclude irq 5
exclude irq 6
exclude irq 8
exclude irq 9
exclude irq 10
exclude irq 11
exclude irq 12
exclude irq 13
exclude irq 14
exclude irq 15

# Second built-in serial port
#exclude irq 3
# First built-in parallel port
#exclude irq 7
# PS/2 Mouse controller port, comment this out if you don't have a PS/2

# based mouse
#exclude irq 12
#
#----------------------------------------------------------------------

# Examples of options for loadable modules

# To fix sluggish network with IBM ethernet adapter... #module "pcnet_cs" opts "mem_speed=600"

# Options for IBM Token Ring adapters
#module "ibmtr_cs" opts "mmiobase=0xd0000 srambase=0xd4000"

# Options for Raylink/WebGear driver: uncomment only one line...
# Generic ad-hoc network
module "ray_cs" opts "essid=ADHOC_ESSID hop_dwell=128 beacon_period=256 translate=1" # Infrastructure network for older cards
#module "ray_cs" opts "net_type=1 essid=ESSID1"
# Infrastructure network for WebGear
#module "ray_cs" opts "net_type=1 essid=ESSID1 translate=1 hop_dwell=128 beacon_period=256"

# Options for WaveLAN/IEEE driver (AccessPoint mode)... #module "wvlan_cs" opts "station_name=MY_PC"
# Options for WaveLAN/IEEE driver (ad-hoc mode)... #module "wvlan_cs" opts "port_type=3 channel=1 station_name=MY_PC"

# Options for Xircom Netwave driver...
#module "netwave_cs" opts "domain=0x100 scramble_key=0x0"

#2 lore raw
Quoted 15 lines · Aubin LaBrosse
Quoted 11 lines · Samuel Sieb

I sent this originally to the pcmcia list, but haven't seen a response yet.

My laptop freezes as soon as I insert a Linksys WPC11 card which is an 802.11b wireless card. I don't think it's the driver since as far as I can tell, the drivers aren't included in the kernel (it's a prism 2). I first tried with a 2.6.1 kernel and then upgraded to 2.6.4 but it still acts the same. (I'm using Fedora Core Testing, updated to latest.)

The laptop is a Compaq Presario 2190

Quoted 8 lines

I had similar issues with an hp laptop which was running fedora at the time. It turns out to be the fedora pcmcia config vs the laptop. You can try this /etc/pcmcia/config.opts file, originally posted by Mathieu Lesniak (Thanks Mathieu!) in response to my issue - it forces pcmcia to use a specific irq and memory range, and it Worked For Me (tm)

--aubin

Thank you very much! (I'm sending this wirelessly.)
It did take IRQ 10 even though it was excluded in the config file. But it works, so it was either a port issue or memory issue. I'll try to narrow it down if I get a chance.