wlan-ng (prism2) driver unable to detect DWL-520 card
OK, so I have a D-Link DWL-520 (Revision E) PCI wireless card. I was able to sucessfully load the driver (version 0.2.1-pre17) on my Redhat 9 installation. The driver loads on startup just fine but when attempting to find the device fails. I have read that boards that are not PCI 2.2 compliant may not work with this card, so I verified that mine has 2.2 PCI slots (which it does).
I thought initially that this may simply be an IRQ conflict or something similar however: /proc/pci reveils the following about the device: Bus 0, device 10, function 0: Network controller: Harris Semiconductor Prism 2.5 Wavelan chipset (rev 1). IRQ 9. Master Capable. Latency=64. Prefetchable 32 bit memory at 0xdddff000 [0xdddfffff]. Which means that the device must get an IRQ. There aren't any other devices attempting to use this IRQ either. When attempting to load the driver dmesg reveils the following error: prism2pci_init: prism2_pci.o: 0.2.1-pre17 Loaded prism2pci_init: dev_info is: prism2_pci PCI: Found IRQ 9 for device 00:0a.0 prism2: Cannot reserve PCI memory region prism2pci_init: prism2_pci: No devices found, driver not installed. I wanted to try to running insmod with the memory region and IRQ specified, however the only parameter I could find that the module will understand is irqlist= and frankly, it looks like the driver is able to find the IRQ of the device just fine and fails reserving a PCI memory region (whatever exactly that entails). I am really not sure what I am doing wrong in this situation. Any help would be greatly appreciated, and if you live in the Twin Cities I'll even buy you lunch :-) Thanks, Reid |
Reserved PCI memory region,
Either your kernel is compiled funny or, more likely, the driver is. Wait... hmm, is this RH9? You mentioned it used to be... if its a newer distro hotplugging is on and the orinoco_pci module was loaded instead. It works better, usually, and "iwconfig" will configure it, unlike the wlan-ng modules. What's the output of /sbin/lsmod And what's the "dmesg" from the top down. Also, how did you install these guys? hand compile, RPM? Cheers, Finegan |
Yeah, its Redhat 9. I compiled the module myself against my current (2.4.20-28.9 Redhat built) kernel, and then added an alias in my modules.conf file.
The output lsmod is this: Module Size Used by Not tainted p80211 25624 0 emu10k1 68360 0 (autoclean) ac97_codec 14536 0 (autoclean) [emu10k1] sound 73492 0 (autoclean) [emu10k1] soundcore 6468 7 (autoclean) [emu10k1 sound] binfmt_misc 7336 1 parport_pc 18788 1 (autoclean) lp 8804 0 (autoclean) parport 36800 1 (autoclean) [parport_pc lp] autofs 13108 0 (autoclean) (unused) 3c59x 29904 1 ipt_REJECT 3992 6 (autoclean) iptable_filter 2412 1 (autoclean) ip_tables 14648 2 [ipt_REJECT iptable_filter] sg 35852 0 (autoclean) sr_mod 17720 0 (autoclean) ide-scsi 11984 0 scsi_mod 106520 3 [sg sr_mod ide-scsi] ide-cd 35424 0 cdrom 33216 0 [sr_mod ide-cd] keybdev 2912 0 (unused) mousedev 5428 1 hid 21892 0 (unused) input 5792 0 [keybdev mousedev hid] usb-uhci 25996 0 (unused) usbcore 78272 1 [hid usb-uhci] ext3 69984 1 jbd 51508 1 [ext3] The prism2 module is actually the p80211 module in this list. A full output of dmesg gives this (its a bit long): Linux version 2.4.20-28.9 (bhcompile@daffy.perf.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Dec 18 13:46:42 EST 2003 BIOS-provided physical RAM map: BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved) BIOS-e820: 00000000000ec000 - 0000000000100000 (reserved) BIOS-e820: 0000000000100000 - 000000001fff0000 (usable) BIOS-e820: 000000001fff0000 - 000000001fff8000 (ACPI data) BIOS-e820: 000000001fff8000 - 0000000020000000 (ACPI NVS) BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved) BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved) BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) 0MB HIGHMEM available. 511MB LOWMEM available. On node 0 totalpages: 131056 zone(0): 4096 pages. zone(1): 126960 pages. zone(2): 0 pages. Kernel command line: ro root=LABEL=/ hdc=ide-scsi ide_setup: hdc=ide-scsi Initializing CPU#0 Detected 900.068 MHz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 1795.68 BogoMIPS Memory: 511372k/524224k available (1334k kernel code, 10288k reserved, 1001k data, 132k init, 0k highmem) Dentry cache hash table entries: 65536 (order: 7, 524288 bytes) Inode cache hash table entries: 32768 (order: 6, 262144 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes) Page-cache hash table entries: 131072 (order: 7, 524288 bytes) CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) CPU: L2 Cache: 256K (64 bytes/line) Intel machine check architecture supported. Intel machine check reporting enabled on CPU#0. CPU: After generic, caps: 0183f9ff c1c7f9ff 00000000 00000000 CPU: Common caps: 0183f9ff c1c7f9ff 00000000 00000000 CPU: AMD Athlon(tm) Processor stepping 02 Enabling fast FPU save and restore... done. Checking 'hlt' instruction... OK. POSIX conformance testing by UNIFIX mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au) mtrr: detected mtrr type: Intel PCI: PCI BIOS revision 2.10 entry at 0xfdb31, last bus=1 PCI: Using configuration type 1 PCI: Probing PCI hardware PCI: Using IRQ router VIA [1106/0686] at 00:07.0 Applying VIA southbridge workaround. isapnp: Scanning for PnP cards... isapnp: No Plug & Play device found Linux NET4.0 for Linux 2.4 Based upon Swansea University Computer Society NET3.039 Initializing RT netlink socket apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16) Starting kswapd VFS: Disk quotas vdquot_6.5.1 pty: 2048 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled ttyS0 at 0x03f8 (irq = 4) is a 16550A ttyS1 at 0x02f8 (irq = 3) is a 16550A Real Time Clock Driver v1.10e Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 NET4: Frame Diverter 0.46 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize Uniform Multi-Platform E-IDE driver Revision: 7.00beta3-.2.4 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx VP_IDE: IDE controller at PCI slot 00:07.1 VP_IDE: chipset revision 6 VP_IDE: not 100% native mode: will probe irqs later VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1 ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA hda: Maxtor 5T020H2, ATA DISK drive blk: queue c03c5920, I/O limit 4095Mb (mask 0xffffffff) hdc: ZIPCD 4x650, ATAPI CD/DVD-ROM drive hdd: BCD-40XH CD-ROM, ATAPI CD/DVD-ROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: attached ide-disk driver. hda: host protected area => 1 hda: 39062500 sectors (20000 MB) w/2048KiB Cache, CHS=2431/255/63, UDMA(100) ide-floppy driver 0.99.newide Partition check: hda: hda1 hda2 hda3 ide-floppy driver 0.99.newide md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 4096 buckets, 32Kbytes TCP: Hash tables configured (established 32768 bind 65536) Linux IP multicast router 0.06 plus PIM-SM NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. RAMDISK: Compressed image found at block 0 Freeing initrd memory: 144k freed VFS: Mounted root (ext2 filesystem). Journalled Block Device driver loaded kjournald starting. Commit interval 5 seconds EXT3-fs: mounted filesystem with ordered data mode. Freeing unused kernel memory: 132k freed usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-uhci.c: $Revision: 1.275 $ time 14:00:06 Dec 18 2003 usb-uhci.c: High bandwidth mode enabled PCI: Found IRQ 10 for device 00:07.3 PCI: Sharing IRQ 10 with 00:07.2 PCI: Sharing IRQ 10 with 00:0f.0 usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 10 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 1 hub.c: USB hub found hub.c: 2 ports detected PCI: Found IRQ 10 for device 00:07.2 PCI: Sharing IRQ 10 with 00:07.3 PCI: Sharing IRQ 10 with 00:0f.0 usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 10 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 2 hub.c: USB hub found hub.c: 2 ports detected usb-uhci.c: v1.275:USB Universal Host Controller Interface driver usb.c: registered new driver hiddev usb.c: registered new driver hid hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz> hid-core.c: USB HID support drivers mice: PS/2 mouse device common for all mice EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal Adding Swap: 1052248k swap-space (priority -1) hdd: attached ide-cdrom driver. hdd: ATAPI 24X CD-ROM drive, 128kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.12 SCSI subsystem driver Revision: 1.00 hdc: attached ide-scsi driver. scsi0 : SCSI host adapter emulation for IDE ATAPI devices Vendor: IOMEGA Model: ZIPCD 4x650 Rev: 1.04 Type: CD-ROM ANSI SCSI revision: 02 parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] parport0: Printer, HEWLETT-PACKARD DESKJET 940C parport_pc: Via 686A parallel port: io=0x378 Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray ip_tables: (C) 2000-2002 Netfilter core team PCI: Found IRQ 10 for device 00:0f.0 PCI: Sharing IRQ 10 with 00:07.3 PCI: Sharing IRQ 10 with 00:07.2 3c59x: Donald Becker and others. www.scyld.com/network/vortex.html See Documentation/networking/vortex.txt 00:0f.0: 3Com PCI 3c905B Cyclone 100baseTx at 0xcc00. Vers LK1.1.18-ac 00:50:da:0b:6d:48, IRQ 10 product code 5842 rev 00.12 date 07-24-99 Internal config register is 1800000, transceivers 0xa. 8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface. MII transceiver found at address 24, status 786d. Enabling bus-master transmits and whole-frame receives. 00:0f.0: scatter/gather enabled. h/w checksums enabled divert: allocating divert_blk for eth0 prism2pci_init: prism2_pci.o: 0.2.1-pre17 Loaded prism2pci_init: dev_info is: prism2_pci PCI: Found IRQ 9 for device 00:0a.0 A Prism2.5 PCI device found, phymem:0xdddff000, irq:9, mem:0xe0927000 divert: allocating divert_blk for wlan0 hfa384x_corereset: corereset: Timed out waiting for cmd register. prism2sta_probe_pci: prism2_pci: hfa384x_corereset() failed. divert: freeing divert_blk for wlan0 prism2pci_init: prism2_pci: No devices found, driver not installed. p80211.o: 0.2.1-pre17 Unloaded parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE] parport0: Printer, HEWLETT-PACKARD DESKJET 940C parport_pc: Via 686A parallel port: io=0x378 lp0: using parport0 (polling). lp0: console ready Creative EMU10K1 PCI Audio Driver, version 0.20, 13:59:50 Dec 18 2003 PCI: Found IRQ 11 for device 00:0c.0 emu10k1: EMU10K1 rev 7 model 0x8061 found, IO at 0xd000-0xd01f, IRQ 11 ac97_codec: AC97 Audio codec, id: 0x8384:0x7608 (SigmaTel STAC9708) emu10k1: SBLive! 5.1 card detected cdrom: This disc doesn't have any tracks I recognize! prism2pci_init: prism2_pci.o: 0.2.1-pre17 Loaded prism2pci_init: dev_info is: prism2_pci PCI: Found IRQ 9 for device 00:0a.0 prism2: Cannot reserve PCI memory region prism2pci_init: prism2_pci: No devices found, driver not installed. Thanks, again! |
All times are GMT -5. The time now is 07:10 PM. |