Date: Thu, 1 Apr 2010 22:19:27 +0300 From: Yury Michurin <yury.michurin@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: rum0 performance < 1Mbps; ath0 reboots system Message-ID: <g2p692c9a9f1004011219z6a4d7995s9d776fd38fd8eee1@mail.gmail.com> In-Reply-To: <496D9FF1.7030901@webmail.vulcano.lt> References: <496D9FF1.7030901@webmail.vulcano.lt>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Deceased, I'm using Edimax EW7318USG<http://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 MB 2.04 MB/s 00: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 <deceased@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). > > 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: rtc 5749743 127 > irq9: uhci2 acpi0 264526 5 > irq10: rl0 uhci0 434405 9 > irq11: cbb0 uhci1+ 25789037 574 > 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 > root@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=0xafe9f9bf<FPU,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 > 0xe8000000-0xefffffff,0xe0000000-0xe007ffff 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 > 0xf0000000-0xf7ffffff,0xe0080000-0xe00fffff 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 > 0xe0100000-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 uhub3 > axe0: AX88772, bufsz 1536, boundary 64 > miibus0: <MII bus> on axe0 > ukphy0: <Generic IEEE 802.3u media interface> PHY 16 on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > axe0: WARNING: using obsoleted if_watchdog interface > axe0: WARNING: using obsoleted IFF_NEEDSGIANT flag > axe0: Ethernet address: 00:1d:7e:01:37:80 > rum0: <Ralink 802.11 bg WLAN, class 0/0, rev 2.00/0.01, addr 3> on uhub3 > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528 > rum0: WARNING: using obsoleted IFF_NEEDSGIANT flag > rum0: Ethernet address: 00:1f:1f:23:8a:b5 > pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0 > pci2: <ACPI PCI bus> on pcib1 > rl0: <RealTek 8139 10/100BaseTX> port 0x3000-0x30ff mem > 0xe0200000-0xe02000ff irq 10 at device 0.0 on pci2 > miibus1: <MII bus> on rl0 > rlphy0: <RealTek internal media interface> PHY 0 on miibus1 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > rl0: Ethernet address: 00:c0:9f:7e:3d:ae > rl0: [ITHREAD] > cbb0: <TI1410 PCI-CardBus Bridge> at device 5.0 on pci2 > cardbus0: <CardBus bus> on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb0: [ITHREAD] > isab0: <PCI-ISA bridge> at device 31.0 on pci0 > isa0: <ISA bus> on isab0 > atapci0: <Intel ICH4 UDMA100 controller> port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1810-0x181f at device 31.1 on pci0 > ata0: <ATA channel 0> on atapci0 > ata0: [ITHREAD] > ata1: <ATA channel 1> on atapci0 > ata1: [ITHREAD] > pci0: <serial bus, SMBus> at device 31.3 (no driver attached) > pci0: <multimedia, audio> at device 31.5 (no driver attached) > pci0: <simple comms, generic modem> at device 31.6 (no driver attached) > acpi_tz0: <Thermal Zone> on acpi0 > atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 > atkbd0: <AT Keyboard> irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > psm0: <PS/2 Mouse> irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: [ITHREAD] > psm0: model IntelliMouse, device ID 3 > cpu0: <ACPI CPU> on acpi0 > p4tcc0: <CPU Frequency Thermal Control> on cpu0 > ichss0: <SpeedStep ICH> on cpu0 > ichss0: enabling SpeedStep support > pmtimer0 on isa0 > orm0: <ISA Option ROMs> at iomem > 0xcd000-0xcdfff,0xdf000-0xdffff,0xe0000-0xe3fff pnpid ORM0000 on isa0 > ppc0: parallel port not found. > sc0: <System console> at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0: configured irq 4 not in bitmap of probed irqs 0 > sio0: port may not be enabled > sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 > sio0: type 8250 or not responding > sio0: [FILTER] > sio1: configured irq 3 not in bitmap of probed irqs 0 > sio1: port may not be enabled > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounter "TSC" frequency 1296757597 Hz quality 800 > Timecounters tick every 1.000 msec > ad0: 38154MB <HTS424040M9AT00 MA2OA72A> at ata0-master UDMA100 > Trying to mount root from ufs:/dev/ad0s1a > WARNING: / was not properly dismounted > Loading configuration files. > kernel dumps on /dev/ad0s1b > Entropy harvesting: > interrupts > ethernet > point_to_point > kickstart > . > swapon: adding /dev/ad0s1b as swap device > Starting file system checks: > /dev/ad0s1a: 3576 files, 137790 used, 116025 free (3353 frags, 14084 > blocks, 1.3% fragmentation) > /dev/ad0s1e: DEFER FOR BACKGROUND CHECKING > /dev/ad0s1f: DEFER FOR BACKGROUND CHECKING > /dev/ad0s1d: DEFER FOR BACKGROUND CHECKING > Setting hostuuid: c0c6ee2e-da32-d911-8a7e-00c09f7e3dae. > Setting hostid: 0x54c2b641. > Mounting local file systems: > WARNING: /tmp was not properly dismounted > WARNING: /usr was not properly dismounted > WARNING: /var was not properly dismounted > . > Setting hostname: nbgw.anm.lan. > net.inet6.ip6.auto_linklocal: > 1 > -> > 0 > > security.bsd.see_other_uids: > 1 > -> > 0 > > net.inet.tcp.blackhole: > 0 > -> > 2 > > net.inet.udp.blackhole: > 0 > -> > 1 > > net.inet.tcp.drop_synfin: > 0 > -> > 1 > > lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > inet6 ::1 prefixlen 128 > inet 127.0.0.1 netmask 0xff000000 > axe0: flags=108843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT> > metric 0 mtu 1500 > ether 00:1d:7e:01:37:80 > media: Ethernet autoselect (100baseTX <full-duplex>) > status: active > rum0: flags=108843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,NEEDSGIANT> > metric 0 mtu 1500 > ether 00:1f:1f:23:8a:b5 > inet 10.10.23.254 netmask 0xffffff00 broadcast 10.10.23.255 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <hostap> > status: associated > ssid anm-lan channel 9 (2452 Mhz 11g) bssid 00:1f:1f:23:8a:b5 > authmode OPEN privacy OFF txpower 50 scanvalid 60 bgscan > bgscanintvl 300 bgscanidle 250 roam:rssi11g 7 roam:rate11g 5 > protmode CTS dtimperiod 1 > rl0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 > options=8<VLAN_MTU> > ether 00:c0:9f:7e:3d:ae > inet 192.168.15.254 netmask 0xffffff00 broadcast 192.168.15.255 > media: Ethernet autoselect (none) > status: no carrier > Starting pflog. > Enabling pf. > Jan 13 21:48:17 pflogd[415]: [priv]: msg PRIV_OPEN_LOG received > No ALTQ support in kernel > ALTQ related functions disabled > pfctl: > pf not enabled > > No ALTQ support in kernel > ALTQ related functions disabled > No ALTQ support in kernel > ALTQ related functions disabled > pf enabled > Additional routing options: > IP gateway=YES > . > Starting devd. > hw.acpi.cpu.cx_lowest: > C1 > -> > C1 > > Additional IP options: > . > Mounting NFS file systems: > . > ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib > a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout > Clearing /tmp (X related). > Starting xfs. > Creating and/or trimming log files: > . > Starting syslogd. > rl0: link state changed to UP > Starting mpd. > Checking for core dump on /dev/ad0s1b... > WARNING: attempt to net_add_domain(netgraph) after domainfinalize() > savecore: no dumps found > Initial i386 initialization: > . > Additional ABI support: > . > Starting named. > Jan 13 21:48:21 nbgw named[751]: the working directory is not writable > Starting dhcpd. > Starting dbus. > Starting hald. > Starting local daemons: > . > Updating motd > . > Mounting late file systems: > . > Configuring syscons: > blanktime > . > Starting sshd. > Starting cron. > Local package initialization: > . > Starting inetd. > Starting hostapd. > Configuration file: /etc/hostapd.conf > Starting background file system checks in 60 seconds. > > interface=rum0 > > logger_syslog=-1 > logger_syslog_level=0 > logger_stdout=-1 > logger_stdout_level=0 > debug=4 > dump_file=/tmp/hostapd.dump > > ctrl_interface=/var/run/hostapd > ctrl_interface_group=wheel > ssid=anm-lan > wpa=1 > wpa_passphrase=Ylm4Adlt0LOBobZtvRJy6 > wpa_key_mgmt=WPA-PSK > wpa_pairwise=CCMP > ieee8021x=0 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?g2p692c9a9f1004011219z6a4d7995s9d776fd38fd8eee1>