driver problem?

Varga Viktor vargav
Wed Dec 30 05:01:20 PST 2009


Hi,

I am using debian 5.0.3 with 2 different kernels(2.6.26-2
distributed by debian and 2.6.28.9 vanila kernel) and hostapd v0.6.9.
My wifi card is a Senao NL-2511CD-PLUS-EXT2 .
I got the following errors are listed below( here are the full dmesg
outputs http://vvarga.r00tintheb0x.net/tmp/fail.txt
http://vvarga.r00tintheb0x.net/tmp/fail2.txt).

I tried to find the solution but I find posts from 5 years ago. 
All post are refer to driver error, that's why I tired a newer kernel,
so I compiled a 2.6.28.9 without any patches.

My access point is working correctly but sometimes I see some TX error,
and card reset error message, check the dmesg output.

2.6.26 dmesg output:

[ 6563.632972] wifi0: hfa384x_cmd: entry still in list?
(entry=c713a420, type=0, res=0) [ 6563.633009] wifi0: hfa384x_cmd:
command was not completed (res=0, entry=c713a420, type=0, cmd=0x0002,
param0=0x0000, EVSTAT=0000 INTEN=e09f) [ 6563.633028] wifi0: reset port
failed to disable port [ 6564.449013] NETDEV WATCHDOG: wifi0: transmit
timed out [ 6564.449082] wifi0 Tx timed out! Resetting card
[ 6564.449133] wifi0: CMD=0002 EVSTAT=0000 OFFSET0=0000 OFFSET1=0000
SWSUPPORT0=8a32 [ 6564.449184] ------------[ cut here ]------------
[ 6564.449225] WARNING: at net/sched/sch_generic.c:222
dev_watchdog+0x8f/0xdc() [ 6564.449271] Modules linked in: ppp_deflate
zlib_deflate zlib_inflate bsd_comp aes_i586 crypto_blkcipher
aes_generic ieee80211_crypt_ccmp ppp_async sg sr_mod ppp_generic slhc
option usbserial usb_storage ipv6 ipt_REJECT xt_tcpudp xt_state
iptable_filter ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4
nf_conntrack ip_tables x_tables apm loop hostap_cs hostap
ieee80211_crypt ohci_hcd pcmcia firmware_class irtty_sir parport_pc
snd_pcm sir_dev parport snd_timer yenta_socket rsrc_nonstatic irda
uhci_hcd snd pcmcia_core radio_maestro crc_ccitt soundcore i2c_piix4
videodev v4l1_compat usbcore snd_page_alloc i2c_core intel_agp floppy
shpchp pci_hotplug agpgart pcspkr evdev ext3 jbd mbcache ide_cd_mod
cdrom thermal_sys ide_disk ide_pci_generic piix ide_core ata_generic
libata scsi_mod dock [ 6564.450018] Pid: 0, comm: swapper Not tainted
2.6.26-2-686 #1
[ 6564.451808] wifi0: scheduled card reset
[ 6564.451823] hostap_cs: wifi0: resetting card
[ 6564.451892] prism2_pccard_cor_sreset: original COR 41
[ 6564.455915] wifi0: removed pending cmd_queue entry (type=1,
cmd=0x010b, param0=0x019d) [ 6564.455935] wifi0: removed pending
cmd_queue entry (type=0, cmd=0x0021, param0=0xfc28) [ 6564.651227]
prism2_hw_init: initialized in 196 ms [ 6565.633117] wifi0:
hfa384x_cmd: command was not completed (res=0, entry=c713a420, type=0,
cmd=0x0021, param0=0xfc28, EVSTAT=8000 INTEN=0010) [ 6565.633152]
wifi0: hfa384x_get_rid: CMDCODE_ACCESS failed (res=-110, rid=fc28,
len=2) [ 6565.633169] Could not read current WEP flags. [ 6565.633180]
wifi0: encryption setup failed [ 6565.682910] wifi0: Could not find STA
00:1c:bf:61:8e:01 for this TX error (@1566308) [ 6565.695684] wifi0:
STA 00:15:00:16:04:56 TX rate lowered to 55 [ 6571.375320] wifi0: Could
not find STA 00:1c:bf:61:8e:01 for this TX error (@1567731)
[ 6590.526812] wifi0: hfa384x_cmd: entry still in list?
(entry=c700ed20, type=0, res=0) [ 6590.526848] wifi0: hfa384x_cmd:
command was not completed (res=0, entry=c700ed20, type=0, cmd=0x0121,
param0=0xfc40, EVSTAT=0000 INTEN=e09f) [ 6590.526871] wifi0:
hfa384x_set_rid: CMDCODE_ACCESS_WRITE failed (res=-110, rid=fc40,
len=2) [ 6590.526886] hostap_cs: wifi0: resetting card



2.6.28 dmesg output:
[33662.189277] wifi0: Could not find STA 00:15:00:16:04:56 for this TX
error (@8340042) [33686.022157] ------------[ cut here ]------------
[33686.022225] WARNING: at net/sched/sch_generic.c:226
dev_watchdog+0xc8/0x13b() [33686.022279] NETDEV WATCHDOG: wifi0
(hostap_cs): transmit timed out [33686.022328] Modules linked in:
ppp_deflate zlib_deflate zlib_inflate bsd_comp ppp_async crc_ccitt
ppp_generic slhc option usbserial usb_storage ohci_hcd
ieee80211_crypt_ccmp ipv6 ipt_REJECT xt_tcpudp xt_state iptable_filter
ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack
nf_defrag_ipv4 ip_tables x_tables loop hostap_cs hostap serio_raw
uhci_hcd i2c_piix4 pcspkr psmouse i2c_core ieee80211_crypt usbcore
intel_agp agpgart sg sr_mod cdrom evdev sd_mod ide_gd_mod
ide_pci_generic piix ide_core ata_generic ata_piix libata scsi_mod
[33686.022903] Pid: 0, comm: swapper Not tainted 2.6.28.9 #1
[33686.022952] Call Trace:
[33686.024085] wifi0 Tx timed out! Resetting card
[33686.024143] wifi0: CMD=0011 EVSTAT=0000 OFFSET0=0000 OFFSET1=0000
SWSUPPORT0=8a32 [33686.026113] wifi0: scheduled card reset
[33686.026125] hostap_cs: wifi0: resetting card
[33686.026186] prism2_pccard_cor_sreset: original COR 41
[33686.030196] wifi0: removed pending cmd_queue entry (type=1,
cmd=0x0011, param0=0xf100) [33686.030213] wifi0: removed pending
cmd_queue entry (type=1, cmd=0x010b, param0=0x019d) [33686.225513]
prism2_hw_init: initialized in 192 ms [33691.102113] wifi0: Could not
find STA 00:15:00:16:04:56 for this TX error (@8347269) [33694.022574]
wifi0 Tx timed out! Resetting card [33694.022645] wifi0: CMD=010b
EVSTAT=0000 OFFSET0=0000 OFFSET1=0000 SWSUPPORT0=8a32 [33694.022682]
wifi0: scheduled card reset [33694.022694] hostap_cs: wifi0: resetting
card [33694.022752] prism2_pccard_cor_sreset: original COR 41
[33694.026763] wifi0: removed pending cmd_queue entry (type=1,
cmd=0x010b, param0=0x0188) [33694.222076] prism2_hw_init: initialized
in 192 ms


Thanks for your time.

Regards,

-- 
PGP-FP: 8CF2 FC45 552F C885 FEBC  5372 4D12 66F1 FE53 5D42
PGP-PK: http://vargav.bitnet.hu/pk.txt
PGP-PK: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xFE535D42



More information about the Hostap mailing list