Date: Sun, 11 Feb 2001 17:58:58 +1300 From: "Dan Langille" <dan@langille.org> To: freebsd-mobile@freebsd.org Subject: pccard with orinoco PCI adaptor Message-ID: <200102110440.f1B4emE65385@ns1.unixathome.org>
next in thread | raw e-mail | index | archive | help
I have an Orinoco gold card and I'm trying to get it working with a PCI adaptor in my desktop box. I'm failing. I've tried several different irq and mem addresses without success. From the archives this seems to be a common problem, but all the suggestions are to change your irq and mem. I can configure the card: # ifconfig wi0 inet 10.0.0.2 netmask 255.255.255.0 and ping it: # ping 10.0.0.2 PING 10.0.0.2 (10.0.0.2): 56 data bytes 64 bytes from 10.0.0.2: icmp_seq=0 ttl=255 time=0.083 ms 64 bytes from 10.0.0.2: icmp_seq=1 ttl=255 time=0.044 ms But I see these messages in /var/log/messages: Feb 11 16:45:15 xeon /kernel: wi0: tx buffer allocation failed Feb 11 16:45:15 xeon /kernel: f Feb 11 16:45:32 xeon /kernel: wi0: device timeout Feb 11 16:45:32 xeon /kernel: wi0: tx buffer allocation failed Feb 11 16:45:32 xeon /kernel: wi0: xmit failed Feb 11 16:45:32 xeon /kernel: wi0: device timeout Feb 11 16:45:32 xeon /kernel: wi0: tx buffer allocation failed Feb 11 16:46:02 xeon /kernel: wi0: xmit failed ^C I have no idea why the above occurs. I fear it may be the reason why I can't ping another wireless card which doesn't produce these messages. And I have done this on both boxes to invoke ad-hoc mode: wicontrol -i wi0 -p 3 [root@xeon:~] # netstat -m 175/176/4096 mbufs in use (current/peak/max): 99 mbufs allocated to data 76 mbufs allocated to packet headers 34/36/1024 mbuf clusters in use (current/peak/max) 116 Kbytes allocated to network (3% of mb_map in use) 0 requests for memory denied 0 requests for memory delayed 0 calls to protocol drain routines I've ruled out IRQ conflicts: # dmesg | grep irq IOAPIC #0 intpin 2 -> irq 0 IOAPIC #0 intpin 17 -> irq 11 IOAPIC #0 intpin 18 -> irq 10 IOAPIC #0 intpin 19 -> irq 9 pci1: <NVidia Riva Vanta TNT2 graphics accelerator> at 0.0 irq 11 ata0: at 0x1f0 irq 14 on atapci0 uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xef80-0xef9f irq 9 at device 7.2 on pci0 ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0xe800-0xe8ff mem 0xfebff000-0xfebfffff irq 10 at device 13.0 on pci0 de0: <Digital 21041 Ethernet> port 0xec00-0xec7f mem 0xfebfef80-0xfebfefff irq 10 at device 18.0 on pci0 pcic-pci0: TI12XX PCI Config Reg: [pwr save][FUNC pci int + CSC serial isa irq] fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0 psm0: <PS/2 Mouse> irq 12 on atkbdc0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0 wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 3 slot 0 on pccard0 # more /etc/pccard.conf # Lucent WaveLAN/IEEE card "Lucent Technologies" "WaveLAN/IEEE" config 0x1 "wi" 3 insert /etc/pccard_ether $device start remove /etc/pccard_ether $device stop I have also tried irq 5, 7, 8, and 13 with varying results. 5 - Feb 11 17:44:03 xeon /kernel: wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 5 slot 0 on pccard0 Feb 11 17:44:03 xeon /kernel: wi0: Ethernet address: 00:02:2d:0e:52:04 Feb 11 17:44:03 xeon pccardd[58]: wi0: Lucent Technologies (WaveLAN/IEEE) inserted. Feb 11 17:44:07 xeon /kernel: wi0: tx buffer allocation failed Feb 11 17:44:07 xeon /kernel: wi0: xmit failed Feb 11 17:44:09 xeon /kernel: wi0: device timeout Feb 11 17:44:09 xeon /kernel: wi0: tx buffer allocation failed Feb 11 17:44:09 xeon /kernel: wi0: xmit failed 7 - No card in database for "(null)"("(null)") 8 - Feb 11 17:36:01 xeon /kernel: pcic0: Error 22 irq 8 Feb 11 17:36:01 xeon /kernel: wi0: bus_setup_intr() failed! (22) Feb 11 17:36:01 xeon /kernel: device_probe_and_attach: wi0 attach returned 22 Feb 11 17:36:01 xeon pccardd[58]: driver allocation failed for Lucent Technologies(WaveLAN/IEEE): Invalid argument 13 - Feb 11 17:39:45 xeon /kernel: wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 13 slot 0 on pccard0 Feb 11 17:39:45 xeon /kernel: wi0: Ethernet address: 00:02:2d:0e:52:04 Feb 11 17:39:45 xeon pccardd[58]: wi0: Lucent Technologies (WaveLAN/IEEE) inserted. Feb 11 17:39:49 xeon /kernel: wi0: tx buffer allocation failed Feb 11 17:39:49 xeon /kernel: wi0: xmit failed Feb 11 17:40:00 xeon /kernel: wi0: device timeout Feb 11 17:40:00 xeon /kernel: wi0: tx buffer allocation failed Feb 11 17:40:00 xeon /kernel: wi0: xmit failed Feb 11 17:40:00 xeon /kernel: wi0: device timeout Feb 11 17:40:00 xeon /kernel: wi0: tx buffer allocation failed # grep pccard /etc/rc.conf pccard_enable="YES" # Set to YES if you want to configure PCCARD devices. pccard_mem="0xd8000" pccard_ifconfig="inet 10.0.0.2 netmask 255.255.255.0" Which gives: wi0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 inet 10.0.0.2 netmask 0xffffff00 broadcast 10.0.0.255 inet6 fe80::202:2dff:fe0e:5204%wi0 prefixlen 64 scopeid 0xb ether 00:02:2d:0e:52:04 I've also tried pccard_mem="0xd4000" and pccard_mem="0xd0000". In both cases, the card is not recognized and gives: No card in database for "(null)"("(null)") Some dmesg extracts: pcic-pci0: <TI PCI-1410 PCI-CardBus Bridge> at device 20.0 on pci0 pcic-pci0: TI12XX PCI Config Reg: [pwr save][FUNC pci int + CSC serial isa irq] pcic0: <VLSI 82C146> at port 0x3e0 iomem 0xd0000 on isa0 pcic0: Polling mode pccard0: <PC Card bus -- kludge version> on pcic0 pccard1: <PC Card bus -- kludge version> on pcic0 pccard: card inserted, slot 0 pccard: card inserted, slot 1 wi0: <WaveLAN/IEEE 802.11> at port 0x240-0x27f irq 3 slot 0 on pccard0 wi0: Ethernet address: 00:02:2d:0e:52:04 thanks. -- Dan Langille pgpkey - finger dan@unixathome.org | http://unixathome.org/finger.php To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102110440.f1B4emE65385>