* pc card hangs computer with 2.6 kernel (more details)
@ 2004-04-03 2:38 Samuel Sieb
2004-04-03 3:45 ` Aubin LaBrosse
0 siblings, 1 reply; 3+ messages in thread
From: Samuel Sieb @ 2004-04-03 2:38 UTC (permalink / raw)
To: linux-kernel; +Cc: linux-pcmcia
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pc card hangs computer with 2.6 kernel (more details)
2004-04-03 2:38 pc card hangs computer with 2.6 kernel (more details) Samuel Sieb
@ 2004-04-03 3:45 ` Aubin LaBrosse
2004-04-03 23:03 ` Samuel Sieb
0 siblings, 1 reply; 3+ messages in thread
From: Aubin LaBrosse @ 2004-04-03 3:45 UTC (permalink / raw)
To: Samuel Sieb; +Cc: linux-kernel, linux-pcmcia
[-- Attachment #1: Type: text/plain, Size: 896 bytes --]
On Fri, 2004-04-02 at 21:38, Samuel Sieb wrote:
> 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
[-- Attachment #2: Type: text/plain, Size: 2219 bytes --]
#
# 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"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: pc card hangs computer with 2.6 kernel (more details)
2004-04-03 3:45 ` Aubin LaBrosse
@ 2004-04-03 23:03 ` Samuel Sieb
0 siblings, 0 replies; 3+ messages in thread
From: Samuel Sieb @ 2004-04-03 23:03 UTC (permalink / raw)
To: Aubin LaBrosse; +Cc: linux-kernel, linux-pcmcia
Aubin LaBrosse wrote:
> On Fri, 2004-04-02 at 21:38, Samuel Sieb wrote:
>
> > 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
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-04-03 23:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-03 2:38 pc card hangs computer with 2.6 kernel (more details) Samuel Sieb
2004-04-03 3:45 ` Aubin LaBrosse
2004-04-03 23:03 ` Samuel Sieb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox