Re: rum0 performance 1Mbps; ath0 reboots system

2010-04-01 Thread Yury Michurin
Hi Deceased,
I'm using Edimax
EW7318USGhttp://airodump.net/naked-wifi-edimax-7318-photogalery/(RT2571)
with rum0, works fine for me after setting:
ifconfig_rum0=inet 10.0.0.1 netmask 255.255.255.0 ssid FreeBSD channel 7
media OFDM/54Mbps mode 11g mediaopt hostap

when media was in autoselect i was getting poor rates  500kb, after
setting the OFDM/54Mbps I'm getting ~2MB/s:
100% |*|98 MB2.04 MB/s00:00
ETA
226 File send OK.
103660722 bytes received in 00:48 (2.04 MB/s)
( transfer from the fbsd box to my laptop )

You can see available mediaopts with ifconfig -m rum0.

The only problem i'm currently having is after a while stations fail to
auth, which is resolved by restarting hostapd, I don't have a lead on that
one yet. ;\

If you interested, you can find my configs here:
http://www.blog.freebsd.co.il/2010/03/%D7%A9%D7%A8%D7%AA-freebsd-%D7%9B%D7%A0%D7%AA%D7%91-%D7%90%D7%9C%D7%97%D7%95%D7%98%D7%99/
( the text is in hebrew, but you'll get the idea, based on configs from:
http://www.howtoforge.com/setting_up_a_freebsd_wlan_access_point )

Best regards,
Yury.

On Wed, Jan 14, 2009 at 10:18 AM, Deceased decea...@webmail.vulcano.ltwrote:

 Hi, List,

 Recently I've set up my non-lcd-wokring HP NX9020 notebook as ADSL
 gateway and AP on 7.1-release

 Everything works well except wireless. I have LogiLink WL0025 (RT2573)
 which users rum(4) driver. I now it's not recomended to use rum cards as
 hostap, but my ath(4) card works even worse(later on that).

 IT is a USB stick so if it was connected as USB 1.0 device i would
 expect that kind of performance, but it's not (i guess :) )

 addr 1: UHCI root hub, Intel, device uhub0
 addr 1: UHCI root hub, Intel, device uhub1
 addr 1: UHCI root hub, Intel, device uhub2
 addr 1: EHCI root hub, Intel, device uhub3
  addr 2: product 0x0018, vendor 0x13b1, device axe0
  addr 3: 802.11 bg WLAN, Ralink, device rum0

 Also mind that I'm using USB ethernet adapter on the same USB root hub.

 I tried to use Netgear WG511T (atheros 5212) (carbus) but it constantly
 couses IRQ storms with cbb0 device, after I disable acpi it works, but
 even slower than rum0 card and panics the machine if I remove the card
 from working machine.

 Any thoughts would be appreciated.
 dmesg attached.


 nbgw# vmstat -i
 interrupt  total   rate
 irq0: clk   44926114   1000
 irq1: atkbd0 186  0
 irq8: rtc5749743127
 irq9: uhci2 acpi0 264526  5
 irq10: rl0 uhci0  434405  9
 irq11: cbb0 uhci1+  25789037574
 irq12: psm0  136  0
 irq14: ata0   646740 14
 Total   77810887   1732

 opyright (c) 1992-2009 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 module_register: module uhub/rum already exists!
 Module uhub/rum failed to register: 17
 Timecounter i8254 frequency 1193182 Hz quality 0
 CPU: Intel(R) Celeron(R) M processor 1.30GHz (1296.76-MHz 686-class
 CPU)
  Origin = GenuineIntel  Id = 0x6d6  Stepping = 6

  
 Features=0xafe9f9bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE
 real memory  = 502136832 (478 MB)
 avail memory = 477327360 (455 MB)
 kbd1 at kbdmux0
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
 acpi0: HP 3084 on motherboard
 acpi0: [ITHREAD]
 acpi0: Power Button (fixed)
 Timecounter ACPI-fast frequency 3579545 Hz quality 1000
 acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
 acpi_ec0: Embedded Controller: GPE 0x1d port 0x62,0x66 on acpi0
 acpi_acad0: AC Adapter on acpi0
 battery0: ACPI Control Method Battery on acpi0
 acpi_lid0: Control Method Lid Switch on acpi0
 acpi_button0: Power Button on acpi0
 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
 pci0: ACPI PCI bus on pcib0
 pci0: base peripheral at device 0.1 (no driver attached)
 pci0: base peripheral at device 0.3 (no driver attached)
 vgapci0: VGA-compatible display port 0x1800-0x1807 mem
 0xe800-0xefff,0xe000-0xe007 irq 10 at device 2.0 on pci0
 agp0: Intel 8285xM (85xGM GMCH) SVGA controller on vgapci0
 agp0: detected 32636k stolen memory
 agp0: aperture size is 128M
 vgapci1: VGA-compatible display mem
 0xf000-0xf7ff,0xe008-0xe00f at device 2.1 on pci0
 uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0x1820-0x183f irq
 10 at device 29.0 on pci0
 uhci0: [GIANT-LOCKED]
 uhci0: [ITHREAD]
 usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0
 usb0: USB revision 1.0
 uhub0: 

rum0 performance 1Mbps; ath0 reboots system

2009-01-14 Thread Deceased
Hi, List,

Recently I've set up my non-lcd-wokring HP NX9020 notebook as ADSL
gateway and AP on 7.1-release

Everything works well except wireless. I have LogiLink WL0025 (RT2573)
which users rum(4) driver. I now it's not recomended to use rum cards as
hostap, but my ath(4) card works even worse(later on that).

IT is a USB stick so if it was connected as USB 1.0 device i would
expect that kind of performance, but it's not (i guess :) )

addr 1: UHCI root hub, Intel, device uhub0
addr 1: UHCI root hub, Intel, device uhub1
addr 1: UHCI root hub, Intel, device uhub2
addr 1: EHCI root hub, Intel, device uhub3
 addr 2: product 0x0018, vendor 0x13b1, device axe0
 addr 3: 802.11 bg WLAN, Ralink, device rum0

Also mind that I'm using USB ethernet adapter on the same USB root hub.

I tried to use Netgear WG511T (atheros 5212) (carbus) but it constantly
couses IRQ storms with cbb0 device, after I disable acpi it works, but
even slower than rum0 card and panics the machine if I remove the card
from working machine.

Any thoughts would be appreciated.
dmesg attached.


nbgw# vmstat -i
interrupt  total   rate
irq0: clk   44926114   1000
irq1: atkbd0 186  0
irq8: rtc5749743127
irq9: uhci2 acpi0 264526  5
irq10: rl0 uhci0  434405  9
irq11: cbb0 uhci1+  25789037574
irq12: psm0  136  0
irq14: ata0   646740 14
Total   77810887   1732
opyright (c) 1992-2009 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
module_register: module uhub/rum already exists!
Module uhub/rum failed to register: 17
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: Intel(R) Celeron(R) M processor 1.30GHz (1296.76-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0x6d6  Stepping = 6
  
Features=0xafe9f9bfFPU,VME,DE,PSE,TSC,MSR,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE
real memory  = 502136832 (478 MB)
avail memory = 477327360 (455 MB)
kbd1 at kbdmux0
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
acpi0: HP 3084 on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x1008-0x100b on acpi0
acpi_ec0: Embedded Controller: GPE 0x1d port 0x62,0x66 on acpi0
acpi_acad0: AC Adapter on acpi0
battery0: ACPI Control Method Battery on acpi0
acpi_lid0: Control Method Lid Switch on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
pci0: base peripheral at device 0.1 (no driver attached)
pci0: base peripheral at device 0.3 (no driver attached)
vgapci0: VGA-compatible display port 0x1800-0x1807 mem 
0xe800-0xefff,0xe000-0xe007 irq 10 at device 2.0 on pci0
agp0: Intel 8285xM (85xGM GMCH) SVGA controller on vgapci0
agp0: detected 32636k stolen memory
agp0: aperture size is 128M
vgapci1: VGA-compatible display mem 
0xf000-0xf7ff,0xe008-0xe00f at device 2.1 on pci0
uhci0: Intel 82801DB (ICH4) USB controller USB-A port 0x1820-0x183f irq 10 at 
device 29.0 on pci0
uhci0: [GIANT-LOCKED]
uhci0: [ITHREAD]
usb0: Intel 82801DB (ICH4) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb0
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801DB (ICH4) USB controller USB-B port 0x1840-0x185f irq 11 at 
device 29.1 on pci0
uhci1: [GIANT-LOCKED]
uhci1: [ITHREAD]
usb1: Intel 82801DB (ICH4) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801DB (ICH4) USB controller USB-C port 0x1860-0x187f at device 
29.2 on pci0
uhci2: [GIANT-LOCKED]
uhci2: [ITHREAD]
usb2: Intel 82801DB (ICH4) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 on usb2
uhub2: 2 ports with 2 removable, self powered
ehci0: Intel 82801DB/L/M (ICH4) USB 2.0 controller mem 0xe010-0xe01003ff 
irq 11 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
ehci0: [ITHREAD]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: Intel 82801DB/L/M (ICH4) USB 2.0 controller on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 on usb3
uhub3: 6 ports with 6 removable, self powered
axe0: vendor 0x13b1 product 0x0018, class 255/255, rev 2.00/0.01, addr 2 on 

Re: rum0 performance 1Mbps; ath0 reboots system

2009-01-14 Thread Paul B. Mahol
On 1/14/09, Deceased decea...@webmail.vulcano.lt wrote:
 Hi, List,

 Recently I've set up my non-lcd-wokring HP NX9020 notebook as ADSL
 gateway and AP on 7.1-release

 Everything works well except wireless. I have LogiLink WL0025 (RT2573)
 which users rum(4) driver. I now it's not recomended to use rum cards as
 hostap, but my ath(4) card works even worse(later on that).

rum(4) is known to have bad rx signals, eg. it is not complete.
Also speed depends on reported tx rate; visible from ifconfig rum0 output.
old usb stack have its own limits ...

-- 
Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org