Re: ath0: bogus xmit rate 0x0
Alexandre wrote: On the other hand, I can't use OFDM54 and use the 802.11g feature. What if you leave the media on autoselect but specify mode 11g in your /etc/hostname.ath0 file?? Sevan
Re: ath0: bogus xmit rate 0x0
Thanks for your help, all, especially Reyk, Sevan, Fred, Joakim. Here is some more information. My card is a NETGEAR Wireless PCI Adapter 32-bit WG311T and I use my box as an AP. Reyk, I patched my sys with your file. I have this message: /bsd: ath0: bogus xmit rate 0x0 (idx 0x3) Sevan advised me to use "media autoselect" He was right, it works and the 11M is applied by default. To remind you, I did force the DS11 > cat /etc/hostname.ath0 inet 192.168.1.1 255.255.255.0 NONE media DS11 chan 8 nwid SPEENICS mediaopt hostap Thanks Sevan and sorry for annoying the list. On the other hand, I can't use OFDM54 and use the 802.11g feature. Well, it's not a problem for me, but I can perform tests for you, Reyk, if you need. Bye.
Re: ath0: bogus xmit rate 0x0
the patch has stopped the errors from appearing extract from GENERIC kernel from the latest snapshot (OpenBSD 3.8-current (GENERIC) #236: Wed Nov 9 18:56:51 MST 2005) ifmedia_set: no match for 0x20/0x ifmedia_match: multiple match for 0x22/0x, selected instance 0 ath0 at pci0 dev 20 function 0 "Atheros AR5212" rev 0x01: irq 11 ath0: AR5213 5.9 phy 4.3 rf5112 3.6, FCC2A*, address 00:0b:6b:34:af:46 /etc/hostname.ath0 inet 10.10.10.1 255.255.255.0 NONE media DS1 mediaopt hostap nwid venture37 mode 11b new kernel: OpenBSD 3.8-current (GENERIC) #0: Fri Nov 11 19:23:07 GMT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: VIA Nehemiah ("CentaurHauls" 686-class) 802 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,SEP,MTRR,PGE,CMOV,PAT,MMX,FXSR,SSE cpu0: RNG AES real mem = 234401792 (228908K) avail mem = 207044608 (202192K) using 2886 buffers containing 11821056 bytes (11544K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(ed) BIOS, date 10/27/04, BIOS32 rev. 0 @ 0xfacf0 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 70102 dobusy 1 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0xd964 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfd8c0/144 (7 entries) pcibios0: PCI Exclusive IRQs: 10 11 pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT82C596A ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc/0xf600 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "VIA VT8623 PCI" rev 0x00 ppb0 at pci0 dev 1 function 0 "VIA VT8633 AGP" rev 0x00 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 "VIA CLE266" rev 0x03: aperture at 0xd800, size 0x1000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) pciide0 at pci0 dev 15 function 0 "VIA VT82C571 IDE" rev 0x06: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: wd0: 16-sector PIO, LBA, 6149MB, 12594960 sectors wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 atapiscsi0 at pciide0 channel 1 drive 1 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: SCSI0 5/cdrom removable cd0(pciide0:1:1): using PIO mode 4, DMA mode 2 uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x81: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x81: irq 11 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x81: irq 11 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered uhci3 at pci0 dev 16 function 3 "VIA VT83C572 USB" rev 0x81: irq 11 usb3 at uhci3: USB revision 1.0 uhub3 at usb3 uhub3: VIA UHCI root hub, rev 1.00/1.00, addr 1 uhub3: 2 ports with 2 removable, self powered ehci0 at pci0 dev 16 function 4 "VIA VT6202 USB" rev 0x86: irq 11 usb4 at ehci0: USB revision 2.0 uhub4 at usb4 uhub4: VIA EHCI root hub, rev 2.00/1.00, addr 1 uhub4: 8 ports with 8 removable, self powered pcib0 at pci0 dev 17 function 0 "VIA VT8237 ISA" rev 0x00 vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x78: irq 10, address 00:40:63:dc:17:76 ukphy0 at vr0 phy 0: Generic IEEE 802.3u media interface, rev. 0: OUI 0x00, model 0x0020 ukphy1 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 8: OUI 0x08, model 0x4063 ukphy2 at vr0 phy 2: Generic IEEE 802.3u media interface, rev. 0: OUI 0x00, model 0x0020 ukphy3 at vr0 phy 3: Generic IEEE 802.3u media interface, rev. 0: OUI 0x00, model 0x0020 ukphy4 at vr0 phy 4: Generic IEEE 802.3u media interface, rev. 0: OUI 0x00, model 0x0020 ukphy5 at vr0 phy 5: Generic IEEE 802.3u media interface, rev. 0: OUI 0x00, model 0x0020 ukphy6 at vr0 phy 6: Generic IEEE 802.3u media interface, rev. 0: OUI 0x00, model 0x0020 ukphy7 at vr0 phy 7: Generic IEEE 802.3u media interface, rev. 0: OUI 0x00, model 0x0020 ukphy8 at vr0 phy 8: Generic IEEE 802.3u media interface, rev. 0: OUI 0x00, model 0x0020 ukphy9 at vr0 phy 9: Generic IEEE 802.3u media interface, rev. 0: OUI 0x00, model 0x0020 ukphy10 at vr0 phy 10: Generic IEEE 802.3u media interface, rev. 0: OUI 0x00, model 0x0020 ukphy11 at vr0 phy 11: Generic IEEE 802.3u media interface, rev. 0: OUI 0x00, model 0x0020 ukphy12 at vr0 phy 12: Generic IEEE 802.3u media interface, rev. 0: OUI 0x00, model 0x0020 ukphy13 at vr0 phy 13: Generic IEEE 802.3u media interface, rev. 0: OUI 0x00, model 0x0020 ukphy14 at vr0 phy 14: Generic IEEE 802.3u media interface, rev. 0: OUI 0x00, model 0x0020 ukphy15 at vr0 phy 15: Generic IEEE 802.3u media interface, rev. 0: OUI 0x00, model 0x0020 ukphy16
Re: ath0: bogus xmit rate 0x0
Im getting the same problem, it only appears if you have specified a media type eg DS1 if you set the interface to autoselect if works fine, I've just installed -CURRENT & about to try the patch Reyk posted :) Sevan
Re: ath0: bogus xmit rate 0x0
On Wed, Nov 09, 2005 at 08:17:14PM +0100, Alexandre wrote: > I have an atheros based card on my OpenBSD 3.8. > When I activate it, I have this error message > > ath0: bogus xmit rate 0x0 > could you please try it with the following patch for ath again? it won't fix the problem, it just adds additional information for me. reyk Index: ath.c === RCS file: /cvs/src/sys/dev/ic/ath.c,v retrieving revision 1.42 diff -u -p -r1.42 ath.c --- ath.c 23 Sep 2005 20:06:50 - 1.42 +++ ath.c 11 Nov 2005 14:04:56 - @@ -2281,8 +2281,9 @@ ath_tx_start(struct ath_softc *sc, struc rix = sc->sc_rixmap[ni->ni_rates.rs_rates[ni->ni_txrate] & IEEE80211_RATE_VAL]; if (rix == 0xff) { - printf("%s: bogus xmit rate 0x%x\n", ifp->if_xname, - ni->ni_rates.rs_rates[ni->ni_txrate]); + printf("%s: bogus xmit rate 0x%x (idx 0x%x)\n", + ifp->if_xname, ni->ni_rates.rs_rates[ni->ni_txrate], + ni->ni_txrate); sc->sc_stats.ast_tx_badrate++; m_freem(m0); return EIO;
Re: ath0: bogus xmit rate 0x0
On Wed, Nov 09, 2005 at 08:17:14PM +0100, Alexandre wrote: > I have an atheros based card on my OpenBSD 3.8. > When I activate it, I have this error message > > ath0: bogus xmit rate 0x0 > i recently changed the driver to use rssadapt(9) but there seems to be a bug under some circumstances. please hang on, i'll fix it asap or back out it. reyk
Re: ath0: bogus xmit rate 0x0
What brand, model, and revision is this card? /Joakim * Alexandre ([EMAIL PROTECTED]) wrote: > Hi again, > > Well, in doubt, I got the latest kernel and the latest userland, in case > there would have been corrections (Thanks Fred) compiled everything and > I still have the > > ath0: bogus xmit rate 0x0 > > Maybe it's due to my card version (AR5213 and not AR5212 as I saw in the > archives), as dmesg writes: > > ath0 at pci0 dev 9 function 0 "Atheros AR5212" rev 0x01: irq 9 > ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, FCC2A*, address > 00:09:5b:e8:5f:e9 > > I have the message only when a client (my windows or my PC) connects to > the hotspot. > My client is connected, but no trafic passes (tried ping, tcpdumps and > so on). > > Thanks. > > > Fred Crowson wrote: > >Alexandre wrote: > > > >>Hi all, > >> > >>I have an atheros based card on my OpenBSD 3.8. > >>When I activate it, I have this error message > >> > >>ath0: bogus xmit rate 0x0 > >> > >>coming regurlaly when I try and ping another machine. > >> > >>Here is an extract of my dmesg : > >> > >>ath0 at pci0 dev 9 function 0 "Atheros AR5212" rev 0x01: irq 9 > >>ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, FCC2A*, address > >>00:09:5b:e8:5f:e9 > >> > >>My hostname.ath0 is: > >> > >>inet 192.168.1.1 255.255.255.0 NONE media DS11 chan 8 nwid SPEENICS > >>mediaopt hostap > >> > >>The laptop on which I have a wifi card (Netgear WG511) runs either > >>Linux or Windows XP. I just put the adress 192.168.1.2 and I tried a > >>ping from both side, but there is no answer. > >> > >>No wep or PF is used while testing. > >> > >>uname -a gives > >>OpenBOpenBSD hades.olympe.div 3.8 GENERIC#4 i386 > >> > >>Thanks. > >> > > > >Hi, > > > >There have been changes to ath in -current see: > > > >http://marc.theaimsgroup.com/?l=openbsd-misc&m=112867773214527&w=2 > > > >HTH > > > >Fred
Re: ath0: bogus xmit rate 0x0
Hi again, Well, in doubt, I got the latest kernel and the latest userland, in case there would have been corrections (Thanks Fred) compiled everything and I still have the ath0: bogus xmit rate 0x0 Maybe it's due to my card version (AR5213 and not AR5212 as I saw in the archives), as dmesg writes: ath0 at pci0 dev 9 function 0 "Atheros AR5212" rev 0x01: irq 9 ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, FCC2A*, address 00:09:5b:e8:5f:e9 I have the message only when a client (my windows or my PC) connects to the hotspot. My client is connected, but no trafic passes (tried ping, tcpdumps and so on). Thanks. Fred Crowson wrote: Alexandre wrote: Hi all, I have an atheros based card on my OpenBSD 3.8. When I activate it, I have this error message ath0: bogus xmit rate 0x0 coming regurlaly when I try and ping another machine. Here is an extract of my dmesg : ath0 at pci0 dev 9 function 0 "Atheros AR5212" rev 0x01: irq 9 ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, FCC2A*, address 00:09:5b:e8:5f:e9 My hostname.ath0 is: inet 192.168.1.1 255.255.255.0 NONE media DS11 chan 8 nwid SPEENICS mediaopt hostap The laptop on which I have a wifi card (Netgear WG511) runs either Linux or Windows XP. I just put the adress 192.168.1.2 and I tried a ping from both side, but there is no answer. No wep or PF is used while testing. uname -a gives OpenBOpenBSD hades.olympe.div 3.8 GENERIC#4 i386 Thanks. Hi, There have been changes to ath in -current see: http://marc.theaimsgroup.com/?l=openbsd-misc&m=112867773214527&w=2 HTH Fred
Re: ath0: bogus xmit rate 0x0
Alexandre wrote: Hi all, I have an atheros based card on my OpenBSD 3.8. When I activate it, I have this error message ath0: bogus xmit rate 0x0 coming regurlaly when I try and ping another machine. Here is an extract of my dmesg : ath0 at pci0 dev 9 function 0 "Atheros AR5212" rev 0x01: irq 9 ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, FCC2A*, address 00:09:5b:e8:5f:e9 My hostname.ath0 is: inet 192.168.1.1 255.255.255.0 NONE media DS11 chan 8 nwid SPEENICS mediaopt hostap The laptop on which I have a wifi card (Netgear WG511) runs either Linux or Windows XP. I just put the adress 192.168.1.2 and I tried a ping from both side, but there is no answer. No wep or PF is used while testing. uname -a gives OpenBOpenBSD hades.olympe.div 3.8 GENERIC#4 i386 Thanks. Hi, There have been changes to ath in -current see: http://marc.theaimsgroup.com/?l=openbsd-misc&m=112867773214527&w=2 HTH Fred
Re: ath0: bogus xmit rate 0x0
> On Wed, 09 Nov 2005 20:17:14 +0100 > Alexandre <[EMAIL PROTECTED]> wrote: > >> Hi all, >> > [...] >> >> uname -a gives >> OpenBOpenBSD hades.olympe.div 3.8 GENERIC#4 i386 > Are you sure your uname -a output is correct? Well, hum, I had a typo. I meant that I am under 3.8-current. Thanks.
Re: ath0: bogus xmit rate 0x0
On Wed, 09 Nov 2005 20:17:14 +0100 Alexandre <[EMAIL PROTECTED]> wrote: > Hi all, > [...] > > uname -a gives > OpenBOpenBSD hades.olympe.div 3.8 GENERIC#4 i386 Are you sure your uname -a output is correct? > > Thanks. > Jasper -- "Security is decided by quality" -- Theo de Raadt
ath0: bogus xmit rate 0x0
Hi all, I have an atheros based card on my OpenBSD 3.8. When I activate it, I have this error message ath0: bogus xmit rate 0x0 coming regurlaly when I try and ping another machine. Here is an extract of my dmesg : ath0 at pci0 dev 9 function 0 "Atheros AR5212" rev 0x01: irq 9 ath0: AR5213 5.6 phy 4.1 rf5111 1.7 rf2111 2.3, FCC2A*, address 00:09:5b:e8:5f:e9 My hostname.ath0 is: inet 192.168.1.1 255.255.255.0 NONE media DS11 chan 8 nwid SPEENICS mediaopt hostap The laptop on which I have a wifi card (Netgear WG511) runs either Linux or Windows XP. I just put the adress 192.168.1.2 and I tried a ping from both side, but there is no answer. No wep or PF is used while testing. uname -a gives OpenBOpenBSD hades.olympe.div 3.8 GENERIC#4 i386 Thanks.
Re: Wireless issue (ath0: bogus xmit rate 0x0 error)
On Fri, Oct 07, 2005 at 02:20:37AM +0200, Fred Crowson wrote: > ath0: bogus xmit rate 0x0 > ok, thanks. i think damien just fixed something similar in ral and it's probably related to the switch to rssadapt(9). reyk
Wireless issue (ath0: bogus xmit rate 0x0 error)
Hi List, I'm running 3.8 from the snapshot 2nd Oct, which I upgraded from 3.7, on a soekris net4501. My problem, is probably offtopic, but I'm hoping the wisdom of this list will point me in the right direction. I have an apple iBook G4 which will not connect to my OpenBSD ath0 minipci card in the soekris, I just get the following errors: ath0: bogus xmit rate 0x0 The iBook associates with the wireless network and I can connect to two other OpenBSD machines with wi0 and ipw0 cards in, which are running on the same wireless LAN. When the net4501 was running 3.7 I would get the same error message, but if I toggled the airport on and off on the ibook I would usually get a connection, or the soekris would crash, I caught a ps and partial trace from one of the 3.7 crashes which is shown below. Can anyone suggest away of resolving the iBooks inability to talk to the ath0 card? My dmesg, hostname.ath0 and the ps and trace follow. Thanks, in advance, Fred kernel:kernel: page fault trap, code=0 Stopped at Xrecurse_legacy8+0x7d: movl0x4(%ebx),%eax ddb> ps PID PPID PGRPUID S FLAGS WAIT COMMAND kernel: page fault trap, code=0 Faulted in DDB; continuing... ddb> trace Xrecurse_legacy8() at Xrecurse_legacy8+0x7d --- interrupt --- Xspllower(800,3a,0,0) at Xspllower+0xe cnputc(3a,6,d06d1bac,d01e24d1,6) at cnputc+0x26 db_putchar(3a,14,0,6) at db_putchar+0xc6 kprintf(d04fbc88,14,0,0,d06d1c98) at kprintf+0xe20 db_printf(d04fbc88,0,0,0) at db_printf+0x2d kdbprinttrap(6,0,0,0,0) at kdbprinttrap+0x18 kdb_trap(6,0,d06d1d34,600) at kdb_trap+0x46 trap() at trap+0xa9 --- trap (number 6) --- pmap_extract(d05cf940,d66d6800,d06d1dcc,0,d05cf940) at pmap_extract+0x36 _bus_dmamap_load_buffer(d0570440,d0836880,d66d6800,600,0) at _bus_dmamap_load_b uffer+0x58 _bus_dmamap_load_mbuf(d0570440,d0836880,d29c3100,1) at _bus_dmamap_load_mbuf+0x 90 ath_tx_start(d0839000,d092cc00,d083c5cc,d29c3100) at ath_tx_start+0x1b9 ath_start(d0839030,d65591b8,4c1b8,d65591e4) at ath_start+0xfc ath_rx_proc(d0839000,1,d0101f20,d06d21b4) at ath_rx_proc+0x1d6 ath_intr1(d0839000) at ath_intr1+0x130 Xrecurse_legacy10() at Xrecurse_legacy10+0x8a --- interrupt --- --db_more-- Xdoreti() at Xdoreti+0x23 --- interrupt --- Xdoreti() at Xdoreti+0x23 --- interrupt --- Xdoreti() at Xdoreti+0x7 --- interrupt --- Xdoreti() at Xdoreti+0x23 --- interrupt --- Xdoreti() at Xdoreti+0x23 --- interrupt --- Xdoreti() at Xdoreti+0x23 --- interrupt --- Xdoreti() at Xdoreti+0x23 --- interrupt --- Xdoreti() at Xdoreti+0x23 --- interrupt --- Xdoreti() at Xdoreti+0x7 --- interrupt --- Xdoreti() at Xdoreti+0x11 --- interrupt --- Xdoreti() at Xdoreti+0x23 --- interrupt --- Xdoreti() at Xdoreti+0x7 --db_more-- At this point I pressed the wrong key on the console and the soekris rebooted. Here is my hostname.ath0: inet 10.0.5.1 255.255.255.0 NONE media DS11 mediaopt hostap nwid wifinet nwkey x Here is the complete dmesg: OpenBSD 3.8-current (GENERIC) #169: Sun Oct 2 15:06:50 MDT 2005 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 ("AuthenticAMD" 486-class) cpu0: FPU real mem = 66691072 (65128K) avail mem = 53411840 (52160K) using 839 buffers containing 3436544 bytes (3356K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 20/41/22, BIOS32 rev. 0 @ 0xf7840 pcibios0 at bios0: rev 2.0 @ 0xf/0x1 pcibios0: pcibios_get_intr_routing - function not supported pcibios0: PCI IRQ Routing information unavailable. pcibios0: PCI bus #0 is the last bus bios0: ROM list: 0xc8000/0x9000 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (bios) elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product 0 stepping 1.1, CPU clock 133MHz, reset 1 gpio0 at elansc0: 32 pins ath0 at pci0 dev 16 function 0 "Atheros AR5212" rev 0x01: irq 10 ath0: AR5213 5.9 phy 4.3 rf5112 3.6, FCC2A*, address 00:02:6f:21:ef:1c sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq 11, address 00:00:24:c3:ff:20 nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1 sis1 at pci0 dev 19 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq 5, address 00:00:24:c3:ff:21 nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1 sis2 at pci0 dev 20 function 0 "NS DP83815 10/100" rev 0x00: DP83816A, irq 9, address 00:00:24:c3:ff:22 nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1 isa0 at mainbus0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard wdc0 at isa0 port 0x1f0/8 irq 14 wd0 at wdc0 channel 0 drive 0: wd0: 1-sector PIO, LBA, 488MB, 1000944 sectors wd0(wdc0:0:0): using BIOS timings pcppi0 at isa0 port 0x61 midi0 at pcppi0: spkr0 at pcppi0 sysbeep0 at pcppi0 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 i