Re: FreeBSD-8.0 802.11n support with ath/mwl

2010-03-07 Thread Sam Leffler
Jim Pingle wrote: On 2/28/2010 10:16 PM, Rui Paulo wrote: On 1 Mar 2010, at 03:05, Jim Pingle wrote: On 2/28/2010 9:41 PM, Rui Paulo wrote: On 1 Mar 2010, at 02:26, Jim Pingle wrote: Ah, I wasn't aware of wlandebug(8). However, it doesn't seem to operate on this mwl(4) card. It sets the

Re: atheros broadcast/multicast corruption with multiple hostap's

2010-01-23 Thread Sam Leffler
Russell Yount wrote: On Sun, Jan 17, 2010 at 1:45 PM, Sam Leffler s...@errno.com mailto:s...@errno.com wrote: Russell Yount wrote: On Sat, Jan 16, 2010 at 3:21 PM, Sam Leffler s...@errno.com mailto:s...@errno.com mailto:s...@errno.com mailto:s...@errno.com

Re: atheros broadcast/multicast corruption with multiple hostap's

2010-01-17 Thread Sam Leffler
Russell Yount wrote: On Sat, Jan 16, 2010 at 3:21 PM, Sam Leffler s...@errno.com mailto:s...@errno.com wrote: Russell Yount wrote: It seems AP to client broadcasts/multicasts traffic is broken when using WPA2/802.11i with multiple hostapds in 8.0. Only the SSID

Re: atheros broadcast/multicast corruption with multiple hostap's

2010-01-16 Thread Sam Leffler
Russell Yount wrote: It seems AP to client broadcasts/multicasts traffic is broken when using WPA2/802.11i with multiple hostapds in 8.0. Only the SSID associated with the last hostapd to be started has AP to client broadcasts/multicasts being delivered correctly. The AP and client are 8.0

Re: ath hostap problems

2010-01-16 Thread Sam Leffler
Nenhum_de_Nos wrote: On Tue, January 5, 2010 00:09, Nenhum_de_Nos wrote: hail, I have a Core 2 Duo 2.66 GHz as a wifi ap: Jan 4 22:31:08 xxx kernel: cpu_reset: Stopping other CPUs Jan 4 22:31:08 xxx kernel: Copyright (c) 1992-2010 The FreeBSD Project. Jan 4 22:31:08 xxx kernel: Copyright

Re: Problems with Atheros card and hostpd

2009-12-27 Thread Sam Leffler
Derek Kulinski wrote: Hello Boris, I checked the handbook, UPDATING, and nothing mentioned this thing, why? I would think I'm not the only one with this problem, or am I? Anyway it seems to work, I'm getting: Starting hostapd. Configuration file: /etc/hostapd.conf wlan0: IEEE 802.11

Re: Problems with Atheros card and hostpd

2009-12-27 Thread Sam Leffler
Derek Kulinski wrote: Hello Sam, Sunday, December 27, 2009, 12:05:34 PM, you wrote: I didn't see anything in the thread to point a finger at freebsd but given the debug msg log shows ath0 instead of wlan0 I'm guessing whatever version was being used was pre-8.x. I think I was the only one

Re: Problems moving hostapd AP config from 6.4 to 8.0RC2

2009-11-11 Thread Sam Leffler
Geoff Roberts wrote: Hi Sam, On Mon, 9 Nov 2009 03:48:41 am Sam Leffler wrote: snip So your station associated and hostapd saw it but nothing in your logs shows what hostapd did or did not do to complete the radius handshake. All we see is that hostapd dropped the station--presumably because

Re: Problems moving hostapd AP config from 6.4 to 8.0RC2

2009-11-08 Thread Sam Leffler
Geoff Roberts wrote: Hi, I had a working hostapd wireless access point configuration in FreeBSD 6.4. The access point is being used by Windows XP workstations. I was using WPA-EAP with freeradius authentication very successfully on the 6.4 backend. After making the changes for a new

Re: ral(4) on 8-RC1

2009-10-04 Thread Sam Leffler
Matt Dawson wrote: On Saturday 03 Oct 2009 19:28:50 you wrote: ral probably does not populate it's initial channel list according to the device capabilities. I'm guessing it falls back on the system code to do that and it fills in only channels 1-11. This means future changes to

Re: ral(4) on 8-RC1

2009-10-03 Thread Sam Leffler
Matt Dawson wrote: Odd little issue just cropped up on my lappie running 8.0-RC1 amd64. On 7.2 the ral(4) wireless NIC (2560 1st gen mini-PCI) gave me the Japanese regulatory domain allocations (2.412GHz to 2.477GHz, 14 channels) on 802.11g. I understand a lot has changed with 802.11 on 8, but

Re: 8-RC1: iwn0 suspend/resume issues

2009-09-27 Thread Sam Leffler
Scott Lambert wrote: Threading broken to avoid potential takover of ral0 thread. On Sat, Sep 26, 2009 at 02:33:26AM +, Brandon Gooch wrote: On Fri, Sep 25, 2009 at 11:29 PM, Scott Lambert lamb...@lambertfam.org wrote: iwn does not function after resume so I've actually run ethernet

