hostap_cs.conf

Andrea G. Forte andreaf at cs.columbia.edu
Thu Feb 19 14:59:21 EST 2004


Ok,

I have updated the kernel to 2.4.18 and used HostAP 0.1.12.
When I use the HostAP driver I get a lot of errors in dmesg, the following
is the beginning of the errors in dmesg:

sa1100_pcmcia_init(0)
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.1.2 - 2003-11-02 (Jouni.....)
Unable to handle kernel NULL pointer dereference at virtual address
000000ec
pgd = c1e8c000
*pgd = c1e8b801, *pmd = c1e8b801, *pte = 00000000, *ppte = 00000000
Internal error: Oops: ffffffff
CPU: 0
pc : [<c5785b14>]      lr : [<c00da494>]   Not tainted

The whole dmesg output is at the end of this email.
It seems like hostap crashes the cardmgr for some reason.
Hope you can help us!

We also installed hostap 0.0.4 using the kernel 2.4.6 and everything
seemed to work. The only problem is that it would not connect to any AP
when in Managed mode and it would not work as AP in Master mode...we could
not see it when scanning.
We noticed that the WCF11 works fine if ANY is selected as essid and it
gives some problems if the essid is specified. Could this be the problem
(since hostAP does not support ANY as essid)? How could we fix this?

Thank you all very much,
Andrea

DMESG:

 for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
