FS#12501 - wpc11 v.3 causes kernel panic when inserted unless peculiar module juggling is done.

Attached to Project: Arch Linux
Opened by Nick (clu) - Friday, 19 December 2008, 01:51 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 09 May 2009, 11:40 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture i686
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The Linksys WPC11 v.3 wireless card should work with either the orinoco or hostap drivers that come with the Linux kernel. My goal is to use the hostap driver because it supports WPA. If I don't modprobe either hostap or orinoco then I get a kernel panic upon inserting the card. If I only modprobe hostap and hostap_cs then I get a kernel panic. If I only modprobe orinoco and orinoco_cs then I can insert the card without a kernel panic. I can get the card to use the hostap driver but only by following the slightly odd steps below.

1. I boot without adding any wireless dirvers to rc.conf.
2. After boot I modprobe orinoco and orinoco_cs.
3. I insert the card (Which then loads hostap and hostap_cs drivers automatically
4. lspcmcia shows that the card is using the orinoco driver
5. I remove the card.
6. I rmmod both orinoco and orinoco_cs
7. I reinsert the card. orinoco and orinoco_cs are not loaded and lspcmcia now shows the card as using the hostap_cs driver.

At this point everything is fine. I can connect to my wireless network using wpa_supplicant and the computer works perfectly. However, my goal is to add hostap and hostap_cs to my rc.conf so that I can leave the wireless card in at all times.



Additional info:

Software:
stock kernel 2.6.27-ARCH (i686)
stock hostap and orinoco drivers that came with the kernel

Hardware:
Dell Inspiron 4150
Linksys WPC11 v.3 wireless card

* package version(s)
* config and/or log files etc.


Steps to reproduce:

Follow the steps to succeed in the description. Any other permutation of loading hostap & orinoco with or without blacklisting should cause a kernel panic when the card is inserted.


I can post anything needed.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Saturday, 09 May 2009, 11:40 GMT
Reason for closing:  Fixed
Comment by Jan de Groot (JGC) - Friday, 19 December 2008, 10:03 GMT
Please supply logs, traces, etc. We can't reproduce your problem without hardware, so we need your logs.
Comment by Nick (clu) - Monday, 22 December 2008, 02:10 GMT
On vacation until Dec. 28th. When I have the hardware again I'll post what I can. I'm not sure how to get kernel traces though, I will look this up.
Comment by Glenn Matthys (RedShift) - Wednesday, 24 December 2008, 08:05 GMT
  • Field changed: Status (Unconfirmed → Assigned)
  • Field changed: Category (Kernel → Upstream Bugs)
  • Field changed: Severity (Critical → Medium)
  • Task assigned to Tobias Powalowski (tpowa)
Can you supply us the specific version of the kernel you are running? pacman -Q kernel26. Test with the latest kernel (2.6.27.10) as well please.
Comment by Glenn Matthys (RedShift) - Sunday, 28 December 2008, 05:43 GMT
  • Field changed: Status (Assigned → Waiting on Response)
Please test out 2.6.28 that's currently in testing as well.
Comment by Nick (clu) - Saturday, 10 January 2009, 20:56 GMT
Kernel 2.6.27.10 gives the exact same results.
Going to test with kernel 2.6.28 from testing.
Comment by Nick (clu) - Thursday, 29 January 2009, 02:40 GMT
2.6.28.2-1 also has the same problems. I have used an ugly hack in rc.local to fix this:

pccardctl eject
rmmod orinoco_cs
rmmod orinoco
pccardctl insert


With orinoco_cs in my Modules list in rc.conf I can leave the card in at boot and it will be using hostap_cs once rc.local gets processed. This is an ugly way to get around this but it does work.
Comment by Tobias Powalowski (tpowa) - Thursday, 09 April 2009, 17:07 GMT
status on .29 kernel?

Loading...