Re: SASL problems with spnego on 8.0-BETA4

2009-09-18 Thread Sam Leffler
Rick Macklem wrote: On Fri, 18 Sep 2009, John Marshall wrote: On Thu, 17 Sep 2009, 21:28 +0300, George Mamalakis wrote: Dear all, I am trying to setup ldap with heimdal on my fbsd 8.0-BETA4 and when I run ldapsearch to see if I can authenticate via GSSAPI I keep getting the following

Re: net/iwi-firmware refuses to build on 7.2-STABLE

2009-07-01 Thread Sam Leffler
Andre Albsmeier wrote: Today I wanted to build net/iwi-firmware on 7.2-STABLE and I got === iwi-firmware-2.4_8 is configured with iwicontrol(8) which you don't need, use 'make rmconfig' and uncheck CONTROL. While the firmware itself is in the base system, iwicontrol(8) is not. The port

Re: malo wireless driver - is this capable of wpa2-personal (WPA2-PSK)

2009-06-11 Thread Sam Leffler
John wrote: Hello list, uname -prs FreeBSD 7.2-RELEASE-p1 amd64 Question as subject, really. Is the malo driver capable of WPA2 under FreeBSD? ? If so, how would it be set? I've tried various wireless options via ifconfig, can't seem to get it to work, so am wondering if it is capable of it. I

Re: kernel compile fails without AH_SUPPORT_AR5416

2009-05-01 Thread Sam Leffler
Bruce Simpson wrote: Hi, Can you please try this patch? I can't commit it until STABLE is unfrozen after 7.2-RELEASE is cut. Sam Leffler wrote: Bruce Simpson wrote: Hi, Looks like I'm late to the party. I was responsible for committing these ath(4) changes to RELENG_7. I can't remember

Re: kernel compile fails without AH_SUPPORT_AR5416

2009-05-01 Thread Sam Leffler
Sam Leffler wrote: Bruce Simpson wrote: Hi, Can you please try this patch? I can't commit it until STABLE is unfrozen after 7.2-RELEASE is cut. Sam Leffler wrote: Bruce Simpson wrote: Hi, Looks like I'm late to the party. I was responsible for committing these ath(4) changes

Re: kernel compile fails without AH_SUPPORT_AR5416

2009-05-01 Thread Sam Leffler
Bruce Simpson wrote: Sam Leffler wrote: ... the ath_hal device. Do not modify ah_desc.h like you've done. Add this to conf/options ATH_HAL opt_ah.h and use that to enable AH_SUPPORT_AR5416. To clarify the first comment: you've made it impossible to build code w/o the extended format

Re: cbb related panic: resource_list_release: resource entry is not busy