IrCOMM protocol (Dag Brattli)
RAMDISK: Couldn't find valid RAM disk image starting at 0.
VFS: Mounted root (cramfs filesystem) readonly.
Freeing init memory: 88K
SD Driver Initialized.
sharp_mmcsd 0.21 27 Sep 2002
usbdm: usbd_monitor 0.3 035 2002-06-12 20:00
monitor_request_irq: 23 44
monitor_request_irq: failed: -16
usbdm: request irq failed
monitor_connected: 1
monitor_load:
monitor_hotplug: agent: usbd interface: monitor action: load
usbdcore: usbdcore 0.1 035 2002-06-12 20:00 (dbg="")
net_fd 0.1 035 2002-06-12 20:00 (dbg="",alwaysup=0,OUT=64,IN=64)
vendorID: 4dd productID: 8004
sa1100_bi 0.2 035 2002-06-12 20:00 (dbg="")
bi_modinit: call udc_startup_events
bi_device_event: call udc_enable
bi_device_event: call udc_all_interrupts
monitor_modinit: finished
This function is not support     411c
init_module: prism2_cs.o: 0.1.12-shp Loaded
init_module: dev_info is: prism2_cs
prism2_cs: index 0x01: Vcc 3.3, irq 35, io 0xc5670000-0xc567003f
hfa384x_corereset: hfa384x_corereset not supported on pcmcia. Use driver
services COR access function instead
ident: nic h/w: id=0x800c 1.0.0
ident: pri f/w: id=0x15 1.0.7
ident: sta f/w: id=0x1f 1.3.6
MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=4/4
STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/9
PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Prism2 card SN: 99SA01000000
sa1100_pcmcia_suspend(0)
hfa384x_corereset: hfa384x_corereset not supported on pcmcia. Use driver
services COR access function instead
ident: nic h/w: id=0x800c 1.0.0
ident: pri f/w: id=0x15 1.0.7
ident: sta f/w: id=0x1f 1.3.6
MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=4/4
STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/9
PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Prism2 card SN: 99SA01000000
hfa384x_corereset: hfa384x_corereset not supported on pcmcia. Use driver
services COR access function instead
ident: nic h/w: id=0x800c 1.0.0
ident: pri f/w: id=0x15 1.0.7
ident: sta f/w: id=0x1f 1.3.6
MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=4/4
STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/9
PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Prism2 card SN: 99SA01000000
p80211knetdev_hard_start_xmit: Tx attempt prior to association, frame
dropped.
hfa384x_corereset: hfa384x_corereset not supported on pcmcia. Use driver
services COR access function instead
ident: nic h/w: id=0x800c 1.0.0
ident: pri f/w: id=0x15 1.0.7
ident: sta f/w: id=0x1f 1.3.6
MFI:SUP:role=0x00:id=0x01:var=0x01:b/t=1/1
CFI:SUP:role=0x00:id=0x02:var=0x02:b/t=1/1
PRI:SUP:role=0x00:id=0x03:var=0x01:b/t=4/4
STA:SUP:role=0x00:id=0x04:var=0x01:b/t=1/9
PRI-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-CFI:ACT:role=0x01:id=0x02:var=0x02:b/t=1/1
STA-MFI:ACT:role=0x01:id=0x01:var=0x01:b/t=1/1
Prism2 card SN: 99SA01000000
sa1100_pcmcia_suspend(0)
hfa384x_corereset: hfa384x_corereset not supported on pcmcia. Use driver
services COR access function instead
hfa384x_docmd_wait: hfa384x_cmd timeout(1), reg=0x8888.
hfa384x_drvr_initialize: Initialize command failed.
hfa384x_drvr_initialize: Failed, result=-110
prism2sta_initmac: prism2sta_initmac: drvr_initialize() failed,
result=-110
hfa384x_docmd_wait: hfa384x_cmd timeout(1), reg=0x8888.
hfa384x_drvr_shutdown: hfa384x_drvr_shutdown: cmd_initialize failed,
result=-110
prism2sta_initmac: Failed, result=-110
prism2sta_open: initmac() failed, result=-110.
prism2_cs.o: 0.1.12-shp Unloaded
p80211.o: 0.1.12-shp Unloaded
sa1100_pcmcia_init(0)
hostap_crypt: registered algorithm 'NULL'
hostap_cs: 0.1.2 - 2003-11-02 (Jouni Malinen <jkmaline at cc.hut.fi>)
Unable to handle kernel NULL pointer dereference at virtual address
000000ec
pgd = c1e8c000
*pgd = c1e8b801, *pmd = c1e8b801, *pte = 00000000, *ppte = 00000000
Internal error: Oops: ffffffff
CPU: 0
pc : [<c5785b14>]    lr : [<c00da494>]    Not tainted
sp : c1c7fc14  ip : c1c7fbe0  fp : c1c7fc3c
r10: 00000000  r9 : c0ac0000  r8 : 00000000
r7 : 00000078  r6 : c1c7fcc4  r5 : c1e94bc0  r4 : c5789aec
r3 : 000005a0  r2 : 00000000  r1 : c01a7006  r0 : c0ac0000
Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  Segment user
Control: C1E8F17F  Table: C1E8F17F  DAC: 00000015
Process cardmgr (pid: 160, stackpage=c1c7f000)
Stack: (0xc1c7fc04 to 0xc1c80000)
fc00:          c00da494 c5785b14 a0000013 ffffffff c1da6340 c1e94bc0
c1c7fcc4
fc20: c5789a0c 00000000 000305d0 c0380760 c1c7fc8c c1c7fc40 c57867c0
c5785adc
fc40: c1c7fc4c c00f408c c00f3f2c c03df800 c03df800 00000043 00000014
00000000
fc60: c1c7fc90 c1c7fc8c c1c7fc74 c00fab30 c1da6340 c0ba9360 c1c7fcc4
00000000
fc80: c1c7fcbc c1c7fc90 c00f8c40 c5786750 c0000000 c0ba9360 c050643c
c0380760
fca0: 00000000 00000000 00000000 00000050 c1c7ff80 c1c7fcc0 c00f9820
c00f8ab0
fcc0: 80000000 74736f68 635f7061 00000073 00000000 00000000 00000000
00000000
fce0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
fd00: 00000000 00000000 00000000 00000000 00000000 49006472 37334c53
50303033
fd20: 76655200 40ff0041 400422e8 40135164 000305a8 00000000 0002fd30
00000002
fd40: 40135d54 bffff94c bffff934 40097fb4 40098000 00000089 c01c3148
c01c2f2c
fd60: 00000000 000001d2 c01c3144 c01c2f2c c1c7fdac c1c7fd80 c0049d7c
c00498c4
fd80: 0000086c c01c2f2c 00000000 c01c2f2c 000001d2 c1c7fdd0 00000025
c1c7fdf8
fda0: 000008ce 00000000 ffffffff c1c7fe8c c1c7fdec 00000025 c1c7fe14
000008cf
fdc0: 00000000 ffffffff c1c7fea8 c1c7fdd8 c0194d18 c01924ac 00000000
c1c7fe14
fde0: 00000000 00000020 ffffffff 33323130 37363534 42413938 46454443
4a494847
fe00: 4e4d4c4b 5251504f 56555453 5a595857 c1c7fe00 33323130 37363534
62613938
fe20: 66656463 6a696867 6e6d6c6b 7271706f 76757473 7a797877 00000000
32323535
fe40: c001e824 40135d54 c1c7fe64 c1c7fe58 c005ad44 00000089 c01c3128
c01c2f2c
fe60: 00000000 000001d0 c01c3124 c01c2f2c c1c7feac c1c7fe80 c0049d7c
c00498c4
fe80: 00000000 000008cf 00000000 c1c7ff2d ffffffff c1c7ff20 00000000
c1c7fef4
fea0: c1c7feac c0195614 c0194cd4 0000000a ffffffff a0000013 c00083a0
c1c7e000
fec0: c1c7e000 c1548000 00000000 c01c0000 c01c0000 c1c7ff08 c0ba9320
c17e6da0
fee0: 00000000 00000000 40119000 4001a000 c1e8d004 00000000 4001a000
c00083a0
ff00: c1c7e000 c00083a0 40019000 c1c9e720 40019000 40019000 c1c7ff48
c1c7ff28
ff20: c0040450 c0047b54 c1c9e720 40019000 00000000 40019000 00000000
c1c7ff84
ff40: c1c7ff4c c00408e4 c0040584 c0481380 00001000 c0481380 c21ead20
c050643c
ff60: 00000000 000305d0 ffffffe7 c1c7e000 00035fc0 c1c7ffa4 c1c7ff84
c005ebb0
ff80: c00f92c4 00000002 000305d0 00019218 00000036 c001e824 00000000
c1c7ffa8
ffa0: c001e6a0 c005e9c0 00000002 c0024210 00000000 c050643c 000305d0
00000000
ffc0: 00000002 000305d0 00019218 00000007 00000000 00019218 00035fc0
bffffb94
ffe0: 00019124 bffffb64 0000acdc 400e7c64 20000010 00000000 00000000
00000000
Backtrace:
Function entered at [<c5785ad0>] from [<c57867c0>]
Function entered at [<c5786744>] from [<c00f8c40>]
 r7 = 00000000  r6 = C1C7FCC4  r5 = C0BA9360  r4 = C1DA6340
