From owner-freebsd-questions@FreeBSD.ORG Thu Apr 1 19:48:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73414106564A for ; Thu, 1 Apr 2010 19:48:58 +0000 (UTC) (envelope-from yury.michurin@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id D196F8FC12 for ; Thu, 1 Apr 2010 19:48:57 +0000 (UTC) Received: by wyb33 with SMTP id 33so685854wyb.13 for ; Thu, 01 Apr 2010 12:48:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type; bh=8uMyS9FZTyAcv4dlG6SmVuCjrfESuXDOP5I7BYcIBP0=; b=grjVlUaKyEzBZ3UKB4BV52U32nMlZixdMIHz92A+nyNnvZ+CiTV/5sobqCCm1eKN/2 USavArALp5Q9CAaqkU5zp/HWTnsEdiYcK7oPUJrEgOJ3MAG4HgwNcV5KeGzfvBGZdltf 7b/HMwczlLdvfAvI4UPUCiIQCOKzua+iaCn4c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=BMlma9L7cZDHY0eU2FYuQObf6Si3Buj4KVxsx721wil/XG8ZfrNk6n40gPlDLaEeLZ +F001jEFe/+hfEl2A1dfdjtrheKdHH4dTw2nal52dpJ8pfRjTy3biyuWxissKrVWaFkc +EZC5grTzcJRzxZ/XVaySWVgxEZvr/O5TZAss= MIME-Version: 1.0 Received: by 10.216.86.77 with HTTP; Thu, 1 Apr 2010 12:19:27 -0700 (PDT) In-Reply-To: <496D9FF1.7030901@webmail.vulcano.lt> References: <496D9FF1.7030901@webmail.vulcano.lt> Date: Thu, 1 Apr 2010 22:19:27 +0300 Received: by 10.216.85.132 with SMTP id u4mr629819wee.191.1270149567954; Thu, 01 Apr 2010 12:19:27 -0700 (PDT) Message-ID: From: Yury Michurin To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: rum0 performance < 1Mbps; ath0 reboots system X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Apr 2010 19:48:58 -0000 Hi Deceased, I'm using Edimax EW7318USG(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 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 > 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: 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: port 0x62,0x66 on acpi0 > acpi_acad0: on acpi0 > battery0: on acpi0 > acpi_lid0: on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pci0: at device 0.1 (no driver attached) > pci0: at device 0.3 (no driver attached) > vgapci0: port 0x1800-0x1807 mem > 0xe8000000-0xefffffff,0xe0000000-0xe007ffff irq 10 at device 2.0 on pci0 > agp0: on vgapci0 > agp0: detected 32636k stolen memory > agp0: aperture size is 128M > vgapci1: mem > 0xf0000000-0xf7ffffff,0xe0080000-0xe00fffff at device 2.1 on pci0 > uhci0: port 0x1820-0x183f irq > 10 at device 29.0 on pci0 > uhci0: [GIANT-LOCKED] > uhci0: [ITHREAD] > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: on usb0 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0x1840-0x185f irq > 11 at device 29.1 on pci0 > uhci1: [GIANT-LOCKED] > uhci1: [ITHREAD] > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: on usb1 > uhub1: 2 ports with 2 removable, self powered > uhci2: port 0x1860-0x187f at > device 29.2 on pci0 > uhci2: [GIANT-LOCKED] > uhci2: [ITHREAD] > usb2: on uhci2 > usb2: USB revision 1.0 > uhub2: on usb2 > uhub2: 2 ports with 2 removable, self powered > ehci0: 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: on ehci0 > usb3: USB revision 2.0 > uhub3: on usb3 > uhub3: 6 ports with 6 removable, self powered > axe0: > on uhub3 > axe0: AX88772, bufsz 1536, boundary 64 > miibus0: on axe0 > ukphy0: 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: 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: at device 30.0 on pci0 > pci2: on pcib1 > rl0: port 0x3000-0x30ff mem > 0xe0200000-0xe02000ff irq 10 at device 0.0 on pci2 > miibus1: on rl0 > rlphy0: PHY 0 on miibus1 > rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > rl0: Ethernet address: 00:c0:9f:7e:3d:ae > rl0: [ITHREAD] > cbb0: at device 5.0 on pci2 > cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb0: [ITHREAD] > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1810-0x181f at device 31.1 on pci0 > ata0: on atapci0 > ata0: [ITHREAD] > ata1: on atapci0 > ata1: [ITHREAD] > pci0: at device 31.3 (no driver attached) > pci0: at device 31.5 (no driver attached) > pci0: at device 31.6 (no driver attached) > acpi_tz0: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbd0: [ITHREAD] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: [ITHREAD] > psm0: model IntelliMouse, device ID 3 > cpu0: on acpi0 > p4tcc0: on cpu0 > ichss0: on cpu0 > ichss0: enabling SpeedStep support > pmtimer0 on isa0 > orm0: at iomem > 0xcd000-0xcdfff,0xdf000-0xdffff,0xe0000-0xe3fff pnpid ORM0000 on isa0 > ppc0: parallel port not found. > sc0: 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: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > Timecounter "TSC" frequency 1296757597 Hz quality 800 > Timecounters tick every 1.000 msec > ad0: 38154MB 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 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 > metric 0 mtu 1500 > ether 00:1d:7e:01:37:80 > media: Ethernet autoselect (100baseTX ) > status: active > rum0: flags=108843 > 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 > 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 metric 0 mtu 1500 > options=8 > 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" >