2009-04-30 Thread Sam Leffler
Lars Engels wrote: On 7.2-RC2 when I remove an Atheros wireless pccard causes the following panic: Unread portion of the kernel message buffer: panic: resource_list_release: resource entry is not busy cpuid = 1 Uptime: 4m28s Physical memory: 2019 MB Dumping 138 MB: 123 107 91 75 59 43 (CTRL-C

Re: kernel compile fails without AH_SUPPORT_AR5416

2009-04-21 Thread Sam Leffler
Bruce Simpson wrote: Hi, Looks like I'm late to the party. I was responsible for committing these ath(4) changes to RELENG_7. I can't remember if I tested the kernel compile without the AH_SUPPORT_AR5416 option or not, I have been so incredibly busy. Dennis Melentyev wrote: 2009/4/16

Re: kernel compile fails without AH_SUPPORT_AR5416

2009-04-16 Thread Sam Leffler
Maxim Sobolev wrote: Dennis Melentyev wrote: Could be worth an entry in UPDATING and/or explicitly added to GENERIC. My point is that if the option is mandatory for compiling ath(4) driver, then there is no point in having this option in the first place. There is an entry in UPDATING and

Re: ural driver stalls under FreeBSD7.1

2009-02-27 Thread Sam Leffler
Bengt Ahlgren wrote: Weongyo Jeong weongyo.je...@gmail.com writes: On Thu, Feb 26, 2009 at 06:04:17PM -0800, Sam Leffler wrote: Bengt Ahlgren wrote: Weongyo Jeong weongyo.je...@gmail.com writes: On Thu, Feb 26, 2009 at 01:20:36PM +0900, Nathan Butcher wrote

Re: ural driver stalls under FreeBSD7.1

2009-02-26 Thread Sam Leffler
Bengt Ahlgren wrote: Weongyo Jeong weongyo.je...@gmail.com writes: On Thu, Feb 26, 2009 at 01:20:36PM +0900, Nathan Butcher wrote: I have a Buffalo WLI-U2-KG54-AI wireless USB adaptor. It has been malfunctioning for quite a while under FreeBSD7.0 and 7.1 Typically, It works for a

Re: Recommended wireless card (or is there a chance to get either iwi or ath fixed)?

2009-02-25 Thread Sam Leffler
Chris Rees wrote: 2009/2/25 Paul B. Mahol one...@gmail.com: On 2/24/09, SDH Support ad...@stardothosting.com wrote: I tried using my ath based D-Link DWL G650, which still seems to have some issues in regard to interrupt handling: I've been able to get /most/ wireless cards

Re: CFT: ath hal src switchover

2009-02-11 Thread Sam Leffler
Bengt Ahlgren wrote: Uwe Laverenz u...@laverenz.de writes: Sam Leffler schrieb: those changes. To do this you must have an up to date RELENG_7 code base and then apply this patch: http://people.freebsd.org/~sam/ath_hal-releng7.patch Then rebuild your kernel. There should

Re: iwn driver on 7.1 [no vaps in RELENG_7]

2009-01-19 Thread Sam Leffler
the latest version of the benjsc perforce branch, you are probably using the same as I, since I took the initial version from the sam_vap branch (before vap got introduced). I do not know how far it is, but there is vap_releng7 in the sam perforce and projects/vap7 in svn on which Sam Leffler

HEADS UP: build changes

2009-01-12 Thread Sam Leffler
r187106 syncs the Makefiles with HEAD so that RELENG_7 has the same set of build knobs. Let me know if you see any oddities that you can trace to this commit. Sam ___ freebsd-stable@freebsd.org mailing list

CFT: ath hal src switchover

2009-01-08 Thread Sam Leffler
I've brought the hal source code back to RELENG_7 but not connected it to the build and/or driver. I want folks to test this before I commit those changes. To do this you must have an up to date RELENG_7 code base and then apply this patch:

[Fwd: Re: kern/123552: [ath] [panic] kernel panic during network activity on ath0]

2008-11-21 Thread Sam Leffler
Folks having problems with ath on releng7 should try the attached patch. Sam Index: ieee80211_freebsd.h === RCS file: /usr/ncvs/src/sys/net80211/ieee80211_freebsd.h,v retrieving revision 1.15.2.1 diff -u -r1.15.2.1

Re: [Fwd: Re: kern/123552: [ath] [panic] kernel panic during network activity on ath0]

2008-11-21 Thread Sam Leffler
Sean C. Farley wrote: On Fri, 21 Nov 2008, Sam Leffler wrote: Folks having problems with ath on releng7 should try the attached patch. It fixed the panic when SuperG was activated on the wireless router for me. Thank you! Guy Coleman gets any credit; I just recognized what the root cause

Re: What is cryptosoft0?

2008-08-06 Thread Sam Leffler
Ulrich Spoerlein wrote: Hi, today I discovered the following dmesg line on my laptop: cryptosoft0: software crypto on motherboard and I've not seen this one before, so: what is cryptosoft and should I care? I could imagine it's a pseudo-device by crypto(9) so the API is the same whether

Re: 80 Mb / enough for 7.x? OK to delete /stand/ and /modules/ ?

2008-08-02 Thread Sam Leffler
M. Warner Losh wrote: In message: [EMAIL PROTECTED] fbsd2 [EMAIL PROTECTED] writes: : Greetings list, : :Given recent EOL announcements, I'm trying to upgrade an ancient machine from 5.5 to 7. It has 80 Mb total in the root partition, /home/, /var/, /usr/, and /tmp/ on other

Re: busybox and small scripting languages on FreeBSD ? (was Re: 80 Mb / enough for 7.x? OK to delete /stand/ and /modules/ ?)

2008-08-02 Thread Sam Leffler
Luigi Rizzo wrote: On Sat, Aug 02, 2008 at 11:39:20AM -0700, Sam Leffler wrote: ... I've been looking at nanobsd for a couple of applications and working to reduce the footprint of the images without hacking special rules. With ... If we're ever to consider building images for flash parts

Re: Hard(?) lock when reassociating ath with wpa_supplicant on RELENG_7

2008-07-13 Thread Sam Leffler
Martin wrote: Hi Sam, do you know if there is anything done about cbb(4)? I have many wireless adapters with ath(4), but only the one based on PCMCIA is making problems on FreeBSD. I cannot boot my notebook with the device inserted into the port, or it will render the system unusable (100%

Re: Hard(?) lock when reassociating ath with wpa_supplicant on RELENG_7

2008-07-13 Thread Sam Leffler
Alexandre Sunny Kovalenko wrote: On Sun, 2008-07-13 at 11:21 +0200, Martin wrote: Hi Sam, do you know if there is anything done about cbb(4)? I have many wireless adapters with ath(4), but only the one based on PCMCIA is making problems on FreeBSD. I cannot boot my notebook with the device

Re: Hard(?) lock when reassociating ath with wpa_supplicant on RELENG_7

2008-07-12 Thread Sam Leffler
Alexandre Sunny Kovalenko wrote: On Fri, 2008-07-11 at 20:29 -0700, Sam Leffler wrote: Alexandre Sunny Kovalenko wrote: On Fri, 2008-05-16 at 12:23 -0400, Sam Leffler wrote: Alexandre Sunny Kovalenko wrote: On Mon, 2008-05-12 at 19:33 -0700, Sam Leffler wrote

Re: Hard(?) lock when reassociating ath with wpa_supplicant on RELENG_7

2008-07-12 Thread Sam Leffler
Alexandre Sunny Kovalenko wrote: On Sat, 2008-07-12 at 09:57 -0700, Sam Leffler wrote: Alexandre Sunny Kovalenko wrote: On Fri, 2008-07-11 at 20:29 -0700, Sam Leffler wrote: Alexandre Sunny Kovalenko wrote: On Fri, 2008-05-16 at 12:23 -0400, Sam Leffler wrote

Re: Hard(?) lock when reassociating ath with wpa_supplicant on RELENG_7

2008-07-11 Thread Sam Leffler
Alexandre Sunny Kovalenko wrote: On Fri, 2008-05-16 at 12:23 -0400, Sam Leffler wrote: Alexandre Sunny Kovalenko wrote: On Mon, 2008-05-12 at 19:33 -0700, Sam Leffler wrote: Alexandre Sunny Kovalenko wrote: I seem to be able to lock my machine by going into wpa_cli and asking it to 'reassoc

Re: Atheros (ath) MSI wireless embedded chipset fails to attach on 7.0-STABLE

2008-07-02 Thread Sam Leffler
Alexander Sack wrote: Hello: I have installed FreeBSD-7.0-amd64 stable on my new AMD X2 Turon based notebook, a MSI-1710A (GX710Ax) which has a generic embedded controller. During boot up I notice that ATH complains with: ath_rate: version 1.2 SampleRate bit-rate selection algorithm ath_hal:

Re: Hard(?) lock when reassociating ath with wpa_supplicant on RELENG_7

2008-05-16 Thread Sam Leffler
Alexandre Sunny Kovalenko wrote: On Mon, 2008-05-12 at 19:33 -0700, Sam Leffler wrote: Alexandre Sunny Kovalenko wrote: I seem to be able to lock my machine by going into wpa_cli and asking it to 'reassoc'. The reason for question mark after hard is that debug information (caused by wlandebug

Re: Hard(?) lock when reassociating ath with wpa_supplicant on RELENG_7

2008-05-12 Thread Sam Leffler
Alexandre Sunny Kovalenko wrote: I seem to be able to lock my machine by going into wpa_cli and asking it to 'reassoc'. The reason for question mark after hard is that debug information (caused by wlandebug and athdebug) is being printed on the console. The only way to get machine's attention is

Re: Some odd behaviour of vmstat and vmtotal...

2008-05-01 Thread Sam Leffler
Alfred Perlstein wrote: * [EMAIL PROTECTED] [EMAIL PROTECTED] [080430 18:13] wrote: Howdy, In deploying 7.0 at work we were finding a persistent problem when running vmstat 1 on systems. The problem shows up as a 10ms pause in processing, usually packet stamping and forwarding by a user

Re: Crash with recent kernel on wireless

2008-04-26 Thread Sam Leffler
Da Rock wrote: On Sat, 2008-04-26 at 11:11 +0400, Vladimir Grebenschikov wrote: On Fri, 2008-04-25 at 18:00 +0200, Roland Smith wrote: On Fri, Apr 25, 2008 at 04:25:14PM +0400, Vladimir Grebenschikov wrote: Hi Recently I've upgraded 7-STABLE: Mar 11 - Apr 24 Everything was

Re: hifn(4) causing system lockup

2008-03-18 Thread Sam Leffler
Vivek Khera wrote: On Mar 17, 2008, at 4:05 PM, Sascha Klauder wrote: I've recently upgraded my 6.2-STABLE workstation to RELENG_7, and I'm now experiencing system lockups that seem to be caused by the hifn(4) driver. I've got a Soekris vpn1401 card to help with GELI disk en- cryption.

Re: interrupt storms with AR5414 on 6.3 RELEASE

2008-02-18 Thread Sam Leffler
huub wrote: I have a problem running the Atheros AR5414 wireless mini-pci-card (Compex model WLM54AGP23) with FreeBSD 6.3-RELEASE (GENERIC i 386) on a Soekris 4521. I get lots of messages: interrupt storm detected on irq10:; throttling interrupt source and ath0: device timeout And after

Re: Expresscard Wireless

2008-02-12 Thread Sam Leffler
Michael Lankton wrote: I bought a laptop with no PCMCIA slot, just expresscard. Instead of using a usb dongle for wireless, I would like to use an expresscard if possible. Ubiquiti makes one that uses atheros chip. Has anyone successfully used an expresscard wifi card in FreeBSD? Any info?

Re: New KTR trace for mouse freezing/stuttering in 7.0-RC1

2008-01-25 Thread Sam Leffler
John Baldwin wrote: On Thursday 24 January 2008 06:22:57 am Sam Leffler wrote: Joe Peterson wrote: In an attempt to track down this mouse freezing/stuttering (i.e. jerky mouse movement) behavior in FreeBSD 7.0-RC1, I have come up with a reliable way to cause it to happen, and I have

Re: New KTR trace for mouse freezing/stuttering in 7.0-RC1

2008-01-24 Thread Sam Leffler
Joe Peterson wrote: In an attempt to track down this mouse freezing/stuttering (i.e. jerky mouse movement) behavior in FreeBSD 7.0-RC1, I have come up with a reliable way to cause it to happen, and I have created a longer trace showing the results. Note that I am using the ULE scheduler. In

Re: weird problems on 7.0-BETA3

2007-12-01 Thread Sam Leffler
Teemu Korhonen wrote: I'm getting usb-input device freezes and sometimes kernel panics that are somehow related to network traffic after upgrading from 6.2-RELEASE to 7.0-BETA3. One reproducible freeze comes when I try to update the server list in quake3 (linux version and native). Usb-mouse

Re: cryptodev and ssh on RELENG_7

2007-11-29 Thread Sam Leffler
Norikatsu Shigemura wrote: On Tue, 27 Nov 2007 07:37:49 -0500 Mike Tancsa [EMAIL PROTECTED] wrote: I have a HiFN crypto card and can remember that it was used for ssh connections with 3des encryption (on 6.1 afair). But with RELENG_7 it isn't used at all (no interrupts) if I 'ssh -v -c

Re: ath support for mini-pci 802.11n card?

2007-11-16 Thread Sam Leffler
Michael Butler wrote: Has anyone tried the present ath driver with the mini-pc card described as .. Netegriti 802.11n 802.11g 802.11b 802.11a Turbo Mini PCI Wireless Card and advertised at http://discountechnology.com/Netegriti-802-11n-802-11g-802-11b-802-11a-Turbo-Mini-PCI-Wireless-Card It

Re: 7.0-BETA2 buildworld fails: WITHOUT_WPA_SUPPLICANT_EAPOL

2007-11-10 Thread Sam Leffler
Frederic Chardon wrote: -- Message transféré -- From: Eugene Grosbein [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Sat, 10 Nov 2007 11:20:24 +0700 Subject: 7.0-BETA2 buildworld fails: WITHOUT_WPA_SUPPLICANT_EAPOL Hi! Yesterday I've upgraded 7.0-BETA1 to 7.0-BETA2 with

Re: em watchdog problem

2007-10-31 Thread Sam Leffler
Jack Vogel wrote: This morning I had an idea about what the source of the watchdog problem is. Also, we have repro'd at least one type of watchdog inhouse. One question, is this problem only happening for those running STABLE with the 6.6.6 merged driver? We found the problem does not seem to

Re: wpa_supplicant features and compile options

2007-09-06 Thread Sam Leffler
Greg Rivers wrote: I connect to certain wireless networks that require the EAP_GTC and EAP_OTP features in wpa_supplicant. These features are not compiled into wpa_supplicant by default. Using the patch below works great, but it's inconvenient having to remember to apply it after every

Re: none of wpa_passphrase

2007-08-10 Thread Sam Leffler
Eitarou Kamo wrote: Pietro Cerutti wrote: Eitarou Kamo wrote: Hi, I used wpa _supplicant and was aware none of wpa _passphrase. My machine is 6.2 REREASE. Does anyone have it or way to making it? These kind of generic questions are better suited for

Re: ath0 induced panic additional info

2007-04-27 Thread Sam Leffler
Steve Kargl wrote: By increasing the kernel message buffer, I was able to get the previous Unread portion im my last email. Unread portion of the kernel message buffer: lock order reversal: (sleepable after non-sleepable) 1st 0xc34caec0 ath0 (ath0) @ /usr/src/sys/dev/ath/if_ath.c:5210

Re: em0 watchdog timeout with nfs

2007-04-06 Thread Sam Leffler
LI Xin wrote: Hi, Jack, Jack Vogel wrote: [EMAIL PROTECTED]:14:0: class=0x02 card=0x002e8086 chip=0x100e8086 rev=0x02 hdr=0x00 [...] The driver in 6.2 RELEASE fixed all known problems with watchdogs, other than REAL issues with the network/hardware. Have you tried installing that?

Re: Atheros wireless card channel conflict - unable to reset hardware

2007-03-17 Thread Sam Leffler
Lyle Scott wrote: I just replaced my Dell E1505's Intel 3945ABG wireless card with an Atheros AR5006EX card that I purchased from a person in Hong Kong and I live in the USA. The card works great under Windows but when ath0 starts up in FreeBSD, it gets the following errors which renders the

Re: Fixit cd for AMD64 on 6.2-RELEASE problem?

2007-03-02 Thread Sam Leffler
Steven Hartland wrote: I'm currently trying to use the Fixit cd on AMD64 ( 6.2 ) and it appears it has issues. When trying to fsck a disk it reports: fsck: exec fsck_4.2bsd for in /sbin:/usr/sbin: No such file or directory When looking on the mounted volumes for fsck_4.2bsd its

Re: sysinstall creates corrupt filesystems after repartitioning

2007-03-02 Thread Sam Leffler
Steven Hartland wrote: I've been repartitioning some of our machines here and found that using the following method sysinstall creates corrupt filesystems. 1. Boot a machine using an nfs mounted /usr 2. Run: sysctl kern.geom.debugflags=16 to enable writing to the disk mbr 3. run

Re: Panic: 6.2-STABLE/RELEASE, sysctl (on boot) -- ath related

2007-02-24 Thread Sam Leffler
Hugo Silva wrote: Hi, While upgrading a fileserver / home wireless access point to 6.2-RELEASE, it wouldn't come back after the regular build/installworld/mergemaster procedures. I attached a keyboard and monitor to the server and noticed it was panicking on boot, current process being

Re: ath(4) irq and taskq cpu usage

2007-02-20 Thread Sam Leffler
Eric van Gyzen wrote: The irq and taskq for my ath(4) card often use excessive amounts of CPU time, even when my network is idle. They are often above 10% and 15%, respectively; occasionally, they are as high as 27% and 44%. The system is an AMD Athlon64 2800+ running FreeBSD 6.2-RELEASE

Re: Panic: 6.2-STABLE/RELEASE, sysctl (on boot) -- ath related

2007-02-14 Thread Sam Leffler
Hugo Silva wrote: Hi, While upgrading a fileserver / home wireless access point to 6.2-RELEASE, it wouldn't come back after the regular build/installworld/mergemaster procedures. I attached a keyboard and monitor to the server and noticed it was panicking on boot, current process being

Re: Desired behaviour of ifconfig -alias [ath and ifconfig parameter order]

2007-02-12 Thread Sam Leffler
Freddie Cash wrote: On Monday 12 February 2007 11:06 am, John Hay wrote: Also with the atheros driver I had problems in the past with some parameters that did not like to be on a single commandline. At least with the ath(4) driver, it all comes down to the order the options are written on

Re: ath0: ath_reset: unable to reset hardware; hal status 3

2007-02-02 Thread Sam Leffler
Kai Lockwood wrote: Hello, I am having the same type of trouble with a Dynex card. I mearly receive 'ath0: Device timeout' on the main console screen. device timeout and being unable to reset the h/w are totally different issues. I take it you tried ifconfig'ing the interface down and

Re: ath0: ath_reset: unable to reset hardware; hal status 3

2007-01-28 Thread Sam Leffler
Henrik Brix Andersen wrote: Hi all, I have noticed a problem when using ath(4) as an 802.11g access point with hostapd(8) and WPA2-PSK CCMP. The following problem seems to only occur when a Microsoft Windows XP STA connects to the AP in 802.11g mode, my FreeeBSD STAs doesn't seem to

Re: ath buildkernel problem with recent RELENG_6 [Was: Re: buildkernel (zlib module) broken?]

2007-01-28 Thread Sam Leffler
Kris Kennaway wrote: On Mon, Jan 29, 2007 at 01:02:32AM +0100, Harald Schmalzbauer wrote: Am Sonntag, 28. Januar 2007 23:17 schrieb Kris Kennaway: On Sun, Jan 28, 2007 at 10:12:26PM +0100, Harald Schmalzbauer wrote: Hello, I don't understand this error: === zlib (all) [...] 1 error ***

Re: ath0 timeout problem - again

2006-12-30 Thread Sam Leffler
JoaoBR wrote: 572 cabq frames transmitted 11 cabq xmit overflowed beacon interval media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11b hostap So one other thing came to mind. If your ap is operating in 11b and you have many multicast frames q'd up for power save stations then

Re: ath0 timeout problem - again

2006-12-30 Thread Sam Leffler
JoaoBR wrote: I need some help here, this is not a single case, I get this on a several machines, this is releng_6 , recent, but old problem getting ugly first I get this kind of events in messages, independent if it is client mode or hostap or adhoc Dec 28 16:50:53 ap1-cds kernel:

Re: ath0 timeout problem - again

2006-12-30 Thread Sam Leffler
JoaoBR wrote: On Thursday 28 December 2006 21:52, you wrote: check this message: http://lists.freebsd.org/pipermail/freebsd-stable/2006-December/031216.html run /usr/src/tools/tools/net80211/wlandebug/wlandebug -i ath0 power and see if one of the hosts on your wlan has powersaving turned

Re: ath0 timeout problem - again

2006-12-30 Thread Sam Leffler
JoaoBR wrote: On Saturday 30 December 2006 18:20, Sam Leffler wrote: thank you for answering, lots of good points and I will try to answer any of them I really do not know what this event means (ether type 5e4), for my understandings it is vague in the source, so I am lost here Seems

Re: ath0 timeout problem - again

2006-12-30 Thread Sam Leffler
JoaoBR wrote: On Saturday 30 December 2006 18:29, Sam Leffler wrote: See my previous reply to you. Lamont is directing you to look for stations in your network operating with power save enabled. even if there are stations with powersaving on we can do anything against it this is an ISP

Re: ath0 timeout problem - again

2006-12-30 Thread Sam Leffler
JoaoBR wrote: On Saturday 30 December 2006 18:37, Sam Leffler wrote: JoaoBR wrote: 572 cabq frames transmitted 11 cabq xmit overflowed beacon interval media: IEEE 802.11 Wireless Ethernet DS/11Mbps mode 11b hostap So one other thing came to mind. If your ap is operating in 11b

Re: ath0 issue

2006-11-29 Thread Sam Leffler
Lamont Granquist wrote: On Wed, 15 Nov 2006, Sam Leffler wrote: Snapshots are rarely useful; try running athstats 1 and correlate what you see with pauses. Another possible reason for deferred operation is something else in the system blocking the taskq threads; that's a bit trickier

Re: ath0 issue

2006-11-29 Thread Sam Leffler
Lamont Granquist wrote: and ath_intr() is getting called all the time but status HAL_INT_TX isn't true so the task isn't getting enqueued. this is a 5 second stutter: Nov 28 21:39:48 warez kernel: ath_tx_proc_q0123: 1 Nov 28 21:39:48 warez kernel: ath_intr: status 0x101 Nov 28

Re: ath0 issue

2006-11-15 Thread Sam Leffler
Lamont Granquist wrote: On Sun, 12 Nov 2006, Sam Leffler wrote: If tx stops in ap mode you need to figure out whether the h/w tx q is stalled or something else above is blocking outbound traffic. The usual things to check are: 1. are there resources in the driver to send a packet (e.g

Re: ath0 issue

2006-11-12 Thread Sam Leffler
Lamont Granquist wrote: i did the same thing with running: while(1) echo foo sleep 1 end in a window ssh'd into the machine with the ath0 driver, but with the kernel recompiled with ATH_DEBUG and sysctl dev.ath.0.debug=0x -- there should be packets sent every second while

Re: FBSD 6.2-PRE: todays cvsupdate break kernel build

2006-10-16 Thread Sam Leffler
O. Hartmann wrote: Today's cvsupdate seems to break kernel build at this pint on FreeBSD 6.2-PRE/AMD64: awk -f /usr/src/sys/modules/ata/atapicam/../../../conf/kmod_syms.awk atapicam.ko export_syms | xargs -J% objcopy % atapicam.ko objcopy --strip-debug atapicam.ko === ath (all) make:

Re: ath0 attach problems

2006-09-30 Thread Sam Leffler
Vulpes Velox wrote: Any suggestions on this? The card in question one supplied by Toshiba in their laptops. ath0: Atheros 5424 irq 17 at device 0.0 on pci3 ath0: 0x1 bytes of rid 0x10 res 3 failed (0, 0x). ath0: cannot map register space device_attach: ath0 attach returned 6

Re: 802.11 RSSI value displayed from ifconfig(8)

2006-09-28 Thread Sam Leffler
is not update recently. Sam On 9/27/06, Sam Leffler [EMAIL PROTECTED] wrote: Eduardo Meyer wrote: Hello, I would like to convert RSSI to dBm (in fact I would love if ifconfig cound display SNR in dBM), so I would like to know if this formula is any right: /* Calculate the RSSI

Re: 802.11 RSSI value displayed from ifconfig(8)

2006-09-27 Thread Sam Leffler
Eduardo Meyer wrote: Hello, I would like to convert RSSI to dBm (in fact I would love if ifconfig cound display SNR in dBM), so I would like to know if this formula is any right: /* Calculate the RSSI Value */ V_RSSI = 3.0 * (RSSI_VAL/1024); RSSI_dBM = (int8_t) ((-50.0 * V_RSSI) - 45.5);

Re: 6.2-PRERELEASE/amd64 boot kernel.gz failes

2006-09-27 Thread Sam Leffler
Danny Braniss wrote: originally posted to [EMAIL PROTECTED]: Hi, While trying to figure out why boot/pxeboot failes on some kernels/hosts, I think i've come up with one solid nogo, if the kernel is gzipped it always fails. Can someone confirm this? or am i suffering from some

Re: ath0 weak connectivity

2006-09-26 Thread Sam Leffler
Sten Daniel Sørsdal wrote: Sam Leffler wrote: I've lost context about your problem but it appears you're having trouble associating with trejago sometimes. The failed scan shows that your rssi was only 6 when you were having problems which is a very marginal signal so I'm not at all

Re: ath0 weak connectivity

2006-09-23 Thread Sam Leffler
Dmitry Karasik wrote: Hi Sam! Sam I do not understand what bad connectivity means. I'm not a native speaker so I've apparently used a wrong term, I apologize for the confusion. Instead I should've probably said low signal strength. Sam If you provide Sam information like the

Re: ath0 weak connectivity

2006-09-18 Thread Sam Leffler
Dmitry Karasik wrote: Hi, Has anyone experienced problems with ath0 giving bad connectivity on 6.1-STABLE? My wireless card reported as Atheros 5212 rapidly loses connectivity if I move it more than 2-3 meters away from the access point, but the same notebook connects well from under

Re: ath0 weak connectivity

2006-09-18 Thread Sam Leffler
Radu Adrian Zdrinca wrote: I have had similar problems with the driver. The signal quality in Windows is higher. But there are other problems. For example, when I start Limewire I have to wait for about 3 minutes before it loads. I am sure this is a problem with ath interface. How do you know

Re: panic: integer divide fault on 6.1

2006-09-10 Thread Sam Leffler
Joao Barros wrote: On 9/9/06, Kris Kennaway [EMAIL PROTECTED] wrote: On Sat, Sep 09, 2006 at 09:02:35PM +0100, Joao Barros wrote: On 9/9/06, Max Laier [EMAIL PROTECTED] wrote: Can you try to get a dump, trace, or at least figure out which function the IP is refering to? Well,

Re: Where is the maximum of hw.ath.txbuf and rxbuf ? (former: atheros driver under high load, panics and even more freezes)

2006-09-10 Thread Sam Leffler
of txbuf and rxbuf ? The max is derived from available memory. The h/w has no upper bounds. I would like to test it. Thank you for your attention. Daniel -Original Message- From: Sam Leffler [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 6:30 AM To: [EMAIL

Re: atheros driver under high load, panics and even more freezes

2006-09-07 Thread Sam Leffler
Daniel Dvoøák wrote: Hi Sam and all, I am not sure if I understand your answer, but I try it. When I use start my test, athstats shows this: athstats -i ath0 19308912 data frames received 15723536 data frames transmit 6536 tx frames with an alternate rate 2188280 long on-chip tx

Re: missed hostapd / ath MFC warning?

2006-09-04 Thread Sam Leffler
Volker wrote: Hi folks, I've recently (september 3rd) csup'ed RELENG_6 and made a buildkernel buildworld process. After the reboot hostapd doesn't work as expected. Did I miss a MFC warning for ath / hostapd? hostapd just says: bellona# hostapd -dd /etc/hostapd.conf Configuration

Re: atheros driver: countrycode and athdebug

2006-09-03 Thread Sam Leffler
Daniel Dvoøák wrote: You can override the country code but the potential values depends on the regdomain. I thought hw.ath.countrycode was r/w but it appears you can only set via the tunable api (kenv hw.ath.countrycode=XXX). The dev.ath mib must be r/o since you cannot (yet) change

Re: atheros driver under high load, panics and even more freezes

2006-09-03 Thread Sam Leffler
Daniel Dvořák wrote: Ok, I will upgrade my boxes and I will do simple ping tests again. Did you see my sysctl.conf file ? I mean these options: kern.ipc.maxsockbuf=2097152 net.inet.ip.fastforwarding=1 net.inet.tcp.sendspace=65536 Could be this connected with increasing latency up to

Re: atheros driver under high load, panics and even more freezes

2006-09-01 Thread Sam Leffler
Daniel Dvoøák wrote: Hi all, first of all, I´m sorry maybe for my bad English. We have 2 routers which I maintain in our mesh wireless community network. The Router 1 has 2 atheros adapters, ath0=wistron cm9, ath1=wistron cm10, of course some sisX, fxpX and so on. The Router 2 has 1

Re: Suspend freezes system on my Thinkpad X41

2006-08-31 Thread Sam Leffler
Jordan Sissel wrote: Subject says it all. Attempting FN+F4 (suspend) or acpiconf -s 3 or -s 4 all cause the system to halt. Specs: Thinkpad X41 6.1-RELEASE GENERIC Atheros 5212 Broadcom BCM5751M SATA (ICH6 SATA150) Freezes are non-recoverable. Even hardware functions (such as lcd

CFT: ipw driver update

2006-08-10 Thread Sam Leffler
If you use ipw please try a new version at: http://www.freebsd.org/~sam/ipw-20060710.tgz This code should work with wpa_supplicant, recognize beacon miss (i.e. roam), implement the rfkill radio switch, etc. It should work on both HEAD and RELENG_6. There are still some rough edges as the ipw

Re: scan stuck with if_iwi(4)

2006-07-27 Thread Sam Leffler
Sam Leffler wrote: Andrew Thompson wrote: On Wed, Jul 26, 2006 at 01:28:12PM -0700, Sam Leffler wrote: Henrik Brix Andersen wrote: Oh? Sounds interesting, where can I find these patches? The work has always been in perforce.freebsd.org; look in the sam_wifi branch. The code will not hit

Re: scan stuck with if_iwi(4)

2006-07-26 Thread Sam Leffler
Henrik Brix Andersen wrote: On Thu, Jul 20, 2006 at 04:01:20PM -0700, Sam Leffler wrote: The basic problem is your card is losing sync w/ the ap. I don't know what the local conditions are but I've seen this a lot w/ iwi; there's nothing we can do in the driver if you want to be able to roam

Re: scan stuck with if_iwi(4)

2006-07-26 Thread Sam Leffler
Henrik Brix Andersen wrote: On Wed, Jul 26, 2006 at 09:10:03AM -0700, Sam Leffler wrote: Thanks for your help but understand this is not necessarily a solution; just the addition of a knob. I know. Sure, it was for others. The linux driver already used 7 consecutive beacon misses

Re: scan stuck with if_iwi(4)

2006-07-26 Thread Sam Leffler
Henrik Brix Andersen wrote: On Wed, Jul 26, 2006 at 11:07:36AM -0700, Sam Leffler wrote: Sure, it was for others. Ah :) Which version are you looking at? The numbers in iwi are from the code in linux-2.6.17; maybe it's been changed again in the code on sourceforge? I was looking

Re: ath driver transmits frames only after a low watermark is filled

2006-07-20 Thread Sam Leffler
Pete French wrote: How is data transmission related to power management? They are pretty intimately related over a wireless link. If the power management at one end decided it can use less transmit power and gets it wrong then your data stops getting through. Your posting truncated the note

  1   2   >