Re: Atheros netstat error

2003-12-01 Thread Sam Leffler
On Monday 01 December 2003 05:25 pm, Leo Bicknell wrote: In an effort to cut down on Sam's load... This is a known issue. Evidently there are some low level radio counters that are incorrectly being reported as input errors. Basically they should be ignored until the driver can be changed

Re: recent current panic

2003-11-27 Thread Sam Leffler
On Thursday 27 November 2003 06:38 am, Bjoern A. Zeeb wrote: On Thu, 27 Nov 2003, Yuriy Tsibizov wrote: Hi, i got a panic on recent -CURRENT: # tcpdump -i lo0 port 23 [1] 507 listening on lo0 # telnet localhost Trying ::1... Wed Nov 26 14:51:23 MSK 2003 Debugger+0x55:

Re: recent current panic

2003-11-26 Thread Sam Leffler
On Wednesday 26 November 2003 04:00 am,wrote: i got a panic on recent -CURRENT: # tcpdump -i lo0 port 23 [1] 507 listening on lo0 # telnet localhost Trying ::1... Wed Nov 26 14:51:23 MSK 2003 Debugger+0x55: xchgl %ebx,in_Debugger.0 db tr

Re: IPFW2 verrevpath issue (IPv4 TCP, fresh kernel)

2003-11-26 Thread Sam Leffler
On Wednesday 26 November 2003 01:40 pm, Sean Chittenden wrote: Is my expectation wrong or is there a pertinent IPFW2 bug in a current 5.2-BETA kernel? You're alone in this, though cjc hasn't been able to reproduce this. ^^^ not Are you on a multi-homed system? -sc

Re: atheros (ath) - duplicate packets with long distance link

2003-11-24 Thread Sam Leffler
On Monday 24 November 2003 09:07 am, Barney Wolff wrote: Off-the-wall suggestion: run tcpdump -e and check whether both responses are coming from the same host. Unless you're running WEP, you many have an unexpected guest. (WEP is no guarantee, but it's better than nothing.) Better, use

Re: 40% slowdown with dynamic /bin/sh

2003-11-24 Thread Sam Leffler
On Monday 24 November 2003 07:06 pm, Andrew Gallatin wrote: M. Warner Losh writes: In message: [EMAIL PROTECTED] I'm just saying that most of the developers I'm talking to on IRC say this tread is insane, has no content and they are blowing it off because of that. A concrete, real

Re: list of wellknown LORs ?

2003-11-19 Thread Sam Leffler
On Wednesday 19 November 2003 02:12 pm, Bjoern A. Zeeb wrote: Hi, is anybody involved in fixing perhaps going to put up a site with all the wellknown LORs and perhaps a state (like: work in progress (by ...), ingorable, ...). I have seen three the last minutes where at least two seem to be

Re: DWL-G520 (Atheros 5212) x FreeBSD

