On Mon, 9 May 2011, Ben Hutchings wrote:
I have finally had time to try this. The hostap_pci module does not
work at all for my card. It detects it, and allows me to configure
it, but it does not actually send or receive any packets :(
Please can you provide some information about the hardware (from lspci)
and the driver log messages from hostap_pci. Your initial bug report was
missing these.
Looking through the dmesg log, there is something very odd going on, in
that the hostap driver appears to have created both a wlan0 and a wifi0.
udev tried to rename both of these to eth0, but (unsuprisingly) failed -
so I ended up with:
eth0 (which was originally wlan0, which does not work
wifi0-eth0 (which was originally wifi0)
My udev is configured thusly - maybe this is not correct:
# This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# PCI device 0x1260:0x3873 (orinoco_pci)
SUBSYSTEM==net, DRIVERS==?*, ATTR{address}==00:09:5b:91:b4:d5, NAME=eth0
# PCI device 0x8086:0x1229 (e100)
SUBSYSTEM==net, DRIVERS==?*, ATTR{address}==00:90:27:7d:4f:c1, NAME=eth1
# PCI device 0x10ec:0x8136 (r8169)
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{address}==00:1f:e2:4d:26:2c,
ATTR{type}==1, KERNEL==eth*, NAME=eth2
# PCI device 0x8086:0x10d3 (e1000e)
SUBSYSTEM==net, ACTION==add, DRIVERS==?*, ATTR{address}==00:1b:21:2f:17:f6,
ATTR{type}==1, KERNEL==eth*, NAME=eth3
I tried configuring wifi0-eth0 instead of eth0, and things improved - it
seemed to work for about 10 minutes, before dropping out again. At the
point it dropped, these errors were logged:
May 9 19:53:03 wibble kernel: [ 1385.797648] wifi0-eth0: Deauthenticate all
stations
May 9 19:53:17 wibble kernel: [ 1399.748039] wifi0-eth0: invalid skb-cb magic
(0x, expected 0xf08a36a2)
May 9 19:53:17 wibble kernel: [ 1400.033415] wifi0-eth0: invalid skb-cb magic
(0x, expected 0xf08a36a2)
May 9 19:53:17 wibble kernel: [ 1400.100778] wifi0-eth0: invalid skb-cb magic
(0x, expected 0xf08a36a2)
May 9 19:53:17 wibble kernel: [ 1400.284335] wifi0-eth0: invalid skb-cb magic
(0x, expected 0xf08a36a2)
May 9 19:53:18 wibble kernel: [ 1400.535118] wifi0-eth0: invalid skb-cb magic
(0x, expected 0xf08a36a2)
May 9 19:53:18 wibble kernel: [ 1400.735920] wifi0-eth0: invalid skb-cb magic
(0x, expected 0xf08a36a2)
May 9 19:53:18 wibble kernel: [ 1401.343013] wifi0-eth0: invalid skb-cb magic
(0x, expected 0xf08a36a2)
May 9 19:53:19 wibble kernel: [ 1401.700024] wifi0-eth0: invalid skb-cb magic
(0x, expected 0xf08a36a2)
May 9 19:53:19 wibble kernel: [ 1401.978109] wifi0-eth0: invalid skb-cb magic
(0x, expected 0xf08a36a2)
May 9 19:53:21 wibble kernel: [ 1403.586140] wifi0-eth0: invalid skb-cb magic
(0x, expected 0xf08a36a2)
May 9 19:53:21 wibble kernel: [ 1404.220220] wifi0-eth0: invalid skb-cb magic
(0x, expected 0xf08a36a2)
May 9 19:58:02 wibble kernel: [ 1684.982056] wifi0-eth0: STA 88:9f:fa:ff:9e:3c
did not ACK activity poll frame
May 9 19:58:03 wibble kernel: [ 1685.960020] wifi0-eth0: sending
disassociation info to STA 88:9f:fa:ff:9e:3c(last=271152, jiffies=346490)
May 9 19:58:04 wibble kernel: [ 1686.960025] wifi0-eth0: sending
deauthentication info to STA 88:9f:fa:ff:9e:3c(last=271152, jiffies=346740)
May 9 19:58:04 wibble kernel: [ 1686.982698] wifi0-eth0: Could not find STA
88:9f:fa:ff:9e:3c for this TX error (@346745)
The problem device is 04:00.0 - the other netork cards (using other
drivers) are all fine.
00:00.0 Host bridge: ATI Technologies Inc RS690 Host Bridge
00:01.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (Internal gfx)
00:04.0 PCI bridge: ATI Technologies Inc Device 7914
00:05.0 PCI bridge: ATI Technologies Inc RS690 PCI to PCI Bridge (PCI Express
Port 1)
00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA
00:13.0 USB Controller: ATI Technologies Inc SB600 USB (OHCI0)
00:13.1 USB Controller: ATI Technologies Inc SB600 USB (OHCI1)
00:13.2 USB Controller: ATI Technologies Inc SB600 USB (OHCI2)
00:13.3 USB Controller: ATI Technologies Inc SB600 USB (OHCI3)
00:13.4 USB Controller: ATI Technologies Inc SB600 USB (OHCI4)
00:13.5 USB Controller: ATI Technologies Inc SB600 USB Controller (EHCI)
00:14.0 SMBus: ATI Technologies Inc SBx00 SMBus Controller (rev 13)
00:14.1 IDE interface: ATI Technologies Inc SB600 IDE
00:14.2 Audio device: ATI Technologies Inc SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: ATI Technologies Inc SB600 PCI to LPC Bridge
00:14.4 PCI bridge: ATI Technologies Inc SBx00 PCI to PCI Bridge
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron]
HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address
Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8