HOSTAP Driver for Linksys WPC11 cards on MPC860FADS

Henry Yip hkyip
Wed May 21 21:20:56 PDT 2003


Hi all,

I am a newbie in this list.

About one year ago, a Linux was ported onto an Motorola MPC860FADS (FADS)
with the following system setups:

kernel : 2.4.13 (without pcmcia support)
pcmcia-cs : 3.1.30
prism2 driver: Prism2-2002-04-10
WLAN Card:
  card "Linksys WPC11 11Mbps WLAN Card"
     version "Instant Wireless ", " Network PC CARD", "Version 01.02"
     bind "hostap_cs"

This system works fine.

However, recently, we wish to have one more set of FADS to do some
WLAN communication experiments. However, the following card was purchased
instead.
WLAN card:
card "Linksys WPC11 Ver 3 11Mbps WLAN Card"
   manfid 0x0274, 0x1613
   bind "hostap_cs"

With this card(WPC11 ver.3), the above system fails to start up the WLAN
interface.


Also, we would also like to have the kernel upgrade to kernel 2.4.19 for
some other purpose.
Hence, now we tried:
kernel: 2.4.19
pcmcia-cs : 3.1.34
hostap driver: hostap-2002-10-12

we then have got the following from /var/log/messages  :

May 19 13:33:59 147 kernel: Linux PCMCIA Card Services 3.1.34
May 19 13:33:59 147 kernel:   kernel build: 2.4.19-1 #8 Mon May 19 12:13:09
HKT 2003
May 19 13:33:59 147 kernel:   options:  none
May 19 13:33:59 147 kernel: m8xx_pcmcia: Version 0.03, 14-Feb-2000, Magnus
Damm
May 19 13:33:59 147 kernel: m8xx_pcmcia: FADS using SLOT_A with IRQ 13.
May 19 13:34:00 147 cardmgr[48]: watching 1 sockets
May 19 13:34:01 147 cardmgr[49]: starting, version is 3.1.34
May 19 13:34:01 147 cardmgr[49]: socket 0: Linksys WPC11 Ver 3 11Mbps WLAN
Card
May 19 13:34:01 147 cardmgr[49]: executing: 'modprobe hostap_crypt'
May 19 13:34:01 147 kernel: hostap_crypt: registered algorithm 'NULL'
May 19 13:34:01 147 cardmgr[49]: executing: 'modprobe hostap'
May 19 13:34:02 147 cardmgr[49]: executing: 'modprobe hostap_cs'
May 19 13:34:03 147 kernel: hostap_cs: hostap_cs.c 0.0.0 2002-10-12 (SSH
Communications Security Corp, Jouni Malinen)
May 19 13:34:03 147 kernel: hostap_cs: (c) Jouni Malinen
<jkmaline at cc.hut.fi>
May 19 13:34:04 147 kernel: hostap_cs: setting Vcc=33 (constant)
May 19 13:34:04 147 kernel: hostap_cs: CS_EVENT_CARD_INSERTION
May 19 13:34:04 147 kernel: prism2_config()
May 19 13:34:04 147 kernel: hostap_cs: setting Vcc=50 (from config)
May 19 13:34:04 147 kernel: Checking CFTABLE_ENTRY 0x01 (default 0x01)
May 19 13:34:04 147 kernel: IO window settings: cfg->io.nwin=1
dflt.io.nwin=1
May 19 13:34:04 147 kernel: io->flags = 0x0046, io.base=0x0000, len=64
May 19 13:34:04 147 kernel: hostap_cs: index 0x01: Vcc 5.0, irq 9, io
0x0100-0x013f
May 19 13:34:04 147 kernel: hostap_cs: Registered netdevice wlan0
May 19 13:34:04 147 kernel: prism2_hw_init()
May 19 13:34:04 147 kernel: Oops: kernel access of bad area, sig: 11
May 19 13:34:04 147 kernel: NIP: C1032BB4 XER: 00000000 LR: C1033C04 SP:
C06FD6D0 REGS: c06fd620 TRAP: 0300    Tainted: P
May 19 13:34:04 147 kernel: MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
May 19 13:34:04 147 kernel: DAR: 00000100, DSISR: 00013000
May 19 13:34:04 147 kernel: TASK = c06fc000[49] 'cardmgr' Last syscall: 54
May 19 13:34:04 147 kernel: last math 00000000 last altivec 00000000
May 19 13:34:04 147 kernel: GPR00: C1033C04 C06FD6D0 C06FC000 C0BD8600
00000000 00000000 C06FD6C0 C01A0000
May 19 13:34:04 147 kernel: GPR08: 00000F98 00000100 00000000 C06FD610
0000000D 10022328 00000000 00000000
May 19 13:34:04 147 kernel: GPR16: 00000000 00000000 00000000 00000000
00009032 006FDF40 00000000 00000001
May 19 13:34:04 147 kernel: GPR24: C0BA5800 C06FD978 00000000 000010C6
C0190000 00000000 C0BD8600 000003E8
May 19 13:34:04 147 kernel: Call backtrace:
May 19 13:34:04 147 kernel: C06FD6F8 C1033C04 C1034100 C103A4E0 C103A6B8
C100E208 C100F89C
May 19 13:34:04 147 kernel: C1039D1C C101A894 C101B614 C0044C74 C000459C
10002BF0 1000334C
May 19 13:34:04 147 kernel: 10004930 0FED54D0 00000000