Function entered at [<c00f8aa4>] from [<c00f9820>]
Function entered at [<c00f92b8>] from [<c005ebb0>]
Function entered at [<c005e9b4>] from [<c001e6a0>]
 r8 = C001E824  r7 = 00000036  r6 = 00019218  r5 = 000305D0
 r4 = 00000002
Code: e282307b e3c37003 e2873e52 e2833008 (e5873074)
check backup battery !





















On Wed, 18 Feb 2004, Jouni Malinen wrote:

> On Wed, Feb 18, 2004 at 03:11:22PM -0500, Andrea G. Forte wrote:
>
> > With the modified wlan-ng config file hostap gets loaded but in the dmesg
> > message we get the error:
> > wlan0: prism2_open
> > wlan0 unsupported ioctl(0x89f1)
> > We are using the Linksys WCF11 card, wireless extensions 12 with Kernel
> > ARM-linux 2.4.6
>
> That's not an error message. It is just notifying that someone is trying
> to use an unsupported ioctl on the interface. Does the card work after
> this? If not, what kind of problems do you see? Does iwconfig show
> anything? What did the dmesg output show before prism2_open?
>
> Which version of the Host AP driver are you using? If that is as old as
> the kernel version, I would recommend trying to upgrade to a newer
> version..
>
> --
> Jouni Malinen                                            PGP id EFC895FA
> _______________________________________________
> HostAP mailing list
> HostAP at shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



More information about the HostAP mailing list