From: Mike Tyson (flood_at_tzidesign.com)
Date: 2002-08-10 07:23:44 UTC
I'm trying to get a D-Link DWL-520 PCI card going on my Spacewalker Shuttle mini system. I began upgrading to 2.4.19 kernel, which has a Prism 2 driver built in. After rebooting, the device showed up and became eth1 quite happily - iwconfig worked fine and I was able to configure the device. However, ifconfig failed with many io errors. Next, I tried hostap (several versions, with several different kernel configurations and bios configurations). My last attempt has been using the CVS version.
modprobe hostap_pci fails, with a 'No such device' error (more detail below)
My kernel config basically has Wireless Extensions built in, and that's it. I've disabled the inbuilt driver seeing that wasn't getting anywhere.
I'm not sure if it could be a cause, but the wireless card seems to be sharing an IRQ with the firewire controller (pci info below). This is after i moved the card to the second PCI slot in the box - previously, it was sharing an irq with the ethernet controller (eth0).
I'm using Debian Sid, with kernel 2.4.19. The motherboard is a Spacewalker FS40 AMD Athlon/Duron processor based DDR main board.
I've spent about 24 hours on this all up... If anyone can offer a way to get this thing going I'd be eternally grateful! =)
Thanks very much!
modprobe hostap_pci returns:
# modprobe hostap_pci
/lib/modules/2.4.19/net/hostap_pci.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters
/lib/modules/2.4.19/net/hostap_pci.o: insmod hostap_pci failed
The corresponding messages in dmesg are:
hostap_pci: hostap_pci.c 0.0.0 CVS (SSH Communications Security Corp, Jouni Malinen)
hostap_pci: (c) SSH Communications Security Corp <jkm_at_ssh.com> hostap_pci: Registered netdevice wlan0 prism2_hw_init() prism2_hw_config: initialized in 245 iterations wlan0: CMD=0x000a => res=0x7f wlan0: cannot allocate fid, len=2364
hostap_pci: Initialization failed hostap_pci: hardware initialization failed hostap_pci: Netdevice wlan0 unregistered prism2_pci: No devices found, driver not installed. hostap_crypt: unregistered algorithm 'NULL' (deinit)
# cat /proc/pci
Bus 0, device 12, function 0:
Network controller: PCI device 1260:3873 (Harris Semiconductor) (rev 1).
IRQ 12. Master Capable. Latency=32. Prefetchable 32 bit memory at 0xec102000 [0xec102fff]....
Bus 0, device 16, function 0:
FireWire (IEEE 1394): Lucent Microelectronics FW323 (rev 4). IRQ 12. Master Capable. Latency=32. Min Gnt=12.Max Lat=24. Non-prefetchable 32 bit memory at 0xec104000 [0xec104fff]....
# cat /proc/interrupts
CPU0 0: 442799 XT-PIC timer 1: 6 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 3030193 XT-PIC cmpci 8: 3 XT-PIC rtc 11: 2513 XT-PIC eth0 12: 2 XT-PIC ohci1394 14: 57306 XT-PIC ide0 NMI: 0 ERR: 0
00:00.0 Host bridge: Silicon Integrated Systems [SiS]: Unknown device 0740 (rev 01)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP 00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 00:02.2 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07) 00:02.3 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07) 00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (revd0)