WLAN card is identified correctly but cannot be configured
张有康
bjpu02071202 at emails.bjut.edu.cn
Wed Jun 28 20:50:15 EDT 2006
Hi!
I have been trying to solve this issue for several weeks. Though i read the
PCMCIA-HOTO "Resolving installation and configuration problems", i did not get the
solution. I think you can help me with this problem, thanks very much.
I want to drive Wireless LAN Card DWL-650 which is inserted in an PCI-PCMCIA
card(CardBus bridge: Ricoh Co Ltd RL5c475), and the PCI-PCMCIA card is inserted in
an PCI slot on the Xilinx ML310 board (Vertex-II FPGA, ppc405).
root at 172.25.3.161:~# /etc/init.d/pcmcia start
Starting PCMCIA services: cardmgr[371]: watching 1 sockets
done.
root at 172.25.3.161:~# cardctl insert
hostap_cs: 0.1.1 - 2003-10-19 (Jouni Malinen <jkmaline at cc.hut.fi>)
hostap_cs: RequestIO: Resource in use
hostap_cs: GetNextTuple: No more items
root at 172.25.3.161:~# more /var/lib/pcmcia/stab
Socket 0: D-Link DWL-650 11Mbps WLAN Card
root at 172.25.3.161:~# cardctl status
Socket 0:
3.3V 16-bit PC Card
function 0: [ready], [bat low]
root at 172.25.3.161:~# cardctl ident
Socket 0:
product info: "D", "Link DWL-650 11Mbps WLAN Card", "Version 01.02", ""
manfid: 0x0156, 0x0002
function: 6 (network)
root at 172.25.3.161:~# cardctl config
Socket 0:
Vcc 3.3V Vpp1 3.3V Vpp2 3.3V
root at 172.25.3.161:~# lspci -v
00:01.0 Multimedia audio controller: Acer Laboratories Inc. [ALi]: Unknown devic
e 5451 (rev 02)
Subsystem: Acer Laboratories Inc. [ALi]: Unknown device 5451
Flags: bus master, medium devsel, latency 128, IRQ 31
I/O ports at ff00 [size=256]
Memory at 37fff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [dc] Power Management version 2
00:02.0 ISA bridge: Acer Laboratories Inc. [ALi] M1533 PCI to ISA Bridge [Aladdi
n IV]
Subsystem: Acer Laboratories Inc. [ALi] ALI M1533 Aladdin IV ISA Bridge
Flags: bus master, medium devsel, latency 0, IRQ 31
Capabilities: [a0] Power Management version 1
00:03.0 Modem: Acer Laboratories Inc. [ALi]: Unknown device 5457 (prog-if 00 [Ge
neric])
Subsystem: Acer Laboratories Inc. [ALi]: Unknown device 5457
Flags: bus master, medium devsel, latency 128, IRQ 31
Memory at 37ffe000 (32-bit, non-prefetchable) [size=4K]
I/O ports at fe00 [size=256]
Capabilities: [40] Power Management version 2
00:07.0 Ethernet controller: Intel Corporation 82557 [Ethernet Pro 100] (rev 09)
Subsystem: Intel Corporation EtherExpress PRO/100+ Management Adapter
Flags: bus master, medium devsel, latency 128, IRQ 31
Memory at 37ffd000 (32-bit, non-prefetchable) [size=4K]
I/O ports at fdc0 [size=64]
Memory at 37fc0000 (32-bit, non-prefetchable) [size=128K]
Expansion ROM at <unassigned> [disabled] [size=1M]
Capabilities: [dc] Power Management version 2
00:09.0 PCI bridge: Texas Instruments: Unknown device ac23 (rev 02) (prog-if 00
[Normal decode])
Flags: bus master, medium devsel, latency 0
Bus: primary=00, secondary=01, subordinate=02, sec-latency=0
I/O behind bridge: 0000b000-0000efff
Memory behind bridge: 37a00000-37efffff
Prefetchable memory behind bridge: 37900000-379fffff
Capabilities: [dc] Power Management version 1
00:0b.0 IDE interface: Acer Laboratories Inc. [ALi] M5229 IDE (rev c4) (prog-if
ff)
Flags: bus master, medium devsel, latency 128, IRQ 31
I/O ports at aff8 [size=8]
I/O ports at aff4 [size=4]
I/O ports at afe8 [size=8]
I/O ports at afe4 [size=4]
I/O ports at afd0 [size=16]
Capabilities: [60] Power Management version 2
00:0c.0 Non-VGA unclassified device: Acer Laboratories Inc. [ALi] M7101 PMU
Flags: medium devsel, IRQ 31
00:0f.0 USB Controller: Acer Laboratories Inc. [ALi] M5237 USB (rev 03) (prog-if
10 [OHCI])
Flags: bus master, medium devsel, latency 128, IRQ 31
Memory at 378ff000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [60] Power Management version 2
01:02.0 CardBus bridge: Ricoh Co Ltd RL5c475
Flags: bus master, medium devsel, latency 168, IRQ 31
Memory at 37eff000 (32-bit, non-prefetchable) [size=4K]
Bus: primary=01, secondary=02, subordinate=02, sec-latency=176
Memory window 0: 37aff000-37efe000 (prefetchable)
I/O window 0: 0000b000-0000efff
I/O window 1: 00000000-00000003
16-bit legacy interface ports at 0001
===== And the file /var/log/syslog is:
Jan 1 00:00:23 172 syslogd 1.4.1: restart.
Jan 1 00:00:24 172 inetd[106]: Online and ready (1 sockets)
Jun 28 09:55:08 172 cardmgr[371]: watching 1 sockets
Jun 28 09:55:08 172 cardmgr[372]: starting, version is 3.1.34
Jun 28 09:56:12 172 cardmgr[372]: socket 0: D-Link DWL-650 11Mbps WLAN Card
Jun 28 09:56:12 172 cardmgr[372]: executing: 'modprobe hostap'
Jun 28 09:56:13 172 kernel: hostap_crypt: registered algorithm 'NULL'
Jun 28 09:56:13 172 cardmgr[372]: executing: 'modprobe hostap_cs'
Jun 28 09:56:13 172 kernel: hostap_cs: 0.1.1 - 2003-10-19 (Jouni Malinen
<jkmaline at cc.hut.fi>)
Jun 28 09:56:13 172 kernel: hostap_cs: setting Vcc=33 (constant)
Jun 28 09:56:13 172 kernel: hostap_cs: CS_EVENT_CARD_INSERTION
Jun 28 09:56:13 172 kernel: hostap_cs: setting Vcc=33 (from config)
Jun 28 09:56:13 172 kernel: Checking CFTABLE_ENTRY 0x01 (default 0x01)
Jun 28 09:56:13 172 kernel: IO window settings: cfg->io.nwin=1 dflt.io.nwin=1
Jun 28 09:56:13 172 kernel: io->flags = 0x0046, io.base=0x0000, len=64
Jun 28 09:56:13 172 kernel: CardServices(RequestIO) returned 30
Jun 28 09:56:13 172 kernel: hostap_cs: RequestIO: Resource in use
Jun 28 09:56:13 172 kernel: hostap_cs: GetNextTuple: No more items
Jun 28 09:56:13 172 kernel: eth%%d: card already removed or not configured during
shutdown
Jun 28 09:56:14 172 cardmgr[372]: get dev info on socket 0 failed: Resource
temporarily unavailable
Jun 28 09:56:14 172 kernel: hostap_free_data: ap has not yet been initialized -
skip resource freeing
Jun 28 09:56:14 172 kernel: unregister_netdevice: device eth%%d/c7713000 never was
registered
Jun 28 09:56:17 172 kernel: eth0: TX underrun, threshold adjusted.
Jun 28 09:56:17 172 last message repeated 2 times
===== And the file /var/log/dmesg is:
Linux version 2.4.20_mvl31-ml300 (zqg at ibm-ae06778d472) (gcc version 3.3.1
(MontaVista 3.3.1-3.0.10.0300532 2003-12-24)) #4 Tue Jun 27 21:58:55 2006
Xilinx Virtex-II Pro port (C) 2002 MontaVista Software, Inc. (source at mvista.com)
On node 0 totalpages: 32768
zone(0): 32768 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,9600 ip=bootp root=/dev/nfs rw
Xilinx INTC #0 at 0xD0000FC0 mapped to 0xFDFEBFC0
Console: colour dummy device 80x25
Calibrating delay loop... 299.00 BogoMIPS
Memory: 127124k available (1684k kernel code, 592k data, 112k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
Buffer-cache hash table entries: 8192 (order: 3, 32768 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
POSIX conformance testing by UNIFIX
PCI: Probing PCI hardware
ppc405_map_irq: 1 1, res = 31
ppc405_map_irq: 2 1, res = 31
ppc405_map_irq: 3 1, res = 31
ppc405_map_irq: 7 1, res = 31
ppc405_map_irq: 9 1, res = 31
ppc405_map_irq: 11 1, res = 31
ppc405_map_irq: 12 1, res = 31
ppc405_map_irq: 15 1, res = 31
ppc405_map_irq: 9 3, res = 31
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
OCP uart ver 1.6.2 init complete
LSP Revision 1
ikconfig 0.5 with /proc/ikconfig
Starting kswapd
Disabling the Out Of Memory Killer
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch at atnf.csiro.au)
devfs: boot_options: 0x1
initialize_kbd: Keyboard reset failed, no ACK
Detected PS/2 Mouse Port.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI
enabled
ttyS00 at 0xfdfff003 (irq = 24) is a 16450
Redundant entry in serial pci_table. Please send the output of
lspci -vv, this message (10b9,5457,10b9,5457)
and the manufacturer and name of serial board or modem board
to serial-pci-info at lists.sourceforge.net.
register_serial(): autoconfig failed
xgpio #0 at 0x90000000 mapped to 0xC900D000
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller on PCI bus 00 dev 58
ALI15X3: chipset revision 196
ALI15X3: 100% native mode on irq 31
ide0: BM-DMA at 0xafd0-0xafd7, BIOS settings: hda:pio, hdb:pio
ali15x3: isa_dev = -939835392
ali15x3: hwif->irq = 31
ide1: BM-DMA at 0xafd8-0xafdf, BIOS settings: hdc:pio, hdd:pio
ali15x3: isa_dev = -939835392
ali15x3: hwif->irq = 31
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Partition check:
xsysacea: p1 p2
System ACE at 0xCF000000 mapped to 0xC9013000, irq=25, 500472KB
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin
<saw at saw.sw.com.sg> and others
eth0: Invalid EEPROM checksum 0xff78, check settings before activating this
device!
eth0: OEM i82557/i82558 10/100 Ethernet, 00:0A:35:00:6A:E0, IRQ 31.
Board assembly 727095-004, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0x1d68d8db).
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
Trident 4DWave/SiS 7018/ALi 5451,Tvia CyberPro 5050 PCI Audio, version 0.14.10h,
22:00:43 Jun 27 2006
trident: ALi Audio Accelerator found at IO 0xff00, IRQ 31
ac97_codec: AC97 Audio codec, id: NSC80(National Semiconductor LM4550)
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus]
usb.c: registered new driver hub
usb-ohci-pci.c: USB OHCI at membase 0xc901d000, IRQ 31
usb-ohci-pci.c: usb-00:0f.0, PCI device 10b9:5237
Yenta IRQ list 0000, PCI irq31
Socket status: 30000810
usb.c: new USB bus registered, assigned bus number 1
usb.c: kmalloc IF c03dd900, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB OHCI Root Hub
SerialNumber: c901d000
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
hub.c: global over-current protection
hub.c: Port indicators are not supported
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port removable status: RR
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface c03dd900
usb.c: kusbd: /sbin/hotplug add 1
usb.c: kusbd policy returned 0xfffffffe
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 1024 buckets, 8Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
Sending BOOTP requests .<7>eth0: TX underrun, threshold adjusted.
OK
IP-Config: Got BOOTP answer from 172.25.3.122, my address is 172.25.3.161
IP-Config: Complete:
device=eth0, addr=172.25.3.161, mask=255.255.255.0, gw=255.255.255.255,
host=172.25.3.161, domain=, nis-domain=(none),
bootserver=172.25.3.122, rootserver=172.25.3.122,
rootpath=/root/my_work_dir/myfilesystem/target
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 172.25.3.122
Looking up port of RPC 100005/1 on 172.25.3.122
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 112k init
eth0: TX underrun, threshold adjusted.
eth0: TX underrun, threshold adjusted.
eth0: TX underrun, threshold adjusted.
eth0: TX underrun, threshold adjusted.
eth0: TX underrun, threshold adjusted.
eth0: TX underrun, threshold adjusted.
eth0: TX underrun, threshold adjusted.
===== If you need other system memssages, please tell me.
Thanks again.
Y.K Zhang
More information about the linux-pcmcia
mailing list