Luckily the system did not completely hang, I typed : "ifconfig wlan0
192.168.0.2"
The following was obtained from /var/log/messages :

May 19 13:35:44 147 kernel: wlan0: prism2_open
May 19 13:35:44 147 kernel: Oops: kernel access of bad area, sig: 11
May 19 13:35:44 147 kernel: NIP: C1032344 XER: 00000000 LR: C10322C4 SP:
C06FBDB0 REGS: c06fbd00 TRAP: 0300    Tainted: P
May 19 13:35:44 147 kernel: MSR: 00009032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
May 19 13:35:44 147 kernel: DAR: 00000100, DSISR: 00013120
May 19 13:35:44 147 kernel: TASK = c06fa000[116] 'ifconfig' Last syscall: 54
May 19 13:35:44 147 kernel: last math 00000000 last altivec 00000000
May 19 13:35:44 147 kernel: GPR00: 00000100 C06FBDB0 C06FA000 00009032
00001032 00000000 C0BFB8C8 C0BFB000
May 19 13:35:44 147 kernel: GPR08: 00000020 00000000 00000780 FFFFFFFF
22002048 10023E78 00000000 10020000
May 19 13:35:44 147 kernel: GPR16: 7FFFFC68 7FFFFD30 7FFFFD18 10020000
C0BFB8C4 C06FBDC8 00000001 00000000
May 19 13:35:44 147 kernel: GPR24: 00000000 C0BFB898 C0BA5800 C0BD8600
00000000 C06FBDD0 000003E8 C0BFB890
May 19 13:35:44 147 kernel: Call backtrace:
May 19 13:35:44 147 kernel: C1032260 C1033FF0 C102D2DC C00CBEE4 C00CD694
C0116A5C C01190A0
May 19 13:35:44 147 kernel: C00C426C C0044C74 C000459C 7FFFFD08 10001078
10002EB4 0FED54D0
May 19 13:35:44 147 kernel: 00000000


The system now has the entry /proc/net/hostap/wlan0 in the filesystem. The
ls command to this
"directory" gives me files with zero size.


Also, the above "Oops messages" are the *SAME* for both the WPC11(old card)
or the WPC11 ver. 3 card.

I have also read the following thread in this list, which shows a similar
problem.
http://lists.shmoo.com/pipermail/hostap/2003-January/000950.html

But the messages could not help much.

My question is: how to start the wlan interface properly?

Any hints will be much appreciated. Thank you very much!

Yours sincerely,
Henry





More information about the Hostap mailing list