fail with wireless network configuration with "SIOCS80211: Invalid argument"

Zhang Weiwu zhangweiwu at realss.com
Sun Oct 12 11:32:36 PDT 2008


Hello. I am trying to get an AboveCable (model: ACPC 2000-01) wireless
card connected to my home network with 40-bit Hex WEP Encryption on 
FreeBSD 6.1.

# ifconfig wi0 inet 192.168.1.90 ssid ZWW wepmode on wepkey 0xea82552825
ifconfig: SIOCS80211: Invalid argument

Did I made anything wrong or miss something in the kernel? I have the
related lines in kernel:

    driver wi
    driver wlan

AboveCable wireless card uses PRIMSA II which is supported by driver wi.
The same card is tested working fine on the same network on Ubuntu Linux
(without needing of firmware or NDIS Wrapper)

dmesg is attached.

# ifconfig -a
plip0: flags=108810<POINTOPOINT,SIMPLEX,MULTICAST,NEEDSGIANT> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
    inet 127.0.0.1 netmask 0xff000000
wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    inet6 fe80::260:b3ff:fe73:3f4f%wi0 prefixlen 64 scopeid 0x3
    ether 00:60:b3:73:3f:4f
    media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps)
    status: no carrier
    ssid ZWW channel 1
    stationname "FreeBSD WaveLAN/IEEE node"
    authmode OPEN privacy ON deftxkey 1 txpowmax 100 bintval 100

-------------- next part --------------
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE #0: Thu Jul  5 12:26:43 CST 2007
    root at quasimodo.realss.com:/usr/obj/usr/src/sys/QUASIMODO
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Pentium/P55C (quarter-micron) (232.11-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x581  Stepping = 1
  Features=0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  = 100466688 (95 MB)
avail memory = 88723456 (84 MB)
Intel Pentium detected, installing workaround for F00F bug
kbd1 at kbdmux0
cpu0 on motherboard
pcib0: <Host to PCI bridge> pcibus 0 on motherboard
pir0: <PCI Interrupt Routing Table: 4 Entries> on motherboard
pci0: <PCI bus> on pcib0
cbb0: <TI1250 PCI-CardBus Bridge> mem 0x20822000-0x20822fff at device 2.0 on pci0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <TI1250 PCI-CardBus Bridge> mem 0x20821000-0x20821fff at device 2.1 on pci0
pccard1: <16-bit PCCard bus> on cbb1
pci0: <display, VGA> at device 3.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 6.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfcf0-0xfcff at device 6.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x9000-0x901f irq 11 at device 6.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge> at device 6.3 (no driver attached)
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc9fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x3bc-0x3c3 irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
sio2: configured irq 5 not in bitmap of probed irqs 0
sio2: port may not be enabled
sio3: configured irq 9 not in bitmap of probed irqs 0
sio3: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0c02> can't assign resources (memory)
unknown: <PNP0400> can't assign resources (port)
pcm0: <CS423x> at port 0x530-0x537,0x388-0x38b,0x220-0x233 irq 5 drq 1,0 on isa0
pcm0: [GIANT-LOCKED]
unknown: <IBM0071> can't assign resources (port)
unknown: <PNP0e03> can't assign resources (port)
Timecounter "TSC" frequency 232106515 Hz quality 800
Timecounters tick every 1.000 msec
wi0: <AboveCable ACPC2000-11> at port 0x100-0x13f irq 10 function 0 config 1 on pccard1
wi0: using RF:PRISM2 MAC:HFA3841 CARD:HWB3163 rev.A
wi0: Intersil Firmware: Primary (0.3.0), Station (0.8.3)
wi0: Ethernet address: 00:60:b3:73:3f:4f
ad0: 3102MB <IBM DTCA-23240 TC5OAB1A> at ata0-master UDMA33
acd0: CDROM <SANYO CRD-S372B/1.24F> at ata0-slave PIO3
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
umass0: Generic Mass Storage, rev 2.00/1.01, addr 2
umass0: Get Max Lun not supported (STALLED)
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Generic Flash Disk 8.07> Removable Direct Access SCSI-2 device 
da0: 1.000MB/s transfers
da0: 4022MB (8238080 512 byte sectors: 255H 63S/T 512C)
WARNING: /usr was not properly dismounted
WARNING: /var was not properly dismounted
ext2fs: da0: wrong magic number 0 (expected 0xef53)
Interrupt storm detected on "irq11:"; throttling interrupt source
ieee80211_load_module: load the wlan_wep module by hand for now.
ieee80211_load_module: load the wlan_wep module by hand for now.
ieee80211_load_module: load the wlan_wep module by hand for now.
ieee80211_load_module: load the wlan_wep module by hand for now.
ieee80211_load_module: load the wlan_wep module by hand for now.
ieee80211_load_module: load the wlan_wep module by hand for now.
ieee80211_load_module: load the wlan_wep module by hand for now.
ieee80211_load_module: load the wlan_wep module by hand for now.
ieee80211_load_module: load the wlan_wep module by hand for now.
umass0: at uhub0 port 1 (addr 2) disconnected
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
umass0: detached
umass0: Generic Flash Disk, rev 1.10/1.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: <Generic USB Flash Drive %z!Y> Removable Direct Access SCSI-2 device 
da0: 1.000MB/s transfers
da0: 124MB (254720 512 byte sectors: 64H 32S/T 124C)


More information about the freebsd-questions mailing list