2003-11-17 Thread Sam Leffler
On Sunday 16 November 2003 04:46 pm, Neilson Henriques wrote: Hi ! After read the man page of ath(4) driver I decided to buy a DWL-G520 but it is insisting to not joy with me. :-( I tried to replace the board, replace the machine, reinstall the FreeBSD and cvsup the today

Re: atheron driver and netgear WG511T

2003-11-13 Thread Sam Leffler
On Thursday 13 November 2003 06:19 am, Eric Anderson wrote: hi, i get this when inserting my Netgear WG511T card into my laptop: ath0: Atheros 5212 mem 0x8801-0x8801 irq 11 at device 0.0 on cardbus0 ath0: unable to attach hardware; HAL status 13 device_probe_and_attach: ath0

Re: panic related to in_output.c

2003-11-11 Thread Sam Leffler
On Tuesday 11 November 2003 08:40 am, Steve Ames wrote: Code from yesterday evening (11/10 around 5PM EST). Just updated this morning. I saw no updates to ip_output.c but there were changes to a couple of other files in sys/netinet so figured I'd give it a whirl... panic: mutex inp not owned

Re: atheros (ath) driver - media option

2003-11-11 Thread Sam Leffler
On Tuesday 11 November 2003 01:52 pm, Johann Hugo wrote: Hi I've just started playing with some D-link DWL-AG520 PCI adapters with the Atheros 5212 chipset. The one adapter is configured in hostap mode, and the other one as a client. When I set the media option to a lower speed that the

Re: INPCB panic....

2003-11-10 Thread Sam Leffler
On Monday 10 November 2003 11:37 am, Larry Rosenman wrote: I removed my wi0 card (with DHCLIENT running), and got the following panic on a -CURRENT from yesterday: Thanks. Working on it... Sam ___ [EMAIL PROTECTED] mailing list

Re: INPCB panic....

2003-11-10 Thread Sam Leffler
On Monday 10 November 2003 02:19 pm, Ian Dowse wrote: In message [EMAIL PROTECTED], Sam Leffler writes: On Monday 10 November 2003 11:37 am, Larry Rosenman wrote: I removed my wi0 card (with DHCLIENT running), and got the following panic on a -CURRENT from yesterday: Thanks. Working

Re: LOR in route.c

2003-11-10 Thread Sam Leffler
On Monday 10 November 2003 02:27 pm, Steve Ames wrote: On Mon, Nov 10, 2003 at 05:19:06PM -0500, Steve Ames wrote: New /usr/src from around 4:30PM EST: Mon Nov 10 17:16:14 EST 2003 lock order reversal 1st 0xc6761890 rtentry (rtentry) @ /opt/src/sys/net/route.c:182 2nd 0xc668687c radix

Re: panic: mtx_lock() of spin mutex in ip_output.c

2003-11-07 Thread Sam Leffler
On Friday 07 November 2003 12:54 pm, Steve Kargl wrote: On Fri, Nov 07, 2003 at 11:31:45AM -0800, Steven G. Kargl wrote: I have a Dell 4150 laptop using dhcp and ntpd on the xl0 interface. I did ifconfig xl0 down and received the following panic (hand transcribed :-( ). panic:

Re: [CURRENT] Panic in -CURRENT of 20031105

2003-11-07 Thread Sam Leffler
On Friday 07 November 2003 07:49 am, Jaco H. van Tonder wrote: Hi All, I get panics at random times of the day with -CURRENT from 20031105, with absolutely no load on the machine. The machine acts as a dial-up server/gateway/firewall for my local lan. I managed to get a coredump. The

Re: ip_output panics on recent -CURRENT

2003-11-03 Thread Sam Leffler
On Monday 03 November 2003 12:58 pm, Andrea Campi wrote: Hi, after updating my laptop to last sunday sources, it panics very often with one of two panics. Sam, any chance you might know what's up? Note that both panics seem (to my untrained eye at least) to be related to spammed route entry

HEADSUP: MPSAFE networking stuff disabled for now

2003-11-03 Thread Sam Leffler
I've disabled the MPSAFE operation of the network drivers. I was trying to commit only part of the work to be move Giant up in the networking code but it appears that's not possible. I'll wait for things to stabilize before trying again. Sam Index: subr_bus.c

Re: More ULE bugs fixed.

2003-10-31 Thread Sam Leffler
On Friday 31 October 2003 09:04 am, Bruce Evans wrote: My simple make benchmark now takes infinitely longer with ULE under SMP, since make -j 16 with ULE under SMP now hangs nfs after about a minute. 4BSD works better. However, some networking bugs have developed in the last few days. One

Re: Panic with locks and networking as of a day ago

2003-10-31 Thread Sam Leffler
On Friday 31 October 2003 07:49 pm, Doug Ambrisko wrote: I'm getting this panic a fair amount when dhclient is running on with the an(4) driver. My Atheros based card appears to have broke so I can't use that now (it doesn't work in Windows either). Here is the dmesg: lock order reversal

Re: HEADSUP: MPSAFE network drivers

2003-10-30 Thread Sam Leffler
On Thursday 30 October 2003 01:22 am, Pawel Jakub Dawidek wrote: On Wed, Oct 29, 2003 at 11:52:48AM -0700, Sam Leffler wrote: + I'm committing changes to mark various network drivers' interrupt handlers + MPSAFE. To insure folks have a way to backout if they hit problems I've also + added

Re: Panic on ICMP Redirect

2003-10-30 Thread Sam Leffler
On Thursday 30 October 2003 07:33 am, Daniel C. Sobral wrote: I could have stuck a LONG time on this one if I wasn't testing something that results in the very thing that causes the panic. I don't have the exact details, but what I did is the following: ifconfig fxp0 10.0.2.6/16 (well, that's

Re: jumbograms ( em) nfs a no go

2003-10-30 Thread Sam Leffler
On Thursday 30 October 2003 04:46 am, Michal Mertl wrote: I wanted to test gigabit network performance and found out that current (from 5.0 to up to date -current) doesn't fully work with jumbograms (MTU set to 6000), Intel adapters and nfs (both UDP and TCP). I checked that the same thing

Re: LOR route.c:182

2003-10-30 Thread Sam Leffler
On Thursday 30 October 2003 10:30 am, othermark wrote: I'll me too this one.. Another backtrace with a different call sequence (via ipv6), exact same LOR lock order reversal 1st 0xc2177c90 rtentry (rtentry) @ /usr/src/sys/net/route.c:182 2nd 0xc206537c radix node head (radix node head) @

HEADSUP: MPSAFE network drivers

2003-10-29 Thread Sam Leffler
I'm committing changes to mark various network drivers' interrupt handlers MPSAFE. To insure folks have a way to backout if they hit problems I've also added a tunable that lets you disable this w/o rebuilding your kernel. By default all network drivers that register an interrupt handler

Re: panic route.c:565

2003-10-28 Thread Sam Leffler
On Tuesday 28 October 2003 04:40 pm, Jiri Mikulas wrote: FreeBSD 5.1-CURRENT #3: Tue Oct 28 23:51:52 CET 2003 ~~~cut~~~ recursed on non-recursive lock (sleep mutex) rtentry @ /usr/src/sys/net/route.c:565 first acquired @ /usr/src/sys/net/route.c:182 panic: recurse ~~~cut~~~ Any chance you

Re: Ath0 Crash the PC

2003-10-22 Thread Sam Leffler
On Wednesday 22 October 2003 07:36 pm, Marcos Biscaysaqu wrote: Hi There. With the debug on in hte kernel ZABU I found this when my Atheros card crash: lock order reversal 1st 0xc36c1e84 rl0 (network driver) @ pci/if_rl.c:1485 2nd 0xc0766280 bridge (bridge) @ net/bridge.c:777 Stack

Fwd: cvs commit: src/sys/net80211 ieee80211_output.c ieee80211_var.h

2003-10-17 Thread Sam Leffler
This fixes adhoc mode for wi devices. Adhoc mode is still not working correctly for ath devices. No eta on fixing it. Sam ---BeginMessage--- sam 2003/10/17 14:54:59 PDT FreeBSD src repository Modified files: sys/net80211 ieee80211_output.c ieee80211_var.h

Re: LOR (route.c:182 route.c:133).

2003-10-15 Thread Sam Leffler
On Wednesday 15 October 2003 03:21 am, Pawel Jakub Dawidek wrote: Hello. Already reported? lock order reversal 1st 0xc47b6490 rtentry (rtentry) @ /usr/src/sys/net/route.c:182 2nd 0xc44be77c radix node head (radix node head) @ /usr/src/sys/net/route.c:133 Yes, I'm aware of this one.

Re: multicast panic

2003-10-15 Thread Sam Leffler
On Wednesday 15 October 2003 09:08 am, Doug White wrote: On Tue, 14 Oct 2003, David Cornejo wrote: I'm trying to compile a multicast application and the system panics every time I run configure: Might be nice toknow which multicast application, if its publicly available :) I suspect this

Re: What's up with the IP stack?

2003-10-12 Thread Sam Leffler
On Sunday 12 October 2003 11:03 am, Andre Guibert de Bruet wrote: On Sun, 12 Oct 2003, Josef Karthauser wrote: On Sun, Oct 12, 2003 at 02:48:01PM +0200, Soren Schmidt wrote: It seems Josef Karthauser wrote: I've just built and installed a new kernel, the first since Aug 6th. There

Re: ath(4) driver problems with WEP...

2003-10-12 Thread Sam Leffler
On Tuesday 16 September 2003 08:12 pm, Kenneth D. Merry wrote: I've got a Netgear WAG511 (Atheros 5212-based card) and a Netgear FWAG114 wireless router. I've been trying to get the card and the router talking under FreeBSD. (Both 802.11a and 802.11g work fine under Windows on the same

Re: Locks up with CURRENT

2003-10-11 Thread Sam Leffler
On Saturday 11 October 2003 03:20 am, Antony T Curtis wrote: On Sat, 2003-10-11 at 10:36, Antony T Curtis wrote: Hi, I cvsuped at about 10/10/03 11PM GMT and rebuilt world and kernel. It locks up after displaying: GEOM: create disk ad0 dp=0xc456d370 ad0: 28615MB TOSHIBA MK3021GAS

panic: pmap_enter: attempted pmap_enter on 4MB page

2003-10-11 Thread Sam Leffler
I've been getting this panic a lot in the past week. Unfortunately it's on my file server so I can't use gdb to get more details than what ddb provides (the kernel is on the machine that's panic'd). This is a UP x86 box. The stack trace is: pmap_enter kmem_malloc page_alloc slab_zalloc

Re: Why is em nic generating interrupts?

2003-10-09 Thread Sam Leffler
On Thursday 09 October 2003 05:57 am, Michael O. Boev wrote: -Original Message- From: Terry Lambert [mailto:[EMAIL PROTECTED] Sent: Thursday, October 09, 2003 5:19 PM To: Michael O. Boev Cc: [EMAIL PROTECTED] Subject: Re: Why is em nic generating interrupts? Michael O. Boev

Re: if_em panic

2003-10-08 Thread Sam Leffler
On Wednesday 08 October 2003 05:27 pm, Daniel Eischen wrote: One of my buddies is having panics with if_em after the last set of changes a couple of weeks ago. He runs dhclient on the interface to get a lease from a cable modem. The panic is a recurse on a non-recursive mutex. I haven't

Re: ath0 point-to-ponit (turbo mode)

2003-10-08 Thread Sam Leffler
On Wednesday 08 October 2003 08:45 pm, Marcos Biscaysaqu wrote: Hi There. I have 2 PCI wireless card with the Atheros chipset some one know how can i setup a point-to-point with 2 of this wireless card on Freebsd, I could made work Access Point client, but i couln't adhoc turbo mode 11a

HEADSUP: routing table locking changes committed

2003-10-03 Thread Sam Leffler
I just committed a large set of changes to lock routing table entries. I've been running with these changes for several months w/o ill effects but as always beware. You will see some LOR's that I expect will go away with forthcoming work from Andre Oppermann. If not they'll get fixed before

Re: Serial debug broken in recent -CURRENT?

2003-09-30 Thread Sam Leffler
On Tuesday 30 September 2003 04:01 am, Bruce Evans wrote: On Tue, 30 Sep 2003, Greg 'groggy' Lehey wrote: On Tuesday, 30 September 2003 at 16:23:35 +1000, Bruce Evans wrote: On Mon, 29 Sep 2003, Greg 'groggy' Lehey wrote: After building a new kernel, remote serial gdb no longer works.

Re: Serial debug broken in recent -CURRENT?

2003-09-29 Thread Sam Leffler
On Monday 29 September 2003 01:30 am, Greg 'groggy' Lehey wrote: After building a new kernel, remote serial gdb no longer works. When I issue a 'continue' command, I lose control of the system, but it doesn't continue running. Has anybody else seen this? Yes, I noticed this late last week.

Re: Tonight's current breaks IPFILTER

2003-09-26 Thread Sam Leffler
Tonight's current breaks compiling IPFILTER. It complains that it can't find the 'PFIL_OUT' symbol. Read UPDATING; you need PFIL_HOOKS in your kernel config file. Sam ___ [EMAIL PROTECTED] mailing list

Re: Unable to compile kernel

2003-09-25 Thread Sam Leffler
I'm looking into it. Everything built+ran fine with the last commit... Sam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Unable to compile kernel [IPFILTER users read this]

2003-09-25 Thread Sam Leffler
vimes# diff GENERIC VIMES 25c25 ident GENERIC --- ident VIMES 63,66c63,66 options INVARIANTS #Enable calls of extra sanity checking options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS options

HEADSUP: PFIL_HOOKS/ipfilter changes

2003-09-23 Thread Sam Leffler
The following changes should be transparent but just in case they are not please be aware... Sam sam 2003/09/23 10:54:04 PDT FreeBSD src repository Modified files: sys/net bridge.c pfil.h pfil.c sys/netinet ip_input.c ip_output.c

Re: HEADSUP: PFIL_HOOKS/ipfilter changes

2003-09-23 Thread Sam Leffler
Could we add PFIL_HOOKS to GENERIC, while we're at it? Please? Eventually this will happen. Almost certainly in time for 5.2. Sam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe,

Re: HEADSUP: PFIL_HOOKS/ipfilter changes

2003-09-23 Thread Sam Leffler
Sam Leffler wrote: Could we add PFIL_HOOKS to GENERIC, while we're at it? Please? Eventually this will happen. Almost certainly in time for 5.2. It was due for 5.0-RELEASE, it hasn't made it in for 5.1-RELEASE and post 5.1-R reminders have been ignored on this list as well

Re: usr.sbin/ipftest build error

2003-09-23 Thread Sam Leffler
After cvsup, buildworld error in usr.sbin/ipftest [snip] Dang, my bad. Will deal with it. Sam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: wi hostap recently screwed.

2003-09-23 Thread Sam Leffler
Obviously I don't understand enough about locks. A recent (last week or two) checkin screwed the wi driver such that it panic's saying that ic_nodelock is used recursively first in line 525 and then in 547 of net80211/ieee80211_node.c. On my own, I tried chaging line 87 to mtx_init() the

Re: ath(4) driver problems with WEP...

2003-09-19 Thread Sam Leffler
Hmm. One other thing I'm seeing is that when I configure a 128 bit key with ifconfig or wicontrol (wicontrol shows all 28 characters -- 0x plus 26 hex characters), ifconfig still thinks it is a 104 bit key. This is because ireq.i_len is 13. You must not have the up to date ifconfig. This

Re: HEADS UP/STATUS: network locking

2003-09-17 Thread Sam Leffler
On Tue, Sep 16, 2003 at 09:29:07AM -0700, Sam Leffler wrote: Please send me your kernel config and tell me again exactly what fails. I will try to reproduce your problem. Sam After your yesterday/today commits, I got panic while doing netstat -an. On the kernel from about two days

Re: ath(4) driver problems with WEP...

2003-09-17 Thread Sam Leffler
I've got a Netgear WAG511 (Atheros 5212-based card) and a Netgear FWAG114 wireless router. I've been trying to get the card and the router talking under FreeBSD. (Both 802.11a and 802.11g work fine under Windows on the same machine.) I'm using -current from September 15th. Anyway,

Re: atheros (ath) driver bridging

2003-09-16 Thread Sam Leffler
Is the ath(4) driver, like the wi(4) driver, incapable of performing bridging? Yes. Bridging happens outside the operation of the driver. Sam ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To

Re: atheros (ath) driver bridging

2003-09-16 Thread Sam Leffler
Is the ath(4) driver, like the wi(4) driver, incapable of performing bridging? Sorry, answered too quickly. ath and wi have the same restrictions. You can use bridging to hookup a wired and wireless network but not two wireless networks. I can't tell from your posting what you are trying to

Re: atheros (ath) driver bridging

2003-09-16 Thread Sam Leffler
I think what he meant was that at on state was known (I don't know the current state) that as the wi could not be but in promiscuous mode it could not be used for bridging.. Bridging requires promiscuous mode (or some very tricky proxy-arp stuff). You can put wi (and ath) in promiscuous

Re: ath(4) stopped working

2003-09-16 Thread Sam Leffler
I just built a kernel with latest sources, unfortunately, my ath(4) card stopped working. The device is there, devd sets ip address, route etc., just as it did before the upgrade - the problem is that the link is dead, there's _nothing_ going over the link. It also seems to re-associate with

Re: atheros (ath) driver bridging

2003-09-16 Thread Sam Leffler
Yes, I was referring to bridging two wireless interfaces. David Young (of netbsd) has plans for WDS support that should fit into the existing 802.11 layer. With his design you should be able to bridge WDS links using the standard bridge support. No ETA. Sam

HEADSUP: more network locking commits

2003-09-16 Thread Sam Leffler
I just committed changes to bridge, ipfw, and dummynet. I've been running these for a while but beware. I'm aware of two LOR issues that I want to sort out later, after some more changes have gone in. Regardless, if you encounter problems let me know... Sam

HEADS UP/STATUS: network locking

2003-09-05 Thread Sam Leffler
I've committed a number of changes to lock the middlware parts of the network subsystem. There's still more to come; I'm moving slowly to insure each batch gets exposure. All the pending changes can be found at: http://www.freebsd.org/~sam The major changes that will go in next week are:

Re: TESTERS: if_sis patch

2003-09-02 Thread Sam Leffler
Please try out this patch if you have a sis based network card. It sets a 400usec interrupt holdoff, and this seems to have a profound impact on network performance. The patch is relative to FreeBSD-current but probably applies on 5.0, 5.1 and even 4.x as well. In my tests, using a

Re: Kernel panic (with uipc_domain.c, rev 1.33)

2003-09-02 Thread Sam Leffler
latest kernel causes a panic early during boot: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x68 fault code = supervisor read, page not present instruction pointer = 0x8:0xc02667cf stack pointer = 0x10:0xc0641cf8 frame pointer

Re: Ath driver still buggy.

2003-08-21 Thread Sam Leffler
Me and a couple of my friends work on small freebsd version for embedded systems. We all noticed that our wifi cards with atheros chip have problems with the ath driver. The system keeps on spitting out following messages before the link, that is already very slow dies: ath_rate_ctl: 54M - 48M (0

Re: ath0 driver

2003-08-14 Thread Sam Leffler
On Wed, 6 Aug 2003, Sam Leffler wrote: Shouldn't that be 0.9.5.2? I run the latest current, and hw.ath.hal.version is 0.9.5.2. You're right; I committed a slightly older version to FreeBSD than to Linux. Any chance that you could commit the newer version? Or are the differences too marginal

Re: ath0 driver

2003-08-14 Thread Sam Leffler
Ive got a Dlink DWL-G520 that Ive installed into a Freebsd system. Ive set up the card with the following ifconfig_ath0=inet 10.0.0.1 netmask 255.255.255.0 ssid daves channel 10 media DS11 mediaopt hostap This system was cvsuped and buildworld about 3 days ago. The card appears to be working

Re: M_NOTIFICATION in sys/mbuf.h?

2003-08-14 Thread Sam Leffler
While trying to port the SCTP-KAME code to CURRENT, I noticed that M_NOTIFICATION is missing from sys/mbuf.h in CURRENT, but it is present in the KAME version of this file. Any reason not to apply this patch? --- sys/sys/mbuf.h.orig Sat Sep 13 19:34:07 2003 +++ sys/sys/mbuf.h Sat Sep 13

Re: ath0 driver

2003-08-14 Thread Sam Leffler
I just have to ask: is this in any way related to the a/b/g network card in my laptop that shows up as: [EMAIL PROTECTED]:3:0: class=0x028000 card=0x00011028 chip=0x432414e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' class= network if (broadcom == atheros) use ath

Re: MADWIFI Question

2003-08-07 Thread Sam Leffler
Sorry for the lame post, but here goes. Madwifi works fine on linux laptops, but need support in Freebsd. The post I read I seem to remember saying that it (madwifi) was native in current? I took a new hd in a Dell laptop. Did an ftp install of 5.1 stable. Cvsuped to current for source and

Re: ath0 driver

2003-08-06 Thread Sam Leffler
Verify you have the latest HAL using sysctl hw.ath The version should be 0.9.5.3 or better (can't remember if I committed .4 or .3). Shouldn't that be 0.9.5.2? I run the latest current, and hw.ath.hal.version is 0.9.5.2. You're right; I committed a slightly older version to FreeBSD than to

Re: Lucent IBSS mode doesn't work in -CURRENT?

2003-07-31 Thread Sam Leffler
I have a few Orinoco cards, and they 'work' in both ad-hoc and infrastructure mode. However with dhclient it gets tricky, because it will only work the first time dhclient assigns an address to the card. Whenever it tries to refresh it or whatever, I start getting those timeout and busy bit

Re: Error with Atheros chipset.

2003-07-30 Thread Sam Leffler
[Not sure about cross-posting but I'll leave it for now.] I've recompiled -CURRENT with support for atheros cards. I have two cards, one PCI(desktop) and one PCMCIA(laptop). Both are Proxim 11a/b/g combo cards with AR5212 chips. The cards are recognized fine. pciconf -l -vv shows: [EMAIL

Re: Support for XFS in FreeBSD?

2003-07-02 Thread Sam Leffler
[cross-posting removed] Note: SCO is suing people who have touched Linux code with code from commercial OS's derived from System V. SGI's IRIX, from which XFS comes, is derived from System V, so there is some legal risk involved to anyone doing a port: SCO may sue you, too. I don't know if this

HEADS UP: new wlan code

2003-06-28 Thread Sam Leffler
I've committed the changes to switch the 802.11 support over to the code in sys/net80211. The new code is significantly different as it has been revamped to support multi-mode devices, add fine-grained locking, and support more of the 802.11 protocol. Drivers that depend on the code have

HEADS UP: Atheros 802.11 support

2003-06-28 Thread Sam Leffler
My work to support the Atheros 802.11 hardware is now entirely in the tree and enabled for use. The ath driver supports all Atheros hardware devices and makes FreeBSD the first open source system to support 802.11a and 802.11g*. There are still issues with the driver. man ath(4) for details.

hostap+wi

2003-06-26 Thread Sam Leffler
I'm trying to pin down a problem where prism-based AP's constructed from wlan code and the wi driver don't work right. I'm seeing the following when a client/station trys to associate with an AP of this sort: client AP AUTH- - AUTH response ASSOC - - PROBE

Re: if_auth.o, undefined reference to ieee80211 functions

2003-06-26 Thread Sam Leffler
I'm having trouble getting a kernel with the Atheros driver to compile. I get the following error during linking: You need to patch some files to use the wlan code in sys/net80211 and not the code in sys/net. I will either commit the remaining changes or post a patch that contains the changes

Re: wi driver

2003-03-16 Thread Sam Leffler
* Alfred Perlstein [EMAIL PROTECTED] [030316 21:19] wrote: um.. ... 840 _FLAGS_OUTRANGE) { 841 WI_UNLOCK(sc); 842 return; 843 } 844 KASSERT((ifp-if_flags IFF_OACTIVE) == 0, 845 (wi_start: if_flags

Re: trap in netisr...

2003-03-12 Thread Sam Leffler
I found on tty0 the following backtrace. I infer, because it died in malloc, that it has something to do with netisr problem. I had to copy it by hand. backtrace(c04b7645,4,1,0,c40be100) at backtrace+0x17

Re: FAST_IPSEC and INET6

2003-02-28 Thread Sam Leffler
The commit message for src/sys/netipsec/ipsec.c r1.1 mentions that FAST_IPSEC and INET6 should not be used together. As far as I can tell from the commit log, nothing has changed that would negate that recommendation since the import. However, when compiling a -current (as of today) kernel

Re: Errors with wireless

2003-02-25 Thread Sam Leffler
I'm getting a LOT of these. ether_input: drop bdg packet, bif 0x5 This was a stray debugging printf I forgot to remove. Update your system. wi0: tx failed, retry limit exceeded If this happens again show the output of sysctl hw.wi. Sam To Unsubscribe: send mail to [EMAIL PROTECTED]

Re: Errors with wireless

2003-02-25 Thread Sam Leffler
* De: Sam Leffler [EMAIL PROTECTED] [ Data: 2003-02-25 ] [ Subjecte: Re: Errors with wireless ] wi0: tx failed, retry limit exceeded If this happens again show the output of sysctl hw.wi. I get those constantly when doing e.g. an interactive FTP session. ([EMAIL PROTECTED]:~)10

HEADS UP: ipsec packet filtering change

2003-02-22 Thread Sam Leffler
This may affect your ipfw/ipf rules. If you are happy with the current behaviour then add IPSEC_FILTERGIF to your kernel config file. Sam - Original Message - From: Sam Leffler [EMAIL PROTECTED] To: [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, February 22

Re: 5-STABLE Roadmap

2003-02-14 Thread Sam Leffler
At 9:47 PM -0800 2003/02/13, Sam Leffler wrote: SpecFS (NFS ops/sec benchmark) List price on SPEC SFS97 R1 is $900. And my recollection is that it was involved to setup and run. $450 for educational organizations. Wouldn't the FreeBSD Foundation qualify? The point

Re: 5-STABLE Roadmap

2003-02-13 Thread Sam Leffler
About benchmarks... FWIW, the reiserfs people were excited about SCO's release of AIM: http://caldera.com/developers/community/contrib/aim.html but the announcement went rather unnoticed in freebsd-fs. Thanks. I've worked with AIM. Wasn't aware it had been released. Sam To

Re: 5-STABLE Roadmap

2003-02-13 Thread Sam Leffler
At 4:36 PM -0800 2003/02/13, Scott Long wrote: - the classic 'worldstone' - webstone - /usr/ports/www/webstone - Fstress - http://www.cs.duke.edu/ari/fstress - ApacheBench - /usr/ports/www/p5-ApacheBench - netperf - /usr/ports/benchmarks/netperf Are there any

Re: 5-STABLE Roadmap

2003-02-13 Thread Sam Leffler
On Thursday 13 February 2003 11:28 pm, Sam Leffler wrote: At 4:36 PM -0800 2003/02/13, Scott Long wrote: - the classic 'worldstone' - webstone - /usr/ports/www/webstone - Fstress - http://www.cs.duke.edu/ari/fstress - ApacheBench - /usr/ports/www/p5

Re: HEADS UP: new wi driver

2003-01-25 Thread Sam Leffler
: dstumbler breaks; on startup it reports : unable to ioctl device socket: Input/output error. As root or no? I have a rebuilt system finally that I could test this against and I'm actually getting a different error message on startup of dstumbler: error: unable to ioctl device

Re: how to update Prism-2.5 firmware? (was: Re: new wi0 slowness)

2003-01-20 Thread Sam Leffler
On Sun, Jan 19, 2003 at 07:46:11PM -0800, Sam Leffler wrote: Finally, you may want to try different station firmware in your Dlink card. I run 1.4.9 in my Senao (Prism 2.5) cards with good success. I don't recall whether there were issues with 1.3.6 (I know some of the intermediate

Re: new wi0 slowness

2003-01-20 Thread Sam Leffler
Alright, I have disabled IPSec and updated the firmware to read: wi0: Intersil Firmware: Primary (1.1.0), Station (1.4.9) sysctl kern.wi_txerate=0 gives: sysctl: unknown oid 'kern.wi_txerate' Sigh, I screwed up the sysctl's--just fixed it. This one is now located at hw.wi.txerate and must

Re: new wi0 slowness

2003-01-19 Thread Sam Leffler
I have noticed the following with the new wi0. I have the 802.11 connection between my laptop running XP and my current box running as a hostap. I also have a IPSec tunnel between the current box and the laptop, but I don't think this could be causing the problems. While transferring files

Re: new wi driver problems

2003-01-18 Thread Sam Leffler
A couple things regarding this new wireless driver - the wepkey option to ifconfig no longer seems to work; I get a SIOCS80211: Invalid argument. Secondly and more importantly, even when the wepkey is set via wicontrol, I can't seem to get any connectivity at all anymore. I fixed the

Re: HEADS UP: new wi driver

2003-01-16 Thread Sam Leffler
Sorry, for the new wi driver you need to add: device wlan to your config files. This probably belongs in UPDATING. Sam - Original Message - From: Matt Haught [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 15, 2003 9:59 PM Subject: Re: HEADS UP: new wi driver I

Re: HEADS UP: new wi driver

2003-01-16 Thread Sam Leffler
On Thu, 16 Jan 2003, Sam Leffler wrote: ... to your config files. This probably belongs in UPDATING. NB the new wi(4) is probably also an issue for ports/net/bsd-airtools, to be resolved or documented before MFC. (copied maintainer) Why, did they not work/build after the commit? I

HEADS UP: new wi driver

2003-01-15 Thread Sam Leffler
I just committed a new version of the wi driver. This driver is very different in that it depends on a common core implementation of the 802.11 state machine and mgmt protocols. There should be no visible differences (for now) between the old driver and the new but beware. If you encounter

Re: Serious issues with kqueue on sockets on CURRENT.

2003-01-10 Thread Sam Leffler
On Fri, Jan 10, 2003 at 09:57:36PM +1100, Tim Robbins wrote: On Fri, Jan 10, 2003 at 01:30:16AM -0800, Juli Mallett wrote: Lately, the data field for sockets, which holds bytes ready (in the EVFILT_ READ case) to be read, is computed to be zero. This means that if you have a low

Re: Serious issues with kqueue on sockets on CURRENT.

2003-01-10 Thread Sam Leffler
On Fri, 10 Jan 2003, Sam Leffler wrote: unless the mbufs are specifically tagged as such. I'm not clear on exactly what sb_ctl is supposed to count; the comment in the cvs log is unclear: Track the number of non-data chararacters stored in socket buffers so that the data value returned

Re: PFIL_HOOKS should be made default in 5.0

2002-12-19 Thread Sam Leffler
Maybe we should put in the release notes, that: PFIL_HOOKS is required for IPFILTER The right thing is to force the dependency in the code (I don't think there's a way to express it to config). The ipfilter code should probably have something like #ifndef PFIL_HOOKS #error You must specify

Re: PFIL_HOOKS should be made default in 5.0

2002-12-19 Thread Sam Leffler
Maybe we should put in the release notes, that: PFIL_HOOKS is required for IPFILTER The right thing is to force the dependency in the code (I don't think there's a way to express it to config). The ipfilter code should probably have something like #ifndef PFIL_HOOKS #error You must

Re: ipfw userland breaks again.

2002-12-14 Thread Sam Leffler
:Now I would really dislike seeing your patch in the tree, since I :consider it's a rather crude hack to circumvent the ABI problems of :ipfw. As I've already said to luigi in private e-mail (I would be :surprised if this hasn't been already discussed in the lists as well), :the proper way

Re: Xircom realport rem56g problems

2002-12-09 Thread Sam Leffler
I just built fresh -current (NEWCARD) but it didn't work. I'm beginning to suspect that we have different cards, since the dc driver won't recognize mine. The dc driver seems to expect that vendor id is 0x115d and device id 0x0003. On my card the vendor id is 0x0105 and device id is 0x110a.

Re: backgroud fsck is still locking up system (fwd)

2002-12-06 Thread Sam Leffler
Finally, one more bit of info: I have WITNESS enabled in this kernel and get this message during boot: /usr/src/sys/vm/uma_core.c:1330: could sleep with dc0 locked from /usr/src/sys/pci/if_dc.c:691 if_attach does a malloc with M_WAITOK. If the attach happens inside a lock in the driver's

Re: Xircom realport rem56g problems

2002-12-03 Thread Sam Leffler
Try the dc driver instead of xe. I have the same card and it worked once I added the cardbus glop to read the MAC address from the CIS. Sam - Original Message - From: Ari Suutari [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 03, 2002 4:41 AM Subject: Xircom

  1   2   >