From owner-freebsd-net@FreeBSD.ORG Sun Mar 15 10:04:30 2009 Return-Path: Delivered-To: net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 38FE3106564A; Sun, 15 Mar 2009 10:04:30 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1421D8FC12; Sun, 15 Mar 2009 10:04:30 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 98BF546B0D; Sun, 15 Mar 2009 06:04:29 -0400 (EDT) Date: Sun, 15 Mar 2009 10:04:29 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: current@FreeBSD.org, net@FreeBSD.org In-Reply-To: Message-ID: References: <20080526110543.J26343@fledge.watson.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: HEADS UP: IFF_NEEDSGIANT consumers to be disabled, removed (was: Re: Wiki page for non-MPSAFE network stack de-orbit scheduling) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2009 10:04:30 -0000 On Mon, 16 Feb 2009, Robert Watson wrote: > 16 February 2009 HEADS UP to lists (this e-mail) > 01 March 2009 Disable build of all IFF_NEEDSGIANT drivers in 8.x Slightly delayed while USB NDIS was sorted out, I will be moving ahead with disabling the build of all IFF_NEEDSGIANT drivers in HEAD later today. > 01 April 2009 Remove all IFF_NEEDSGIANT drivers from 8.x And this date is probably going to remain about the same. Anyone who is interested is welcome to step in and update/fix drivers on the removal path at any time, and drivers can also be restored later easily if drivers are updated outside the tree as well. Thanks, Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-net@FreeBSD.ORG Sun Mar 15 12:48:42 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 722F4106566B for ; Sun, 15 Mar 2009 12:48:42 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by mx1.freebsd.org (Postfix) with ESMTP id 18A178FC16 for ; Sun, 15 Mar 2009 12:48:41 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from localhost by koef.zs64.net (8.14.3/8.14.3) with ESMTP id n2FCmb6d034040 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sun, 15 Mar 2009 13:48:37 +0100 (CET) (envelope-from stb@lassitu.de) (authenticated as stb) Message-Id: <68726DB3-DAC2-4ABB-A1DC-A018992B8EC6@lassitu.de> From: Stefan Bethke To: Julian Elischer In-Reply-To: <49BC2317.3050009@elischer.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Sun, 15 Mar 2009 13:48:36 +0100 References: <20090314174526.E96785@maildrop.int.zabbadoz.net> <49BC2317.3050009@elischer.org> X-Mailer: Apple Mail (2.930.3) Cc: "Bjoern A. Zeeb" , freebsd-net@freebsd.org Subject: Re: Multi-homing, jails, and source address selection X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2009 12:48:42 -0000 Am 14.03.2009 um 22:35 schrieb Julian Elischer: > Stefan Bethke wrote: >> Am 14.03.2009 um 19:01 schrieb Bjoern A. Zeeb: >>> On Thu, 12 Mar 2009, Stefan Bethke wrote: >>> >>>> I'm having some trouble configuring a dual-homed jail host, >>>> running -current from about 4 weeks ago. >>>> ... >>>> Is there any documentation on how source addresses are selected? >>>> I thought I remembered that on unbound sockets the destination >>>> route would be used to pick the first address of the outgoing >>>> interface as the source address; the same address would be picked >>>> on connecting a socket. >>> >>> sys/netinet/in_pcb.c:in_pcbladdr() is your friend - >>> http://fxr.watson.org/fxr/source/netinet/in_pcb.c#L546 >>> >>> This is the case you are running into: >>> http://fxr.watson.org/fxr/source/netinet/in_pcb.c#L628 >>> /* >>> * If the outgoing interface on the route found is not >>> * a loopback interface, use the address from that interface. >>> * In case of jails do those three steps: >>> * 1. check if the interface address belongs to the jail. If so use >>> it. >>> * 2. check if we have any address on the outgoing interface >>> * belonging to this jail. If so use it. >>> * 3. as a last resort return the 'default' jail address. >>> */ >>> >>> so you are hitting "3." . >>> >>> I am not sure but I'd assume >>> ifconfig tun0 10.0.63.3 10.0.63.255 alias >>> would work, just not with the logic to create the IPs upon jail >>> start >>> (and we will not accept patches to handle that;). >> This is what I figured is happening. >> For the time being, I've gone back to single-homed; I'm using pf >> binat rules to map public ips to the vpn ones for the jails. Not >> perfect, but works for most cases. (The only really missing option >> is to bind a service in the jail to VPN address only, so it's only >> accessible over the VPN, but I can enforce that through pf or >> hosts.allow.) >> Assigning aliases to tun0 appears to work too, but you need a >> distinct destination address for each alias. Annoying. >> Since I'm using "topology subnet" in OpenVPN, a point-to-point >> interface is conceptually slightly off; a broadcast interface would >> fit much nicer. This would also allow the standard rc.d/jail >> script to do it's magic, if the necessary tun seetings could be >> applied through ifconfig. Is there a specific reason this setting >> can only be done through an ioctl on the dev node, instead of >> thorugh ifconfig? (Specifically TUNSIFMODE.) >> Additionally, this open the way to run OpenVPN inside a jail, since >> all ifconfig and route setup would be done prior to OpenVPN >> starting up. (tun also down the interface if the dev node is >> closed, but I have a feeling that could be mediated somewhat easily >> as well.) > > One of the things you can do is assign different routing tabels to > each jail. This means that tho can control which interface it will > select as the outgoing interface. > > setfib -{0-15} jail (jail args) I hope to investigate the VIMAGE work soon, but how exactly would that help me with multihoming jails? As it turns out, my issue is with source address selection mostly, and the way point-to-point interfaces work; the routing table doesn't really come into play? Stefan -- Stefan Bethke Fon +49 151 14070811 From owner-freebsd-net@FreeBSD.ORG Sun Mar 15 14:27:29 2009 Return-Path: Delivered-To: net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 894251065672; Sun, 15 Mar 2009 14:27:29 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 636008FC08; Sun, 15 Mar 2009 14:27:29 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 1B5B346B58; Sun, 15 Mar 2009 10:27:29 -0400 (EDT) Date: Sun, 15 Mar 2009 14:27:29 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: current@FreeBSD.org, net@FreeBSD.org In-Reply-To: Message-ID: References: <20080526110543.J26343@fledge.watson.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: HEADS UP: IFF_NEEDSGIANT consumers to be disabled, removed (was: Re: Wiki page for non-MPSAFE network stack de-orbit scheduling) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2009 14:27:30 -0000 On Sun, 15 Mar 2009, Robert Watson wrote: > On Mon, 16 Feb 2009, Robert Watson wrote: > >> 16 February 2009 HEADS UP to lists (this e-mail) >> 01 March 2009 Disable build of all IFF_NEEDSGIANT drivers in 8.x > > Slightly delayed while USB NDIS was sorted out, I will be moving ahead with > disabling the build of all IFF_NEEDSGIANT drivers in HEAD later today. This patch is now committed; while I've done build testing (etc) there's always a chance of problems -- please drop me an e-mail if I missed something. Robert N M Watson Computer Laboratory University of Cambridge > >> 01 April 2009 Remove all IFF_NEEDSGIANT drivers from 8.x > > And this date is probably going to remain about the same. > > Anyone who is interested is welcome to step in and update/fix drivers on the > removal path at any time, and drivers can also be restored later easily if > drivers are updated outside the tree as well. > > Thanks, > > Robert N M Watson > Computer Laboratory > University of Cambridge > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" > From owner-freebsd-net@FreeBSD.ORG Sun Mar 15 15:54:19 2009 Return-Path: Delivered-To: net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EB5910656CC; Sun, 15 Mar 2009 15:54:19 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 68AF28FC0C; Sun, 15 Mar 2009 15:54:19 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 0C45F46B66; Sun, 15 Mar 2009 11:54:19 -0400 (EDT) Date: Sun, 15 Mar 2009 15:54:18 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: current@FreeBSD.org, net@FreeBSD.org In-Reply-To: Message-ID: References: <20080526110543.J26343@fledge.watson.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: HEADS UP: if_ar, if_sr, *old* USB stack network driver users X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2009 15:54:20 -0000 On Sun, 15 Mar 2009, Robert Watson wrote: >>> 16 February 2009 HEADS UP to lists (this e-mail) >>> 01 March 2009 Disable build of all IFF_NEEDSGIANT drivers >>> in 8.x >> >> Slightly delayed while USB NDIS was sorted out, I will be moving ahead with >> disabling the build of all IFF_NEEDSGIANT drivers in HEAD later today. > > This patch is now committed; while I've done build testing (etc) there's > always a chance of problems -- please drop me an e-mail if I missed > something. Just to be clear -- if you are a user of: if_ar if_sr Or one of the USB network interface drivers from the old USB stack (not the new USB2 stack), then you will now find your device drivers are not part of the build. USB users should use the new USB stack if they need network interface drivers; if_ar and if_sr drivers will need to modify the device drivers to be MPSAFE and then submit patches. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-net@FreeBSD.ORG Sun Mar 15 17:14:53 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D7FB1065720 for ; Sun, 15 Mar 2009 17:14:53 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outC.internet-mail-service.net (outc.internet-mail-service.net [216.240.47.226]) by mx1.freebsd.org (Postfix) with ESMTP id 204508FC16 for ; Sun, 15 Mar 2009 17:14:53 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 84D80A5A71; Sun, 15 Mar 2009 10:14:53 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 77FA52D600D; Sun, 15 Mar 2009 10:14:52 -0700 (PDT) Message-ID: <49BD3791.9060007@elischer.org> Date: Sun, 15 Mar 2009 10:14:57 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Stefan Bethke References: <20090314174526.E96785@maildrop.int.zabbadoz.net> <49BC2317.3050009@elischer.org> <68726DB3-DAC2-4ABB-A1DC-A018992B8EC6@lassitu.de> In-Reply-To: <68726DB3-DAC2-4ABB-A1DC-A018992B8EC6@lassitu.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Bjoern A. Zeeb" , freebsd-net@freebsd.org Subject: Re: Multi-homing, jails, and source address selection X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2009 17:14:54 -0000 Stefan Bethke wrote: >> setfib -{0-15} jail (jail args) > > I hope to investigate the VIMAGE work soon, this has nothing to do with vimage. it's teh multiple routing table support I'm talking about. For example different tables with different default routes. > but how exactly would that > help me with multihoming jails? > As it turns out, my issue is with source address selection mostly, The routing table selects your source address so it has everything to do with it. If youhave several addressesin your jail, (with teh new code) then which is selected for a particular session depends on the routing table. It is the address of the local end of the interface that you will use to get to the destination. > and the way point-to-point interfaces > work; the routing table doesn't really come into play? What makes you say that?? No IP packet is sent without consulting the routing table. if you can control which table is used you can control the source address. > > Stefan > From owner-freebsd-net@FreeBSD.ORG Sun Mar 15 17:22:19 2009 Return-Path: Delivered-To: net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AE9A1065678 for ; Sun, 15 Mar 2009 17:22:19 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outD.internet-mail-service.net (outd.internet-mail-service.net [216.240.47.227]) by mx1.freebsd.org (Postfix) with ESMTP id 6DD358FC22 for ; Sun, 15 Mar 2009 17:22:19 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 35463A5ECF; Sun, 15 Mar 2009 10:22:19 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id B69B92D6011; Sun, 15 Mar 2009 10:22:18 -0700 (PDT) Message-ID: <49BD394F.8060002@elischer.org> Date: Sun, 15 Mar 2009 10:22:23 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Robert Watson References: <20080526110543.J26343@fledge.watson.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org, net@FreeBSD.org Subject: Re: HEADS UP: if_ar, if_sr, *old* USB stack network driver users X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2009 17:22:20 -0000 Robert Watson wrote: > > On Sun, 15 Mar 2009, Robert Watson wrote: > >>>> 16 February 2009 HEADS UP to lists (this e-mail) >>>> 01 March 2009 Disable build of all IFF_NEEDSGIANT drivers in 8.x >>> >>> Slightly delayed while USB NDIS was sorted out, I will be moving >>> ahead with disabling the build of all IFF_NEEDSGIANT drivers in HEAD >>> later today. >> >> This patch is now committed; while I've done build testing (etc) >> there's always a chance of problems -- please drop me an e-mail if I >> missed something. > > Just to be clear -- if you are a user of: > > if_ar > if_sr these are drivers for synch io cards. they have netgraph interfaces as well as 'old style' interfaces. I think John Hay was the last person seen with these cards. > > Or one of the USB network interface drivers from the old USB stack (not > the new USB2 stack), then you will now find your device drivers are not > part of the build. USB users should use the new USB stack if they need > network interface drivers; if_ar and if_sr drivers will need to modify > the device drivers to be MPSAFE and then submit patches. > > Robert N M Watson > Computer Laboratory > University of Cambridge > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Sun Mar 15 22:00:09 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F3441065676; Sun, 15 Mar 2009 22:00:09 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 648F28FC15; Sun, 15 Mar 2009 22:00:09 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2FM09Ld084601; Sun, 15 Mar 2009 22:00:09 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2FM09fM084596; Sun, 15 Mar 2009 22:00:09 GMT (envelope-from linimon) Date: Sun, 15 Mar 2009 22:00:09 GMT Message-Id: <200903152200.n2FM09fM084596@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/132672: [ndis] [panic] ndis with rt2860.sys causes kernel panic in CURRENT-amd64 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2009 22:00:10 -0000 Old Synopsis: ndis with rt2860.sys causes kernel panic in CURRENT-amd64 New Synopsis: [ndis] [panic] ndis with rt2860.sys causes kernel panic in CURRENT-amd64 Responsible-Changed-From-To: freebsd-amd64->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Sun Mar 15 21:59:47 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=132672 From owner-freebsd-net@FreeBSD.ORG Sun Mar 15 22:20:02 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6FC4106564A for ; Sun, 15 Mar 2009 22:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D55468FC12 for ; Sun, 15 Mar 2009 22:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2FMK248010497 for ; Sun, 15 Mar 2009 22:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2FMK2I1010490; Sun, 15 Mar 2009 22:20:02 GMT (envelope-from gnats) Date: Sun, 15 Mar 2009 22:20:02 GMT Message-Id: <200903152220.n2FMK2I1010490@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Gennady Kudryashoff Cc: Subject: Re[2]: amd64/132672: ndis with rt2860.sys causes kernel panic in CURRENT-amd64 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Gennady Kudryashoff List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Mar 2009 22:20:03 -0000 The following reply was made to PR kern/132672; it has been noted by GNATS. From: Gennady Kudryashoff To: Scot Hetzel Cc: freebsd-gnats-submit@freebsd.org Subject: Re[2]: amd64/132672: ndis with rt2860.sys causes kernel panic in CURRENT-amd64 Date: Mon, 16 Mar 2009 00:15:32 +0300 Hello Scot, Sunday, March 15, 2009, 10:53:45 PM, you wrote: >> === [cut here] === >> no match for ZwWriteFile >> no match for ZwCreateFile >> no match for ZwReadFile >> SH> This is the cause of your kernel panic. This Windows NDIS Driver SH> wants 3 functions that are not currently implemented in the FreeBSD SH> NDIS Driver. I'm afraid it isn't. :( If it was right there is no need to write a PR. There is no panic in i386 version of 8-CURRENT (and 7-STABLE) with i386 drivers from the same archive when I make an attempt to kldload it, however, strings >> no match for ZwWriteFile >> no match for ZwCreateFile >> no match for ZwReadFile are present in console output and driver works (I can attach module). SH> You'll need to either look for an older Windows NDIS Driver, or SH> attempt to implement these missing functions. Unfortunately, I'm not a programmer :( From the other side, porting new features of ral driver from OpenBSD side (with rt2860 support) will be more promising here. -- Best regards, Gennady Passport & Visa Dept of Moscow Police / Паспортно-визовое управление ГУВД г. Москвы From owner-freebsd-net@FreeBSD.ORG Mon Mar 16 09:30:06 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91EAA1065674 for ; Mon, 16 Mar 2009 09:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8074F8FC19 for ; Mon, 16 Mar 2009 09:30:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2G9U62e012115 for ; Mon, 16 Mar 2009 09:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2G9U67j012112; Mon, 16 Mar 2009 09:30:06 GMT (envelope-from gnats) Date: Mon, 16 Mar 2009 09:30:06 GMT Message-Id: <200903160930.n2G9U67j012112@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Vasile Marii Cc: Subject: Re: kern/132277: [crypto] [ipsec] poor performance using cryptodevice for IPSEC X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Vasile Marii List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 09:30:06 -0000 The following reply was made to PR kern/132277; it has been noted by GNATS. From: Vasile Marii To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/132277: [crypto] [ipsec] poor performance using cryptodevice for IPSEC Date: Mon, 16 Mar 2009 11:26:46 +0200 Thanks Patrick. Anyway, that patch solves the problem for glxsb but let's admit that there is still a problem with the OCF interface or OCF itself because on linux geode performs much better: around 90 Mbps. I must insist that there is a problem with the OCF or something because it's not ok to get half a speed on a 100Mbps NIC only because interaction with IP stack(as i think) or interface with OCF is not ok. -- Vasile Marii From owner-freebsd-net@FreeBSD.ORG Mon Mar 16 11:06:59 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A57D41065695 for ; Mon, 16 Mar 2009 11:06:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 91DCB8FC27 for ; Mon, 16 Mar 2009 11:06:59 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2GB6x3m043332 for ; Mon, 16 Mar 2009 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2GB6xWu043328 for freebsd-net@FreeBSD.org; Mon, 16 Mar 2009 11:06:59 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 16 Mar 2009 11:06:59 GMT Message-Id: <200903161106.n2GB6xWu043328@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-net@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-net@FreeBSD.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 11:07:00 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/132672 net [ndis] [panic] ndis with rt2860.sys causes kernel pani o kern/132625 net [iwn] iwn drivers don't support setting country o kern/132554 net [ipl] There is no ippool start script/ipfilter magic t o kern/132354 net [nat] Getting some packages to ipnat(8) causes crash o kern/132342 net [ndis] [patch] incorrect number used in for loop; fix o kern/132285 net [carp] alias gives incorrect hash in dmesg o kern/132277 net [crypto] [ipsec] poor performance using cryptodevice f o conf/132179 net [patch] /etc/network.subr: ipv6 rtsol on incorrect wla o kern/132107 net [carp] carp(4) advskew setting ignored when carp IP us o kern/131781 net [ndis] ndis keeps dropping the link o kern/131776 net [wi] driver fails to init o kern/131753 net [altq] [panic] kernel panic in hfsc_dequeue o bin/131567 net [socket] [patch] Update for regression/sockets/unix_cm o kern/131549 net ifconfig(8) can't clear 'monitor' mode on the wireless o kern/131536 net [netinet] [patch] kernel does allow manipulation of su o bin/131365 net route(8): route add changes interpretation of network o kern/131310 net [panic] 7.1 panics with mpd netgraph interface changes o kern/131162 net [ath] Atheros driver bugginess and kernel crashes o kern/131153 net [iwi] iwi doesn't see a wireless network f kern/131087 net [ipw] [panic] ipw / iwi - no sent/received packets; iw f kern/130820 net [ndis] wpa_supplicant(8) returns 'no space on device' o kern/130628 net [nfs] NFS / rpc.lockd deadlock on 7.1-R o conf/130555 net [rc.d] [patch] No good way to set ipfilter variables a o kern/130525 net [ndis] [panic] 64 bit ar5008 ndisgen-erated driver cau o kern/130311 net [wlan_xauth] [panic] hostapd restart causing kernel pa o bin/130159 net [patch] ppp(8) fails to correctly set routes o kern/130109 net [ipfw] Can not set fib for packets originated from loc f kern/130059 net [panic] Leaking 50k mbufs/hour o kern/129750 net [ath] Atheros AR5006 exits on "cannot map register spa f kern/129719 net [nfs] [panic] Panic during shutdown, tcp_ctloutput: in o kern/129580 net [ndis] Netgear WG311v3 (ndis) causes kenel trap at boo o kern/129517 net [ipsec] [panic] double fault / stack overflow o kern/129508 net [panic] Kernel panic with EtherIP (may be related to S o kern/129352 net [xl] [patch] xl0 watchdog timeout o kern/129219 net [ppp] Kernel panic when using kernel mode ppp o kern/129135 net [vge] vge driver on a VIA mini-ITX not working o bin/128954 net ifconfig(8) deletes valid routes o kern/128917 net [wpi] [panic] if_wpi and wpa+tkip causing kernel panic o kern/128884 net [msk] if_msk page fault while in kernel mode o kern/128840 net [igb] page fault under load with igb/LRO o bin/128602 net [an] wpa_supplicant(8) crashes with an(4) o kern/128598 net [bluetooth] WARNING: attempt to net_add_domain(bluetoo o kern/128448 net [nfs] 6.4-RC1 Boot Fails if NFS Hostname cannot be res o conf/128334 net [request] use wpa_cli in the "WPA DHCP" situation o bin/128295 net [patch] ifconfig(8) does not print TOE4 or TOE6 capabi o bin/128001 net wpa_supplicant(8), wlan(4), and wi(4) issues o kern/127928 net [tcp] [patch] TCP bandwidth gets squeezed every time t o kern/127834 net [ixgbe] [patch] wrong error counting o kern/127826 net [iwi] iwi0 driver has reduced performance and connecti o kern/127815 net [gif] [patch] if_gif does not set vlan attributes from o kern/127724 net [rtalloc] rtfree: 0xc5a8f870 has 1 refs f bin/127719 net arp: Segmentation fault (core dumped) s kern/127587 net [bge] [request] if_bge(4) doesn't support BCM576X fami f kern/127528 net [icmp]: icmp socket receives icmp replies not owned by o bin/127192 net routed(8) removes the secondary alias IP of interface f kern/127145 net [wi]: prism (wi) driver crash at bigger traffic o kern/127102 net [wpi] Intel 3945ABG low throughput o kern/127057 net [udp] Unable to send UDP packet via IPv6 socket to IPv o kern/127050 net [carp] ipv6 does not work on carp interfaces [regressi o kern/126945 net [carp] CARP interface destruction with ifconfig destro o kern/126924 net [an] [patch] printf -> device_printf and simplify prob o kern/126895 net [patch] [ral] Add antenna selection (marked as TBD) o kern/126874 net [vlan]: Zebra problem if ifconfig vlanX destroy o bin/126822 net wpa_supplicant(8): WPA PSK does not work in adhoc mode o kern/126714 net [carp] CARP interface renaming makes system no longer o kern/126695 net rtfree messages and network disruption upon use of if_ o kern/126688 net [ixgbe] [patch] 1.4.7 ixgbe driver panic with 4GB and o kern/126475 net [ath] [panic] ath pcmcia card inevitably panics under o kern/126469 net [fxp] [panic] fxp(4) related kernel panic o kern/126339 net [ipw] ipw driver drops the connection o kern/126214 net [ath] txpower problem with Atheros wifi card o kern/126075 net [inet] [patch] internet control accesses beyond end of o bin/125922 net [patch] Deadlock in arp(8) o kern/125920 net [arp] Kernel Routing Table loses Ethernet Link status o kern/125845 net [netinet] [patch] tcp_lro_rx() should make use of hard o kern/125816 net [carp] [if_bridge] carp stuck in init when using bridg f kern/125502 net [ral] ifconfig ral0 scan produces no output unless in o kern/125258 net [socket] socket's SO_REUSEADDR option does not work o kern/125239 net [gre] kernel crash when using gre f kern/125195 net [fxp] fxp(4) driver failed to initialize device Intel o kern/124904 net [fxp] EEPROM corruption with Compaq NC3163 NIC o kern/124767 net [iwi] Wireless connection using iwi0 driver (Intel 220 o kern/124753 net [ieee80211] net80211 discards power-save queue packets o kern/124341 net [ral] promiscuous mode for wireless device ral0 looses o kern/124160 net [libc] connect(2) function loops indefinitely o kern/124127 net [msk] watchdog timeout (missed Tx interrupts) -- recov o kern/124021 net [ip6] [panic] page fault in nd6_output() o kern/123968 net [rum] [panic] rum driver causes kernel panic with WPA. p kern/123961 net [vr] [patch] Allow vr interface to handle vlans o kern/123892 net [tap] [patch] No buffer space available o kern/123858 net [stf] [patch] stf not usable behind a NAT o kern/123796 net [ipf] FreeBSD 6.1+VPN+ipnat+ipf: port mapping does not o bin/123633 net ifconfig(8) doesn't set inet and ether address in one f kern/123617 net [tcp] breaking connection when client downloading file o kern/123603 net [tcp] tcp_do_segment and Received duplicate SYN o kern/123559 net [iwi] iwi periodically disassociates/associates [regre o bin/123465 net [ip6] route(8): route add -inet6 -interfac o kern/123463 net [ipsec] [panic] repeatable crash related to ipsec-tool o kern/123429 net [nfe] [hang] "ifconfig nfe up" causes a hard system lo o kern/123347 net [bge] bge1: watchdog timeout -- linkstate changed to D o conf/123330 net [nsswitch.conf] Enabling samba wins in nsswitch.conf c o kern/123256 net [wpi] panic: blockable sleep lock with wpi(4) f kern/123172 net [bce] Watchdog timeout problems with if_bce o kern/123160 net [ip] Panic and reboot at sysctl kern.polling.enable=0 o kern/122989 net [swi] [panic] 6.3 kernel panic in swi1: net o kern/122954 net [lagg] IPv6 EUI64 incorrectly chosen for lagg devices o kern/122928 net [em] interface watchdog timeouts and stops receiving p f kern/122839 net [multicast] FreeBSD 7 multicast routing problem p kern/122794 net [lagg] Kernel panic after brings lagg(8) up if NICs ar o kern/122780 net [lagg] tcpdump on lagg interface during high pps wedge o kern/122772 net [em] em0 taskq panic, tcp reassembly bug causes radix o kern/122743 net [panic] vm_page_unwire: invalid wire count: 0 o kern/122697 net [ath] Atheros card is not well supported o kern/122685 net It is not visible passing packets in tcpdump(1) o kern/122551 net [bge] Broadcom 5715S no carrier on HP BL460c blade usi o kern/122427 net [apm] [panic] apm and mDNSResponder cause panic during o kern/122319 net [wi] imposible to enable ad-hoc demo mode with Orinoco o kern/122290 net [netgraph] [panic] Netgraph related "kmem_map too smal f kern/122252 net [ipmi] [bge] IPMI problem with BCM5704 (does not work o kern/122195 net [ed] Alignment problems in if_ed o kern/122058 net [em] [panic] Panic on em1: taskq o kern/122033 net [ral] [lor] Lock order reversal in ral0 at bootup [reg o kern/121983 net [fxp] fxp0 MBUF and PAE o kern/121872 net [wpi] driver fails to attach on a fujitsu-siemens s711 s kern/121774 net [swi] [panic] 6.3 kernel panic in swi1: net o kern/121706 net [netinet] [patch] "rtfree: 0xc4383870 has 1 refs" emit o kern/121624 net [em] [regression] Intel em WOL fails after upgrade to o kern/121555 net [panic] Fatal trap 12: current process = 12 (swi1: net o kern/121443 net [gif] [lor] icmp6_input/nd6_lookup o kern/121437 net [vlan] Routing to layer-2 address does not work on VLA o kern/121298 net [em] [panic] Fatal trap 12: page fault while in kernel o kern/121257 net [tcp] TSO + natd -> slow outgoing tcp traffic o kern/121181 net [panic] Fatal trap 3: breakpoint instruction fault whi o kern/121080 net [bge] IPv6 NUD problem on multi address config on bge0 o kern/120966 net [rum] kernel panic with if_rum and WPA encryption p docs/120945 net [patch] ip6(4) man page lacks documentation for TCLASS o kern/120566 net [request]: ifconfig(8) make order of arguments more fr o kern/120304 net [netgraph] [patch] netgraph source assumes 32-bit time o kern/120266 net [panic] gnugk causes kernel panic when closing UDP soc o kern/120232 net [nfe] [patch] Bring in nfe(4) to RELENG_6 o kern/120130 net [carp] [panic] carp causes kernel panics in any conste o bin/120060 net routed(8) deletes link-level routes in the presence of o kern/119945 net [rum] [panic] rum device in hostap mode, cause kernel o kern/119791 net [nfs] UDP NFS mount of aliased IP addresses from a Sol o kern/119617 net [nfs] nfs error on wpa network when reseting/shutdown f kern/119516 net [ip6] [panic] _mtx_lock_sleep: recursed on non-recursi o kern/119432 net [arp] route add -host -iface causes arp e o kern/119361 net [bge] bge(4) transmit performance problem o kern/119225 net [wi] 7.0-RC1 no carrier with Prism 2.5 wifi card [regr a bin/118987 net ifconfig(8): ifconfig -l (address_family) does not wor a kern/118879 net [bge] [patch] bge has checksum problems on the 5703 ch o kern/118727 net [netgraph] [patch] [request] add new ng_pf module s kern/117717 net [panic] Kernel panic with Bittorrent client. o kern/117448 net [carp] 6.2 kernel crash [regression] o kern/117423 net [vlan] Duplicate IP on different interfaces o bin/117339 net [patch] route(8): loading routing management commands o kern/117271 net [tap] OpenVPN TAP uses 99% CPU on releng_6 when if_tap o kern/117043 net [em] Intel PWLA8492MT Dual-Port Network adapter EEPROM o kern/116837 net [tun] [panic] [patch] ifconfig tunX destroy: panic o kern/116747 net [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile o bin/116643 net [patch] [request] fstat(1): add INET/INET6 socket deta o kern/116328 net [bge]: Solid hang with bge interface o kern/116185 net [iwi] if_iwi driver leads system to reboot o kern/115239 net [ipnat] panic with 'kmem_map too small' using ipnat o kern/115019 net [netgraph] ng_ether upper hook packet flow stops on ad o kern/115002 net [wi] if_wi timeout. failed allocation (busy bit). ifco o kern/114915 net [patch] [pcn] pcn (sys/pci/if_pcn.c) ethernet driver f f kern/114899 net [bge] bge0: watchdog timeout -- resetting o kern/114839 net [fxp] fxp looses ability to speak with traffic o kern/114714 net [gre] [patch] gre(4) is not MPSAFE and does not suppor o kern/113895 net [xl] xl0 fails on 6.2-RELEASE but worked fine on 5.5-R o kern/112722 net [ipsec] [udp] IP v4 udp fragmented packet reject o kern/112686 net [patm] patm driver freezes System (FreeBSD 6.2-p4) i38 o kern/112570 net [bge] packet loss with bge driver on BCM5704 chipset o bin/112557 net [patch] ppp(8) lock file should not use symlink name o kern/112528 net [nfs] NFS over TCP under load hangs with "impossible p o kern/111457 net [ral] ral(4) freeze o kern/110140 net [ipw] ipw fails under load o kern/109733 net [bge] bge link state issues [regression] o kern/109470 net [wi] Orinoco Classic Gold PC Card Can't Channel Hop o kern/109308 net [pppd] [panic] Multiple panics kernel ppp suspected [r o kern/109251 net [re] [patch] if_re cardbus card won't attach o bin/108895 net pppd(8): PPPoE dead connections on 6.2 [regression] o kern/108542 net [bce] Huge network latencies with 6.2-RELEASE / STABLE o kern/107944 net [wi] [patch] Forget to unlock mutex-locks o kern/107850 net [bce] bce driver link negotiation is faulty o conf/107035 net [patch] bridge interface given in rc.conf not taking a o kern/106438 net [ipf] ipfilter: keep state does not seem to allow repl o kern/106316 net [dummynet] dummynet with multipass ipfw drops packets o kern/106243 net [nve] double fault panic in if_nve.c on high loads o kern/105945 net Address can disappear from network interface s kern/105943 net Network stack may modify read-only mbuf chain copies o bin/105925 net problems with ifconfig(8) and vlan(4) [regression] o kern/105348 net [ath] ath device stopps TX o kern/104851 net [inet6] [patch] On link routes not configured when usi o kern/104751 net [netgraph] kernel panic, when getting info about my tr o kern/104485 net [bge] Broadcom BCM5704C: Intermittent on newer chip ve o kern/103191 net Unpredictable reboot o kern/103135 net [ipsec] ipsec with ipfw divert (not NAT) encodes a pac o conf/102502 net [patch] ifconfig name does't rename netgraph node in n o kern/102035 net [plip] plip networking disables parallel port printing o kern/101948 net [ipf] [panic] Kernel Panic Trap No 12 Page Fault - cau o kern/100519 net [netisr] suggestion to fix suboptimal network polling o kern/98978 net [ipf] [patch] ipfilter drops OOW packets under 6.1-Rel o bin/98218 net wpa_supplicant(8) blacklist not working f bin/97392 net ppp(8) hangs instead terminating o kern/97306 net [netgraph] NG_L2TP locks after connection with failed f kern/96268 net [socket] TCP socket performance drops by 3000% if pack o kern/96030 net [bfe] [patch] Install hangs with Broadcomm 440x NIC in o kern/95519 net [ral] ral0 could not map mbuf o kern/95288 net [pppd] [tty] [panic] if_ppp panic in sys/kern/tty_subr o kern/95277 net [netinet] [patch] IP Encapsulation mask_match() return o kern/95267 net packet drops periodically appear s kern/94863 net [bge] [patch] hack to get bge(4) working on IBM e326m o kern/94162 net [bge] 6.x kenel stale with bge(4) o kern/93886 net [ath] Atheros/D-Link DWL-G650 long delay to associate f kern/93378 net [tcp] Slow data transfer in Postfix and Cyrus IMAP (wo o kern/93019 net [ppp] ppp and tunX problems: no traffic after restarti f kern/92552 net A serious bug in most network drivers from 5.X to 6.X s kern/92279 net [dc] Core faults everytime I reboot, possible NIC issu o kern/92090 net [bge] bge0: watchdog timeout -- resetting o kern/91859 net [ndis] if_ndis does not work with Asus WL-138 s kern/91777 net [ipf] [patch] wrong behaviour with skip rule inside an o kern/91594 net [em] FreeBSD > 5.4 w/ACPI fails to detect Intel Pro/10 o kern/91364 net [ral] [wep] WF-511 RT2500 Card PCI and WEP o kern/91311 net [aue] aue interface hanging o kern/90890 net [vr] Problems with network: vr0: tx shutdown timeout s kern/90086 net [hang] 5.4p8 on supermicro P8SCT hangs during boot if f kern/88082 net [ath] [panic] cts protection for ath0 causes panic o kern/87521 net [ipf] [panic] using ipfilter "auth" keyword leads to k o kern/87506 net [vr] [patch] Fix alias support on vr interfaces o kern/87194 net [fxp] fxp(4) promiscuous mode seems to corrupt hw-csum s kern/86920 net [ndis] ifconfig: SIOCS80211: Invalid argument [regress o kern/86103 net [ipf] Illegal NAT Traversal in IPFilter o bin/85445 net ifconfig(8): deprecated keyword to ifconfig inoperativ o kern/85266 net [xe] [patch] xe(4) driver does not recognise Xircom XE o kern/84202 net [ed] [patch] Holtek HT80232 PCI NIC recognition on Fre o bin/82975 net route change does not parse classfull network as given o kern/82497 net [vge] vge(4) on AMD64 only works when loaded late, not f kern/81644 net [vge] vge(4) does not work properly when loaded as a K s kern/81147 net [net] [patch] em0 reinitialization while adding aliase o kern/80853 net [ed] [patch] add support for Compex RL2000/ISA in PnP o kern/79895 net [ipf] 5.4-RC2 breaks ipfilter NAT when using netgraph f kern/79262 net [dc] Adaptec ANA-6922 not fully supported o bin/79228 net [patch] extend arp(8) to be able to create blackhole r o kern/78090 net [ipf] ipf filtering on bridged packets doesn't work if p kern/77913 net [wi] [patch] Add the APDL-325 WLAN pccard to wi(4) o kern/77273 net [ipf] ipfilter breaks ipv6 statefull filtering on 5.3 s kern/77195 net [ipf] [patch] ipfilter ioctl SIOCGNATL does not match s kern/75407 net [an] an(4): no carrier after short time f kern/73538 net [bge] problem with the Broadcom BCM5788 Gigabit Ethern o kern/71469 net default route to internet magically disappears with mu o kern/70904 net [ipf] ipfilter ipnat problem with h323 proxy support o kern/64556 net [sis] if_sis short cable fix problems with NetGear FA3 s kern/60293 net [patch] FreeBSD arp poison patch o kern/54383 net [nfs] [patch] NFS root configurations without dynamic f i386/45773 net [bge] Softboot causes autoconf failure on Broadcom 570 s bin/41647 net ifconfig(8) doesn't accept lladdr along with inet addr s kern/39937 net ipstealth issue a kern/38554 net [patch] changing interface ipaddress doesn't seem to w o kern/35442 net [sis] [patch] Problem transmitting runts in if_sis dri o kern/34665 net [ipf] [hang] ipfilter rcmd proxy "hangs". o kern/27474 net [ipf] [ppp] Interactive use of user PPP and ipfilter c o conf/23063 net [patch] for static ARP tables in rc.network 264 problems total. From owner-freebsd-net@FreeBSD.ORG Mon Mar 16 15:41:00 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EBA61065693; Mon, 16 Mar 2009 15:41:00 +0000 (UTC) (envelope-from sepron@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27]) by mx1.freebsd.org (Postfix) with ESMTP id 100A88FC08; Mon, 16 Mar 2009 15:40:59 +0000 (UTC) (envelope-from sepron@gmail.com) Received: by qw-out-2122.google.com with SMTP id 3so1683553qwe.7 for ; Mon, 16 Mar 2009 08:40:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=9Zyu+NODluhZnxUGOHQLkPQvylxJjFT0Q/7f3+KXMJY=; b=SaFW1Y/V0JSdV6oO5m990O3JI79EsCt++ZSXkJcf0zmflb5zvwof5f2TTYRQrVCDb5 TEB/cS5cwSmcvYHqXxdgFI2LQYl5xVJ7LptMPQVxznQXz4mdx88lPOT/WMlMzszZvJgb O6vv0+GW5Iat+3UPwtiwhLrf2WtqyRQh6NxeM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TOuhISEYlzaF+XzDDPtawN+5mWwmBYk/Lky7rymtiyofIYVRrdIGnbhqNPCvuJN/hS GPhs6g2oVH/NZfBdjPsWxkiu+N3TrMyj+9K4AgOfxLykrLPn6l0Z1/SLZr2fCvjn8f8b CySCCpBMDL/qCyOmUid9ysuhVdHJKHSW/AiJQ= MIME-Version: 1.0 Received: by 10.142.139.14 with SMTP id m14mr2198351wfd.309.1237218058837; Mon, 16 Mar 2009 08:40:58 -0700 (PDT) Date: Mon, 16 Mar 2009 18:40:58 +0300 Message-ID: From: Sergey Pronin To: freebsd-net@freebsd.org, freebsd-bugs@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Synopsis: process swi1: net, taskq em0 and dummynet gives 100% CPU usage X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 15:41:01 -0000 Synopsis: process swi1: net, taskq em0 and dummynet gives 100% CPU usage Related to http://lists.freebsd.org/pipermail/freebsd-net/2009-February/021120.html Not depending on the conditions (no heavy load, not a lot of traffic passing through, not a lot of ng nodes) server stops to work properly. A: 1) swi1:net gives me 100% CPU usage. 2) server is not responding to icmp echo requests 3) ssh of course not working 4) mpd has an "ngsock" state at the top 5) rebooting the server helps. B: 1) taskq: em0 gives me 100% CPU usage. 2) I have watchdog timeout in my /var/log/messages 3) server is not responding to icmp echo requests 4) ssh of course not working 5) mpd has an "ngsock" state at the top 6) rebooting the server helps. 7) swi1:net is 0% C: 1) dummynet process gives 100% CPU usage. 2) server is not responding to icmp echo requests 3) ssh of course not working 4) mpd has an "ngsock" state at the top 5) rebooting the server helps. I have few servers: INTEL S3200SH with Q8200 or E8600 NICs: 82566DM-2 or 82571EB (em driver) OSes: FreeBSD 7.0-RELEASE-p10, FreeBSD 7.0-RELEASE-p9, FreeBSD 6.4-RELEASE-p3 Soft: mpd 4.4.1, ipfw with dummynet shaping, pf (nat only) PPPoE I'm using only em0 card with about 550 vlans 2000 ng nodes created About 500-700 simultaneous PPPoE sessions in a rush hour. kernel: device bpf # Berkeley packet filter device pf options IPFIREWALL options IPFIREWALL_VERBOSE options IPFIREWALL_FORWARD options IPFIREWALL_VERBOSE_LIMIT=1000 options IPFIREWALL_DEFAULT_TO_ACCEPT options IPDIVERT options DUMMYNET options DEVICE_POLLING options HZ=2000 options NETGRAPH options NETGRAPH_ETHER options NETGRAPH_IFACE options NETGRAPH_SOCKET options NETGRAPH_PPP options NETGRAPH_TCPMSS options NETGRAPH_TEE options NETGRAPH_VJC options NETGRAPH_PPPOE On some servers i have netgraph as modules and polling option commented out. sysctl.conf: net.inet.ip.intr_queue_maxlen=1000 net.inet.tcp.blackhole=2 net.inet.udp.blackhole=1 net.inet.ip.dummynet.hash_size=1024 net.inet.ip.dummynet.io_fast=1 net.inet.ip.fw.one_pass=1 net.inet.ip.fastforwarding=1 net.isr.direct=0 #net.inet.ip.portrange.randomized=0 net.inet.tcp.syncookies=1 kern.ipc.maxsockbuf=1048576 net.graph.maxdgram=524288 net.graph.recvspace=524288 net.inet.ip.portrange.first=1024 net.inet.ip.portrange.last=65535 dev.em.0.rx_int_delay=160 dev.em.0.rx_abs_int_delay=160 dev.em.0.tx_int_delay=160 dev.em.0.tx_abs_int_delay=160 dev.em.0.rx_processing_limit=200 loader.conf: autoboot_delay="2" kern.ipc.maxpipekva=10000000 net.graph.maxalloc=2048 hw.em.rxd="512" hw.em.txd="1024" About 30 ipfw rules and 2 rules for shaping: 00300 pipe tablearg ip from any to table(4) out via ng* 00301 pipe tablearg ip from table(5) to any in via ng* I have tested different network cards with different chipsets. With and without lagg0. I had the same problems with Freebsd 7.1-RELEASE-p1/p2. I tried to start servers without em tuning in loader.conf and sysctl.conf. Server uptime differs from one week to two month. I have two another servers with the same hardware, but without using dummynet, netgraph and mpd. There is only quagga + bgp, same chipsets, FreeBSD 7.0-RELEAS-p10. No problems at all. IMHO: problem is somewhere in netgraph. Something is causing an infinite loop. Any ideas? From owner-freebsd-net@FreeBSD.ORG Mon Mar 16 16:55:56 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BD7D1065677 for ; Mon, 16 Mar 2009 16:55:56 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from cohiba.eagle.ca (cohiba.eagle.ca [208.70.104.203]) by mx1.freebsd.org (Postfix) with ESMTP id E71A38FC0C for ; Mon, 16 Mar 2009 16:55:55 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: (qmail 53170 invoked by uid 89); 16 Mar 2009 16:55:53 -0000 Received: from unknown (HELO ?192.168.1.114?) (steveb@eagle.ca@208.70.104.100) by cohiba.eagle.ca with ESMTPA; 16 Mar 2009 16:55:53 -0000 Message-ID: <49BE8494.6030305@ibctech.ca> Date: Mon, 16 Mar 2009 12:55:48 -0400 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: FreeBSD Net X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: uRPF X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 16:55:57 -0000 Hi everyone, I've implemented RTBH within our network, but I have one small issue. I've got one FreeBSD/Quagga edge router that has an interface which contains a default route out. Although this will change in the next while, at this time, it is preventing me from doing reverse path check, thereby breaking source-based black-holing. It appears to me that IPFW's verrevpath (and it's kin) do not provide the ability to perform the RPF check and allow default. Have there been any advancements in this regard? Am I missing something, or is there another approach to allowing default with reverse path? Regards, Steve From owner-freebsd-net@FreeBSD.ORG Mon Mar 16 20:10:16 2009 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1EC51065672 for ; Mon, 16 Mar 2009 20:10:16 +0000 (UTC) (envelope-from cokane@FreeBSD.org) Received: from mail-out1.fuse.net (mail-out1.fuse.net [216.68.8.175]) by mx1.freebsd.org (Postfix) with ESMTP id 7B9AA8FC1E for ; Mon, 16 Mar 2009 20:10:16 +0000 (UTC) (envelope-from cokane@FreeBSD.org) X-CNFS-Analysis: v=1.0 c=1 a=xgXaKvvpysUA:10 a=VdK7-obbqX0A:10 a=6I5d2MoRAAAA:8 a=9JIfFU07cOActQEztE4A:9 a=jFviNGBfAntndDSzbhwA:7 a=qHTR4_ig4OAGKh3fuVcu4ElAeKQA:4 a=XF7b4UCPwd8A:10 a=SV7veod9ZcQA:10 a=eWPWW3wkdogB2q3AEgUA:9 a=zWMAHbQ1mdvlIKah-WtNAcKbzRUA:4 a=rPt6xJ-oxjAA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: gwout1 smtp.mail=cokane@FreeBSD.org; spf=softfail Received-SPF: softfail (gwout1: transitional domain FreeBSD.org does not designate 74.215.227.9 as permitted sender) Received: from [74.215.227.9] ([74.215.227.9:50488] helo=discordia) by gwout1 (envelope-from ) (ecelerity 2.2.2.37 r(28805/28810M)) with ESMTP id 0F/37-27669-39EAEB94; Mon, 16 Mar 2009 15:55:00 -0400 Received: by discordia (Postfix, from userid 103) id C273E35A7E4; Mon, 16 Mar 2009 15:54:59 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.31.1.6] (unknown [172.31.1.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id E214435A7E3; Mon, 16 Mar 2009 15:54:52 -0400 (EDT) From: Coleman Kane To: Sam Leffler In-Reply-To: <49BC1C66.7030400@freebsd.org> References: <1236937253.2282.0.camel@localhost> <49BAEA9F.8020302@incunabulum.net> <49BB0D3E.2020306@incunabulum.net> <49BC1C66.7030400@freebsd.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-jfxLpbIN2j5WK690VAs3" Organization: FreeBSD Project Date: Mon, 16 Mar 2009 15:53:30 -0400 Message-Id: <1237233210.84180.20.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 FreeBSD GNOME Team Port Cc: Bruce Simpson , current@freebsd.org, freebsd-net Subject: Re: IGMP+WiFi panic on recent kernel - in igmp_fasttimo() X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 20:10:17 -0000 --=-jfxLpbIN2j5WK690VAs3 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable The crash that I am seeing (using if_ndis) occurs in igmp_fasttimo... This patch doesn't fix that, I'll get more info as soon as I can. On Sat, 2009-03-14 at 14:06 -0700, Sam Leffler wrote: > This patches avoids the crash. Not sure how ifma_protospec is supposed=20 > to be handled so I'm not committing it. >=20 > Sam >=20 > plain text document attachment (mcast.patch) > Index: in.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- in.c (revision 189750) > +++ in.c (working copy) > @@ -1040,7 +1040,8 @@ > */ > IF_ADDR_LOCK(ifp); > TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) { > - if (ifma->ifma_addr->sa_family !=3D AF_INET) > + if (ifma->ifma_addr->sa_family !=3D AF_INET || > + ifma->ifma_protospec =3D=3D NULL) > continue; > inm =3D (struct in_multi *)ifma->ifma_protospec; > LIST_INSERT_HEAD(&purgeinms, inm, inm_link); > Index: igmp.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > --- igmp.c (revision 189750) > +++ igmp.c (working copy) > @@ -623,7 +623,8 @@ > if (igi->igi_version =3D=3D IGMP_VERSION_3) { > IF_ADDR_LOCK(ifp); > TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) { > - if (ifma->ifma_addr->sa_family !=3D AF_INET) > + if (ifma->ifma_addr->sa_family !=3D AF_INET || > + ifma->ifma_protospec =3D=3D NULL) > continue; > inm =3D (struct in_multi *)ifma->ifma_protospec; > if (inm->inm_state =3D=3D IGMP_LEAVING_MEMBER) { > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " --=20 Coleman Kane --=-jfxLpbIN2j5WK690VAs3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkm+rjIACgkQcMSxQcXat5ceLwCeKuZZnl8aE59M5vaukNPp2Atk yPYAn0kq9fciOvjO/vKZj+8zh6qxsTXL =hjdk -----END PGP SIGNATURE----- --=-jfxLpbIN2j5WK690VAs3-- From owner-freebsd-net@FreeBSD.ORG Mon Mar 16 20:14:11 2009 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5256106570A; Mon, 16 Mar 2009 20:14:11 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 656558FC1F; Mon, 16 Mar 2009 20:14:11 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2GKEApH073903 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Mar 2009 13:14:10 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49BEB312.7060105@freebsd.org> Date: Mon, 16 Mar 2009 13:14:10 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Coleman Kane References: <1236937253.2282.0.camel@localhost> <49BAEA9F.8020302@incunabulum.net> <49BB0D3E.2020306@incunabulum.net> <49BC1C66.7030400@freebsd.org> <1237233210.84180.20.camel@localhost> In-Reply-To: <1237233210.84180.20.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: Bruce Simpson , current@freebsd.org, freebsd-net Subject: Re: IGMP+WiFi panic on recent kernel - in igmp_fasttimo() X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 20:14:12 -0000 It is the same issue but the root cause is unclear. There is much code that does assumes ifma_protospec might be NULL and checks for it. In my case (creating a wlan ifnet and then destroying it on eject) the patch below is sufficient. I don't care to dig right now to understand how this stuff is supposed to work; it should be clear from comments etc but the code is lacking. Sam Coleman Kane wrote: > The crash that I am seeing (using if_ndis) occurs in igmp_fasttimo... > This patch doesn't fix that, I'll get more info as soon as I can. > > On Sat, 2009-03-14 at 14:06 -0700, Sam Leffler wrote: > >> This patches avoids the crash. Not sure how ifma_protospec is supposed >> to be handled so I'm not committing it. >> >> Sam >> >> plain text document attachment (mcast.patch) >> Index: in.c >> =================================================================== >> --- in.c (revision 189750) >> +++ in.c (working copy) >> @@ -1040,7 +1040,8 @@ >> */ >> IF_ADDR_LOCK(ifp); >> TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) { >> - if (ifma->ifma_addr->sa_family != AF_INET) >> + if (ifma->ifma_addr->sa_family != AF_INET || >> + ifma->ifma_protospec == NULL) >> continue; >> inm = (struct in_multi *)ifma->ifma_protospec; >> LIST_INSERT_HEAD(&purgeinms, inm, inm_link); >> Index: igmp.c >> =================================================================== >> --- igmp.c (revision 189750) >> +++ igmp.c (working copy) >> @@ -623,7 +623,8 @@ >> if (igi->igi_version == IGMP_VERSION_3) { >> IF_ADDR_LOCK(ifp); >> TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) { >> - if (ifma->ifma_addr->sa_family != AF_INET) >> + if (ifma->ifma_addr->sa_family != AF_INET || >> + ifma->ifma_protospec == NULL) >> continue; >> inm = (struct in_multi *)ifma->ifma_protospec; >> if (inm->inm_state == IGMP_LEAVING_MEMBER) { >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >> From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 00:34:34 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CECDB106564A; Tue, 17 Mar 2009 00:34:34 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A3A4F8FC12; Tue, 17 Mar 2009 00:34:34 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2H0YYP4095187; Tue, 17 Mar 2009 00:34:34 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2H0YYRl095183; Tue, 17 Mar 2009 00:34:34 GMT (envelope-from linimon) Date: Tue, 17 Mar 2009 00:34:34 GMT Message-Id: <200903170034.n2H0YYRl095183@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/132705: [tcp_wrappers] [patch] libwrap - infinite loop if hosts.allow line > 2k X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 00:34:35 -0000 Old Synopsis: libwrap - infinite loop if hosts.allow line > 2k New Synopsis: [tcp_wrappers] [patch] libwrap - infinite loop if hosts.allow line > 2k Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Tue Mar 17 00:34:17 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=132705 From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 02:33:59 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD1DA106564A; Tue, 17 Mar 2009 02:33:59 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A2E258FC15; Tue, 17 Mar 2009 02:33:59 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2H2XxOg049418; Tue, 17 Mar 2009 02:33:59 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2H2Xxox049414; Tue, 17 Mar 2009 02:33:59 GMT (envelope-from linimon) Date: Tue, 17 Mar 2009 02:33:59 GMT Message-Id: <200903170233.n2H2Xxox049414@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/132715: [lagg] [panic] Panic when creating vlan's on lagg interface X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 02:34:00 -0000 Old Synopsis: Panic when creating vlan's on lagg interface New Synopsis: [lagg] [panic] Panic when creating vlan's on lagg interface Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Tue Mar 17 02:33:42 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=132715 From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 07:44:47 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 603B11065672; Tue, 17 Mar 2009 07:44:47 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id 037D98FC0C; Tue, 17 Mar 2009 07:44:46 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 4FEE52F1934; Tue, 17 Mar 2009 03:44:46 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Tue, 17 Mar 2009 03:44:46 -0400 X-Sasl-enc: COnZXa1X0PP14P0/azIC+qGbiwOKaaZeFK6Uv2exQZld 1237275885 Received: from anglepoise.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 910A528278; Tue, 17 Mar 2009 03:44:45 -0400 (EDT) Message-ID: <49BF54EB.3070800@incunabulum.net> Date: Tue, 17 Mar 2009 07:44:43 +0000 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.19 (X11/20090125) MIME-Version: 1.0 To: FreeBSD Net , imp@FreeBSD.org, pyunyh@gmail.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: ae(4) Wake-on-Lan MFC X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 07:44:47 -0000 Hi, I noticed that ae(4) got MFC'ed to RELENG_7 before Wake-on-Lan support did. However, WOL support is now there, and it looks like the change can just go in: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ae/if_ae.c.diff?r1=1.1.2%3ARELENG_7&tr1=1.1&r2=1.3%3AHEAD&tr2=1.3 I am tied up looking at other stuff at the moment, it would be nice to merge the change, but low priority for me right now. BTW, it still seems easier to use cvsweb to pull a diff between FreeBSD branches since the SVN change, does anyone know an easier way? thanks BMS From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 07:53:42 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F0151065676 for ; Tue, 17 Mar 2009 07:53:42 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outB.internet-mail-service.net (outb.internet-mail-service.net [216.240.47.225]) by mx1.freebsd.org (Postfix) with ESMTP id 557E58FC0A for ; Tue, 17 Mar 2009 07:53:42 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 99F42CD8BF; Tue, 17 Mar 2009 00:53:42 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 73CCC2D601D; Tue, 17 Mar 2009 00:53:41 -0700 (PDT) Message-ID: <49BF570A.6000904@elischer.org> Date: Tue, 17 Mar 2009 00:53:46 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Bruce Simpson References: <49BF54EB.3070800@incunabulum.net> In-Reply-To: <49BF54EB.3070800@incunabulum.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: pyunyh@gmail.com, FreeBSD Net , imp@FreeBSD.org Subject: Re: ae(4) Wake-on-Lan MFC X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 07:53:42 -0000 Bruce Simpson wrote: > Hi, > > I noticed that ae(4) got MFC'ed to RELENG_7 before Wake-on-Lan support did. > > However, WOL support is now there, and it looks like the change can just > go in: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ae/if_ae.c.diff?r1=1.1.2%3ARELENG_7&tr1=1.1&r2=1.3%3AHEAD&tr2=1.3 > > > I am tied up looking at other stuff at the moment, it would be nice to > merge the change, but low priority for me right now. > > BTW, it still seems easier to use cvsweb to pull a diff between FreeBSD > branches since the SVN change, > does anyone know an easier way? that's basically what I do.. > > thanks > BMS > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 08:13:02 2009 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D172106566C; Tue, 17 Mar 2009 08:13:02 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id 0D7408FC16; Tue, 17 Mar 2009 08:13:01 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id 868352F2073; Tue, 17 Mar 2009 04:13:01 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Tue, 17 Mar 2009 04:13:01 -0400 X-Sasl-enc: mXSuPPtFQkLbGPBuDxlcHhbqGaJU8w1WoQ4GiqFiP6Sk 1237277581 Received: from anglepoise.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id C709E282F8; Tue, 17 Mar 2009 04:13:00 -0400 (EDT) Message-ID: <49BF5B8A.4040108@incunabulum.net> Date: Tue, 17 Mar 2009 08:12:58 +0000 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.19 (X11/20090125) MIME-Version: 1.0 To: Sam Leffler References: <1236937253.2282.0.camel@localhost> <49BAEA9F.8020302@incunabulum.net> <49BB0D3E.2020306@incunabulum.net> <49BC1C66.7030400@freebsd.org> <1237233210.84180.20.camel@localhost> <49BEB312.7060105@freebsd.org> In-Reply-To: <49BEB312.7060105@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@freebsd.org, Coleman Kane , freebsd-net Subject: Re: IGMP+WiFi panic on recent kernel - in igmp_fasttimo() X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 08:13:02 -0000 Sam Leffler wrote: > It is the same issue but the root cause is unclear. There is much > code that does assumes ifma_protospec might be NULL and checks for > it. In my case (creating a wlan ifnet and then destroying it on > eject) the patch below is sufficient. I don't care to dig right now > to understand how this stuff is supposed to work; it should be clear > from comments etc but the code is lacking. > This is just to say I've tried to reproduce the 802.11 related panics, however have hit a brick wall because the PCI-CardBus bridge does not seem to detect anything in its slot. (1U Itox Expanding Dragon industrial PC w/a SiteCom branded Ricoh RL475 cardbus card). I tried unloading if_fxp with IGMPv3 active on the ifnet, and didn't see any panic, I'm assuming this is OK for the time being. Qing Li volunteered to test IGMPv3 out for any VLAN related issues -- I understand it stacks ifnets in a similar way to that of 802.11 -- however I have had no feedback from him since last week. So I'm waiting for a HEAD build to a USB2 stick to finish, so I can try testing nondestructively on my laptop, where I know for sure that the PCI-CardBus bridge slot works, and I can detach an 802.11 card on the fly. Re ifma_protospec: Yes, there are tricks in the ifnet/in layer which set it to NULL and look for it to be NULL. I ended up doing it this way mainly because adding reference counting to ifnet would have simply been too much work, and it's really a ball that needs to be kicked around at a dev summit. However time presses on and it's better to get SOMETHING out there. Most likely the IGMPv3 changes are hitting this in the 802.11 case somehow, I don't have a complete picture of how/why/what's going on, and have been relying on feedback from others so far. cheers BMS From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 08:21:20 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC6DD106564A; Tue, 17 Mar 2009 08:21:20 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 922748FC1A; Tue, 17 Mar 2009 08:21:20 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2H8LK9U033481; Tue, 17 Mar 2009 08:21:20 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2H8LKcL033469; Tue, 17 Mar 2009 08:21:20 GMT (envelope-from linimon) Date: Tue, 17 Mar 2009 08:21:20 GMT Message-Id: <200903170821.n2H8LKcL033469@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 08:21:21 -0000 Old Synopsis: Wifi ath0 associates fine with AP, but DHCP or IP does not work New Synopsis: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Tue Mar 17 08:21:07 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=132722 From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 08:31:42 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EFC9106564A; Tue, 17 Mar 2009 08:31:42 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id 2C5268FC12; Tue, 17 Mar 2009 08:31:42 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id BCD5C2F1590; Tue, 17 Mar 2009 04:31:41 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 17 Mar 2009 04:31:41 -0400 X-Sasl-enc: zel49u3GDEEbxB8Qau9T4Htc6vJjsc8WQGv/Gs9mqaPp 1237278701 Received: from anglepoise.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id BEC46538E0; Tue, 17 Mar 2009 04:31:40 -0400 (EDT) Message-ID: <49BF5FEA.6030302@incunabulum.net> Date: Tue, 17 Mar 2009 08:31:38 +0000 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.19 (X11/20090125) MIME-Version: 1.0 To: freebsd-gnats-submit@freebsd.org References: <200903170821.n2H8LKcL033469@freefall.freebsd.org> In-Reply-To: <200903170821.n2H8LKcL033469@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org, freebsd-bugs@FreeBSD.org, Matthias Apitz , linimon@FreeBSD.org, Sam Leffler Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 08:31:42 -0000 Hi, Can you please try cvsupping RELENG_7 sources to after this date: %%% Date: Thu Mar 12 03:09:11 2009 New Revision: 189720 URL: http://svn.freebsd.org/changeset/base/189720 %%% The Atheros open source HAL from HEAD was MFC'd and this may or may not fix your problem. thanks, BMS From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 08:40:05 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2EBB41065689 for ; Tue, 17 Mar 2009 08:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1CC4D8FC12 for ; Tue, 17 Mar 2009 08:40:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2H8e4p2053211 for ; Tue, 17 Mar 2009 08:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2H8e4ki053210; Tue, 17 Mar 2009 08:40:04 GMT (envelope-from gnats) Date: Tue, 17 Mar 2009 08:40:04 GMT Message-Id: <200903170840.n2H8e4ki053210@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Bruce Simpson Cc: Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bruce Simpson List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 08:40:05 -0000 The following reply was made to PR kern/132722; it has been noted by GNATS. From: Bruce Simpson To: freebsd-gnats-submit@freebsd.org Cc: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org, Matthias Apitz , Sam Leffler Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work Date: Tue, 17 Mar 2009 08:31:38 +0000 Hi, Can you please try cvsupping RELENG_7 sources to after this date: %%% Date: Thu Mar 12 03:09:11 2009 New Revision: 189720 URL: http://svn.freebsd.org/changeset/base/189720 %%% The Atheros open source HAL from HEAD was MFC'd and this may or may not fix your problem. thanks, BMS From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 09:00:13 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 487EB106564A for ; Tue, 17 Mar 2009 09:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1C5348FC15 for ; Tue, 17 Mar 2009 09:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2H90COi077743 for ; Tue, 17 Mar 2009 09:00:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2H90C9Y077742; Tue, 17 Mar 2009 09:00:12 GMT (envelope-from gnats) Date: Tue, 17 Mar 2009 09:00:12 GMT Message-Id: <200903170900.n2H90C9Y077742@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Matthias Apitz Cc: Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 09:00:13 -0000 The following reply was made to PR kern/132722; it has been noted by GNATS. From: Matthias Apitz To: bug-followup@FreeBSD.org, guru@unixarea.de Cc: Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work Date: Tue, 17 Mar 2009 09:42:43 +0100 I forgot to mention that I've applied this patch from Sam to my RELENG_7 kernel: http://article.gmane.org/gmane.os.freebsd.stable/60383/match=cft+ath+hal+src I think, updating to Date: Thu Mar 12 03:09:11 2009 New Revision: 189720 URL: http://svn.freebsd.org/changeset/base/189720 as suggested will not change anything, or I'm wrong? matthias From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 09:16:12 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BBB81065675 for ; Tue, 17 Mar 2009 09:16:12 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id 2147F8FC15 for ; Tue, 17 Mar 2009 09:16:12 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id A677B2F1937; Tue, 17 Mar 2009 05:16:11 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Tue, 17 Mar 2009 05:16:11 -0400 X-Sasl-enc: OW+9GDa+aaQxC3uhZ20l1Sc5L/afLmwpRvzlNmaSO/7l 1237281371 Received: from anglepoise.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 2442753932; Tue, 17 Mar 2009 05:16:11 -0400 (EDT) Message-ID: <49BF6A59.6090801@incunabulum.net> Date: Tue, 17 Mar 2009 09:16:09 +0000 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.19 (X11/20090125) MIME-Version: 1.0 To: Matthias Apitz References: <200903170900.n2H90C9Y077742@freefall.freebsd.org> In-Reply-To: <200903170900.n2H90C9Y077742@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 09:16:12 -0000 Hi, One crucial piece of info missing is exactly which Atheros part you are using, can you please attach this to the PR? you can get this from pciconf -lv and look for the ath0, also please post your boot time dmesg / or when you insert the part. thanks. Matthias Apitz wrote: > The following reply was made to PR kern/132722; it has been noted by GNATS. > > From: Matthias Apitz > To: bug-followup@FreeBSD.org, guru@unixarea.de > Cc: > Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work > Date: Tue, 17 Mar 2009 09:42:43 +0100 > > I forgot to mention that I've applied this patch from Sam to my RELENG_7 > kernel: > > http://article.gmane.org/gmane.os.freebsd.stable/60383/match=cft+ath+hal+src > > I think, updating to > > Date: Thu Mar 12 03:09:11 2009 > New Revision: 189720 > URL: http://svn.freebsd.org/changeset/base/189720 > > as suggested will not change anything, or I'm wrong? > I didn't make many changes apart from fixups in a few files for the diff, so if you're running with the updated HAL, then in theory an svn update/cvsup should make no change. Of course the only way to be sure is to look under the hood. I didn't see any issues with the backported HAL, and I don't really know enough about ath(4) to suggest any workarounds at this point other than reversing your application of the patch, and cvsupping to before the date the patch was MFCed, can we be absolutely sure that the regression you observe happens with the new HAL? Sam would know more, but of course one of the reasons I've taken this on is because a project I'm involved with needs working ath(4) on pci-e in 7.x, I don't know about chip specific problems at this point in time, so I'm just as in the dark as you are! thanks, BMS From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 09:18:24 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 272BD1065675 for ; Tue, 17 Mar 2009 09:18:24 +0000 (UTC) (envelope-from srikanthhcu05@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.191]) by mx1.freebsd.org (Postfix) with ESMTP id BB4178FC15 for ; Tue, 17 Mar 2009 09:18:23 +0000 (UTC) (envelope-from srikanthhcu05@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so1347145tib.3 for ; Tue, 17 Mar 2009 02:18:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=KBLogHdbLW3nRIoi1t9IDFZb+HrNrB8iwMKfGNkYJDM=; b=iSqllh+CqLt/QklCE9dQFivixFsBvVjQLKjOapBFfUoSRX1u49/BU19PNu7azn/Qoi m/l+zaskjJNJLbyu4usKFLT18Vjm780RCxs2wqAxKXrCxpNPL6WZRyZ3jrcN2ISxTtHA jAsORh1mVxxHzxzmP7OgwJETjs5N0yaxxG6GM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Xg0FS1Kzge1cGnrM/oJZUXZgdtDsKiPjhRkt94tXPt9GtmX0uj+HhojPe9WzXh7QK1 Pq41WvdeIvRuirJudCRH6mn7eWHYXfpT6Sdvf+Nr3EsMwwlvshO9dbZ/xBEw8QxFVgU/ DCCsgn25k4v358l8kUbPaC2iO/Z/kDj+NLwlE= MIME-Version: 1.0 Received: by 10.110.17.14 with SMTP id 14mr355782tiq.20.1237279993316; Tue, 17 Mar 2009 01:53:13 -0700 (PDT) Date: Tue, 17 Mar 2009 14:23:13 +0530 Message-ID: From: srikanth jampala To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: SA add notification to externa module X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 09:18:24 -0000 Hi all This is my first posting. I want the notifications about the SA (security association) add/delete events, from the kernel to my externel kernel module. How can I do this... ? Thanks in advance for ur suggestions. Sriknath From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 09:29:02 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2FBC1065670 for ; Tue, 17 Mar 2009 09:29:02 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from smtp.zeninc.net (smtp.zeninc.net [80.67.176.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6F6B38FC0C for ; Tue, 17 Mar 2009 09:29:02 +0000 (UTC) (envelope-from vanhu@zeninc.net) Received: from astro.zen.inc (astro.zen.inc [192.168.1.239]) by smtp.zeninc.net (smtpd) with ESMTP id A254B2798B8; Tue, 17 Mar 2009 10:29:00 +0100 (CET) Received: by astro.zen.inc (Postfix, from userid 1000) id 2A72917054; Tue, 17 Mar 2009 10:29:34 +0100 (CET) Date: Tue, 17 Mar 2009 10:29:34 +0100 From: VANHULLEBUS Yvan To: srikanth jampala Message-ID: <20090317092933.GA72942@zeninc.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: All mail clients suck. This one just sucks less. Cc: freebsd-net@freebsd.org Subject: Re: SA add notification to externa module X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 09:29:04 -0000 On Tue, Mar 17, 2009 at 02:23:13PM +0530, srikanth jampala wrote: > Hi all Hi. > This is my first posting. > > I want the notifications about the SA (security association) add/delete > events, > from the kernel to my externel kernel module. > > How can I do this... ? Such events are notified to all PFKey registered sockets. Usually, those notifications are sent to userland, but I guess you could start searching from there (see key_sendup_mbuf(x, y, KEY_SENDUP_REGISTERED) in netipsec/keysock.c). Yvan. From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 10:39:36 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 97190106566C; Tue, 17 Mar 2009 10:39:36 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id 6B0B18FC1B; Tue, 17 Mar 2009 10:39:36 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id B6F3E2F239B; Tue, 17 Mar 2009 06:39:35 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Tue, 17 Mar 2009 06:39:35 -0400 X-Sasl-enc: R4vbdwZXpiaMtApxHuzK5Hzw2EZ1/VadACWarxXvVQFx 1237286375 Received: from anglepoise.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 09736298A5; Tue, 17 Mar 2009 06:39:34 -0400 (EDT) Message-ID: <49BF7DE4.4010804@incunabulum.net> Date: Tue, 17 Mar 2009 10:39:32 +0000 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.19 (X11/20090125) MIME-Version: 1.0 To: Matthias Apitz References: <20090317103650.GA6156@rebelion.Sisis.de> In-Reply-To: <20090317103650.GA6156@rebelion.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@FreeBSD.org, bug-followup@FreeBSD.org Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 10:39:36 -0000 Matthias Apitz wrote: > as requested the output of dmesg(1) and the ath0 related part of > 'pciconf -lv'; pls note also that the Wifi works fine in general, i.e. > with the AP in my office (WPA) and in my home (WEP); > Is this an ASUS Eee PC? If so, which model is it? It looks like a 901. I tested OK with the 701. Sam said that there may be models of ath(4) requiring further changes to be back-ported from -CURRENT, this could well be one of them. cheers BMS From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 10:40:06 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E440C1065670 for ; Tue, 17 Mar 2009 10:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D15128FC28 for ; Tue, 17 Mar 2009 10:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2HAe6og009432 for ; Tue, 17 Mar 2009 10:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2HAe6Zf009431; Tue, 17 Mar 2009 10:40:06 GMT (envelope-from gnats) Date: Tue, 17 Mar 2009 10:40:06 GMT Message-Id: <200903171040.n2HAe6Zf009431@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Matthias Apitz Cc: Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 10:40:07 -0000 The following reply was made to PR kern/132722; it has been noted by GNATS. From: Matthias Apitz To: bug-followup@FreeBSD.org Cc: freebsd-net@FreeBSD.org, Bruce Simpson Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work Date: Tue, 17 Mar 2009 11:36:51 +0100 as requested the output of dmesg(1) and the ath0 related part of 'pciconf -lv'; pls note also that the Wifi works fine in general, i.e. with the AP in my office (WPA) and in my home (WEP); Copyright (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-STABLE #1: Tue Mar 10 11:42:48 CET 2009 guru@rebelion.Sisis.de:/usr/src/sys/i386/compile/REBELION Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) M processor 900MHz (900.10-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 Features=0xafe9fbff AMD Features=0x100000 real memory = 1064828928 (1015 MB) avail memory = 1028284416 (980 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3f700000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xec00-0xec07 mem 0xf7f00000-0xf7f7ffff,0xd0000000-0xdfffffff,0xf7ec0000-0xf7efffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M vgapci1: mem 0xf7f80000-0xf7ffffff at device 2.1 on pci0 hdac0: mem 0xf7eb8000-0xf7ebbfff irq 16 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20090131_0127 hdac0: [ITHREAD] pcib1: irq 16 at device 28.0 on pci0 pci3: on pcib1 pcib2: irq 18 at device 28.2 on pci0 pci1: on pcib2 ath0: mem 0xfbff0000-0xfbffffff irq 18 at device 0.0 on pci1 ath0: [ITHREAD] ath0: WARNING: using obsoleted if_watchdog interface ath0: Ethernet address: 00:15:af:b2:ae:e6 ath0: mac 14.2 phy 7.0 radio 10.2 uhci0: port 0xe400-0xe41f irq 23 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 0xe480-0xe49f irq 19 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 0xe800-0xe81f irq 18 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 uhci3: port 0xe880-0xe89f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xf7eb7c00-0xf7eb7fff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered umass0: on uhub4 pcib3: at device 30.0 on pci0 pci4: on pcib3 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.2 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_asus0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_tz0: on acpi0 battery0: on acpi0 acpi_acad0: 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 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcf7ff 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 900097206 Hz quality 800 Timecounters tick every 10.000 msec ad2: FAILURE - SET_MULTI status=51 error=4 ad2: 3847MB at ata1-master UDMA66 ad3: FAILURE - SET_MULTI status=51 error=4 ad3: 15391MB at ata1-slave UDMA66 hdac0: HDA Codec #0: Realtek ALC662 pcm0: at cad 0 nid 1 on hdac0 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 (probe0:umass-sim0:0:0:0): Medium not present (probe0:umass-sim0:0:0:0): Unretryable error da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad2s1a ath0: link state changed to UP ath0@pci0:1:0:0: class=0x020000 card=0x10261a3b chip=0x001c168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5006 family 802.11abg Wireless NIC' class = network subclass = ethernet matthias From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 10:40:09 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A874D106566B for ; Tue, 17 Mar 2009 10:40:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 968C08FC1F for ; Tue, 17 Mar 2009 10:40:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2HAe9GC009480 for ; Tue, 17 Mar 2009 10:40:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2HAe9w4009479; Tue, 17 Mar 2009 10:40:09 GMT (envelope-from gnats) Date: Tue, 17 Mar 2009 10:40:09 GMT Message-Id: <200903171040.n2HAe9w4009479@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Bruce Simpson Cc: Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bruce Simpson List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 10:40:10 -0000 The following reply was made to PR kern/132722; it has been noted by GNATS. From: Bruce Simpson To: Matthias Apitz Cc: bug-followup@FreeBSD.org, freebsd-net@FreeBSD.org Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work Date: Tue, 17 Mar 2009 10:39:32 +0000 Matthias Apitz wrote: > as requested the output of dmesg(1) and the ath0 related part of > 'pciconf -lv'; pls note also that the Wifi works fine in general, i.e. > with the AP in my office (WPA) and in my home (WEP); > Is this an ASUS Eee PC? If so, which model is it? It looks like a 901. I tested OK with the 701. Sam said that there may be models of ath(4) requiring further changes to be back-ported from -CURRENT, this could well be one of them. cheers BMS From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 10:49:02 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F809106564A; Tue, 17 Mar 2009 10:49:01 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 801A88FC19; Tue, 17 Mar 2009 10:49:01 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([10.0.1.29]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Tue, 17 Mar 2009 11:45:49 +0100 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id n2HAjmec006480; Tue, 17 Mar 2009 11:45:48 +0100 (CET) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Tue, 17 Mar 2009 11:45:48 +0100 From: Matthias Apitz To: Bruce Simpson Message-ID: <20090317104548.GB6182@rebelion.Sisis.de> References: <20090317103650.GA6156@rebelion.Sisis.de> <49BF7DE4.4010804@incunabulum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <49BF7DE4.4010804@incunabulum.net> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-STABLE (i386) X-OriginalArrivalTime: 17 Mar 2009 10:45:50.0094 (UTC) FILETIME=[897D9AE0:01C9A6ED] Cc: freebsd-net@freebsd.org, Matthias Apitz , bug-followup@freebsd.org Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 10:49:02 -0000 El dнa Tuesday, March 17, 2009 a las 10:39:32AM +0000, Bruce Simpson escribiу: > Matthias Apitz wrote: > >as requested the output of dmesg(1) and the ath0 related part of > >'pciconf -lv'; pls note also that the Wifi works fine in general, i.e. > >with the AP in my office (WPA) and in my home (WEP); > > > > Is this an ASUS Eee PC? If so, which model is it? It looks like a 901. It is an Asus EeePC 900, not the 901. > I tested OK with the 701. Sam said that there may be models of ath(4) > requiring further changes > to be back-ported from -CURRENT, this could well be one of them. as I said the Wifi works in all places, but not with this special AP (while a Nokia cellphone can associate and DHCP without problems); let me know if you need more info; Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 10:49:02 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE17E106566B for ; Tue, 17 Mar 2009 10:49:02 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 69DD08FC1B for ; Tue, 17 Mar 2009 10:49:02 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([10.0.1.29]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Tue, 17 Mar 2009 11:36:58 +0100 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id n2HAapKJ006213; Tue, 17 Mar 2009 11:36:51 +0100 (CET) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Tue, 17 Mar 2009 11:36:51 +0100 From: Matthias Apitz To: bug-followup@FreeBSD.org Message-ID: <20090317103650.GA6156@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-STABLE (i386) X-OriginalArrivalTime: 17 Mar 2009 10:36:58.0637 (UTC) FILETIME=[4CB7B3D0:01C9A6EC] Cc: freebsd-net@FreeBSD.org, Bruce Simpson Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 10:49:03 -0000 as requested the output of dmesg(1) and the ath0 related part of 'pciconf -lv'; pls note also that the Wifi works fine in general, i.e. with the AP in my office (WPA) and in my home (WEP); Copyright (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-STABLE #1: Tue Mar 10 11:42:48 CET 2009 guru@rebelion.Sisis.de:/usr/src/sys/i386/compile/REBELION Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Celeron(R) M processor 900MHz (900.10-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d8 Stepping = 8 Features=0xafe9fbff AMD Features=0x100000 real memory = 1064828928 (1015 MB) avail memory = 1028284416 (980 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3f700000 (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 vgapci0: port 0xec00-0xec07 mem 0xf7f00000-0xf7f7ffff,0xd0000000-0xdfffffff,0xf7ec0000-0xf7efffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 7932k stolen memory agp0: aperture size is 256M vgapci1: mem 0xf7f80000-0xf7ffffff at device 2.1 on pci0 hdac0: mem 0xf7eb8000-0xf7ebbfff irq 16 at device 27.0 on pci0 hdac0: HDA Driver Revision: 20090131_0127 hdac0: [ITHREAD] pcib1: irq 16 at device 28.0 on pci0 pci3: on pcib1 pcib2: irq 18 at device 28.2 on pci0 pci1: on pcib2 ath0: mem 0xfbff0000-0xfbffffff irq 18 at device 0.0 on pci1 ath0: [ITHREAD] ath0: WARNING: using obsoleted if_watchdog interface ath0: Ethernet address: 00:15:af:b2:ae:e6 ath0: mac 14.2 phy 7.0 radio 10.2 uhci0: port 0xe400-0xe41f irq 23 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 0xe480-0xe49f irq 19 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 0xe800-0xe81f irq 18 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 uhci3: port 0xe880-0xe89f irq 16 at device 29.3 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb3: on uhci3 usb3: USB revision 1.0 uhub3: on usb3 uhub3: 2 ports with 2 removable, self powered ehci0: mem 0xf7eb7c00-0xf7eb7fff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb4: EHCI version 1.0 usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3 usb4: on ehci0 usb4: USB revision 2.0 uhub4: on usb4 uhub4: 8 ports with 8 removable, self powered umass0: on uhub4 pcib3: at device 30.0 on pci0 pci4: on pcib3 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 31.2 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) acpi_asus0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_button1: on acpi0 acpi_tz0: on acpi0 battery0: on acpi0 acpi_acad0: 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 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcf7ff 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 900097206 Hz quality 800 Timecounters tick every 10.000 msec ad2: FAILURE - SET_MULTI status=51 error=4 ad2: 3847MB at ata1-master UDMA66 ad3: FAILURE - SET_MULTI status=51 error=4 ad3: 15391MB at ata1-slave UDMA66 hdac0: HDA Codec #0: Realtek ALC662 pcm0: at cad 0 nid 1 on hdac0 (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI Status: Check Condition (probe0:umass-sim0:0:0:0): NOT READY asc:3a,0 (probe0:umass-sim0:0:0:0): Medium not present (probe0:umass-sim0:0:0:0): Unretryable error da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad2s1a ath0: link state changed to UP ath0@pci0:1:0:0: class=0x020000 card=0x10261a3b chip=0x001c168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR5006 family 802.11abg Wireless NIC' class = network subclass = ethernet matthias From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 10:50:06 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0C05A1065706 for ; Tue, 17 Mar 2009 10:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EDEBE8FC35 for ; Tue, 17 Mar 2009 10:50:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2HAo5eA021807 for ; Tue, 17 Mar 2009 10:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2HAo5qW021806; Tue, 17 Mar 2009 10:50:05 GMT (envelope-from gnats) Date: Tue, 17 Mar 2009 10:50:05 GMT Message-Id: <200903171050.n2HAo5qW021806@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Matthias Apitz Cc: Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 10:50:06 -0000 The following reply was made to PR kern/132722; it has been noted by GNATS. From: Matthias Apitz To: Bruce Simpson Cc: Matthias Apitz , freebsd-net@freebsd.org, bug-followup@freebsd.org Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work Date: Tue, 17 Mar 2009 11:45:48 +0100 El dнa Tuesday, March 17, 2009 a las 10:39:32AM +0000, Bruce Simpson escribiу: > Matthias Apitz wrote: > >as requested the output of dmesg(1) and the ath0 related part of > >'pciconf -lv'; pls note also that the Wifi works fine in general, i.e. > >with the AP in my office (WPA) and in my home (WEP); > > > > Is this an ASUS Eee PC? If so, which model is it? It looks like a 901. It is an Asus EeePC 900, not the 901. > I tested OK with the 701. Sam said that there may be models of ath(4) > requiring further changes > to be back-ported from -CURRENT, this could well be one of them. as I said the Wifi works in all places, but not with this special AP (while a Nokia cellphone can associate and DHCP without problems); let me know if you need more info; Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 13:06:49 2009 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA640106564A for ; Tue, 17 Mar 2009 13:06:49 +0000 (UTC) (envelope-from cokane@FreeBSD.org) Received: from mail-out2.fuse.net (mail-out2.fuse.net [216.68.8.171]) by mx1.freebsd.org (Postfix) with ESMTP id A20F78FC18 for ; Tue, 17 Mar 2009 13:06:49 +0000 (UTC) (envelope-from cokane@FreeBSD.org) X-CNFS-Analysis: v=1.0 c=1 a=xgXaKvvpysUA:10 a=VdK7-obbqX0A:10 a=UqjqMf-yMxNsiujLhDsA:9 a=zQ-o24tZX9lkdvdhgDQA:7 a=1uG0283JRLAGpNKTFjlqg3Fe8eEA:4 a=LY0hPdMaydYA:10 a=v_fjFDRQntA1-V90TBkA:9 a=eYDmVwqvQ6H5mEfPQ4mLanzqXuYA:4 a=rPt6xJ-oxjAA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: gwout2 smtp.mail=cokane@FreeBSD.org; spf=softfail Received-SPF: softfail (gwout2: transitional domain FreeBSD.org does not designate 74.215.227.9 as permitted sender) Received: from [74.215.227.9] ([74.215.227.9:50483] helo=discordia) by gwout2 (envelope-from ) (ecelerity 2.2.2.37 r(28805/28810M)) with ESMTP id FB/5C-25989-760AFB94; Tue, 17 Mar 2009 09:06:48 -0400 Received: by discordia (Postfix, from userid 103) id B161835A7E4; Tue, 17 Mar 2009 09:06:47 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.1.8-gr1 (2007-02-13) on discordia X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.8-gr1 Received: from [172.31.1.6] (unknown [172.31.1.6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by discordia (Postfix) with ESMTP id 7D4C835A7D8; Tue, 17 Mar 2009 09:06:40 -0400 (EDT) From: Coleman Kane To: Bruce Simpson In-Reply-To: <49BF5B8A.4040108@incunabulum.net> References: <1236937253.2282.0.camel@localhost> <49BAEA9F.8020302@incunabulum.net> <49BB0D3E.2020306@incunabulum.net> <49BC1C66.7030400@freebsd.org> <1237233210.84180.20.camel@localhost> <49BEB312.7060105@freebsd.org> <49BF5B8A.4040108@incunabulum.net> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-Sjq3ZGAlAhQnrQx6Ylp2" Organization: FreeBSD Project Date: Tue, 17 Mar 2009 09:05:17 -0400 Message-Id: <1237295117.1844.6.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 FreeBSD GNOME Team Port Cc: Sam Leffler , current@freebsd.org, freebsd-net Subject: Re: IGMP+WiFi panic on recent kernel - in igmp_fasttimo() X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 13:06:50 -0000 --=-Sjq3ZGAlAhQnrQx6Ylp2 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2009-03-17 at 08:12 +0000, Bruce Simpson wrote: > Sam Leffler wrote: > > It is the same issue but the root cause is unclear. There is much=20 > > code that does assumes ifma_protospec might be NULL and checks for=20 > > it. In my case (creating a wlan ifnet and then destroying it on=20 > > eject) the patch below is sufficient. I don't care to dig right now=20 > > to understand how this stuff is supposed to work; it should be clear=20 > > from comments etc but the code is lacking. > > >=20 > This is just to say I've tried to reproduce the 802.11 related=20 > panics, however have hit a brick wall because the PCI-CardBus bridge=20 > does not seem to detect anything in its slot. (1U Itox Expanding Dragon=20 > industrial PC w/a SiteCom branded Ricoh RL475 cardbus card). I tried=20 > unloading if_fxp with IGMPv3 active on the ifnet, and didn't see any=20 > panic, I'm assuming this is OK for the time being. >=20 > Qing Li volunteered to test IGMPv3 out for any VLAN related issues=20 > -- I understand it stacks ifnets in a similar way to that of 802.11 --=20 > however I have had no feedback from him since last week. > So I'm waiting for a HEAD build to a USB2 stick to finish, so I can=20 > try testing nondestructively on my laptop, where I know for sure that=20 > the PCI-CardBus bridge slot works, and I can detach an 802.11 card on=20 > the fly. >=20 > Re ifma_protospec: Yes, there are tricks in the ifnet/in layer which=20 > set it to NULL and look for it to be NULL. I ended up doing it this way=20 > mainly because adding reference counting to ifnet would have simply been=20 > too much work, and it's really a ball that needs to be kicked around at=20 > a dev summit. However time presses on and it's better to get SOMETHING=20 > out there. > Most likely the IGMPv3 changes are hitting this in the 802.11 case=20 > somehow, I don't have a complete picture of how/why/what's going on, and=20 > have been relying on feedback from others so far. >=20 > cheers > BMS >=20 Today I played with it a bit. I've been unable to produce the crash on my wired (if_bge) interface, however it happens regularly on my wireless (ndis0/wlan0) interface. I was unable to get a core dump for other reasons. However, on my system I do not get the crash if I turn off avahi_daemon (set avahi_daemon_enable=3D"NO" in /etc/rc.conf). I tried booting to single user, ran dhclient on wlan0 (after setting it up properly), and then proceeded to boot the system multi-user. As soon as avahi went live, the kernel panicked, as above. If you are looking for a reliable test case, this might be it for you, but I think you need a wlan interface to test it with: * Install net/avahi from ports * Set avahi_daemon_enable=3D"YES" in rc.conf * Configure VAP params for wlan0 card in rc.conf * Log in and run "dhclient wlan0" to trigger the panic --=20 Coleman Kane --=-Sjq3ZGAlAhQnrQx6Ylp2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkm/oAkACgkQcMSxQcXat5d9bACfRFTSKGJwQz9p3IH4nJpwmRNH WwwAn0i08lyyE+njrKI1Osb13gq93PoZ =XuDQ -----END PGP SIGNATURE----- --=-Sjq3ZGAlAhQnrQx6Ylp2-- From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 13:41:58 2009 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 493391065670; Tue, 17 Mar 2009 13:41:58 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 185948FC2E; Tue, 17 Mar 2009 13:41:58 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id B3BC42F2B57; Tue, 17 Mar 2009 09:41:57 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Tue, 17 Mar 2009 09:41:57 -0400 X-Sasl-enc: q5R6hsTjytrRa48o2I7BU51l7rZEhoWWNdxKu0qJGuBx 1237297317 Received: from anglepoise.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 066BD1CA4A; Tue, 17 Mar 2009 09:41:56 -0400 (EDT) Message-ID: <49BFA8A2.5080807@incunabulum.net> Date: Tue, 17 Mar 2009 13:41:54 +0000 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.19 (X11/20090125) MIME-Version: 1.0 To: Coleman Kane References: <1236937253.2282.0.camel@localhost> <49BAEA9F.8020302@incunabulum.net> <49BB0D3E.2020306@incunabulum.net> <49BC1C66.7030400@freebsd.org> <1237233210.84180.20.camel@localhost> <49BEB312.7060105@freebsd.org> <49BF5B8A.4040108@incunabulum.net> <1237295117.1844.6.camel@localhost> In-Reply-To: <1237295117.1844.6.camel@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Sam Leffler , current@freebsd.org, freebsd-net Subject: Re: IGMP+WiFi panic on recent kernel - in igmp_fasttimo() X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 13:41:58 -0000 Coleman Kane wrote: > If you are looking for a reliable test case, this might be it for you, > but I think you need a wlan interface to test it with: > * Install net/avahi from ports > * Set avahi_daemon_enable="YES" in rc.conf > * Configure VAP params for wlan0 card in rc.conf > * Log in and run "dhclient wlan0" to trigger the panic > > Actually I was able to panic the kernel right away with the 802.11 code, just by joining a multicast group with mtest(8) on the wlan interface. i.e. # mtest j 224.0.0.2 192.168.x.x -> boom I believe I've found the symptom, but the root cause I don't fully understand. Sam indicated that the VAP code is using ifma's in some nested way between the ifnets which comprise the VAP's member interfaces. A workaround is pending.... cheers BMS From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 14:43:35 2009 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E76C10656EB; Tue, 17 Mar 2009 14:43:35 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 59CF48FC17; Tue, 17 Mar 2009 14:43:35 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id DF4072F06A0; Tue, 17 Mar 2009 10:43:34 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Tue, 17 Mar 2009 10:43:34 -0400 X-Sasl-enc: O7tZ0OMVt23VU3Gc3yUV5oUrIjHAdA8PvQCkQdGY7avS 1237301014 Received: from anglepoise.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 3AC99323B6; Tue, 17 Mar 2009 10:43:34 -0400 (EDT) Message-ID: <49BFB713.9030309@incunabulum.net> Date: Tue, 17 Mar 2009 14:43:31 +0000 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.19 (X11/20090125) MIME-Version: 1.0 To: Coleman Kane References: <1236937253.2282.0.camel@localhost> <49BAEA9F.8020302@incunabulum.net> <49BB0D3E.2020306@incunabulum.net> <49BC1C66.7030400@freebsd.org> <1237233210.84180.20.camel@localhost> <49BEB312.7060105@freebsd.org> <49BF5B8A.4040108@incunabulum.net> <1237295117.1844.6.camel@localhost> <49BFA8A2.5080807@incunabulum.net> In-Reply-To: <49BFA8A2.5080807@incunabulum.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Sam Leffler , current@freebsd.org, freebsd-net Subject: Re: IGMP+WiFi panic on recent kernel - in igmp_fasttimo() X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 14:43:38 -0000 A suitably kludgy fix for this issue has now been committed to HEAD. From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 16:55:35 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D7451065672; Tue, 17 Mar 2009 16:55:35 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f0f:20:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id D5F4E8FC0A; Tue, 17 Mar 2009 16:55:34 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f0f:20:1::5]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id n2HGtW9Z020958; Tue, 17 Mar 2009 11:55:32 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Tue, 17 Mar 2009 11:55:32 -0500 (CDT) From: "Sean C. Farley" To: Matthias Apitz In-Reply-To: <20090317104548.GB6182@rebelion.Sisis.de> Message-ID: References: <20090317103650.GA6156@rebelion.Sisis.de> <49BF7DE4.4010804@incunabulum.net> <20090317104548.GB6182@rebelion.Sisis.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="56599777-302749604-1237308518=:51892" Content-ID: X-Spam-Status: No, score=-3.0 required=3.0 tests=AWL,BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: Matthias Apitz , freebsd-net@FreeBSD.org, Bruce Simpson , bug-followup@FreeBSD.org Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 16:55:35 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --56599777-302749604-1237308518=:51892 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8BIT Content-ID: On Tue, 17 Mar 2009, Matthias Apitz wrote: > El dнa Tuesday, March 17, 2009 a las 10:39:32AM +0000, Bruce Simpson escribiу: > >> Matthias Apitz wrote: >>> as requested the output of dmesg(1) and the ath0 related part of >>> 'pciconf -lv'; pls note also that the Wifi works fine in general, >>> i.e. with the AP in my office (WPA) and in my home (WEP); >>> >> >> Is this an ASUS Eee PC? If so, which model is it? It looks like a >> 901. > > It is an Asus EeePC 900, not the 901. > >> I tested OK with the 701. Sam said that there may be models of ath(4) >> requiring further changes to be back-ported from -CURRENT, this could >> well be one of them. > > as I said the Wifi works in all places, but not with this special AP > (while a Nokia cellphone can associate and DHCP without problems); > > let me know if you need more info; Is the AP made by Aruba Networks? On RELENG_7, I needed a newer version (v0.5.11 instead of v0.5.10) of wpa_supplicant for it to associate correctly. With v0.5.10, I could see DHCP requests from my laptop but no responses. This is the patch I am using currently: http://people.freebsd.org/~scf/wpa_supplicant-0.5.11-RELENG_7.patch Note: sam@ updated HEAD to v0.5.11 then to the v0.6.x series. Sean -- scf@FreeBSD.org --56599777-302749604-1237308518=:51892-- From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 17:00:16 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28C601065670 for ; Tue, 17 Mar 2009 17:00:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EF8828FC1D for ; Tue, 17 Mar 2009 17:00:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2HH0FHq097930 for ; Tue, 17 Mar 2009 17:00:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2HH0FkP097929; Tue, 17 Mar 2009 17:00:15 GMT (envelope-from gnats) Date: Tue, 17 Mar 2009 17:00:15 GMT Message-Id: <200903171700.n2HH0FkP097929@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: "Sean C. Farley" Cc: Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Sean C. Farley" List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 17:00:17 -0000 The following reply was made to PR kern/132722; it has been noted by GNATS. From: "Sean C. Farley" To: Matthias Apitz Cc: Bruce Simpson , freebsd-net@FreeBSD.org, Matthias Apitz , bug-followup@FreeBSD.org Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work Date: Tue, 17 Mar 2009 11:55:32 -0500 (CDT) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --56599777-302749604-1237308518=:51892 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8BIT Content-ID: On Tue, 17 Mar 2009, Matthias Apitz wrote: > El dнa Tuesday, March 17, 2009 a las 10:39:32AM +0000, Bruce Simpson escribiу: > >> Matthias Apitz wrote: >>> as requested the output of dmesg(1) and the ath0 related part of >>> 'pciconf -lv'; pls note also that the Wifi works fine in general, >>> i.e. with the AP in my office (WPA) and in my home (WEP); >>> >> >> Is this an ASUS Eee PC? If so, which model is it? It looks like a >> 901. > > It is an Asus EeePC 900, not the 901. > >> I tested OK with the 701. Sam said that there may be models of ath(4) >> requiring further changes to be back-ported from -CURRENT, this could >> well be one of them. > > as I said the Wifi works in all places, but not with this special AP > (while a Nokia cellphone can associate and DHCP without problems); > > let me know if you need more info; Is the AP made by Aruba Networks? On RELENG_7, I needed a newer version (v0.5.11 instead of v0.5.10) of wpa_supplicant for it to associate correctly. With v0.5.10, I could see DHCP requests from my laptop but no responses. This is the patch I am using currently: http://people.freebsd.org/~scf/wpa_supplicant-0.5.11-RELENG_7.patch Note: sam@ updated HEAD to v0.5.11 then to the v0.6.x series. Sean -- scf@FreeBSD.org --56599777-302749604-1237308518=:51892-- From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 18:56:26 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 854D11065670 for ; Tue, 17 Mar 2009 18:56:26 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 36CBE8FC23 for ; Tue, 17 Mar 2009 18:56:26 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2HIuOYw081173 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Mar 2009 11:56:25 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49BFF258.4020207@freebsd.org> Date: Tue, 17 Mar 2009 11:56:24 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: "Sean C. Farley" References: <20090317103650.GA6156@rebelion.Sisis.de> <49BF7DE4.4010804@incunabulum.net> <20090317104548.GB6182@rebelion.Sisis.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-DCC-x.dcc-servers-Metrics: ebb.errno.com; whitelist Cc: Matthias Apitz , freebsd-net@freebsd.org, Matthias Apitz , bug-followup@freebsd.org, Bruce Simpson Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 18:56:26 -0000 Sean C. Farley wrote: > On Tue, 17 Mar 2009, Matthias Apitz wrote: > >> El dнa Tuesday, March 17, 2009 a las 10:39:32AM +0000, Bruce Simpson >> escribiу: >> >>> Matthias Apitz wrote: >>>> as requested the output of dmesg(1) and the ath0 related part of >>>> 'pciconf -lv'; pls note also that the Wifi works fine in general, >>>> i.e. with the AP in my office (WPA) and in my home (WEP); >>>> >>> >>> Is this an ASUS Eee PC? If so, which model is it? It looks like a 901. >> >> It is an Asus EeePC 900, not the 901. >> >>> I tested OK with the 701. Sam said that there may be models of >>> ath(4) requiring further changes to be back-ported from -CURRENT, >>> this could well be one of them. >> >> as I said the Wifi works in all places, but not with this special AP >> (while a Nokia cellphone can associate and DHCP without problems); >> >> let me know if you need more info; > > Is the AP made by Aruba Networks? > > On RELENG_7, I needed a newer version (v0.5.11 instead of v0.5.10) of > wpa_supplicant for it to associate correctly. With v0.5.10, I could > see DHCP requests from my laptop but no responses. This is the patch > I am using currently: > http://people.freebsd.org/~scf/wpa_supplicant-0.5.11-RELENG_7.patch > > Note: sam@ updated HEAD to v0.5.11 then to the v0.6.x series. His setup is static key wep; not wpa so I don't think wpa_supplicant is the issue. Matthias, your tcpdump of the dhclient packets isn't usable; please try: tcpdump -i ath0 -n -y IEEE802_11_RADIO I reviewed the driver to the code in HEAD and the only difference in the crypto area should not matter in this case. It's possible wme is somehow enabled and causing problems but the ifconfig output doesn't indicate that. If you can find out the model of ap that might be helpful. Unfortunately the best thing to try is HEAD. Sam From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 19:02:43 2009 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 635F41065670; Tue, 17 Mar 2009 19:02:43 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 139828FC08; Tue, 17 Mar 2009 19:02:42 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2HJ2gaC081216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Mar 2009 12:02:42 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49BFF3D2.4030407@freebsd.org> Date: Tue, 17 Mar 2009 12:02:42 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Bruce Simpson References: <1236937253.2282.0.camel@localhost> <49BAEA9F.8020302@incunabulum.net> <49BB0D3E.2020306@incunabulum.net> <49BC1C66.7030400@freebsd.org> <1237233210.84180.20.camel@localhost> <49BEB312.7060105@freebsd.org> <49BF5B8A.4040108@incunabulum.net> <1237295117.1844.6.camel@localhost> <49BFA8A2.5080807@incunabulum.net> In-Reply-To: <49BFA8A2.5080807@incunabulum.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-x.dcc-servers-Metrics: ebb.errno.com; whitelist Cc: current@freebsd.org, Coleman Kane , freebsd-net Subject: Re: IGMP+WiFi panic on recent kernel - in igmp_fasttimo() X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 19:02:44 -0000 Bruce Simpson wrote: > Coleman Kane wrote: >> If you are looking for a reliable test case, this might be it for you, >> but I think you need a wlan interface to test it with: >> * Install net/avahi from ports >> * Set avahi_daemon_enable="YES" in rc.conf >> * Configure VAP params for wlan0 card in rc.conf >> * Log in and run "dhclient wlan0" to trigger the panic >> >> > > Actually I was able to panic the kernel right away with the 802.11 > code, just > by joining a multicast group with mtest(8) on the wlan interface. > > i.e. > > # mtest > j 224.0.0.2 192.168.x.x > -> boom > > I believe I've found the symptom, but the root cause I don't fully > understand. > Sam indicated that the VAP code is using ifma's in some nested way > between > the ifnets which comprise the VAP's member interfaces. > > A workaround is pending.... > net80211 uses the public api's to push mcast addresses from the vap's to the parent ifnet. It does not directly frob any internal data structures except to workaround the ioctl-based callback out of the mcast code when adding an address. Look at ieee80211_ioctl_updatemulti for details. Sam From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 19:20:05 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F5A510656C1 for ; Tue, 17 Mar 2009 19:20:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D76AA8FC0A for ; Tue, 17 Mar 2009 19:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2HJK4Y8078917 for ; Tue, 17 Mar 2009 19:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2HJK4uZ078916; Tue, 17 Mar 2009 19:20:04 GMT (envelope-from gnats) Date: Tue, 17 Mar 2009 19:20:04 GMT Message-Id: <200903171920.n2HJK4uZ078916@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Sam Leffler Cc: Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Sam Leffler List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 19:20:05 -0000 The following reply was made to PR kern/132722; it has been noted by GNATS. From: Sam Leffler To: "Sean C. Farley" Cc: Matthias Apitz , Matthias Apitz , freebsd-net@freebsd.org, Bruce Simpson , bug-followup@freebsd.org Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work Date: Tue, 17 Mar 2009 11:56:24 -0700 Sean C. Farley wrote: > On Tue, 17 Mar 2009, Matthias Apitz wrote: > >> El dнa Tuesday, March 17, 2009 a las 10:39:32AM +0000, Bruce Simpson >> escribiу: >> >>> Matthias Apitz wrote: >>>> as requested the output of dmesg(1) and the ath0 related part of >>>> 'pciconf -lv'; pls note also that the Wifi works fine in general, >>>> i.e. with the AP in my office (WPA) and in my home (WEP); >>>> >>> >>> Is this an ASUS Eee PC? If so, which model is it? It looks like a 901. >> >> It is an Asus EeePC 900, not the 901. >> >>> I tested OK with the 701. Sam said that there may be models of >>> ath(4) requiring further changes to be back-ported from -CURRENT, >>> this could well be one of them. >> >> as I said the Wifi works in all places, but not with this special AP >> (while a Nokia cellphone can associate and DHCP without problems); >> >> let me know if you need more info; > > Is the AP made by Aruba Networks? > > On RELENG_7, I needed a newer version (v0.5.11 instead of v0.5.10) of > wpa_supplicant for it to associate correctly. With v0.5.10, I could > see DHCP requests from my laptop but no responses. This is the patch > I am using currently: > http://people.freebsd.org/~scf/wpa_supplicant-0.5.11-RELENG_7.patch > > Note: sam@ updated HEAD to v0.5.11 then to the v0.6.x series. His setup is static key wep; not wpa so I don't think wpa_supplicant is the issue. Matthias, your tcpdump of the dhclient packets isn't usable; please try: tcpdump -i ath0 -n -y IEEE802_11_RADIO I reviewed the driver to the code in HEAD and the only difference in the crypto area should not matter in this case. It's possible wme is somehow enabled and causing problems but the ifconfig output doesn't indicate that. If you can find out the model of ap that might be helpful. Unfortunately the best thing to try is HEAD. Sam From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 21:27:57 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9532A1065706 for ; Tue, 17 Mar 2009 21:27:57 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id 16EA18FC1F for ; Tue, 17 Mar 2009 21:27:56 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so122981yxm.13 for ; Tue, 17 Mar 2009 14:27:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=azTHmkEML61UEJMSaSxVJbs9lvE+15v7fiy8o39ufus=; b=fLkz4EfBCcShq2nAosO+Pyg+htU5Q0IJvyFYrI632u+oj96pFCeQQK8LZtEqpzGljJ iUI3ZekiqKKwyoafthL5nngbcz4CUHxJ+z+orsNS36UM+y4vmZ6ieDQhKa0zxL0D2TWc vil3LG79RdHqnc5JSPc76ErqGn6i6aiDgS0p0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=fmvtZWB9Dh/LpaiuNgloAQeoEtFTrnhy2pqfxeXiFHIoTzh/impzB8Mb2QMflibpBc SWD+AhfbzI6XdBlPcsVJZGgAK5IJSTwb6B+ijNfRpq6iHGnLZ2psAkByuYHrRviv9zuZ pSHLtcUxcA8UDfVzJr5m9vzUts5kI7begQcBQ= MIME-Version: 1.0 Received: by 10.231.10.140 with SMTP id p12mr209788ibp.50.1237325275548; Tue, 17 Mar 2009 14:27:55 -0700 (PDT) Date: Tue, 17 Mar 2009 17:27:55 -0400 Message-ID: <25ff90d60903171427y4032d11es516d7b757fc3b8e0@mail.gmail.com> From: David Horn To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Dynamic loading of network kernel modules? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 21:27:58 -0000 I made a minor change to ifconfig to try kldloading the interface name specified on the create wlandev XXXX (ifconfig already tries for normal invocations, just needed to try with the wlandev interface) /usr/src/sbin/ifconfig/ifieee80211.c --- ifieee80211.c.original 2009-03-17 16:53:29.000000000 -0400 +++ ifieee80211.c 2009-03-17 16:53:43.000000000 -0400 @@ -4673,6 +4673,7 @@ memcmp(params.icp_bssid, zerobssid, sizeof(zerobssid)) == 0) errx(1, "no bssid specified for WDS (use wlanbssid)"); ifr->ifr_data = (caddr_t) ¶ms; + ifmaybeload(params.icp_parent); if (ioctl(s, SIOCIFCREATE2, ifr) < 0) err(1, "SIOCIFCREATE2"); } This works nicely, however at startup, I still do not get the interface up, or the kernel module loaded, so a second patch is needed. At issue is the list_net_interfaces() function in /etc/rc.d/network.subr, which assumes that the greatest possible list of interfaces is that which 'ifconfig -l' can give us. Unfortunately, this puts us in a bit of a chicken and egg situation for network interfaces that are modules. I also have a patch to network.subr that will look for any manually configured interfaces in rc.conf that are not in the list of 'ifconfig -l', and will try to start those interfaces as well. {specifically looking for ifconfig_xxx and wlans_xxx and ipv6_ifconfig_xxx} /etc/network.subr --- network.subr.base_0317 2009-03-17 17:00:01.000000000 -0400 +++ network.subr 2009-03-17 17:10:15.000000000 -0400 @@ -690,6 +690,34 @@ return 0 } +# getconf_ifnames +# Return the value of all of the interfaces names referenced in rc.conf +# This is used to attempt to dynamically load kernel modules that +# are not already loaded, but could also be useful elsewhere +# +# wlans_IF, ifconfig_IF, ipv6_ifconfig_IF are currently used +getconf_ifnames() +{ + local val + matching_vars=`set | grep -e "ifconfig_" -e "^wlans_" | tr "\n" " " | tr -d "'=."` + debug "Here is a list of all of the matching variables: $matching_vars" + for i in ${matching_vars}; do + val="" + val="`expr "${i}" : 'ifconfig_\([a-zA-Z]*[0-9]*\).*'`" + if [ -z "$val" ]; then + val="`expr "${i}" : 'wlans_\([a-zA-Z]*[0-9]*\).*'`" + fi + if [ val != "0" -a -n "$val" ]; then + interfaces="${interfaces} $val" + fi + done + + debug "Here are the rc.conf potential interfaces: $interfaces" + echo "$interfaces" + exit 0 +} + + # # list_net_interfaces type # List all network interfaces. The type of interface returned @@ -712,6 +740,9 @@ [Aa][Uu][Tt][Oo]) _prefix='' _autolist="`ifconfig -l`" + _manuallist="`getconf_ifnames`" + _autolist="$_autolist$_manuallist" + debug "list of all interfaces: $_autolist" _lo= for _if in ${_autolist} ; do if autoif $_if; then Is this something that people would be interested in having commited? If so, I can clean up a little bit and remove the duplicate interfaces and debugging, and add getconf_ifnames() in more places. Both patches are against current from today (031709). --Thanks! -_Dave Horn From owner-freebsd-net@FreeBSD.ORG Tue Mar 17 21:59:06 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7264B1065674; Tue, 17 Mar 2009 21:59:06 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from frontmail.ipactive.de (frontmail.maindns.de [85.214.95.103]) by mx1.freebsd.org (Postfix) with ESMTP id 29E088FC17; Tue, 17 Mar 2009 21:59:05 +0000 (UTC) (envelope-from volker@vwsoft.com) Received: from mail.vtec.ipme.de (Q7dd6.q.ppp-pool.de [89.53.125.214]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by frontmail.ipactive.de (Postfix) with ESMTP id 1A5B912883F; Tue, 17 Mar 2009 22:32:38 +0100 (CET) Received: from [192.168.16.6] (unknown [192.168.16.6]) by mail.vtec.ipme.de (Postfix) with ESMTP id B918D34AB8; Tue, 17 Mar 2009 22:32:32 +0100 (CET) Message-ID: <49C02653.9040100@vwsoft.com> Date: Tue, 17 Mar 2009 22:38:11 +0000 From: Volker User-Agent: Thunderbird 2.0.0.18 (X11/20081203) MIME-Version: 1.0 To: Bruce Simpson References: <49BF54EB.3070800@incunabulum.net> In-Reply-To: <49BF54EB.3070800@incunabulum.net> X-Enigmail-Version: 0.95.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit MailScanner-NULL-Check: 1237930355.34885@bbn2+dATYWi8cx8NkvPcDg X-MailScanner-ID: B918D34AB8.07855 X-VWSoft-MailScanner: Found to be clean X-MailScanner-From: volker@vwsoft.com X-ipactive-MailScanner-Information: Please contact the ISP for more information X-ipactive-MailScanner: Found to be clean X-ipactive-MailScanner-From: volker@vwsoft.com Cc: pyunyh@gmail.com, FreeBSD Net , imp@FreeBSD.org Subject: Re: ae(4) Wake-on-Lan MFC X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2009 21:59:07 -0000 On 03/17/09 07:44, Bruce Simpson wrote: > Hi, > > I noticed that ae(4) got MFC'ed to RELENG_7 before Wake-on-Lan support did. > > However, WOL support is now there, and it looks like the change can just > go in: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ae/if_ae.c.diff?r1=1.1.2%3ARELENG_7&tr1=1.1&r2=1.3%3AHEAD&tr2=1.3 > > > I am tied up looking at other stuff at the moment, it would be nice to > merge the change, but low priority for me right now. > > BTW, it still seems easier to use cvsweb to pull a diff between FreeBSD > branches since the SVN change, > does anyone know an easier way? > > thanks > BMS The following can be used: svn diff svn://svn.freebsd.org/base/stable/7/sys/dev/ae/if_ae.c \ svn://svn.freebsd.org/base/head/sys/dev/ae/if_ae.c For exact revisions, append @{rev} to URLs (consult ``svn diff --help``). It also works for directories and trees but you need to be play with that a bit. Volker From owner-freebsd-net@FreeBSD.ORG Wed Mar 18 00:39:44 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4FD6A1065695 for ; Wed, 18 Mar 2009 00:39:44 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.240]) by mx1.freebsd.org (Postfix) with ESMTP id C5F768FC14 for ; Wed, 18 Mar 2009 00:39:43 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by an-out-0708.google.com with SMTP id d11so214401and.13 for ; Tue, 17 Mar 2009 17:39:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=3lReCweNE40BgyTImt6kh7xLR/v5H9+nUgj/S0qWB+w=; b=BmzC/WvJlpJkUOC6ylNsII6X7msHxv3kCiH8g5aNhOtp0HiPtA7BrnBnZd0UC7S+Cz +ONcSnr3kaab+ZpQwiIo0ikzMLVgNKW8YF3y4MhXp9QxIkih/mhW0cVpc6a0GnUnZTk1 c2EnMoo5hU/qIBfujAwa+03HiAoXjO4IecSdY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=hfVvAHO7jhNj7doqYJl5/Gougf2273MoCEA0OfIjR4AlQ/seHSrs9xcTxdyhDF0Lwu 6YvXIkxSH7gRYiULodP4vCNQWn4drTQNFrPofqbCRcXojHA9SHz72PKBX1ZcEFDEN18J SNT15ur96w4UTdFRQnTDM3lfOqaMRHvpkzEn4= Received: by 10.100.142.4 with SMTP id p4mr947922and.23.1237336783070; Tue, 17 Mar 2009 17:39:43 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([114.111.62.249]) by mx.google.com with ESMTPS id d12sm3356008and.24.2009.03.17.17.39.39 (version=SSLv3 cipher=RC4-MD5); Tue, 17 Mar 2009 17:39:41 -0700 (PDT) Received: by michelle.cdnetworks.co.kr (sSMTP sendmail emulation); Wed, 18 Mar 2009 09:39:44 +0900 From: Pyun YongHyeon Date: Wed, 18 Mar 2009 09:39:44 +0900 To: Bruce Simpson Message-ID: <20090318003944.GA41410@michelle.cdnetworks.co.kr> References: <49BF54EB.3070800@incunabulum.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline In-Reply-To: <49BF54EB.3070800@incunabulum.net> User-Agent: Mutt/1.4.2.3i Cc: stas@FreeBSD.org, FreeBSD Net , imp@freebsd.org Subject: Re: ae(4) Wake-on-Lan MFC X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 00:39:44 -0000 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Mar 17, 2009 at 07:44:43AM +0000, Bruce Simpson wrote: > Hi, > > I noticed that ae(4) got MFC'ed to RELENG_7 before Wake-on-Lan support did. > I think WOL MFC was done before ae(4) MFC. > However, WOL support is now there, and it looks like the change can just > go in: > > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ae/if_ae.c.diff?r1=1.1.2%3ARELENG_7&tr1=1.1&r2=1.3%3AHEAD&tr2=1.3 > > I am tied up looking at other stuff at the moment, it would be nice to > merge the change, but low priority for me right now. > Do you have ae(4) hardware? I'm not sure why stas@ removed WOL part in the MFC but it could be lack of testing(CCed to stas@). I've attached diff that includes WOL support from HEAD. > BTW, it still seems easier to use cvsweb to pull a diff between FreeBSD > branches since the SVN change, > does anyone know an easier way? > > thanks > BMS --k+w/mQv8wyuph6w0 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="ae.wol.diff" Index: sys/dev/ae/if_ae.c =================================================================== --- sys/dev/ae/if_ae.c (revision 189940) +++ sys/dev/ae/if_ae.c (working copy) @@ -380,8 +380,10 @@ ifp->if_snd.ifq_drv_maxlen = IFQ_MAXLEN; IFQ_SET_MAXLEN(&ifp->if_snd, ifp->if_snd.ifq_drv_maxlen); IFQ_SET_READY(&ifp->if_snd); - if (pci_find_extcap(dev, PCIY_PMG, &pmc) == 0) + if (pci_find_extcap(dev, PCIY_PMG, &pmc) == 0) { + ifp->if_capabilities |= IFCAP_WOL_MAGIC; sc->flags |= AE_FLAG_PMG; + } ifp->if_capenable = ifp->if_capabilities; /* @@ -1329,6 +1331,7 @@ struct ifnet *ifp; uint32_t val; uint16_t pmstat; + struct mii_data *mii; int pmc; AE_LOCK_ASSERT(sc); @@ -1340,8 +1343,41 @@ return; } - ae_powersave_enable(sc); + /* + * Configure WOL if enabled. + */ + if ((ifp->if_capenable & IFCAP_WOL) != 0) { + mii = device_get_softc(sc->miibus); + mii_pollstat(mii); + if ((mii->mii_media_status & IFM_AVALID) != 0 && + (mii->mii_media_status & IFM_ACTIVE) != 0) { + AE_WRITE_4(sc, AE_WOL_REG, AE_WOL_MAGIC | \ + AE_WOL_MAGIC_PME); + /* + * Configure MAC. + */ + val = AE_MAC_RX_EN | AE_MAC_CLK_PHY | \ + AE_MAC_TX_CRC_EN | AE_MAC_TX_AUTOPAD | \ + ((AE_HALFBUF_DEFAULT << AE_HALFBUF_SHIFT) & \ + AE_HALFBUF_MASK) | \ + ((AE_MAC_PREAMBLE_DEFAULT << \ + AE_MAC_PREAMBLE_SHIFT) & AE_MAC_PREAMBLE_MASK) | \ + AE_MAC_BCAST_EN | AE_MAC_MCAST_EN; + if ((IFM_OPTIONS(mii->mii_media_active) & \ + IFM_FDX) != 0) + val |= AE_MAC_FULL_DUPLEX; + AE_WRITE_4(sc, AE_MAC_REG, val); + + } else { /* No link. */ + AE_WRITE_4(sc, AE_WOL_REG, AE_WOL_LNKCHG | \ + AE_WOL_LNKCHG_PME); + AE_WRITE_4(sc, AE_MAC_REG, 0); + } + } else { + ae_powersave_enable(sc); + } + /* * PCIE hacks. Magic numbers. */ @@ -1358,6 +1394,8 @@ pci_find_extcap(sc->dev, PCIY_PMG, &pmc); pmstat = pci_read_config(sc->dev, pmc + PCIR_POWER_STATUS, 2); pmstat &= ~(PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE); + if ((ifp->if_capenable & IFCAP_WOL) != 0) + pmstat |= PCIM_PSTAT_PME | PCIM_PSTAT_PMEENABLE; pci_write_config(sc->dev, pmc + PCIR_POWER_STATUS, pmstat, 2); } --k+w/mQv8wyuph6w0-- From owner-freebsd-net@FreeBSD.ORG Wed Mar 18 03:26:02 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 599BE106564A; Wed, 18 Mar 2009 03:26:02 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2ECA28FC08; Wed, 18 Mar 2009 03:26:02 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2I3Q2qu008510; Wed, 18 Mar 2009 03:26:02 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2I3Q2ce008506; Wed, 18 Mar 2009 03:26:02 GMT (envelope-from linimon) Date: Wed, 18 Mar 2009 03:26:02 GMT Message-Id: <200903180326.n2I3Q2ce008506@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/132734: [if_mib] [panic] panic in net/if_mib.c X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 03:26:02 -0000 Old Synopsis: panic in net/if_mib.c New Synopsis: [if_mib] [panic] panic in net/if_mib.c Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Wed Mar 18 03:23:58 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=132734 From owner-freebsd-net@FreeBSD.ORG Wed Mar 18 03:36:45 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4950B106567F; Wed, 18 Mar 2009 03:36:45 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f0f:20:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id 0FEA58FC1B; Wed, 18 Mar 2009 03:36:45 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from [192.168.1.204] (baba.farley.org [192.168.1.204]) by mail.farley.org (8.14.3/8.14.3) with ESMTP id n2I3ahIs031720; Tue, 17 Mar 2009 22:36:43 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Tue, 17 Mar 2009 22:36:43 -0500 (CDT) From: "Sean C. Farley" To: Sam Leffler In-Reply-To: <49BFF258.4020207@freebsd.org> Message-ID: References: <20090317103650.GA6156@rebelion.Sisis.de> <49BF7DE4.4010804@incunabulum.net> <20090317104548.GB6182@rebelion.Sisis.de> <49BFF258.4020207@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-3.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.farley.org Cc: freebsd-net@FreeBSD.org Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 03:36:45 -0000 On Tue, 17 Mar 2009, Sam Leffler wrote: > Sean C. Farley wrote: *snip* >> Is the AP made by Aruba Networks? >> >> On RELENG_7, I needed a newer version (v0.5.11 instead of v0.5.10) of >> wpa_supplicant for it to associate correctly. With v0.5.10, I could >> see DHCP requests from my laptop but no responses. This is the patch >> I am using currently: >> http://people.freebsd.org/~scf/wpa_supplicant-0.5.11-RELENG_7.patch >> >> Note: sam@ updated HEAD to v0.5.11 then to the v0.6.x series. > > His setup is static key wep; not wpa so I don't think wpa_supplicant > is the issue. Oops. I missed that. :) Sean -- scf@FreeBSD.org From owner-freebsd-net@FreeBSD.ORG Wed Mar 18 03:44:44 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B1D7106564A for ; Wed, 18 Mar 2009 03:44:44 +0000 (UTC) (envelope-from ash@aeria.net) Received: from aeria.net (aeria.net [205.134.176.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0B20E8FC17 for ; Wed, 18 Mar 2009 03:44:43 +0000 (UTC) (envelope-from ash@aeria.net) Received: from [IPv6:::1] (aeria.net [205.134.176.42]) by aeria.net (Postfix) with ESMTP id C6B5B47B41 for ; Wed, 18 Mar 2009 03:33:39 +0000 (UTC) Message-Id: <6CBA0923-DAF1-4FD5-A670-F5888BCA47B1@aeria.net> From: Ash Gokhale To: freebsd-net@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Tue, 17 Mar 2009 23:29:40 -0400 X-Mailer: Apple Mail (2.930.3) Subject: netgraph modules won't unload after use X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 03:44:44 -0000 I'm developing a kernel module that will be doing inspection and needed access to raw network frames, so I turned to netgraph as the solution.However it seems that netgraph will not permit a module to unload once it's participated in a mkpeer/connect operation. Rebooting to remove a module is angrymaking (not like mtx/sleep crashes). This going into the kernel because my bpf based userland stuff is probably not going to hold up to the packet rate. Should I file a PR? Or is there magic in the documentation I havn't found? I've observed the trouble in 7.0 release, and tonight's 7_RELENG, with GENERIC + WITNESS/INVARIANTS The module code ( cobbled together from netgraph/ng_sample.c / ng_echo.c) http://pastebin.com/m31b6ece6 The module loads and unloads fine until connected to a netgraph hook: > #make load :ro:~/tmp/ > food.ko:3:06:42:20 > /sbin/kldload -v /root/tmp/food.ko/food.ko > Loaded /root/tmp/food.ko/food.ko, id=3 > #Mar 18 03:06:44 kernel: foodmod loaded :ro:~/tmp/ > food.ko:3:06:44:21 > #make unload :ro:~/tmp/ > food.ko:3:10:16:21 > /sbin/kldunload -v food.ko > Unloading food.ko, id=3 > #Mar 18 03:10:19 kernel: quiesced :ro:~/tmp/ > food.ko:3:10:19:22 > Mar 18 03:10:19 kernel: foodmod unloaded Fine.. so let's connect it: > #make ath :ro:~/tmp/ > food.ko:3:10:59:23 > kldload ng_ether > ifconfig ath0 ssid ')(allmightytallest' > ifconfig ath0 promisc >> > #Mar 18 03:11:04 kernel: ath0: permanently promiscuous mode > enabledo:3:11:04:24 > make connect > #make load :ro:~/tmp/ > food.ko:3:11:13:26 > /sbin/kldload -v /root/tmp/food.ko/food.ko > Loaded /root/tmp/food.ko/food.ko, id=7 > #Mar 18 03:12:05 kernel: foodmod loaded > make connect > ngctl mkpeer ath0: food lower fredhook > ngctl name ath0:lower eater > sleep 1 > Mar 18 03:12:15 kernel: ngconstruct > ifconfig ath0 down > ifconfig ath0 up > #Mar 18 03:12:18 kernel: not our messageunrecognized command/ > food.ko:3:12:16:28 > Mar 18 03:12:18 kernel: ath0: link state changed to UP > # :ro:~/tmp/ > food.ko:3:12:18:28 > #Mar 18 03:12:21 kernel: .... Fine; we get packets to the ng_rx_data procedure .. now we pull the plug on the netgraph > #make discon :ro:~/tmp/ > food.ko:3:12:35:28 > ngctl shutdown eater: > #Mar 18 03:12:37 kernel: discondiconnecting last ng > nodengshutdownko:3:12:36:29 > > #ngctl list :ro:~/tmp/ > food.ko:3:12:39:29 > There are 3 total nodes: > Name: bge0 Type: ether ID: 00000001 Num > hooks: 0 > Name: ngctl1058 Type: socket ID: 00000008 Num > hooks: 0 > Name: ath0 Type: ether ID: 00000002 Num > hooks: 0 > But the module will never unload: ( but the UNLOAD and QUIESE event handlers are invoked) > #make unload :ro:~/tmp/ > food.ko:3:14:28:31 > /sbin/kldunload -vf food.ko > Unloading food.ko, id=7 > kldunload: can't unload file: Device busy > *** Error code 1 > > Stop in /root/tmp/food.ko. > Exit 1 > #Mar 18 03:14:31 kernel: quiesced :ro:~/tmp/ > food.ko:3:14:31:32 > Mar 18 03:14:31 kernel: foodmod unloaded Seems that I can't unload some of the other netgraph types either ( it's not just me): > #kldunload ng_ether :ro:~/tmp/ > food.ko:3:24:07:41 > kldunload: can't unload file: Device busy > Exit 1 From owner-freebsd-net@FreeBSD.ORG Wed Mar 18 06:12:15 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C92E106566C; Wed, 18 Mar 2009 06:12:15 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E58AC8FC08; Wed, 18 Mar 2009 06:12:14 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from freefall.freebsd.org (yongari@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2I6CEPD032239; Wed, 18 Mar 2009 06:12:14 GMT (envelope-from yongari@freefall.freebsd.org) Received: (from yongari@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2I6CEk3032233; Wed, 18 Mar 2009 06:12:14 GMT (envelope-from yongari) Date: Wed, 18 Mar 2009 06:12:14 GMT Message-Id: <200903180612.n2I6CEk3032233@freefall.freebsd.org> To: rorya+freebsd.org@truestep.com, yongari@FreeBSD.org, freebsd-net@FreeBSD.org, yongari@FreeBSD.org From: yongari@FreeBSD.org Cc: Subject: Re: kern/126469: [fxp] [panic] fxp(4) related kernel panic X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 06:12:15 -0000 Synopsis: [fxp] [panic] fxp(4) related kernel panic State-Changed-From-To: open->feedback State-Changed-By: yongari State-Changed-When: Wed Mar 18 06:09:32 UTC 2009 State-Changed-Why: Is this still issue on latest stable? I think I've fixed all known buffer exhausation issues of fxp(4). Would you give it spin on latest stable? Responsible-Changed-From-To: freebsd-net->yongari Responsible-Changed-By: yongari Responsible-Changed-When: Wed Mar 18 06:09:32 UTC 2009 Responsible-Changed-Why: Grab. http://www.freebsd.org/cgi/query-pr.cgi?pr=126469 From owner-freebsd-net@FreeBSD.ORG Wed Mar 18 09:38:24 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F0A34106566C for ; Wed, 18 Mar 2009 09:38:24 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 7011C8FC1B for ; Wed, 18 Mar 2009 09:38:24 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id n2I9bte4036564; Wed, 18 Mar 2009 10:38:23 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id n2I9btPQ036563; Wed, 18 Mar 2009 10:37:55 +0100 (CET) (envelope-from olli) Date: Wed, 18 Mar 2009 10:37:55 +0100 (CET) Message-Id: <200903180937.n2I9btPQ036563@lurza.secnetix.de> From: Oliver Fromme To: freebsd-net@FreeBSD.ORG, dhorn2000@gmail.com In-Reply-To: <25ff90d60903171427y4032d11es516d7b757fc3b8e0@mail.gmail.com> X-Newsgroups: list.freebsd-net User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 18 Mar 2009 10:38:23 +0100 (CET) Cc: Subject: Re: Dynamic loading of network kernel modules? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-net@FreeBSD.ORG, dhorn2000@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 09:38:25 -0000 David Horn wrote: > I made a minor change to ifconfig to try kldloading the interface name > specified on the create wlandev XXXX (ifconfig already tries for > normal invocations, just needed to try with the wlandev interface) > [...] > This works nicely, however at startup, I still do not get the > interface up, or the kernel module loaded, so a second patch is > needed. I don't understand why you have to patch anything. It seems to work for me out of the box. For example, with the following entries in /etc/rc.conf, all required KLD modules are loaded automatically, and the interfaces are up: ifconfig_bge0="up" cloned_interfaces="vlan103 vlan105" ifconfig_vlan103="inet 10.103.0.20/16 vlan 103 vlandev bge0" ifconfig_vlan105="inet 10.105.0.20/16 vlan 105 vlandev bge0" Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschдftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mьn- chen, HRB 125758, Geschдftsfьhrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Unix gives you just enough rope to hang yourself -- and then a couple of more feet, just to be sure." -- Eric Allman From owner-freebsd-net@FreeBSD.ORG Wed Mar 18 15:18:27 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 790C41065670 for ; Wed, 18 Mar 2009 15:18:27 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.245]) by mx1.freebsd.org (Postfix) with ESMTP id 30B388FC0A for ; Wed, 18 Mar 2009 15:18:26 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: by an-out-0708.google.com with SMTP id d11so63949and.13 for ; Wed, 18 Mar 2009 08:18:26 -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:message-id:subject:from:to:content-type :content-transfer-encoding; bh=cw/tkdOiVwdAaYklc518tDguAMHvFFjyfA9XXW2Hr6Q=; b=GspNS+MeHIkx8tFUj1QocQMxuhwJaowfWOiy4jApWjGFzrxwFF2SYIGHPOHh/P1PXf pB23OrLrdzQz93OA6PbhOrndpVzXBDr5r+lrLVrG/tRp3KmMDpOct1xQEHKgj5AERj3t bgnfVkfsJ8NGds5T3wq2QNqy6oRVSlaospq9k= 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:content-transfer-encoding; b=ntT5SAO/i4M36xwiSB2I+6jvGL69d7JyjNTqf6JhJdvCYfDGkik7Crkxgy3mbbImqA BKM8L9M4frotHjYVfcwznytQyRxYM5y4ZjzbKJhJMitBHTf1M1tmRBSXUz+pQD5nxohb +TZJ3zQXHztGgJMZnsPsDbdA1SLQY2PrAs5GE= MIME-Version: 1.0 Received: by 10.231.32.70 with SMTP id b6mr468710ibd.52.1237389505147; Wed, 18 Mar 2009 08:18:25 -0700 (PDT) In-Reply-To: <200903180937.n2I9btPQ036563@lurza.secnetix.de> References: <25ff90d60903171427y4032d11es516d7b757fc3b8e0@mail.gmail.com> <200903180937.n2I9btPQ036563@lurza.secnetix.de> Date: Wed, 18 Mar 2009 11:18:25 -0400 Message-ID: <25ff90d60903180818j16996fd5vf9dda27a1ebd0d0f@mail.gmail.com> From: David Horn To: freebsd-net@freebsd.org, dhorn2000@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Dynamic loading of network kernel modules? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 15:18:27 -0000 On Wed, Mar 18, 2009 at 5:37 AM, Oliver Fromme wro= te: > David Horn wrote: > =A0> I made a minor change to ifconfig to try kldloading the interface na= me > =A0> specified on the create wlandev XXXX (ifconfig already tries for > =A0> normal invocations, just needed to try with the wlandev interface) > =A0> [...] > =A0> This works nicely, however at startup, I still do not get the > =A0> interface up, or the kernel module loaded, so a second patch is > =A0> needed. > > I don't understand why you have to patch anything. =A0It > seems to work for me out of the box. =A0For example, with > the following entries in /etc/rc.conf, all required KLD > modules are loaded automatically, and the interfaces > are up: The first patch is required for dynamic kernel loading in the wlandev invocation of ifconfig. e.g.: ifconfig wlan create wlandev iwn0 This is part of the vaps changes, and ifconfig was not updated yet for this new kernel load case. > > ifconfig_bge0=3D"up" > cloned_interfaces=3D"vlan103 vlan105" > ifconfig_vlan103=3D"inet 10.103.0.20/16 vlan 103 vlandev bge0" > ifconfig_vlan105=3D"inet 10.105.0.20/16 vlan 105 vlandev bge0" Interesting. Are you certain that bge is a kernel module, and not statically built into your kernel ? Are you using /boot/loader.conf to load the module ? What does kldstat show ? I ran through all of the case scenarios I can find, and the rc.d scripts would not call ifconfig on an interface that did not already have a kernel module loaded. If you know something here that I do not, please share. :) --Thanks! --Dave H > > Best regards > =A0 Oliver > > -- > Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. > Handelsregister: Registergericht Muenchen, HRA 74606, =A0Gesch=E4ftsfuehr= ung: > secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M=FC= n- > chen, HRB 125758, =A0Gesch=E4ftsf=FChrer: Maik Bachmann, Olaf Erb, Ralf G= ebhart > > FreeBSD-Dienstleistungen, -Produkte und mehr: =A0http://www.secnetix.de/b= sd > > "Unix gives you just enough rope to hang yourself -- > and then a couple of more feet, just to be sure." > =A0 =A0 =A0 =A0-- Eric Allman > From owner-freebsd-net@FreeBSD.ORG Wed Mar 18 15:50:49 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EE8B10656E2 for ; Wed, 18 Mar 2009 15:50:46 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id D800D8FC21 for ; Wed, 18 Mar 2009 15:50:44 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id n2IFoIQt052378; Wed, 18 Mar 2009 16:50:42 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id n2IFoIVZ052377; Wed, 18 Mar 2009 16:50:18 +0100 (CET) (envelope-from olli) Date: Wed, 18 Mar 2009 16:50:18 +0100 (CET) Message-Id: <200903181550.n2IFoIVZ052377@lurza.secnetix.de> From: Oliver Fromme To: freebsd-net@freebsd.org, dhorn2000@gmail.com In-Reply-To: <200903180937.n2I9btPQ036563@lurza.secnetix.de> X-Newsgroups: list.freebsd-net User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 18 Mar 2009 16:50:42 +0100 (CET) Cc: Subject: Re: Dynamic loading of network kernel modules? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-net@freebsd.org, dhorn2000@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 15:50:51 -0000 Oliver Fromme wrote: > ifconfig_bge0="up" > cloned_interfaces="vlan103 vlan105" > ifconfig_vlan103="inet 10.103.0.20/16 vlan 103 vlandev bge0" > ifconfig_vlan105="inet 10.105.0.20/16 vlan 105 vlandev bge0" Sorry, I forgot to paste one line: network_interfaces="bge0 lo0" That one is essential. :-) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschдftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mьn- chen, HRB 125758, Geschдftsfьhrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "anyone new to programming should be kept as far from C++ as possible; actually showing the stuff should be considered a criminal offence" -- Jacek Generowicz From owner-freebsd-net@FreeBSD.ORG Wed Mar 18 16:04:38 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1957106564A for ; Wed, 18 Mar 2009 16:04:38 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id 59EBE8FC0A for ; Wed, 18 Mar 2009 16:04:38 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: by an-out-0708.google.com with SMTP id d11so76845and.13 for ; Wed, 18 Mar 2009 09:04:37 -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:message-id:subject:from:to:content-type :content-transfer-encoding; bh=n1II+Oy7cibZhH+gj7YWxbsy6Ge2OUJwPbHJR8mZUcc=; b=R08m1hq22BNyBqd6Yz2OCPARcK6j180A0mMQgRQW9u6Sn04T/hKWRW7H4PDgpEPoj1 S7aBfLpiJclGUZRyztSAWihJZxLr0kV2kbWOzkeKLL5cyLnX01xiQwFF6XWfbhdkkkZ1 AeYN+u1z1ZncMADpMAJiny0Eq1BnMS0t60ZDs= 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:content-transfer-encoding; b=Ljm2SLAswztWGCUMPDOGvjG11QFUtEROIJ2HSzyS+SpfNYxGMUuKLf0TmdkZrsL5PT BqPudOGc1OfsfIyJOUSqyD4t2h9XNPx7TkXd34c02dufZZcI1sMYtN/ErKwzOg0xwuC6 qJIGoXzL7uDxFEhdxoMfOLBRziajZpXaGOS/k= MIME-Version: 1.0 Received: by 10.231.14.72 with SMTP id f8mr494655iba.34.1237392277450; Wed, 18 Mar 2009 09:04:37 -0700 (PDT) In-Reply-To: <200903181550.n2IFoIVZ052377@lurza.secnetix.de> References: <200903180937.n2I9btPQ036563@lurza.secnetix.de> <200903181550.n2IFoIVZ052377@lurza.secnetix.de> Date: Wed, 18 Mar 2009 12:04:37 -0400 Message-ID: <25ff90d60903180904ud077fcdy344cda5307a9037e@mail.gmail.com> From: David Horn To: freebsd-net@freebsd.org, dhorn2000@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Dynamic loading of network kernel modules? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 16:04:39 -0000 On Wed, Mar 18, 2009 at 11:50 AM, Oliver Fromme wr= ote: > Oliver Fromme wrote: > =A0> ifconfig_bge0=3D"up" > =A0> cloned_interfaces=3D"vlan103 vlan105" > =A0> ifconfig_vlan103=3D"inet 10.103.0.20/16 vlan 103 vlandev bge0" > =A0> ifconfig_vlan105=3D"inet 10.105.0.20/16 vlan 105 vlandev bge0" > > Sorry, I forgot to paste one line: > > =A0network_interfaces=3D"bge0 lo0" Ah. Ok, now I am understanding your scenario. I thought that using 'network_interfaces' with anything other than "AUTO" was in the process of being depreciated ? rc.conf man page: network_interfaces (str) Set to the list of network interfaces to configure o= n this host or ``AUTO'' (the default) for all current inter- faces. Setting the network_interfaces variable to anythin= g other than the default is deprecated. Interfaces that the administrator wishes to store configuration for, but not start at boot should be configured with the ``NOAUTO'' key= - word in their ifconfig_ variables as described below. An ifconfig_ variable is also assumed to exist = for each value of interface. When an interface name contains = any of the characters ``.-/+'' they are translated to ``_'' before lookup. The variable can contain arguments to ifconfig(8), as well as special case-insensitive keywords described below. Such keywords are removed before passing the value to ifconfig(8) while the order of the other argu= - ments is preserved. --Thanks! --_Dave Horn > > That one is essential. =A0:-) > > Best regards > =A0 Oliver > > > -- > Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. > Handelsregister: Registergericht Muenchen, HRA 74606, =A0Gesch=E4ftsfuehr= ung: > secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M=FC= n- > chen, HRB 125758, =A0Gesch=E4ftsf=FChrer: Maik Bachmann, Olaf Erb, Ralf G= ebhart > > FreeBSD-Dienstleistungen, -Produkte und mehr: =A0http://www.secnetix.de/b= sd > > "anyone new to programming should be kept as far from C++ as > possible; =A0actually showing the stuff should be considered a > criminal offence" -- Jacek Generowicz > From owner-freebsd-net@FreeBSD.ORG Wed Mar 18 16:16:15 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F2121065677 for ; Wed, 18 Mar 2009 16:16:15 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outB.internet-mail-service.net (outb.internet-mail-service.net [216.240.47.225]) by mx1.freebsd.org (Postfix) with ESMTP id 43A948FC28 for ; Wed, 18 Mar 2009 16:16:15 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id B504EB61D; Wed, 18 Mar 2009 09:16:14 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id 3E5FF2D602B; Wed, 18 Mar 2009 09:16:13 -0700 (PDT) Message-ID: <49C11E56.7090809@elischer.org> Date: Wed, 18 Mar 2009 09:16:22 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Ash Gokhale References: <6CBA0923-DAF1-4FD5-A670-F5888BCA47B1@aeria.net> In-Reply-To: <6CBA0923-DAF1-4FD5-A670-F5888BCA47B1@aeria.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: netgraph modules won't unload after use X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 16:16:15 -0000 Ash Gokhale wrote: > I'm developing a kernel module that will be doing inspection and needed > access to raw network frames, > so I turned to netgraph as the solution.However it seems that netgraph > will not permit a module > to unload once it's participated in a mkpeer/connect operation. > Rebooting to remove a module is > angrymaking (not like mtx/sleep crashes). > > This going into the kernel because my bpf based userland stuff is > probably not going to hold up to the packet rate. > > Should I file a PR? Or is there magic in the documentation I havn't found? > > > I've observed the trouble in 7.0 release, and tonight's 7_RELENG, with > GENERIC + WITNESS/INVARIANTS > > The module code ( cobbled together from netgraph/ng_sample.c / ng_echo.c) > http://pastebin.com/m31b6ece6 > > The module loads and unloads fine until connected to a netgraph hook: hmm they are supposed to, and they did in the past.. let me check... root@trafmon1:kldload ng_ether root@trafmon1:ifconfig bge0: flags=8843 metric 0 mtu 1500 options=9b ether 00:11:43:30:fb:8a inet 10.7.2.3 netmask 0xffffff00 broadcast 10.7.2.255 media: Ethernet autoselect (100baseTX ) status: active bge1: flags=8802 metric 0 mtu 1500 options=9b ether 00:11:43:30:fb:8b media: Ethernet autoselect (none) status: no carrier fxp0: flags=8843 metric 0 mtu 1500 options=b ether 00:0e:0c:62:aa:14 inet 10.7.0.101 netmask 0xffffff00 broadcast 10.7.0.255 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 inet 127.0.0.1 netmask 0xff000000 root@trafmon1:ngctl + list There are 4 total nodes: Name: bge0 Type: ether ID: 00000002 Num hooks: 0 Name: bge1 Type: ether ID: 00000003 Num hooks: 0 Name: ngctl4252 Type: socket ID: 00000005 Num hooks: 0 Name: fxp0 Type: ether ID: 00000004 Num hooks: 0 + mkpeer bge0: hole lower hook + list There are 5 total nodes: Name: Type: hole ID: 00000006 Num hooks: 1 Name: bge0 Type: ether ID: 00000002 Num hooks: 1 Name: bge1 Type: ether ID: 00000003 Num hooks: 0 Name: ngctl4252 Type: socket ID: 00000005 Num hooks: 0 Name: fxp0 Type: ether ID: 00000004 Num hooks: 0 + shutdown [6]: + list There are 4 total nodes: Name: bge0 Type: ether ID: 00000002 Num hooks: 0 Name: bge1 Type: ether ID: 00000003 Num hooks: 0 Name: ngctl4252 Type: socket ID: 00000005 Num hooks: 0 Name: fxp0 Type: ether ID: 00000004 Num hooks: 0 + quit root@trafmon1:kldstat -v Id Refs Address Size Name 1 36 0xc0400000 6a9c28 kernel (/boot/kernel/kernel) [...] 7 1 0xccb16000 4000 ng_ether.ko (/boot/kernel/ng_ether.ko) Contains modules: Id Name 246 ng_ether 8 1 0xccb1b000 2000 ng_hole.ko (/boot/kernel/ng_hole.ko) Contains modules: Id Name 247 ng_hole root@trafmon1:klunload ng_hole klunload: Command not found. root@trafmon1:kldunload ng_hole root@trafmon1:kldunload ng_ether kldunload: can't unload file: Device busy root@trafmon1:kldstat -v Id Refs Address Size Name 1 36 0xc0400000 6a9c28 kernel (/boot/kernel/kernel) [...] 7 1 0xccb16000 4000 ng_ether.ko (/boot/kernel/ng_ether.ko) Contains modules: Id Name 246 ng_ether root@trafmon1: this is expected. ng-ether is not unloadable as the connections are too complicated to unwind easily.. one day.... root@trafmon1: >> Stop in /root/tmp/food.ko. >> Exit 1 >> #Mar 18 03:14:31 kernel: quiesced >> :ro:~/tmp/food.ko:3:14:31:32 >> Mar 18 03:14:31 kernel: foodmod unloaded > > > Seems that I can't unload some of the other netgraph types either ( it's > not just me): > >> #kldunload ng_ether >> :ro:~/tmp/food.ko:3:24:07:41 >> kldunload: can't unload file: Device busy >> Exit 1 try unloading a node that IS unloadable.. see the following comment in ng_ehter.c: /* * Note that the base code won't try to unload us until * all nodes have been removed, and that can't happen * until all Ethernet interfaces are removed. In any * case, we know there are no nodes left if the action * is MOD_UNLOAD, so there's no need to detach any nodes. */ so we can't run this unless you have removeable ethernet interfaces, and have removed them. > > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Wed Mar 18 16:27:07 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEE6B1065687 for ; Wed, 18 Mar 2009 16:27:07 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 50E6E8FC0A for ; Wed, 18 Mar 2009 16:27:07 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id n2IGQglK054496; Wed, 18 Mar 2009 17:27:06 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id n2IGQgqt054487; Wed, 18 Mar 2009 17:26:42 +0100 (CET) (envelope-from olli) Date: Wed, 18 Mar 2009 17:26:42 +0100 (CET) Message-Id: <200903181626.n2IGQgqt054487@lurza.secnetix.de> From: Oliver Fromme To: freebsd-net@FreeBSD.ORG, dhorn2000@gmail.com In-Reply-To: <25ff90d60903180904ud077fcdy344cda5307a9037e@mail.gmail.com> X-Newsgroups: list.freebsd-net User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 18 Mar 2009 17:27:06 +0100 (CET) Cc: Subject: Re: Dynamic loading of network kernel modules? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-net@FreeBSD.ORG, dhorn2000@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 16:27:08 -0000 David Horn wrote: > Oliver Fromme wrote: > > > >  network_interfaces="bge0 lo0" > > Ah. Ok, now I am understanding your scenario. > > I thought that using 'network_interfaces' with anything other than > "AUTO" was in the process of being depreciated ? Well, the manual page says so, but I think that is a mistake. There are cases where you have to specify the list of interfaces explicitly. The situation described in this thread is one such case. My opinion is that it is good to have the ability to let things be done automatically, but it is bad to remove the ability to do things manually. This is UNIX, after all. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschдftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mьn- chen, HRB 125758, Geschдftsfьhrer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "The ITU has offered the IETF formal alignment with its corresponding technology, Penguins, but that won't fly." -- RFC 2549 From owner-freebsd-net@FreeBSD.ORG Wed Mar 18 16:43:35 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 382FD106568B for ; Wed, 18 Mar 2009 16:43:35 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 0655F8FC1C for ; Wed, 18 Mar 2009 16:43:34 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2IGhYsC088058 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Mar 2009 09:43:34 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49C124B6.2030503@freebsd.org> Date: Wed, 18 Mar 2009 09:43:34 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: freebsd-net@freebsd.org, dhorn2000@gmail.com References: <200903181626.n2IGQgqt054487@lurza.secnetix.de> In-Reply-To: <200903181626.n2IGQgqt054487@lurza.secnetix.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-URT-Metrics: ebb.errno.com; whitelist Cc: Subject: Re: Dynamic loading of network kernel modules? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 16:43:35 -0000 Oliver Fromme wrote: > David Horn wrote: > > Oliver Fromme wrote: > > > > > > network_interfaces="bge0 lo0" > > > > Ah. Ok, now I am understanding your scenario. > > > > I thought that using 'network_interfaces' with anything other than > > "AUTO" was in the process of being depreciated ? > > Well, the manual page says so, but I think that is a > mistake. There are cases where you have to specify the > list of interfaces explicitly. The situation described > in this thread is one such case. > > My opinion is that it is good to have the ability to let > things be done automatically, but it is bad to remove the > ability to do things manually. This is UNIX, after all. > I personally hate the auto-magic-loading of modules that ifconfig does. Remember that we tried to yank it once before but had to bring it back for compatibility. If one argues that ifconfig should be consistent in it's treatment of module loading then the patch is fine and should go in. Otherwise... Sam From owner-freebsd-net@FreeBSD.ORG Wed Mar 18 17:15:08 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 203F51065672; Wed, 18 Mar 2009 17:15:08 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id E60A78FC15; Wed, 18 Mar 2009 17:15:07 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id E58AB2F576F; Wed, 18 Mar 2009 13:15:06 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 18 Mar 2009 13:15:06 -0400 X-Sasl-enc: /rZtLE59cIdopp+76mLvkDzOp4cgf4i6hM7wKB9RziY3 1237396506 Received: from anglepoise.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 2C34A24B3C; Wed, 18 Mar 2009 13:15:06 -0400 (EDT) Message-ID: <49C12C19.7060404@incunabulum.net> Date: Wed, 18 Mar 2009 17:15:05 +0000 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.19 (X11/20090125) MIME-Version: 1.0 To: pyunyh@gmail.com References: <49BF54EB.3070800@incunabulum.net> <20090318003944.GA41410@michelle.cdnetworks.co.kr> In-Reply-To: <20090318003944.GA41410@michelle.cdnetworks.co.kr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: stas@FreeBSD.org, FreeBSD Net , imp@freebsd.org Subject: Re: ae(4) Wake-on-Lan MFC X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 17:15:08 -0000 Pyun YongHyeon wrote: > Do you have ae(4) hardware? I'm not sure why stas@ removed WOL part > in the MFC but it could be lack of testing(CCed to stas@). I've > attached diff that includes WOL support from HEAD. > > Thanks. I tested this OK on the EeePC 701 so I've committed it! cheers BMS From owner-freebsd-net@FreeBSD.ORG Wed Mar 18 17:33:08 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ABE721065729 for ; Wed, 18 Mar 2009 17:33:08 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.243]) by mx1.freebsd.org (Postfix) with ESMTP id 58E948FC22 for ; Wed, 18 Mar 2009 17:33:08 +0000 (UTC) (envelope-from dhorn2000@gmail.com) Received: by an-out-0708.google.com with SMTP id d11so103973and.13 for ; Wed, 18 Mar 2009 10:33:07 -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:message-id:subject:from:to:content-type :content-transfer-encoding; bh=XH1btbiAgzkIfy9AeG4a9rN37ILdbPhJozRZCAYdBTk=; b=VT2bnYkKPeEEFfL/5b//MrvAF4heVaHe3S7BktWwtk7r8iZ9O04MQTe4c7aluWO0Jk 3YxFuTGtVevMymn2hSn578hwmw1V2JlPd3woQ4rI3Se4Tz1jkN4sQa8Qk4qgTp/cXbX6 G+JFGw3vstmGIvlko5Wq23GftJsFG91dX6Grk= 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:content-transfer-encoding; b=GB5g5Mc6Org/VgXKJrsRQvwTYg8/TggvGnH54ue57cnegKtKRX6i3VR/BJWMvWlUWl vAicVEmz7SNM+uzFSzXi5fACjZZvbFDAZlUkk44wLjYTTfmNY5NpNudbCZlMSDbyMc/j st4x75cFDj3dnywqLwnPw6LIVbaSRkBQVuhvc= MIME-Version: 1.0 Received: by 10.231.14.196 with SMTP id h4mr531379iba.15.1237397586579; Wed, 18 Mar 2009 10:33:06 -0700 (PDT) In-Reply-To: <200903181626.n2IGQgqt054487@lurza.secnetix.de> References: <25ff90d60903180904ud077fcdy344cda5307a9037e@mail.gmail.com> <200903181626.n2IGQgqt054487@lurza.secnetix.de> Date: Wed, 18 Mar 2009 13:33:06 -0400 Message-ID: <25ff90d60903181033n5d3f0a79w7a8ea504f911ecf@mail.gmail.com> From: David Horn To: freebsd-net@freebsd.org, brooks@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Dynamic loading of network kernel modules? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 17:33:12 -0000 On Wed, Mar 18, 2009 at 12:26 PM, Oliver Fromme wr= ote: > David Horn wrote: > =A0> Oliver Fromme wrote: > =A0> > > =A0> > =A0network_interfaces=3D"bge0 lo0" > =A0> > =A0> Ah. =A0Ok, now I am understanding your scenario. > =A0> > =A0> I thought that using 'network_interfaces' with anything other than > =A0> "AUTO" =A0was in the process of being depreciated ? > > Well, the manual page says so, but I think that is a > mistake. =A0There are cases where you have to specify the > list of interfaces explicitly. =A0The situation described > in this thread is one such case. Good point. > > My opinion is that it is good to have the ability to let > things be done automatically, but it is bad to remove the > ability to do things manually. =A0This is UNIX, after all. Exactly. Both scenarios should probably be supported, but I guess we would need to ask brooks for some history on the depreciated warning for network_interfaces. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D src/etc/network.subr Revision 1.185: download - view: text, markup, annotated - [selected for di= ffs] Wed Apr 30 16:29:15 2008 UTC (10 months, 2 weeks ago) by brooks Branches: MAIN Diff to: previous 1.184: preferred, colored Changes since revision 1.184: +4 -0 lines Emit a warning when the network_interfaces variable is not set to AUTO. MFC after: 3 days =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --Thanks! -_Dave H > > Best regards > =A0 Oliver > > -- > Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. > Handelsregister: Registergericht Muenchen, HRA 74606, =A0Gesch=E4ftsfuehr= ung: > secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht M=FC= n- > chen, HRB 125758, =A0Gesch=E4ftsf=FChrer: Maik Bachmann, Olaf Erb, Ralf G= ebhart > > FreeBSD-Dienstleistungen, -Produkte und mehr: =A0http://www.secnetix.de/b= sd > > "The ITU has offered the IETF formal alignment with its > corresponding technology, Penguins, but that won't fly." > =A0 =A0 =A0 =A0-- RFC 2549 > From owner-freebsd-net@FreeBSD.ORG Wed Mar 18 23:30:05 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1D961065676 for ; Wed, 18 Mar 2009 23:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9F2828FC21 for ; Wed, 18 Mar 2009 23:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2INU4Mh015620 for ; Wed, 18 Mar 2009 23:30:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2INU4rH015615; Wed, 18 Mar 2009 23:30:04 GMT (envelope-from gnats) Date: Wed, 18 Mar 2009 23:30:04 GMT Message-Id: <200903182330.n2INU4rH015615@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Rui Paulo Cc: Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rui Paulo List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2009 23:30:06 -0000 The following reply was made to PR kern/131153; it has been noted by GNATS. From: Rui Paulo To: bug-followup@FreeBSD.org, adamk@voicenet.com Cc: Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network Date: Wed, 18 Mar 2009 22:58:10 +0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-10--735631158 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Please include the result of the following command: wpa_supplicant -c /etc/wpa_supplicant.conf -i wlan0 -dd Thanks. --Apple-Mail-10--735631158 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAknBfIIACgkQfD8M/ASTygIScACdG3Vq1VaZ/+hB259pIWmwLVuX p98AoNhqHBex14lagyuoMP2OoBKxUpqU =3wfU -----END PGP SIGNATURE----- --Apple-Mail-10--735631158-- From owner-freebsd-net@FreeBSD.ORG Thu Mar 19 01:24:35 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B82F8106566B; Thu, 19 Mar 2009 01:24:35 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from mail-gx0-f176.google.com (mail-gx0-f176.google.com [209.85.217.176]) by mx1.freebsd.org (Postfix) with ESMTP id 459708FC1B; Thu, 19 Mar 2009 01:24:35 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by gxk24 with SMTP id 24so2137718gxk.19 for ; Wed, 18 Mar 2009 18:24:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=Lu/wah4MiuRvM4FeE5cil9qLmApXFDGeMkLFxo+loi8=; b=n6C1nMAvdbAH4ozyplPrwXJNUVf1v3OFXbSWpAYeO3lSKPuuo92hAB9jMN15nVolYm lR22qZ4RaufOwg/lZkegCBgeQKID7LbVeNvhihjLKimdNPTC1S86cjSu6RnQySCjEo5j Q2bGRq1c51IcOB/nY2x2K5x+o6SP43PH/B9mE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=OM6DgLV1dqujkEy5AJBWgVX47w6dP/vXxs/VtpvkwhN9hXhN9AsJeGgIvJxGEHTtdL cdYZ+jfEkIiFrQFVCX+K+he9grCyT8C1JXJsDokJsG2vlKWz/bak/m9Jng8WBdCuU7xI sW56PySum1DUGMv76F+oZipC98T0f2hrLeCfI= Received: by 10.101.71.3 with SMTP id y3mr1149757ank.158.1237425874553; Wed, 18 Mar 2009 18:24:34 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([114.111.62.249]) by mx.google.com with ESMTPS id d21sm1449154and.26.2009.03.18.18.24.31 (version=SSLv3 cipher=RC4-MD5); Wed, 18 Mar 2009 18:24:33 -0700 (PDT) Received: by michelle.cdnetworks.co.kr (sSMTP sendmail emulation); Thu, 19 Mar 2009 10:24:49 +0900 From: Pyun YongHyeon Date: Thu, 19 Mar 2009 10:24:49 +0900 To: Bruce Simpson Message-ID: <20090319012449.GJ41410@michelle.cdnetworks.co.kr> References: <49BF54EB.3070800@incunabulum.net> <20090318003944.GA41410@michelle.cdnetworks.co.kr> <49C12C19.7060404@incunabulum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49C12C19.7060404@incunabulum.net> User-Agent: Mutt/1.4.2.3i Cc: stas@freebsd.org, FreeBSD Net , imp@freebsd.org Subject: Re: ae(4) Wake-on-Lan MFC X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 01:24:36 -0000 On Wed, Mar 18, 2009 at 05:15:05PM +0000, Bruce Simpson wrote: > Pyun YongHyeon wrote: > >Do you have ae(4) hardware? I'm not sure why stas@ removed WOL part > >in the MFC but it could be lack of testing(CCed to stas@). I've > >attached diff that includes WOL support from HEAD. > > > > > > Thanks. I tested this OK on the EeePC 701 so I've committed it! > Great! Thanks. From owner-freebsd-net@FreeBSD.ORG Thu Mar 19 04:35:34 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02A35106564A; Thu, 19 Mar 2009 04:35:34 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CC6428FC14; Thu, 19 Mar 2009 04:35:33 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2J4ZXvJ020688; Thu, 19 Mar 2009 04:35:33 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2J4ZXb5020684; Thu, 19 Mar 2009 04:35:33 GMT (envelope-from linimon) Date: Thu, 19 Mar 2009 04:35:33 GMT Message-Id: <200903190435.n2J4ZXb5020684@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/123890: [ppp] [panic] crash & reboot on work with PPP low-speed connection X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 04:35:34 -0000 Synopsis: [ppp] [panic] crash & reboot on work with PPP low-speed connection Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Thu Mar 19 04:35:24 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=123890 From owner-freebsd-net@FreeBSD.ORG Thu Mar 19 11:19:04 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF8071065673; Thu, 19 Mar 2009 11:19:04 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 817F38FC1E; Thu, 19 Mar 2009 11:19:04 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2JBJ4rn075409; Thu, 19 Mar 2009 11:19:04 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2JBJ4HF075405; Thu, 19 Mar 2009 11:19:04 GMT (envelope-from linimon) Date: Thu, 19 Mar 2009 11:19:04 GMT Message-Id: <200903191119.n2JBJ4HF075405@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: bin/132798: [patch] ggatec(8): ggated/ggatec connection slowdown problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 11:19:07 -0000 Old Synopsis: ggated/ggatec New Synopsis: [patch] ggatec(8): ggated/ggatec connection slowdown problem Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Thu Mar 19 11:17:00 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=132798 From owner-freebsd-net@FreeBSD.ORG Thu Mar 19 14:12:06 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08C3F106566B for ; Thu, 19 Mar 2009 14:12:06 +0000 (UTC) (envelope-from stas@SpringDaemons.com) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id AEEED8FC1C for ; Thu, 19 Mar 2009 14:12:05 +0000 (UTC) (envelope-from stas@SpringDaemons.com) Received: from DSPAM-Daemon (localhost [127.0.0.1]) by mx0.deglitch.com (Postfix) with SMTP id DFD958FC2B for ; Thu, 19 Mar 2009 16:56:36 +0300 (MSK) Received: from sputnik.SpringDaemons.com (unknown [83.166.229.34]) by mx0.deglitch.com (Postfix) with ESMTPA id 7B30A8FC1D; Thu, 19 Mar 2009 16:56:36 +0300 (MSK) Received: by sputnik.SpringDaemons.com (Postfix, from userid 1024) id A0E1BB86F; Thu, 19 Mar 2009 16:59:30 +0300 (MSK) Date: Thu, 19 Mar 2009 16:59:24 +0300 From: Stanislav Sedov To: Bruce Simpson Message-Id: <20090319165924.fadd1e27.stas@FreeBSD.org> In-Reply-To: <49C12C19.7060404@incunabulum.net> References: <49BF54EB.3070800@incunabulum.net> <20090318003944.GA41410@michelle.cdnetworks.co.kr> <49C12C19.7060404@incunabulum.net> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprin: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu Mar 19 16:56:36 2009 X-DSPAM-Confidence: 1.0000 X-DSPAM-Improbability: 1 in 98689409 chance of being spam X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 49c24f14967005928620533 Cc: pyunyh@gmail.com, FreeBSD Net , imp@freebsd.org Subject: Re: ae(4) Wake-on-Lan MFC X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 14:12:06 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 18 Mar 2009 17:15:05 +0000 Bruce Simpson mentioned: > Pyun YongHyeon wrote: > > Do you have ae(4) hardware? I'm not sure why stas@ removed WOL part > > in the MFC but it could be lack of testing(CCed to stas@). I've > > attached diff that includes WOL support from HEAD. > > > > > > Thanks. I tested this OK on the EeePC 701 so I've committed it! > So, basically WOL works on 7.1 with ae and the PC resumes correctly? Thanks for committing this! - -- Stanislav Sedov ST4096-RIPE -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAknCT8IACgkQK/VZk+smlYHk6gCeMI1lvEnr/FTYwNgZSHEruD+h OTQAnRDWyKNEv3qF5jZONvlhJhWCFs4h =IUCd -----END PGP SIGNATURE----- !DSPAM:49c24f14967005928620533! From owner-freebsd-net@FreeBSD.ORG Thu Mar 19 14:21:52 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3B661065670 for ; Thu, 19 Mar 2009 14:21:52 +0000 (UTC) (envelope-from ivan@serezhkin.com) Received: from shustrik.urh.ru (shustrik.urh.ru [89.108.81.81]) by mx1.freebsd.org (Postfix) with ESMTP id 68B058FC08 for ; Thu, 19 Mar 2009 14:21:52 +0000 (UTC) (envelope-from ivan@serezhkin.com) Received: from vany.yandex.ru (dhcp173-125-red.yandex.net [95.108.173.125]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: ivan@serezhkin.com) by shustrik.urh.ru (Postfix) with ESMTPSA id A72FA1D1B3 for ; Thu, 19 Mar 2009 17:00:35 +0300 (MSK) Message-ID: <49C2504F.2030003@serezhkin.com> Date: Thu, 19 Mar 2009 17:01:51 +0300 From: Vany Serezhkin User-Agent: Thunderbird 2.0.0.19 (X11/20090219) MIME-Version: 1.0 To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Subject: 802.1x broken after SVN rev 189592 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 14:21:53 -0000 Hello. I do not really sure in this, but : after the current updated to 20090309 Merge IGMPv3 and Source-Specific Multicast (SSM) to the FreeBSD IPv4 stack. I can't use any wpa_supplicant related networks. It faulted in any WPA authentications , that i tried. Also it faulted when i try to login via 802.1x in my job network. All happens after i starts wpa_supplicant and looks like these: #11 0xc05cabec in panic (fmt=0xc08b16e9 "sbappendaddr_locked") at /opt/src/sys/kern/kern_shutdown.c:559 #12 0xc061fd40 in sbappendaddr_locked (sb=0xc66dd670, asa=0xc09021b4, m0=0xce435b00, control=0x0) at /opt/src/sys/kern/uipc_sockbuf.c:632 #13 0xc0620418 in sbappendaddr (sb=0xc66dd670, asa=0xc09021b4, m0=0xce435b00, control=0x0) at /opt/src/sys/kern/uipc_sockbuf.c:679 #14 0xc0671be4 in raw_input (m0=0xc64b0100, proto=0xe664ec60, src=0xc09021b4) at /opt/src/sys/net/raw_usrreq.c:96 #15 0xc06749e7 in rts_input (m=0xc64b0100) at /opt/src/sys/net/rtsock.c:151 #16 0xc066f752 in swi_net (dummy=0x0) at /opt/src/sys/net/netisr.c:145 #17 0xc05aa148 in intr_event_execute_handlers (p=0xc61617ec, ie=0xc61a2d00) at /opt/src/sys/kern/kern_intr.c:1134 #18 0xc05ab4d4 in ithread_loop (arg=0xc60ec660) at /opt/src/sys/kern/kern_intr.c:1147 #19 0xc05a7ac9 in fork_exit (callout=0xc05ab469 , arg=0xc60ec660, frame=0xe664ed38) at /opt/src/sys/kern/kern_fork.c:821 #20 0xc0833170 in fork_trampoline () at /opt/src/sys/i386/i386/exception.s:270 -- Vany Serezhkin. Yandex. http://yandex.ru/ From owner-freebsd-net@FreeBSD.ORG Thu Mar 19 14:42:55 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AFB5106564A; Thu, 19 Mar 2009 14:42:55 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id A70848FC1A; Thu, 19 Mar 2009 14:42:54 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([10.0.1.29]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Thu, 19 Mar 2009 15:42:52 +0100 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id n2JEgp76013765; Thu, 19 Mar 2009 15:42:51 +0100 (CET) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Thu, 19 Mar 2009 15:42:51 +0100 From: Matthias Apitz To: Sam Leffler Message-ID: <20090319144251.GA13320@rebelion.Sisis.de> References: <20090317103650.GA6156@rebelion.Sisis.de> <49BF7DE4.4010804@incunabulum.net> <20090317104548.GB6182@rebelion.Sisis.de> <49BFF258.4020207@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <49BFF258.4020207@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-STABLE (i386) X-OriginalArrivalTime: 19 Mar 2009 14:42:52.0773 (UTC) FILETIME=[FBB1B150:01C9A8A0] Cc: freebsd-net@freebsd.org, Bruce Simpson , "Sean C. Farley" Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 14:42:55 -0000 El dнa Tuesday, March 17, 2009 a las 11:56:24AM -0700, Sam Leffler escribiу: > His setup is static key wep; not wpa so I don't think wpa_supplicant is > the issue. > > Matthias, your tcpdump of the dhclient packets isn't usable; please try: > > tcpdump -i ath0 -n -y IEEE802_11_RADIO > > I reviewed the driver to the code in HEAD and the only difference in the > crypto area should not matter in this case. It's possible wme is > somehow enabled and causing problems but the ifconfig output doesn't > indicate that. > > If you can find out the model of ap that might be helpful. > Unfortunately the best thing to try is HEAD. I will try to collect a better tcpdump of the dhclient packets on the weekend and as well figure out what kind of model the AP is; would it be helpful to connect with a Windows XP laptop (which seems to work) to gather some information of the Wifi and other network parameters? how this could be seen in Windows? maybe there is some special compression of the payload of the packages in place? I have seen such 'options' in another AP (a Netgear WGT624 v3), the option was called "[ ] Disable Advanced 108Mbps Features" and this must be checked (i.e. disabled) to make DHCP happy with the ath0 EeePC; unfortunately I can't look into the AP about this problem is :-( thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ From owner-freebsd-net@FreeBSD.ORG Thu Mar 19 15:02:47 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD642106564A for ; Thu, 19 Mar 2009 15:02:47 +0000 (UTC) (envelope-from pgoggins@cc.edu) Received: from xmail.cc.edu (xmail.cc.edu [140.104.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id ACBCC8FC0A for ; Thu, 19 Mar 2009 15:02:47 +0000 (UTC) (envelope-from pgoggins@cc.edu) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Thu, 19 Mar 2009 10:01:42 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: multiple interfaces and pf rdr bug Thread-Index: Acmoo5z9ZTbAS4NFRG6ZRmJg6Irsyw== From: "Patrick Goggins" To: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: multiple interfaces and pf rdr bug X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 15:02:48 -0000 When configuring a system with three interfaces, two of them as a transparent bridge and a management interface one could configure the rules to allow users to connect to the management interface from being behind the bridge. However, if an rdr rule is applied to force this then, the clients connections time out. If the clients with this rule applied attempt to go directly to the management interface they are able to and if the rdr rule is changed to anything other than the management interface it works. There are allow rules created on the inside interface of the bridge and all other interfaces are set to skip. Can anyone else confirm this is a bug or correct me on my logic? =20 =20 =20 =20 ~Patrick =20 From owner-freebsd-net@FreeBSD.ORG Thu Mar 19 15:44:31 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1AB201065759 for ; Thu, 19 Mar 2009 15:44:31 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id C12CF8FC1B for ; Thu, 19 Mar 2009 15:44:30 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2JFiTrp096611 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Mar 2009 08:44:30 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49C2685D.6040801@freebsd.org> Date: Thu, 19 Mar 2009 08:44:29 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Matthias Apitz References: <20090317103650.GA6156@rebelion.Sisis.de> <49BF7DE4.4010804@incunabulum.net> <20090317104548.GB6182@rebelion.Sisis.de> <49BFF258.4020207@freebsd.org> <20090319144251.GA13320@rebelion.Sisis.de> In-Reply-To: <20090319144251.GA13320@rebelion.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: freebsd-net@freebsd.org Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 15:44:32 -0000 Matthias Apitz wrote: > El dнa Tuesday, March 17, 2009 a las 11:56:24AM -0700, Sam Leffler escribiу: > > >> His setup is static key wep; not wpa so I don't think wpa_supplicant is >> the issue. >> >> Matthias, your tcpdump of the dhclient packets isn't usable; please try: >> >> tcpdump -i ath0 -n -y IEEE802_11_RADIO >> >> I reviewed the driver to the code in HEAD and the only difference in the >> crypto area should not matter in this case. It's possible wme is >> somehow enabled and causing problems but the ifconfig output doesn't >> indicate that. >> >> If you can find out the model of ap that might be helpful. >> Unfortunately the best thing to try is HEAD. >> > > I will try to collect a better tcpdump of the dhclient packets on the > weekend and as well figure out what kind of model the AP is; > > would it be helpful to connect with a Windows XP laptop (which seems to > work) to gather some information of the Wifi and other network > parameters? how this could be seen in Windows? maybe there is some > special compression of the payload of the packages in place? > Having a packet trace of a working connection to compare would be very helpful. > I have seen such 'options' in another AP (a Netgear WGT624 v3), > the option was called "[ ] Disable Advanced 108Mbps Features" > and this must be checked (i.e. disabled) to make DHCP happy with > the ath0 EeePC; > That controls SuperG support in Atheros-based ap's and is unrelated. There is a known problem with SuperG support that has been fixed in HEAD but not yet backmerged. For reasons unknown your (apparently) simple setup is not working. I do not use RELENG_7 w/ the stock wireless and have no familiarity with it's status so it's more likely there's just some bug fix not back-merged. > unfortunately I can't look into the AP about this problem is :-( > > thx > > matthias > From owner-freebsd-net@FreeBSD.ORG Thu Mar 19 16:12:29 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D3701065773 for ; Thu, 19 Mar 2009 16:12:29 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 289118FC13 for ; Thu, 19 Mar 2009 16:12:26 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2JGCOTq096887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Mar 2009 09:12:26 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49C26EE8.3040100@freebsd.org> Date: Thu, 19 Mar 2009 09:12:24 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Vany Serezhkin References: <49C2504F.2030003@serezhkin.com> In-Reply-To: <49C2504F.2030003@serezhkin.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: freebsd-net@freebsd.org Subject: Re: 802.1x broken after SVN rev 189592 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 16:12:34 -0000 Vany Serezhkin wrote: > Hello. > > I do not really sure in this, but : > > after the current updated to > 20090309 Merge IGMPv3 and Source-Specific Multicast (SSM) to the FreeBSD > IPv4 stack. > > I can't use any wpa_supplicant related networks. > > It faulted in any WPA authentications , that i tried. > Also it faulted when i try to login via 802.1x in my job network. > > All happens after i starts wpa_supplicant and looks like these: > > #11 0xc05cabec in panic (fmt=0xc08b16e9 "sbappendaddr_locked") at > /opt/src/sys/kern/kern_shutdown.c:559 > #12 0xc061fd40 in sbappendaddr_locked (sb=0xc66dd670, asa=0xc09021b4, > m0=0xce435b00, control=0x0) > at /opt/src/sys/kern/uipc_sockbuf.c:632 > #13 0xc0620418 in sbappendaddr (sb=0xc66dd670, asa=0xc09021b4, > m0=0xce435b00, control=0x0) > at /opt/src/sys/kern/uipc_sockbuf.c:679 > #14 0xc0671be4 in raw_input (m0=0xc64b0100, proto=0xe664ec60, > src=0xc09021b4) at /opt/src/sys/net/raw_usrreq.c:96 > #15 0xc06749e7 in rts_input (m=0xc64b0100) at > /opt/src/sys/net/rtsock.c:151 > #16 0xc066f752 in swi_net (dummy=0x0) at /opt/src/sys/net/netisr.c:145 > #17 0xc05aa148 in intr_event_execute_handlers (p=0xc61617ec, > ie=0xc61a2d00) at /opt/src/sys/kern/kern_intr.c:1134 > #18 0xc05ab4d4 in ithread_loop (arg=0xc60ec660) at > /opt/src/sys/kern/kern_intr.c:1147 > #19 0xc05a7ac9 in fork_exit (callout=0xc05ab469 , > arg=0xc60ec660, frame=0xe664ed38) > at /opt/src/sys/kern/kern_fork.c:821 > #20 0xc0833170 in fork_trampoline () at > /opt/src/sys/i386/i386/exception.s:270 > Are you certain it's that revision? Have you tried r189931 which worked around certain problems in the initial commit? Can you provide sufficient info to reproduce your problem? Filing a PR for reference is likely the best thing to do. Sam From owner-freebsd-net@FreeBSD.ORG Thu Mar 19 16:13:21 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DA3D10659DF; Thu, 19 Mar 2009 16:13:21 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id E7DE48FC14; Thu, 19 Mar 2009 16:13:20 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 6C85A2F7126; Thu, 19 Mar 2009 12:13:20 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 19 Mar 2009 12:13:20 -0400 X-Sasl-enc: KQOfAsgiCrPmgeuXow2B99/52vOrHoqeIdl37MMrzT+f 1237479200 Received: from anglepoise.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 8ED0E3B9D3; Thu, 19 Mar 2009 12:13:19 -0400 (EDT) Message-ID: <49C26F1E.6020701@incunabulum.net> Date: Thu, 19 Mar 2009 16:13:18 +0000 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.19 (X11/20090125) MIME-Version: 1.0 To: Stanislav Sedov References: <49BF54EB.3070800@incunabulum.net> <20090318003944.GA41410@michelle.cdnetworks.co.kr> <49C12C19.7060404@incunabulum.net> <20090319165924.fadd1e27.stas@FreeBSD.org> In-Reply-To: <20090319165924.fadd1e27.stas@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: pyunyh@gmail.com, FreeBSD Net , imp@freebsd.org Subject: Re: ae(4) Wake-on-Lan MFC X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 16:13:29 -0000 Stanislav Sedov wrote: > > So, basically WOL works on 7.1 with ae and the PC resumes correctly? > That's what I saw. Video is still broken for me on resume, though everything else on the EeePC 701 resumed OK. cheers, BMS From owner-freebsd-net@FreeBSD.ORG Thu Mar 19 16:13:38 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78B601065A58 for ; Thu, 19 Mar 2009 16:13:38 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id 49FFC8FC1E for ; Thu, 19 Mar 2009 16:13:38 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id E8CD12F742A; Thu, 19 Mar 2009 12:13:37 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Thu, 19 Mar 2009 12:13:37 -0400 X-Sasl-enc: 1jrFoWS2kO7uINQFuOcShzhz5LThO/CCwq+7lo17i8RZ 1237479217 Received: from anglepoise.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id ED2823BA1C; Thu, 19 Mar 2009 12:13:36 -0400 (EDT) Message-ID: <49C26F2F.9080401@incunabulum.net> Date: Thu, 19 Mar 2009 16:13:35 +0000 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.19 (X11/20090125) MIME-Version: 1.0 To: Vany Serezhkin References: <49C2504F.2030003@serezhkin.com> In-Reply-To: <49C2504F.2030003@serezhkin.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: 802.1x broken after SVN rev 189592 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 16:13:48 -0000 Hi, Based on the backtrace you've provided, this doesn't seem like a multicast related issue. I skimmed wpa_supplicant and I see that whilst it requests a link-layer multicast address, it does not use IPv4 multicast. Vany Serezhkin wrote: > Hello. > > I do not really sure in this, but : > > after the current updated to > 20090309 Merge IGMPv3 and Source-Specific Multicast (SSM) to the FreeBSD > IPv4 stack. > > I can't use any wpa_supplicant related networks. > > It faulted in any WPA authentications , that i tried. > Also it faulted when i try to login via 802.1x in my job network. General questions: Are you running any routing protocols on this machine, or anything which opens a multicast socket at system startup? Do you have more than one processor core enabled? Can you transcribe the console panic message so we can see which process has panicked in the routing socket path? thanks, BMS From owner-freebsd-net@FreeBSD.ORG Thu Mar 19 16:42:52 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1B6F10656BB for ; Thu, 19 Mar 2009 16:42:52 +0000 (UTC) (envelope-from stas@SpringDaemons.com) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id 5180E8FC14 for ; Thu, 19 Mar 2009 16:42:52 +0000 (UTC) (envelope-from stas@SpringDaemons.com) Received: from DSPAM-Daemon (localhost [127.0.0.1]) by mx0.deglitch.com (Postfix) with SMTP id B4B248FC2B for ; Thu, 19 Mar 2009 19:42:49 +0300 (MSK) Received: from sputnik.SpringDaemons.com (unknown [83.166.229.34]) by mx0.deglitch.com (Postfix) with ESMTPA id 5EB9A8FC1D; Thu, 19 Mar 2009 19:42:49 +0300 (MSK) Received: by sputnik.SpringDaemons.com (Postfix, from userid 1024) id 2683FB86F; Thu, 19 Mar 2009 19:45:44 +0300 (MSK) Date: Thu, 19 Mar 2009 19:45:43 +0300 From: Stanislav Sedov To: Bruce Simpson Message-Id: <20090319194543.79efb4c9.stas@FreeBSD.org> In-Reply-To: <49C26F1E.6020701@incunabulum.net> References: <49BF54EB.3070800@incunabulum.net> <20090318003944.GA41410@michelle.cdnetworks.co.kr> <49C12C19.7060404@incunabulum.net> <20090319165924.fadd1e27.stas@FreeBSD.org> <49C26F1E.6020701@incunabulum.net> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprin: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu Mar 19 19:42:49 2009 X-DSPAM-Confidence: 1.0000 X-DSPAM-Improbability: 1 in 98689409 chance of being spam X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 49c27609967005190327887 Cc: pyunyh@gmail.com, FreeBSD Net , imp@freebsd.org Subject: Re: ae(4) Wake-on-Lan MFC X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 16:42:53 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 19 Mar 2009 16:13:18 +0000 Bruce Simpson mentioned: > Stanislav Sedov wrote: > > > > So, basically WOL works on 7.1 with ae and the PC resumes correctly? > > > > That's what I saw. Video is still broken for me on resume, though everything > else on the EeePC 701 resumed OK. > For video you will probably need sysctl hw.acpi.asus.lcd_brightness=8 in rc.resume. At least, this is required to bring the screen back to light. - -- Stanislav Sedov ST4096-RIPE -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAknCdrcACgkQK/VZk+smlYH+HACfYBiDVlymoUTr2weNn3A+2ZT0 v50AnRGpfsGEJz5mMJ5PzvPfFC+ek17b =XgJ0 -----END PGP SIGNATURE----- !DSPAM:49c27609967005190327887! From owner-freebsd-net@FreeBSD.ORG Thu Mar 19 16:57:55 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A0701065680 for ; Thu, 19 Mar 2009 16:57:55 +0000 (UTC) (envelope-from ivan@serezhkin.com) Received: from shustrik.urh.ru (shustrik.urh.ru [89.108.81.81]) by mx1.freebsd.org (Postfix) with ESMTP id D7B3C8FC08 for ; Thu, 19 Mar 2009 16:57:54 +0000 (UTC) (envelope-from ivan@serezhkin.com) Received: from vany.yandex.ru (dhcp173-125-red.yandex.net [95.108.173.125]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: ivan@serezhkin.com) by shustrik.urh.ru (Postfix) with ESMTPSA id 890971D1D9; Thu, 19 Mar 2009 19:56:16 +0300 (MSK) Message-ID: <49C2797C.3060900@serezhkin.com> Date: Thu, 19 Mar 2009 19:57:32 +0300 From: Vany Serezhkin User-Agent: Thunderbird 2.0.0.19 (X11/20090219) MIME-Version: 1.0 To: Bruce Simpson References: <49C2504F.2030003@serezhkin.com> <49C26F2F.9080401@incunabulum.net> In-Reply-To: <49C26F2F.9080401@incunabulum.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Cc: freebsd-net@freebsd.org Subject: Re: 802.1x broken after SVN rev 189592 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 16:57:55 -0000 Hello again. Bruce Simpson wrote: > General questions: > Are you running any routing protocols on this machine, or anything > which opens a multicast socket at system startup? No, any it is a simple work notebook. May be it avahi or hald starts something, but i think they isn't. > Do you have more than one processor core enabled? Yes, dualcore T7500 on i945. > Can you transcribe the console panic message so we can see which > process has panicked in the routing socket path? Please help me, i not too familiar with kdb, I can only type panic and kernel dumps to file, an then use kgdb. Is it enough ? Now i update system to current state and try this manipulations again. -- Vany Serezhkin. Yandex. http://yandex.ru/ From owner-freebsd-net@FreeBSD.ORG Thu Mar 19 17:45:42 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCCB310656E4; Thu, 19 Mar 2009 17:45:42 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A1D058FC0A; Thu, 19 Mar 2009 17:45:42 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from freefall.freebsd.org (bms@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2JHjgBA089548; Thu, 19 Mar 2009 17:45:42 GMT (envelope-from bms@freefall.freebsd.org) Received: (from bms@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2JHjgdq089544; Thu, 19 Mar 2009 17:45:42 GMT (envelope-from bms) Date: Thu, 19 Mar 2009 17:45:42 GMT Message-Id: <200903191745.n2JHjgdq089544@freefall.freebsd.org> To: root@koellers.net, bms@FreeBSD.org, freebsd-net@FreeBSD.org From: bms@FreeBSD.org Cc: Subject: Re: kern/122427: [apm] [panic] apm and mDNSResponder cause panic during shutdown (multicast) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 17:45:43 -0000 Synopsis: [apm] [panic] apm and mDNSResponder cause panic during shutdown (multicast) State-Changed-From-To: open->closed State-Changed-By: bms State-Changed-When: Thu 19 Mar 2009 17:45:25 UTC State-Changed-Why: fixed in RELENG_6 and up http://www.freebsd.org/cgi/query-pr.cgi?pr=122427 From owner-freebsd-net@FreeBSD.ORG Thu Mar 19 17:50:03 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 194751065670 for ; Thu, 19 Mar 2009 17:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E108E8FC0C for ; Thu, 19 Mar 2009 17:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2JHo2IZ089653 for ; Thu, 19 Mar 2009 17:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2JHo2rX089652; Thu, 19 Mar 2009 17:50:02 GMT (envelope-from gnats) Date: Thu, 19 Mar 2009 17:50:02 GMT Message-Id: <200903191750.n2JHo2rX089652@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Bruce Simpson Cc: Subject: Re: kern/122839: [multicast] FreeBSD 7 multicast routing problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Bruce Simpson List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 17:50:03 -0000 The following reply was made to PR kern/122839; it has been noted by GNATS. From: Bruce Simpson To: Eugene <4pr@legis.krsn.ru>, freebsd-gnats-submit@freebsd.org Cc: Subject: Re: kern/122839: [multicast] FreeBSD 7 multicast routing problem Date: Thu, 19 Mar 2009 17:47:38 +0000 Hi, Have you managed to chase the em(4) patch upstream? It would be great if you could let me know so this PR can either be closed, or assigned to the em(4) driver maintainer. thanks, BMS From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 06:23:03 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73F7F106564A; Fri, 20 Mar 2009 06:23:03 +0000 (UTC) (envelope-from 4pr@legis.krsn.ru) Received: from legis.krsn.ru (legis.krsn.ru [217.74.160.149]) by mx1.freebsd.org (Postfix) with ESMTP id C5EB78FC0C; Fri, 20 Mar 2009 06:23:02 +0000 (UTC) (envelope-from 4pr@legis.krsn.ru) Received: from lawdb.legis.krsn.ru (lawdb.legis.krsn.ru [192.168.104.14]) by legis.krsn.ru (8.13.6/8.13.6) with ESMTP id n2K6AJxW079617; Fri, 20 Mar 2009 13:10:19 +0700 (KRAT) (envelope-from 4pr@legis.krsn.ru) In-Reply-To: <49C2853A.9090602@incunabulum.net> MIME-Version: 1.0 To: bug-followup@FreeBSD.org, bms@FreeBSD.org, freebsd-net@FreeBSD.org X-Mailer: Lotus Notes Release 7.0.2 September 26, 2006 Message-ID: From: 4pr@legis.krsn.ru Date: Fri, 20 Mar 2009 12:54:41 +0700 X-MIMETrack: Serialize by Router on lawdb/law/ru(Release 7.0.2|September 26, 2006) at 20.03.2009 12:54:41 PM, Serialize complete at 20.03.2009 12:54:41 PM Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: base64 X-Kaspersky-Checking: Passed Cc: Subject: kern/122839: [multicast] FreeBSD 7 multicast routing problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 06:23:03 -0000 SGksIA0KDQpBcyBpIHdyb3RlIGJlZm9yZSwgYmFzZWQgb24gdGhlIHBhdGNoLCBzdWdnZXN0ZWQg YnkgVG9tYXMgU3ZlbnNzb24sIHdlIA0KaGF2ZSBtYWRlIG91ciB2ZXJzaW9uIG9mIHRoYXQgcGF0 Y2guIEFuZCBhYm91dA0KYSB5ZWFyIGFscmVhZHkgd2UgdXNpbmcgaXQgb24gYSBwcm9kdWN0aW9u IGluc2lkZSBjb3JlIHJvdXRlciB3aXRob3V0IGFueSANCnByb2JsZW1zLiBBbHNvIHdlIHBhdGNo ZWQgIGlmX21zay5jLCBhbmQgaXQgYWxzbw0Kd29ya2luZyBqdXN0IGZpbmUgc2FtZSBhbW91bnQg b2YgdGltZSBvbiB0aGUgc2FtZSByb3V0ZXIuIEJvdGggb3VyIHBhdGNoZXMgDQpmb3IgaWZfZW0u YyBhbmQgaWZfbXNrLmMgaSBoYXZlIHBvc3RlZCB0byB0aGUgbGlzdC4NClNvIGkgZGlkIG5vdCBj aGFzZWQgdGhlIGVtIG9yIG1zayBwYXRjaCB1cHN0cmVhbS4NCg0KVGhhbmtzLCANCkV1Z2VuZSBI LiBCcmV6aW4NCg0KDQoNCg0KDQpCcnVjZSBTaW1wc29uIDxibXNAaW5jdW5hYnVsdW0ubmV0Pg0K MjAuMDMuMjAwOSAwMDo0Nw0KIA0KICAgICAgICDrz83VOiAgIEV1Z2VuZSA8NHByQGxlZ2lzLmty c24ucnU+LCANCmZyZWVic2QtZ25hdHMtc3VibWl0QGZyZWVic2Qub3JnDQogICAgICAgIOvP0MnR OiANCiAgICAgICAg9MXNwTogICBSZToga2Vybi8xMjI4Mzk6IFttdWx0aWNhc3RdIEZyZWVCU0Qg NyBtdWx0aWNhc3Qgcm91dGluZyANCnByb2JsZW0NCg0KDQpIaSwNCg0KSGF2ZSB5b3UgbWFuYWdl ZCB0byBjaGFzZSB0aGUgZW0oNCkgcGF0Y2ggdXBzdHJlYW0/DQoNCkl0IHdvdWxkIGJlIGdyZWF0 IGlmIHlvdSBjb3VsZCBsZXQgbWUga25vdyBzbyB0aGlzIFBSIGNhbiBlaXRoZXIgYmUgDQpjbG9z ZWQsDQpvciBhc3NpZ25lZCB0byB0aGUgZW0oNCkgZHJpdmVyIG1haW50YWluZXIuDQoNCnRoYW5r cywNCkJNUw0KDQoNCg== From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 06:30:05 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1824106566C for ; Fri, 20 Mar 2009 06:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C0D3F8FC1C for ; Fri, 20 Mar 2009 06:30:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2K6U5St001758 for ; Fri, 20 Mar 2009 06:30:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2K6U5Bo001757; Fri, 20 Mar 2009 06:30:05 GMT (envelope-from gnats) Date: Fri, 20 Mar 2009 06:30:05 GMT Message-Id: <200903200630.n2K6U5Bo001757@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: 4pr@legis.krsn.ru Cc: Subject: kern/122839: [multicast] FreeBSD 7 multicast routing problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: 4pr@legis.krsn.ru List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 06:30:06 -0000 The following reply was made to PR kern/122839; it has been noted by GNATS. From: 4pr@legis.krsn.ru To: bug-followup@FreeBSD.org, bms@FreeBSD.org, freebsd-net@FreeBSD.org Cc: Subject: kern/122839: [multicast] FreeBSD 7 multicast routing problem Date: Fri, 20 Mar 2009 12:54:41 +0700 SGksIA0KDQpBcyBpIHdyb3RlIGJlZm9yZSwgYmFzZWQgb24gdGhlIHBhdGNoLCBzdWdnZXN0ZWQg YnkgVG9tYXMgU3ZlbnNzb24sIHdlIA0KaGF2ZSBtYWRlIG91ciB2ZXJzaW9uIG9mIHRoYXQgcGF0 Y2guIEFuZCBhYm91dA0KYSB5ZWFyIGFscmVhZHkgd2UgdXNpbmcgaXQgb24gYSBwcm9kdWN0aW9u IGluc2lkZSBjb3JlIHJvdXRlciB3aXRob3V0IGFueSANCnByb2JsZW1zLiBBbHNvIHdlIHBhdGNo ZWQgIGlmX21zay5jLCBhbmQgaXQgYWxzbw0Kd29ya2luZyBqdXN0IGZpbmUgc2FtZSBhbW91bnQg b2YgdGltZSBvbiB0aGUgc2FtZSByb3V0ZXIuIEJvdGggb3VyIHBhdGNoZXMgDQpmb3IgaWZfZW0u YyBhbmQgaWZfbXNrLmMgaSBoYXZlIHBvc3RlZCB0byB0aGUgbGlzdC4NClNvIGkgZGlkIG5vdCBj aGFzZWQgdGhlIGVtIG9yIG1zayBwYXRjaCB1cHN0cmVhbS4NCg0KVGhhbmtzLCANCkV1Z2VuZSBI LiBCcmV6aW4NCg0KDQoNCg0KDQpCcnVjZSBTaW1wc29uIDxibXNAaW5jdW5hYnVsdW0ubmV0Pg0K MjAuMDMuMjAwOSAwMDo0Nw0KIA0KICAgICAgICDrz83VOiAgIEV1Z2VuZSA8NHByQGxlZ2lzLmty c24ucnU+LCANCmZyZWVic2QtZ25hdHMtc3VibWl0QGZyZWVic2Qub3JnDQogICAgICAgIOvP0MnR OiANCiAgICAgICAg9MXNwTogICBSZToga2Vybi8xMjI4Mzk6IFttdWx0aWNhc3RdIEZyZWVCU0Qg NyBtdWx0aWNhc3Qgcm91dGluZyANCnByb2JsZW0NCg0KDQpIaSwNCg0KSGF2ZSB5b3UgbWFuYWdl ZCB0byBjaGFzZSB0aGUgZW0oNCkgcGF0Y2ggdXBzdHJlYW0/DQoNCkl0IHdvdWxkIGJlIGdyZWF0 IGlmIHlvdSBjb3VsZCBsZXQgbWUga25vdyBzbyB0aGlzIFBSIGNhbiBlaXRoZXIgYmUgDQpjbG9z ZWQsDQpvciBhc3NpZ25lZCB0byB0aGUgZW0oNCkgZHJpdmVyIG1haW50YWluZXIuDQoNCnRoYW5r cywNCkJNUw0KDQoNCg== From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 08:53:10 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0A8A1065673; Fri, 20 Mar 2009 08:53:10 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 3A3358FC15; Fri, 20 Mar 2009 08:53:09 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([10.0.1.29]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Fri, 20 Mar 2009 09:53:08 +0100 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id n2K8r6I5003606; Fri, 20 Mar 2009 09:53:06 +0100 (CET) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Fri, 20 Mar 2009 09:53:06 +0100 From: Matthias Apitz To: Sam Leffler Message-ID: <20090320085306.GA3399@rebelion.Sisis.de> References: <20090317103650.GA6156@rebelion.Sisis.de> <49BF7DE4.4010804@incunabulum.net> <20090317104548.GB6182@rebelion.Sisis.de> <49BFF258.4020207@freebsd.org> <20090319144251.GA13320@rebelion.Sisis.de> <49C2685D.6040801@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <49C2685D.6040801@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-STABLE (i386) X-OriginalArrivalTime: 20 Mar 2009 08:53:08.0337 (UTC) FILETIME=[4A689E10:01C9A939] Cc: freebsd-net@freebsd.org Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 08:53:10 -0000 El dнa Thursday, March 19, 2009 a las 08:44:29AM -0700, Sam Leffler escribiу: > Matthias Apitz wrote: > >El dнa Tuesday, March 17, 2009 a las 11:56:24AM -0700, Sam Leffler > >escribiу: > > > > > >>His setup is static key wep; not wpa so I don't think wpa_supplicant is > >>the issue. > >> > >>Matthias, your tcpdump of the dhclient packets isn't usable; please try: > >> > >>tcpdump -i ath0 -n -y IEEE802_11_RADIO > >> > >>I reviewed the driver to the code in HEAD and the only difference in the > >>crypto area should not matter in this case. It's possible wme is > >>somehow enabled and causing problems but the ifconfig output doesn't > >>indicate that. > >> > >>If you can find out the model of ap that might be helpful. > >>Unfortunately the best thing to try is HEAD. > >>... I'm going to build a HEAD kernel now with # cd /usr # mv src/sys src/sys.RELENG_7 # setenv CVSROOT :pserver:anoncvs@anoncvs.tw.FreeBSD.org:/home/ncvs # cvs checkout src/sys ... I've checked the FreeBSD handbook about SVN / CVS and it reads that all changes in SVN are back ported to CVS trees... just to make sure, is that reality? Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 09:56:07 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0AFE106566C for ; Fri, 20 Mar 2009 09:56:07 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 7AAA98FC0C for ; Fri, 20 Mar 2009 09:56:07 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([10.0.1.29]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Fri, 20 Mar 2009 10:56:05 +0100 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id n2K9u3EJ005297 for freebsd-net@freebsd.org; Fri, 20 Mar 2009 10:56:03 +0100 (CET) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Fri, 20 Mar 2009 10:56:03 +0100 From: Matthias Apitz To: freebsd-net@freebsd.org Message-ID: <20090320095603.GA5239@rebelion.Sisis.de> References: <20090317103650.GA6156@rebelion.Sisis.de> <49BF7DE4.4010804@incunabulum.net> <20090317104548.GB6182@rebelion.Sisis.de> <49BFF258.4020207@freebsd.org> <20090319144251.GA13320@rebelion.Sisis.de> <49C2685D.6040801@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <49C2685D.6040801@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-STABLE (i386) X-OriginalArrivalTime: 20 Mar 2009 09:56:05.0766 (UTC) FILETIME=[15EE8A60:01C9A942] Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 09:56:08 -0000 El dнa Thursday, March 19, 2009 a las 08:44:29AM -0700, Sam Leffler escribiу: > Matthias Apitz wrote: > >I will try to collect a better tcpdump of the dhclient packets on the > >weekend and as well figure out what kind of model the AP is; > > > >would it be helpful to connect with a Windows XP laptop (which seems to > >work) to gather some information of the Wifi and other network > >parameters? how this could be seen in Windows? maybe there is some > >special compression of the payload of the packages in place? > > > > Having a packet trace of a working connection to compare would be very > helpful. What would be the best tool in WinXP to log Wifi traffic, like tcpdump does? I see some 'Tcpdump for Windows' as http://microolap.com/products/network/tcpdump/ but it seems that it does not work for wireless adapters; any hints? matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 10:10:57 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69939106566B for ; Fri, 20 Mar 2009 10:10:57 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: from acm.poly.edu (acm.poly.edu [128.238.9.200]) by mx1.freebsd.org (Postfix) with ESMTP id 028998FC12 for ; Fri, 20 Mar 2009 10:10:56 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: (qmail 25391 invoked from network); 20 Mar 2009 10:10:56 -0000 Received: from unknown (HELO ?192.168.0.2?) (spawk@69.123.45.64) by acm.poly.edu with AES256-SHA encrypted SMTP; 20 Mar 2009 10:10:56 -0000 Message-ID: <49C36B85.2050202@acm.poly.edu> Date: Fri, 20 Mar 2009 06:10:13 -0400 From: Boris Kochergin User-Agent: Thunderbird 2.0.0.19 (X11/20090108) MIME-Version: 1.0 To: Matthias Apitz References: <20090317103650.GA6156@rebelion.Sisis.de> <49BF7DE4.4010804@incunabulum.net> <20090317104548.GB6182@rebelion.Sisis.de> <49BFF258.4020207@freebsd.org> <20090319144251.GA13320@rebelion.Sisis.de> <49C2685D.6040801@freebsd.org> <20090320095603.GA5239@rebelion.Sisis.de> In-Reply-To: <20090320095603.GA5239@rebelion.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-net@freebsd.org Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 10:10:57 -0000 Matthias Apitz wrote: > El dнa Thursday, March 19, 2009 a las 08:44:29AM -0700, Sam Leffler escribiу: > > >> Matthias Apitz wrote: >> >>> I will try to collect a better tcpdump of the dhclient packets on the >>> weekend and as well figure out what kind of model the AP is; >>> >>> would it be helpful to connect with a Windows XP laptop (which seems to >>> work) to gather some information of the Wifi and other network >>> parameters? how this could be seen in Windows? maybe there is some >>> special compression of the payload of the packages in place? >>> >>> >> Having a packet trace of a working connection to compare would be very >> helpful. >> > > What would be the best tool in WinXP to log Wifi traffic, like tcpdump > does? I see some 'Tcpdump for Windows' as > http://microolap.com/products/network/tcpdump/ > but it seems that it does not work for wireless adapters; > any hints? > > matthias > http://www.wireshark.org/download.html -Boris From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 11:12:26 2009 Return-Path: Delivered-To: freebsd-net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69FFF106564A; Fri, 20 Mar 2009 11:12:26 +0000 (UTC) (envelope-from 4pr@legis.krsn.ru) Received: from legis.krsn.ru (legis.krsn.ru [217.74.160.149]) by mx1.freebsd.org (Postfix) with ESMTP id A0E938FC14; Fri, 20 Mar 2009 11:12:24 +0000 (UTC) (envelope-from 4pr@legis.krsn.ru) Received: from lawdb.legis.krsn.ru (lawdb.legis.krsn.ru [192.168.104.14]) by legis.krsn.ru (8.13.6/8.13.6) with ESMTP id n2KBBoZ6084993; Fri, 20 Mar 2009 18:11:50 +0700 (KRAT) (envelope-from 4pr@legis.krsn.ru) In-Reply-To: <49C2853A.9090602@incunabulum.net> MIME-Version: 1.0 To: bug-followup@FreeBSD.org, bms@FreeBSD.org, freebsd-net@FreeBSD.org X-Mailer: Lotus Notes Release 7.0.2 September 26, 2006 Message-ID: From: 4pr@legis.krsn.ru Date: Fri, 20 Mar 2009 17:56:11 +0700 X-MIMETrack: Serialize by Router on lawdb/law/ru(Release 7.0.2|September 26, 2006) at 20.03.2009 05:56:11 PM, Serialize complete at 20.03.2009 05:56:11 PM Content-Type: text/plain; charset="US-ASCII" X-Kaspersky-Checking: Passed Cc: Subject: kern/122839: [multicast] FreeBSD 7 multicast routing problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 11:12:26 -0000 Hi, As i wrote before, based on the patch, suggested by Tomas Svensson, we have made our version of that patch. And about a year already we using it on a production inside core router without any problems. Also we patched if_msk.c, and it also working just fine same amount of time on the same router. Both our patches for if_em.c and if_msk.c i have posted to the list. So i did not chased the em or msk patch upstream. Thanks, Eugene H. Brezin From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 11:20:03 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 005771065687 for ; Fri, 20 Mar 2009 11:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E21528FC08 for ; Fri, 20 Mar 2009 11:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2KBK2jX005745 for ; Fri, 20 Mar 2009 11:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2KBK2aR005744; Fri, 20 Mar 2009 11:20:02 GMT (envelope-from gnats) Date: Fri, 20 Mar 2009 11:20:02 GMT Message-Id: <200903201120.n2KBK2aR005744@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: 4pr@legis.krsn.ru Cc: Subject: kern/122839: [multicast] FreeBSD 7 multicast routing problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: 4pr@legis.krsn.ru List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 11:20:03 -0000 The following reply was made to PR kern/122839; it has been noted by GNATS. From: 4pr@legis.krsn.ru To: bug-followup@FreeBSD.org, bms@FreeBSD.org, freebsd-net@FreeBSD.org Cc: Subject: kern/122839: [multicast] FreeBSD 7 multicast routing problem Date: Fri, 20 Mar 2009 17:56:11 +0700 Hi, As i wrote before, based on the patch, suggested by Tomas Svensson, we have made our version of that patch. And about a year already we using it on a production inside core router without any problems. Also we patched if_msk.c, and it also working just fine same amount of time on the same router. Both our patches for if_em.c and if_msk.c i have posted to the list. So i did not chased the em or msk patch upstream. Thanks, Eugene H. Brezin From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 11:39:20 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1E8A1065673; Fri, 20 Mar 2009 11:39:20 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.238]) by mx1.freebsd.org (Postfix) with ESMTP id 7463A8FC26; Fri, 20 Mar 2009 11:39:20 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by rv-out-0506.google.com with SMTP id l9so1038011rvb.43 for ; Fri, 20 Mar 2009 04:39:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:from:date:to:cc :subject:message-id:reply-to:references:mime-version:content-type :content-disposition:in-reply-to:user-agent; bh=psynSIooG2jYNbO/G3jM2mnDe/lrR7f+gTCTWY0wy7A=; b=vRNTDdgA1SPn98xjoAW0t1xFXKdokbVqXbPSUEbTMlZt7JXOR/PyjhT6BWrYLOEVD0 K57k7dwsQ0vHHH84bJ8rJMUQ4KRqzxusYlFu1C6dkyKTYGXrULbEWbZfucvRkgjdgZ/x jDXNM6gHIzRAoD8zMo5GK/dL/bclcfEkO00H8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:date:to:cc:subject:message-id:reply-to:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=GMAZXTwiD5q4r8ziUPjKGzF1kLiLZI8igUiUMaxTR0ML7Ty4jT0NehxNrtWdmkzmnM 4Jf/RT+uQkrxRc2S7mIZUR7rPAk18MfR1oEABeETOwbjM0egizEJHFxDSHdIi2/E50Xt oAkE3fyQC3KB15H31AcjVOm7PCB0xL3zg7MSU= Received: by 10.141.33.19 with SMTP id l19mr1329838rvj.91.1237549160127; Fri, 20 Mar 2009 04:39:20 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ([114.111.62.249]) by mx.google.com with ESMTPS id f42sm4629922rvb.11.2009.03.20.04.39.17 (version=SSLv3 cipher=RC4-MD5); Fri, 20 Mar 2009 04:39:18 -0700 (PDT) Received: by michelle.cdnetworks.co.kr (sSMTP sendmail emulation); Fri, 20 Mar 2009 20:39:54 +0900 From: Pyun YongHyeon Date: Fri, 20 Mar 2009 20:39:54 +0900 To: 4pr@legis.krsn.ru Message-ID: <20090320113954.GF50100@michelle.cdnetworks.co.kr> References: <49C2853A.9090602@incunabulum.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: jfv@FreeBSD.org, freebsd-net@freebsd.org, bms@freebsd.org, bug-followup@freebsd.org Subject: Re: kern/122839: [multicast] FreeBSD 7 multicast routing problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 11:39:21 -0000 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Mar 20, 2009 at 05:56:11PM +0700, 4pr@legis.krsn.ru wrote: > Hi, > > As i wrote before, based on the patch, suggested by Tomas Svensson, we > have made our version of that patch. And about > a year already we using it on a production inside core router without any > problems. Also we patched if_msk.c, and it also > working just fine same amount of time on the same router. Both our patches > for if_em.c and if_msk.c i have posted to the list. > So i did not chased the em or msk patch upstream. > Would you try attached msk(4) patch? I think em(4) patch you posted looks right. Jack may handle this(CCed). --7JfCtLOvnd9MIVvH Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="msk.allmulti.patch" Index: sys/dev/msk/if_msk.c =================================================================== --- sys/dev/msk/if_msk.c (revision 190121) +++ sys/dev/msk/if_msk.c (working copy) @@ -287,9 +287,8 @@ static void msk_miibus_statchg(device_t); static void msk_link_task(void *, int); -static void msk_setmulti(struct msk_if_softc *); +static void msk_rxfilter(struct msk_if_softc *); static void msk_setvlan(struct msk_if_softc *, struct ifnet *); -static void msk_setpromisc(struct msk_if_softc *); static void msk_stats_clear(struct msk_if_softc *); static void msk_stats_update(struct msk_if_softc *); @@ -560,7 +559,7 @@ } static void -msk_setmulti(struct msk_if_softc *sc_if) +msk_rxfilter(struct msk_if_softc *sc_if) { struct msk_softc *sc; struct ifnet *ifp; @@ -577,15 +576,14 @@ bzero(mchash, sizeof(mchash)); mode = GMAC_READ_2(sc, sc_if->msk_port, GM_RX_CTRL); - mode |= GM_RXCR_UCF_ENA; - if ((ifp->if_flags & (IFF_PROMISC | IFF_ALLMULTI)) != 0) { - if ((ifp->if_flags & IFF_PROMISC) != 0) - mode &= ~(GM_RXCR_UCF_ENA | GM_RXCR_MCF_ENA); - else if ((ifp->if_flags & IFF_ALLMULTI) != 0) { - mchash[0] = 0xffff; - mchash[1] = 0xffff; - } + if ((ifp->if_flags & IFF_PROMISC) != 0) + mode &= ~(GM_RXCR_UCF_ENA | GM_RXCR_MCF_ENA); + else if ((ifp->if_flags & IFF_ALLMULTI) != 0) { + mode |= GM_RXCR_UCF_ENA | GM_RXCR_MCF_ENA; + mchash[0] = 0xffff; + mchash[1] = 0xffff; } else { + mode |= GM_RXCR_UCF_ENA; IF_ADDR_LOCK(ifp); TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) { if (ifma->ifma_addr->sa_family != AF_LINK) @@ -598,7 +596,8 @@ mchash[crc >> 5] |= 1 << (crc & 0x1f); } IF_ADDR_UNLOCK(ifp); - mode |= GM_RXCR_MCF_ENA; + if (mchash[0] != 0 || mchash[1] != 0) + mode |= GM_RXCR_MCF_ENA; } GMAC_WRITE_2(sc, sc_if->msk_port, GM_MC_ADDR_H1, @@ -631,26 +630,6 @@ } } -static void -msk_setpromisc(struct msk_if_softc *sc_if) -{ - struct msk_softc *sc; - struct ifnet *ifp; - uint16_t mode; - - MSK_IF_LOCK_ASSERT(sc_if); - - sc = sc_if->msk_softc; - ifp = sc_if->msk_ifp; - - mode = GMAC_READ_2(sc, sc_if->msk_port, GM_RX_CTRL); - if (ifp->if_flags & IFF_PROMISC) - mode &= ~(GM_RXCR_UCF_ENA | GM_RXCR_MCF_ENA); - else - mode |= (GM_RXCR_UCF_ENA | GM_RXCR_MCF_ENA); - GMAC_WRITE_2(sc, sc_if->msk_port, GM_RX_CTRL, mode); -} - static int msk_init_rx_ring(struct msk_if_softc *sc_if) { @@ -954,10 +933,8 @@ if ((ifp->if_flags & IFF_UP) != 0) { if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) { if (((ifp->if_flags ^ sc_if->msk_if_flags) - & IFF_PROMISC) != 0) { - msk_setpromisc(sc_if); - msk_setmulti(sc_if); - } + & (IFF_PROMISC | IFF_ALLMULTI)) != 0) + msk_rxfilter(sc_if); } else { if (sc_if->msk_detach == 0) msk_init_locked(sc_if); @@ -973,7 +950,7 @@ case SIOCDELMULTI: MSK_IF_LOCK(sc_if); if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) - msk_setmulti(sc_if); + msk_rxfilter(sc_if); MSK_IF_UNLOCK(sc_if); break; case SIOCGIFMEDIA: @@ -3594,12 +3571,9 @@ CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, RX_GMF_CTRL_T), GMF_OPER_ON | GMF_RX_F_FL_ON); - /* Set promiscuous mode. */ - msk_setpromisc(sc_if); + /* Set receive filter. */ + msk_rxfilter(sc_if); - /* Set multicast filter. */ - msk_setmulti(sc_if); - /* Flush Rx MAC FIFO on any flow control or error. */ CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, RX_GMF_FL_MSK), GMR_FS_ANY_ERR); --7JfCtLOvnd9MIVvH-- From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 11:40:04 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9365106567C for ; Fri, 20 Mar 2009 11:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D637E8FC17 for ; Fri, 20 Mar 2009 11:40:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2KBe4jA035603 for ; Fri, 20 Mar 2009 11:40:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2KBe47h035602; Fri, 20 Mar 2009 11:40:04 GMT (envelope-from gnats) Date: Fri, 20 Mar 2009 11:40:04 GMT Message-Id: <200903201140.n2KBe47h035602@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Pyun YongHyeon Cc: Subject: Re: kern/122839: [multicast] FreeBSD 7 multicast routing problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Pyun YongHyeon List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 11:40:05 -0000 The following reply was made to PR kern/122839; it has been noted by GNATS. From: Pyun YongHyeon To: 4pr@legis.krsn.ru Cc: bug-followup@freebsd.org, bms@freebsd.org, freebsd-net@freebsd.org, jfv@FreeBSD.org Subject: Re: kern/122839: [multicast] FreeBSD 7 multicast routing problem Date: Fri, 20 Mar 2009 20:39:54 +0900 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Mar 20, 2009 at 05:56:11PM +0700, 4pr@legis.krsn.ru wrote: > Hi, > > As i wrote before, based on the patch, suggested by Tomas Svensson, we > have made our version of that patch. And about > a year already we using it on a production inside core router without any > problems. Also we patched if_msk.c, and it also > working just fine same amount of time on the same router. Both our patches > for if_em.c and if_msk.c i have posted to the list. > So i did not chased the em or msk patch upstream. > Would you try attached msk(4) patch? I think em(4) patch you posted looks right. Jack may handle this(CCed). --7JfCtLOvnd9MIVvH Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="msk.allmulti.patch" Index: sys/dev/msk/if_msk.c =================================================================== --- sys/dev/msk/if_msk.c (revision 190121) +++ sys/dev/msk/if_msk.c (working copy) @@ -287,9 +287,8 @@ static void msk_miibus_statchg(device_t); static void msk_link_task(void *, int); -static void msk_setmulti(struct msk_if_softc *); +static void msk_rxfilter(struct msk_if_softc *); static void msk_setvlan(struct msk_if_softc *, struct ifnet *); -static void msk_setpromisc(struct msk_if_softc *); static void msk_stats_clear(struct msk_if_softc *); static void msk_stats_update(struct msk_if_softc *); @@ -560,7 +559,7 @@ } static void -msk_setmulti(struct msk_if_softc *sc_if) +msk_rxfilter(struct msk_if_softc *sc_if) { struct msk_softc *sc; struct ifnet *ifp; @@ -577,15 +576,14 @@ bzero(mchash, sizeof(mchash)); mode = GMAC_READ_2(sc, sc_if->msk_port, GM_RX_CTRL); - mode |= GM_RXCR_UCF_ENA; - if ((ifp->if_flags & (IFF_PROMISC | IFF_ALLMULTI)) != 0) { - if ((ifp->if_flags & IFF_PROMISC) != 0) - mode &= ~(GM_RXCR_UCF_ENA | GM_RXCR_MCF_ENA); - else if ((ifp->if_flags & IFF_ALLMULTI) != 0) { - mchash[0] = 0xffff; - mchash[1] = 0xffff; - } + if ((ifp->if_flags & IFF_PROMISC) != 0) + mode &= ~(GM_RXCR_UCF_ENA | GM_RXCR_MCF_ENA); + else if ((ifp->if_flags & IFF_ALLMULTI) != 0) { + mode |= GM_RXCR_UCF_ENA | GM_RXCR_MCF_ENA; + mchash[0] = 0xffff; + mchash[1] = 0xffff; } else { + mode |= GM_RXCR_UCF_ENA; IF_ADDR_LOCK(ifp); TAILQ_FOREACH(ifma, &ifp->if_multiaddrs, ifma_link) { if (ifma->ifma_addr->sa_family != AF_LINK) @@ -598,7 +596,8 @@ mchash[crc >> 5] |= 1 << (crc & 0x1f); } IF_ADDR_UNLOCK(ifp); - mode |= GM_RXCR_MCF_ENA; + if (mchash[0] != 0 || mchash[1] != 0) + mode |= GM_RXCR_MCF_ENA; } GMAC_WRITE_2(sc, sc_if->msk_port, GM_MC_ADDR_H1, @@ -631,26 +630,6 @@ } } -static void -msk_setpromisc(struct msk_if_softc *sc_if) -{ - struct msk_softc *sc; - struct ifnet *ifp; - uint16_t mode; - - MSK_IF_LOCK_ASSERT(sc_if); - - sc = sc_if->msk_softc; - ifp = sc_if->msk_ifp; - - mode = GMAC_READ_2(sc, sc_if->msk_port, GM_RX_CTRL); - if (ifp->if_flags & IFF_PROMISC) - mode &= ~(GM_RXCR_UCF_ENA | GM_RXCR_MCF_ENA); - else - mode |= (GM_RXCR_UCF_ENA | GM_RXCR_MCF_ENA); - GMAC_WRITE_2(sc, sc_if->msk_port, GM_RX_CTRL, mode); -} - static int msk_init_rx_ring(struct msk_if_softc *sc_if) { @@ -954,10 +933,8 @@ if ((ifp->if_flags & IFF_UP) != 0) { if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) { if (((ifp->if_flags ^ sc_if->msk_if_flags) - & IFF_PROMISC) != 0) { - msk_setpromisc(sc_if); - msk_setmulti(sc_if); - } + & (IFF_PROMISC | IFF_ALLMULTI)) != 0) + msk_rxfilter(sc_if); } else { if (sc_if->msk_detach == 0) msk_init_locked(sc_if); @@ -973,7 +950,7 @@ case SIOCDELMULTI: MSK_IF_LOCK(sc_if); if ((ifp->if_drv_flags & IFF_DRV_RUNNING) != 0) - msk_setmulti(sc_if); + msk_rxfilter(sc_if); MSK_IF_UNLOCK(sc_if); break; case SIOCGIFMEDIA: @@ -3594,12 +3571,9 @@ CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, RX_GMF_CTRL_T), GMF_OPER_ON | GMF_RX_F_FL_ON); - /* Set promiscuous mode. */ - msk_setpromisc(sc_if); + /* Set receive filter. */ + msk_rxfilter(sc_if); - /* Set multicast filter. */ - msk_setmulti(sc_if); - /* Flush Rx MAC FIFO on any flow control or error. */ CSR_WRITE_4(sc, MR_ADDR(sc_if->msk_port, RX_GMF_FL_MSK), GMR_FS_ANY_ERR); --7JfCtLOvnd9MIVvH-- From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 12:10:24 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B03910657BC; Fri, 20 Mar 2009 12:10:24 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id B6F168FC1B; Fri, 20 Mar 2009 12:10:23 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([10.0.1.29]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Fri, 20 Mar 2009 13:10:22 +0100 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id n2KCALRP002186; Fri, 20 Mar 2009 13:10:21 +0100 (CET) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Fri, 20 Mar 2009 13:10:21 +0100 From: Matthias Apitz To: freebsd-net@freebsd.org Message-ID: <20090320121021.GA2051@rebelion.Sisis.de> References: <20090317103650.GA6156@rebelion.Sisis.de> <49BF7DE4.4010804@incunabulum.net> <20090317104548.GB6182@rebelion.Sisis.de> <49BFF258.4020207@freebsd.org> <20090319144251.GA13320@rebelion.Sisis.de> <49C2685D.6040801@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <49C2685D.6040801@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-STABLE (i386) X-OriginalArrivalTime: 20 Mar 2009 12:10:22.0427 (UTC) FILETIME=[D81372B0:01C9A954] Cc: Sam Leffler Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 12:10:36 -0000 El dнa Thursday, March 19, 2009 a las 08:44:29AM -0700, Sam Leffler escribiу: > Matthias Apitz wrote: > >El dнa Tuesday, March 17, 2009 a las 11:56:24AM -0700, Sam Leffler > >escribiу: > > > > > >>His setup is static key wep; not wpa so I don't think wpa_supplicant is > >>the issue. > >> > >>Matthias, your tcpdump of the dhclient packets isn't usable; please try: > >> > >>tcpdump -i ath0 -n -y IEEE802_11_RADIO > >> > >>I reviewed the driver to the code in HEAD and the only difference in the > >>crypto area should not matter in this case. It's possible wme is > >>somehow enabled and causing problems but the ifconfig output doesn't > >>indicate that. > >> > >>If you can find out the model of ap that might be helpful. > >>Unfortunately the best thing to try is HEAD. > >> I've updated /usr/src/sys to HEAD, configured a kernel based on the new GENERIC (without any changes), compiled it and installed it; the kernel crashes on loading (note: on loading, not on booting): http://www.unixarea.de/trap.jpg i.e. without knowing any inconsistency of user land or file system; what I did wrong? Thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 12:20:04 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96B661065672 for ; Fri, 20 Mar 2009 12:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3C4C78FC21 for ; Fri, 20 Mar 2009 12:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2KCK43e088494 for ; Fri, 20 Mar 2009 12:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2KCK4hm088493; Fri, 20 Mar 2009 12:20:04 GMT (envelope-from gnats) Date: Fri, 20 Mar 2009 12:20:04 GMT Message-Id: <200903201220.n2KCK4hm088493@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Adam K Kirchhoff Cc: Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Adam K Kirchhoff List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 12:20:04 -0000 The following reply was made to PR kern/131153; it has been noted by GNATS. From: Adam K Kirchhoff To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network Date: Fri, 20 Mar 2009 08:07:48 -0400 There is no wlan0 interface, just iwi0. The output from 'wpa_supplicant -c /etc/wpa_supplicant.conf -i iwi0 -dd', though, was: Initializing interface 'iwi0' conf '/etc/wpa_supplicant.conf' driver 'bsd' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Line: 2 - start of a new network block ssid - hexdump_ascii(len=15): 4d 63 6b 65 6c 6c 61 32 38 30 46 72 6f 6e 74 Mckella280Front key_mgmt: 0x2 pairwise: 0x8 PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED] PSK (from passphrase) - hexdump(len=32): [REMOVED] Line 8: removed CCMP from group cipher list since it was not allowed for pairwise cipher Priority group 0 id=0 ssid='Mckella280Front' Initializing interface (2) 'iwi0' EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 Own MAC address: 00:13:ce:a8:10:ea wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wpa_driver_bsd_del_key: keyidx=0 wpa_driver_bsd_del_key: keyidx=1 wpa_driver_bsd_del_key: keyidx=2 wpa_driver_bsd_del_key: keyidx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wpa_driver_bsd_set_drop_unencrypted: enabled=1 Setting scan request: 0 sec 100000 usec Added interface iwi0 State: DISCONNECTED -> SCANNING Starting AP scan (broadcast SSID) Trying to get current scan results first without requesting a new scan to speed up initial association Received 0 bytes of scan results (1 BSSes) Scan results: 1 Selecting BSS from priority group 0 Try to find WPA-enabled AP 0: 36:00:e5:51:f1:55 ssid='tmobile' wpa_ie_len=0 rsn_ie_len=0 caps=0x2 skip - no WPA/RSN IE Try to find non-WPA AP 0: 36:00:e5:51:f1:55 ssid='tmobile' wpa_ie_len=0 rsn_ie_len=0 caps=0x2 skip - SSID mismatch No suitable AP found. Setting scan request: 0 sec 0 usec Starting AP scan (broadcast SSID) Received 0 bytes of scan results (1 BSSes) Scan results: 1 Selecting BSS from priority group 0 Try to find WPA-enabled AP 0: 36:00:e5:51:f1:55 ssid='tmobile' wpa_ie_len=0 rsn_ie_len=0 caps=0x2 skip - no WPA/RSN IE Try to find non-WPA AP 0: 36:00:e5:51:f1:55 ssid='tmobile' wpa_ie_len=0 rsn_ie_len=0 caps=0x2 skip - SSID mismatch No suitable AP found. It kept scanning, but tmobile was the only wireless network it ever saw at this location. Adam From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 12:30:04 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0134D106564A for ; Fri, 20 Mar 2009 12:30:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C7FFE8FC1A for ; Fri, 20 Mar 2009 12:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2KCU3f3001640 for ; Fri, 20 Mar 2009 12:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2KCU3H7001631; Fri, 20 Mar 2009 12:30:03 GMT (envelope-from gnats) Date: Fri, 20 Mar 2009 12:30:03 GMT Message-Id: <200903201230.n2KCU3H7001631@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: Adam K Kirchhoff Cc: Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Adam K Kirchhoff List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 12:30:04 -0000 The following reply was made to PR kern/131153; it has been noted by GNATS. From: Adam K Kirchhoff To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/131153: [iwi] iwi doesn't see a wireless network Date: Fri, 20 Mar 2009 08:07:48 -0400 There is no wlan0 interface, just iwi0. The output from 'wpa_supplicant -c /etc/wpa_supplicant.conf -i iwi0 -dd', though, was: Initializing interface 'iwi0' conf '/etc/wpa_supplicant.conf' driver 'bsd' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Line: 2 - start of a new network block ssid - hexdump_ascii(len=15): 4d 63 6b 65 6c 6c 61 32 38 30 46 72 6f 6e 74 Mckella280Front key_mgmt: 0x2 pairwise: 0x8 PSK (ASCII passphrase) - hexdump_ascii(len=10): [REMOVED] PSK (from passphrase) - hexdump(len=32): [REMOVED] Line 8: removed CCMP from group cipher list since it was not allowed for pairwise cipher Priority group 0 id=0 ssid='Mckella280Front' Initializing interface (2) 'iwi0' EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 Own MAC address: 00:13:ce:a8:10:ea wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wpa_driver_bsd_del_key: keyidx=0 wpa_driver_bsd_del_key: keyidx=1 wpa_driver_bsd_del_key: keyidx=2 wpa_driver_bsd_del_key: keyidx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wpa_driver_bsd_set_drop_unencrypted: enabled=1 Setting scan request: 0 sec 100000 usec Added interface iwi0 State: DISCONNECTED -> SCANNING Starting AP scan (broadcast SSID) Trying to get current scan results first without requesting a new scan to speed up initial association Received 0 bytes of scan results (1 BSSes) Scan results: 1 Selecting BSS from priority group 0 Try to find WPA-enabled AP 0: 36:00:e5:51:f1:55 ssid='tmobile' wpa_ie_len=0 rsn_ie_len=0 caps=0x2 skip - no WPA/RSN IE Try to find non-WPA AP 0: 36:00:e5:51:f1:55 ssid='tmobile' wpa_ie_len=0 rsn_ie_len=0 caps=0x2 skip - SSID mismatch No suitable AP found. Setting scan request: 0 sec 0 usec Starting AP scan (broadcast SSID) Received 0 bytes of scan results (1 BSSes) Scan results: 1 Selecting BSS from priority group 0 Try to find WPA-enabled AP 0: 36:00:e5:51:f1:55 ssid='tmobile' wpa_ie_len=0 rsn_ie_len=0 caps=0x2 skip - no WPA/RSN IE Try to find non-WPA AP 0: 36:00:e5:51:f1:55 ssid='tmobile' wpa_ie_len=0 rsn_ie_len=0 caps=0x2 skip - SSID mismatch No suitable AP found. It kept scanning, but tmobile was the only wireless network it ever saw at this location. Adam From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 12:35:28 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F967106566C; Fri, 20 Mar 2009 12:35:28 +0000 (UTC) (envelope-from 4pr@legis.krsn.ru) Received: from legis.krsn.ru (legis.krsn.ru [217.74.160.149]) by mx1.freebsd.org (Postfix) with ESMTP id D58F08FC1F; Fri, 20 Mar 2009 12:35:26 +0000 (UTC) (envelope-from 4pr@legis.krsn.ru) Received: from lawdb.legis.krsn.ru (lawdb.legis.krsn.ru [192.168.104.14]) by legis.krsn.ru (8.13.6/8.13.6) with ESMTP id n2KCYrRk003690; Fri, 20 Mar 2009 19:34:53 +0700 (KRAT) (envelope-from 4pr@legis.krsn.ru) In-Reply-To: <20090320113954.GF50100@michelle.cdnetworks.co.kr> To: pyunyh@gmail.com MIME-Version: 1.0 X-Mailer: Lotus Notes Release 7.0.2 September 26, 2006 Message-ID: From: 4pr@legis.krsn.ru Date: Fri, 20 Mar 2009 19:19:15 +0700 X-MIMETrack: Serialize by Router on lawdb/law/ru(Release 7.0.2|September 26, 2006) at 20.03.2009 07:19:15 PM, Serialize complete at 20.03.2009 07:19:15 PM Content-Type: text/plain; charset="US-ASCII" X-Kaspersky-Checking: Passed Cc: jfv@freebsd.org, freebsd-net@freebsd.org, bms@freebsd.org, bug-followup@freebsd.org Subject: kern/122839: [multicast] FreeBSD 7 multicast routing problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 12:35:28 -0000 Hi, Thank you for your response. Sorry, but i'm unable to test your patch for if_msk.c wich you suggested, becouse our production core router need to be up and ready 24 hours a day, and our quick fix for if_msk.c also helped us with multicast routing problem. Right now i don't have the other hardware to simulate our network condition for testings too. Thank you, Eugene H. Brezin From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 12:40:03 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 589601065705 for ; Fri, 20 Mar 2009 12:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2C6028FC1B for ; Fri, 20 Mar 2009 12:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2KCe2wC016482 for ; Fri, 20 Mar 2009 12:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2KCe2eH016481; Fri, 20 Mar 2009 12:40:02 GMT (envelope-from gnats) Date: Fri, 20 Mar 2009 12:40:02 GMT Message-Id: <200903201240.n2KCe2eH016481@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: 4pr@legis.krsn.ru Cc: Subject: kern/122839: [multicast] FreeBSD 7 multicast routing problem X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: 4pr@legis.krsn.ru List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 12:40:03 -0000 The following reply was made to PR kern/122839; it has been noted by GNATS. From: 4pr@legis.krsn.ru To: pyunyh@gmail.com Cc: bug-followup@freebsd.org, bms@freebsd.org, freebsd-net@freebsd.org, jfv@freebsd.org Subject: kern/122839: [multicast] FreeBSD 7 multicast routing problem Date: Fri, 20 Mar 2009 19:19:15 +0700 Hi, Thank you for your response. Sorry, but i'm unable to test your patch for if_msk.c wich you suggested, becouse our production core router need to be up and ready 24 hours a day, and our quick fix for if_msk.c also helped us with multicast routing problem. Right now i don't have the other hardware to simulate our network condition for testings too. Thank you, Eugene H. Brezin From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 14:51:30 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78D1B106564A; Fri, 20 Mar 2009 14:51:30 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4E2288FC0A; Fri, 20 Mar 2009 14:51:30 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2KEpUJ0002182; Fri, 20 Mar 2009 14:51:30 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2KEpU3P002172; Fri, 20 Mar 2009 14:51:30 GMT (envelope-from gavin) Date: Fri, 20 Mar 2009 14:51:30 GMT Message-Id: <200903201451.n2KEpU3P002172@freefall.freebsd.org> To: gavin@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: conf/132851: [fib] [patch] allow to setup fib for service running from rc.conf X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 14:51:31 -0000 Old Synopsis: patch to allow to setup fib for service running from rc.conf New Synopsis: [fib] [patch] allow to setup fib for service running from rc.conf Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: gavin Responsible-Changed-When: Fri Mar 20 14:49:26 UTC 2009 Responsible-Changed-Why: Over to maintainer(s), although this may be more appropriate assigned to -rc http://www.freebsd.org/cgi/query-pr.cgi?pr=132851 From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 14:59:53 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9A2BE106564A; Fri, 20 Mar 2009 14:59:53 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by mx1.freebsd.org (Postfix) with ESMTP id 17B138FC12; Fri, 20 Mar 2009 14:59:52 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from localhost by koef.zs64.net (8.14.3/8.14.3) with ESMTP id n2KExoKJ075189 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 20 Mar 2009 15:59:51 +0100 (CET) (envelope-from stb@lassitu.de) (authenticated as stb) Message-Id: From: Stefan Bethke To: freebsd-net@freebsd.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Fri, 20 Mar 2009 15:59:50 +0100 X-Mailer: Apple Mail (2.930.3) Cc: Andrew Thompson Subject: if_bridge and .1q VLANs X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 14:59:54 -0000 Hi there, it appears if_bridge bridges tagged frames alongside non-tagged frames. Is there a way to either stop if_bridge from doing so, or otherwise filtering out the tagged frames? My trunk currently has one untagged network and two tagged VLANs on it (the untagged one being the main LAN), and I'm bridging the LAN to another site via OpenVPN. But I'd rather not bridge the other two VLANs, if at all possible. I can switch the untagged VLAN to tagged on the switch, if that turns out to be the easiest option, and bridge between tap and another vlan interface. Thanks, Stefan -- Stefan Bethke Fon +49 151 14070811 From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 15:59:53 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 108FA1065675 for ; Fri, 20 Mar 2009 15:59:53 +0000 (UTC) (envelope-from laks_guy@yahoo.com) Received: from n1.bullet.mail.mud.yahoo.com (n1.bullet.mail.mud.yahoo.com [209.191.127.221]) by mx1.freebsd.org (Postfix) with SMTP id C81448FC0C for ; Fri, 20 Mar 2009 15:59:52 +0000 (UTC) (envelope-from laks_guy@yahoo.com) Received: from [209.191.108.96] by n1.bullet.mud.yahoo.com with NNFMP; 20 Mar 2009 15:59:52 -0000 Received: from [68.142.201.241] by t3.bullet.mud.yahoo.com with NNFMP; 20 Mar 2009 15:59:52 -0000 Received: from [127.0.0.1] by omp402.mail.mud.yahoo.com with NNFMP; 20 Mar 2009 15:59:52 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 321532.42428.bm@omp402.mail.mud.yahoo.com Received: (qmail 6595 invoked by uid 60001); 20 Mar 2009 15:59:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1237564791; bh=DxkLTAyqXMzo7NS8winemkt3+QwkJWqiDqpLf5dVZgE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=Vy70YJuHZQtjllCr3zDiMq6uFbjwF0kmKrJ7jVp8PrWZKBgLGtfBibgXpcDb49cry2jNzG88XR0vIkSigPUE9oL0a27qYuehCvVnCaLHizrg92UKOOG/II4bjbHRLUJkuY13aNMMrpoY4u22wV5Emm0IbIVIsJwIsX0oZ7zHPq8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=r1YrlVLmP0akAQ2oTIh/5e4gGXtsxGh26teNnrDoDrjiMrlve15/WLpodTG7DKBBRcASGQfwUxMqpSR/1QF6rL3+uVq5vfc8wVV0Tys1oKHZg3F7cySQCqYu36dN2Gy1uw5rxCb/KwrXTjsCm1pTqzCbH1hUwFDcI/ZiLQypOH0=; Message-ID: <700496.6430.qm@web45211.mail.sp1.yahoo.com> X-YMail-OSG: boo0I5wVM1kE_90wqtKon7TOVNyDJQ8LS8pZE_IhhQmmVc_1Cjd07SbWvX1H4Bj7f24sR4NXSsxDdtYoyPH0NEmLGImFx_TvdGDh8FwZRLOT7laOzGcvCg3pnvAaBwP8iJZqT27Zw.aG5COzunV51KJDtG_.JKdawV5yEqFFaJOFWCm6TlGg9pu8997V624iePjGbivwf.jFpGoQOjq8xCP8VFJi0bcKHmpJB2bBict4ld81pgxyrwqlk7LSomJyOBZe.k0Iclay.MfQicLk Received: from [134.83.1.234] by web45211.mail.sp1.yahoo.com via HTTP; Fri, 20 Mar 2009 08:59:51 PDT X-Mailer: YahooMailRC/1277.32 YahooMailWebService/0.7.289.1 Date: Fri, 20 Mar 2009 08:59:51 -0700 (PDT) From: rajasooriyar lakshman To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Freebsd7.0 - errors in compilation X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 15:59:54 -0000 Hello,=0A=0AI am new to FreeBSD....My question is regarding a compilation o= f a routing protocol in FreeBSD 7.0. =0A=0AI am trying to run a adhoc routi= ng protocol called, Dynamic Source Routing (DSR) on my freebsd router (7.0)= .. I have got the implementation from the link given below.=0A=0Ahttp://www.= monarch.cs.rice.edu/pran/Rice_PRAN_v2.tar.gz=0A=0AInfact the implementation= on the link is compatible with FreeBSD 5.1. That is why I get=A0errors suc= h as files, opt_ bdg.h, opt_ random_ ip_ id.h =A0are missing. Because of th= is I could not compile the kernel. =0A=A0=0ACan any one please suggest me a= s to how can I compile the package successfully on FreeBSD 7.0. I would ver= y much appreciate, if some one could fix the errors for me. =0A=A0=0AThanks= in advance.=0A=A0=0ARegards,=0A=A0=0ARaj.=0A=0A=0A From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 16:06:05 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2370106564A for ; Fri, 20 Mar 2009 16:06:05 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 759008FC08 for ; Fri, 20 Mar 2009 16:06:05 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2KG6418005108 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Mar 2009 09:06:05 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49C3BEEC.6010809@freebsd.org> Date: Fri, 20 Mar 2009 09:06:04 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.18 (X11/20081209) MIME-Version: 1.0 To: Matthias Apitz References: <20090317103650.GA6156@rebelion.Sisis.de> <49BF7DE4.4010804@incunabulum.net> <20090317104548.GB6182@rebelion.Sisis.de> <49BFF258.4020207@freebsd.org> <20090319144251.GA13320@rebelion.Sisis.de> <49C2685D.6040801@freebsd.org> <20090320121021.GA2051@rebelion.Sisis.de> In-Reply-To: <20090320121021.GA2051@rebelion.Sisis.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: freebsd-net@freebsd.org Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 16:06:06 -0000 Matthias Apitz wrote: > El dнa Thursday, March 19, 2009 a las 08:44:29AM -0700, Sam Leffler escribiу: > > >> Matthias Apitz wrote: >> >>> El dнa Tuesday, March 17, 2009 a las 11:56:24AM -0700, Sam Leffler >>> escribiу: >>> >>> >>> >>>> His setup is static key wep; not wpa so I don't think wpa_supplicant is >>>> the issue. >>>> >>>> Matthias, your tcpdump of the dhclient packets isn't usable; please try: >>>> >>>> tcpdump -i ath0 -n -y IEEE802_11_RADIO >>>> >>>> I reviewed the driver to the code in HEAD and the only difference in the >>>> crypto area should not matter in this case. It's possible wme is >>>> somehow enabled and causing problems but the ifconfig output doesn't >>>> indicate that. >>>> >>>> If you can find out the model of ap that might be helpful. >>>> Unfortunately the best thing to try is HEAD. >>>> >>>> > > I've updated /usr/src/sys to HEAD, configured a kernel based on the new GENERIC > (without any changes), compiled it and installed it; > > the kernel crashes on loading (note: on loading, not on booting): > http://www.unixarea.de/trap.jpg > > i.e. without knowing any inconsistency of user land or file system; what I > did wrong? > This looks like a longstanding bug in handling modules loaded by loader that have undefined references (e.g. because your kernel is misconfigured). In general I don't think you're going to get very far booting a HEAD kernel against RELENG_7 world. This will certainly not work for wireless where you need all the changes to ifconfig. If you're trying to test HEAD you will want a separate partition with a fresh install/build of HEAD. Sam From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 16:21:00 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 794B910656C4; Fri, 20 Mar 2009 16:21:00 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from mail.pica.nl (mail.pica.nl [192.87.44.30]) by mx1.freebsd.org (Postfix) with ESMTP id 017768FC1C; Fri, 20 Mar 2009 16:20:58 +0000 (UTC) (envelope-from Matthias.Apitz@oclc.org) Received: from rebelion.Sisis.de ([10.0.1.29]) by mail.pica.nl with Microsoft SMTPSVC(6.0.3790.3959); Fri, 20 Mar 2009 17:20:56 +0100 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id n2KGKgYR009023; Fri, 20 Mar 2009 17:20:42 +0100 (CET) (envelope-from matthias.apitz@oclc.org) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Fri, 20 Mar 2009 17:20:37 +0100 From: Matthias Apitz To: Sam Leffler Message-ID: <20090320162037.GA8587@rebelion.Sisis.de> References: <20090317103650.GA6156@rebelion.Sisis.de> <49BF7DE4.4010804@incunabulum.net> <20090317104548.GB6182@rebelion.Sisis.de> <49BFF258.4020207@freebsd.org> <20090319144251.GA13320@rebelion.Sisis.de> <49C2685D.6040801@freebsd.org> <20090320121021.GA2051@rebelion.Sisis.de> <49C3BEEC.6010809@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <49C3BEEC.6010809@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.0-STABLE (i386) X-OriginalArrivalTime: 20 Mar 2009 16:20:57.0543 (UTC) FILETIME=[D9B41570:01C9A977] Cc: freebsd-net@freebsd.org Subject: Re: kern/132722: [ath] Wifi ath0 associates fine with AP, but DHCP or IP does not work X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 16:21:00 -0000 El dнa Friday, March 20, 2009 a las 09:06:04AM -0700, Sam Leffler escribiу: > In general I don't think you're going to get very far booting a HEAD > kernel against RELENG_7 world. This will certainly not work for > wireless where you need all the changes to ifconfig. If you're trying > to test HEAD you will want a separate partition with a fresh > install/build of HEAD. Ok, I will prepare a complete build of HEAD in some machine and transfer it to an USB key to boot the EeePC from it; this will take some time; thx matthias -- Matthias Apitz Manager Technical Support - OCLC GmbH Gruenwalder Weg 28g - 82041 Oberhaching - Germany t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.oclc.org/ http://www.UnixArea.de/ From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 19:09:36 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB7911065680; Fri, 20 Mar 2009 19:09:36 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C0A6C8FC19; Fri, 20 Mar 2009 19:09:36 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2KJ9a3B040049; Fri, 20 Mar 2009 19:09:36 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2KJ9a6h040045; Fri, 20 Mar 2009 19:09:36 GMT (envelope-from linimon) Date: Fri, 20 Mar 2009 19:09:36 GMT Message-Id: <200903201909.n2KJ9a6h040045@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: bin/132847: [patch] bsnmpd(8): snmp_pf: add support for retrieving pf filter rule counters X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 19:09:37 -0000 Old Synopsis: [patch] snmp_pf: add support for retrieving pf filter rule counters New Synopsis: [patch] bsnmpd(8): snmp_pf: add support for retrieving pf filter rule counters Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Fri Mar 20 19:08:48 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=132847 From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 19:16:01 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B269E106566B for ; Fri, 20 Mar 2009 19:16:01 +0000 (UTC) (envelope-from redchin@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id 8AAD78FC20 for ; Fri, 20 Mar 2009 19:16:01 +0000 (UTC) (envelope-from redchin@gmail.com) Received: by wa-out-1112.google.com with SMTP id m38so752973waf.27 for ; Fri, 20 Mar 2009 12:16:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=pE5n/+5CLx9O8VSSIo2xZ/b2neUgfSDFVlt6QGjfDLc=; b=roaC6Y1jydm0Mg+XKbLAH5BgcAPlVv2qe6QerqPPQrX5HwCfpVZKYYrTzaVa3XS61h qaedYp72+NfeoMs3EqyjRBGh9ld+in1AJs0CqVHJnZBhqEqgl760M/LbXYVz2kLUFOYw 1m6+EzwcsvQD+qcznwAVcYhpX/chfpGp8Fzmo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=YEqZvYuhPWo9IWYl7sRPARVgeP5VCx4RCBncEkBhi541MlvZapj7zprVDFCtwiR+KU RCUEpXL/6xbW4bI9ZbeBVqojx9uTLcrE1qEtlIAViThxhV0U+SUO12to+5Q3+Rkh9w8v dwB1sIbFAkxB2P6kGoUmcyIio/3hc9DJzwuWo= MIME-Version: 1.0 Received: by 10.114.149.2 with SMTP id w2mr2607924wad.182.1237575114797; Fri, 20 Mar 2009 11:51:54 -0700 (PDT) Date: Fri, 20 Mar 2009 11:51:54 -0700 Message-ID: <1d3ed48c0903201151o1a0a3ee1te758e70f1be98eb0@mail.gmail.com> From: Kevin Downey To: freebsd-net@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: change in ifconfig out put for wlan devices on -CURRENT X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 19:16:01 -0000 I did not notice a heads up about this, but recently (maybe in the last few weeks?) wlan devices on -CURRENT no longer show information like what ssid they are associated with. How can I find this information now? this what the current output looks like: wlan0: flags=3D8843 metric 0 mtu 15= 00 ether 00:1d:7d:78:2a:69 inet6 fe80::21d:7dff:fe78:2a69%wlan0 prefixlen 64 scopeid 0x4 inet 192.168.0.197 netmask 0xffffff00 broadcast 192.168.0.255 media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g status: associated --=20 And what is good, Phaedrus, And what is not good=E2=80=94 Need we ask anyone to tell us these things? From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 20:21:26 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2C23106566B for ; Fri, 20 Mar 2009 20:21:26 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from koef.zs64.net (koef.zs64.net [212.12.50.230]) by mx1.freebsd.org (Postfix) with ESMTP id 3860C8FC1D for ; Fri, 20 Mar 2009 20:21:25 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from localhost by koef.zs64.net (8.14.3/8.14.3) with ESMTP id n2KKLO6D035740 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 20 Mar 2009 21:21:24 +0100 (CET) (envelope-from stb@lassitu.de) (authenticated as stb) Message-Id: <0C3154EE-CED4-433C-B0A9-CC16EE2EB5AD@lassitu.de> From: Stefan Bethke To: Kevin Downey In-Reply-To: <1d3ed48c0903201151o1a0a3ee1te758e70f1be98eb0@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Fri, 20 Mar 2009 21:21:23 +0100 References: <1d3ed48c0903201151o1a0a3ee1te758e70f1be98eb0@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) Cc: freebsd-net@freebsd.org Subject: Re: change in ifconfig out put for wlan devices on -CURRENT X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 20:21:27 -0000 Am 20.03.2009 um 19:51 schrieb Kevin Downey: > I did not notice a heads up about this, but recently (maybe in the > last few weeks?) wlan devices on -CURRENT no longer show information > like what ssid they are associated with. How can I find this > information now? > > this what the current output looks like: > > wlan0: flags=8843 metric 0 > mtu 1500 > ether 00:1d:7d:78:2a:69 > inet6 fe80::21d:7dff:fe78:2a69%wlan0 prefixlen 64 scopeid 0x4 > inet 192.168.0.197 netmask 0xffffff00 broadcast 192.168.0.255 > media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g > status: associated Maybe it's the same issue as in this thread? HTH, Stefan -- Stefan Bethke Fon +49 151 14070811 From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 20:41:59 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79E601065674 for ; Fri, 20 Mar 2009 20:41:59 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outR.internet-mail-service.net (outr.internet-mail-service.net [216.240.47.241]) by mx1.freebsd.org (Postfix) with ESMTP id 615CC8FC17 for ; Fri, 20 Mar 2009 20:41:59 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id D7C571310ED; Fri, 20 Mar 2009 13:41:58 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id A79522D600E; Fri, 20 Mar 2009 13:41:56 -0700 (PDT) Message-ID: <49C3FFA2.5090501@elischer.org> Date: Fri, 20 Mar 2009 13:42:10 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Stefan Bethke References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Andrew Thompson Subject: Re: if_bridge and .1q VLANs X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 20:41:59 -0000 Stefan Bethke wrote: > Hi there, > > it appears if_bridge bridges tagged frames alongside non-tagged frames. > Is there a way to either stop if_bridge from doing so, or otherwise > filtering out the tagged frames? > > My trunk currently has one untagged network and two tagged VLANs on it > (the untagged one being the main LAN), and I'm bridging the LAN to > another site via OpenVPN. But I'd rather not bridge the other two > VLANs, if at all possible. > > I can switch the untagged VLAN to tagged on the switch, if that turns > out to be the easiest option, and bridge between tap and another vlan > interface. I don't know how much this helps but you may be able to plumb something up using the netgraph vlan and bridge nodes. I have not used the vlan nodes so I do not talk from experience.. > > > Thanks, > Stefan > From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 22:20:04 2009 Return-Path: Delivered-To: net@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E19FC106564A; Fri, 20 Mar 2009 22:20:04 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id BCB2E8FC17; Fri, 20 Mar 2009 22:20:04 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [65.122.17.41]) by cyrus.watson.org (Postfix) with ESMTPS id 60A3446B0D; Fri, 20 Mar 2009 18:20:04 -0400 (EDT) Date: Fri, 20 Mar 2009 22:20:04 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: current@FreeBSD.org, net@FreeBSD.org In-Reply-To: Message-ID: References: <20080526110543.J26343@fledge.watson.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: Re: HEADS UP: IFF_NEEDSGIANT consumers to be disabled, removed (was: Re: Wiki page for non-MPSAFE network stack de-orbit scheduling) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 22:20:05 -0000 On Mon, 16 Feb 2009, Robert Watson wrote: > The following schedule is proposed, assuming nothing goes horribly wrong > with the new USB code in the next few weeks, and remaining nits relating to > USB network and 802.11 drivers are handled: > > 16 February 2009 HEADS UP to lists (this e-mail) > 01 March 2009 Disable build of all IFF_NEEDSGIANT drivers in 8.x > 01 April 2009 Remove all IFF_NEEDSGIANT drivers from 8.x Just a teminder that 1 April is gradually approaching. At that point I will remove from the tree the various non-MPSAFE network device drivers that are already disconnected from the build, incuding if_sl, if_ppp, if_ar, and the old USB ethernet drivers. Robert N M Watson Computer Laboratory University of Cambridge From owner-freebsd-net@FreeBSD.ORG Fri Mar 20 22:59:31 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B19A1065672 for ; Fri, 20 Mar 2009 22:59:31 +0000 (UTC) (envelope-from ivan@serezhkin.com) Received: from shustrik.urh.ru (shustrik.urh.ru [89.108.81.81]) by mx1.freebsd.org (Postfix) with ESMTP id EBFB38FC15 for ; Fri, 20 Mar 2009 22:59:30 +0000 (UTC) (envelope-from ivan@serezhkin.com) Received: from vany.yandex.ru (95-24-34-86.broadband.corbina.ru [95.24.34.86]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: ivan@serezhkin.com) by shustrik.urh.ru (Postfix) with ESMTPSA id A976E1D13F; Sat, 21 Mar 2009 01:57:48 +0300 (MSK) Message-ID: <49C41FBA.1000906@serezhkin.com> Date: Sat, 21 Mar 2009 01:59:06 +0300 From: Vany Serezhkin User-Agent: Thunderbird 2.0.0.19 (X11/20090219) MIME-Version: 1.0 To: Sam Leffler References: <49C2504F.2030003@serezhkin.com> <49C26EE8.3040100@freebsd.org> In-Reply-To: <49C26EE8.3040100@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-2.1.0 Cc: freebsd-net@freebsd.org Subject: Re: 802.1x broken after SVN rev 189592 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Mar 2009 22:59:33 -0000 Hello. Sam Leffler wrote: > Are you certain it's that revision? Have you tried r189931 which > worked around certain problems in the initial commit? Yes, problem still here. > > Can you provide sufficient info to reproduce your problem? Filing a > PR for reference is likely the best thing to do. ok. http://www.freebsd.org/cgi/query-pr.cgi?pr=132885 I store kernel, dump and symbols, and can provide anything, that kgdb can present, Also i have read kernel debugging tutorial an ready to work =) But still can't understand kernel network structure, mostly i explore acpi and smbuses. -- Vany Serezhkin. Yandex. http://yandex.ru/ From owner-freebsd-net@FreeBSD.ORG Sat Mar 21 00:30:03 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0478106564A for ; Sat, 21 Mar 2009 00:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8DF538FC16 for ; Sat, 21 Mar 2009 00:30:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2L0U37j083196 for ; Sat, 21 Mar 2009 00:30:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2L0U3kC083193; Sat, 21 Mar 2009 00:30:03 GMT (envelope-from gnats) Date: Sat, 21 Mar 2009 00:30:03 GMT Message-Id: <200903210030.n2L0U3kC083193@freefall.freebsd.org> To: freebsd-net@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: kern/119361: commit references a PR X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 00:30:03 -0000 The following reply was made to PR kern/119361; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: kern/119361: commit references a PR Date: Sat, 21 Mar 2009 00:23:17 +0000 (UTC) Author: marius Date: Sat Mar 21 00:23:07 2009 New Revision: 190194 URL: http://svn.freebsd.org/changeset/base/190194 Log: - In bge_ifmedia_upd_locked() take advantrage of LIST_FOREACH(). - If boot verbose, print asicrev, chiprev and bus type on attach. - For PCI Express devices: 1) Adjust max read request size to 4Kbytes 2) Turn on FIFO_LONG_BURST in RDMA during bge_blockinit() Though 1) does not seem to have much to do with the poor TX performance observed on PCI Express bge(4), 2) does fix the problem. [1] - Nuke the RX CPU self-diag, which prevents working cards from working (Linux tg3 does not have this diag neither does OpenBSD's bge(4)). The increasing of the firmware handshaking timeout to 20000 retries done as part of the original commit isn't merged as way already have a way higher BGE_TIMEOUT of 100000. PR: 119361 [1] Obtained from: tg3 via DragonflyBSD [1], DragonflyBSD Modified: head/sys/dev/bge/if_bge.c head/sys/dev/bge/if_bgereg.h Modified: head/sys/dev/bge/if_bge.c ============================================================================== --- head/sys/dev/bge/if_bge.c Fri Mar 20 23:55:01 2009 (r190193) +++ head/sys/dev/bge/if_bge.c Sat Mar 21 00:23:07 2009 (r190194) @@ -384,6 +384,7 @@ static uint32_t bge_readreg_ind(struct b #endif static void bge_writemem_direct(struct bge_softc *, int, int); static void bge_writereg_ind(struct bge_softc *, int, int); +static void bge_set_max_readrq(struct bge_softc *, int); static int bge_miibus_readreg(device_t, int, int); static int bge_miibus_writereg(device_t, int, int, int); @@ -523,6 +524,34 @@ bge_writemem_ind(struct bge_softc *sc, i pci_write_config(dev, BGE_PCI_MEMWIN_BASEADDR, 0, 4); } +/* + * PCI Express only + */ +static void +bge_set_max_readrq(struct bge_softc *sc, int expr_ptr) +{ + device_t dev; + uint16_t val; + + KASSERT((sc->bge_flags & BGE_FLAG_PCIE) && expr_ptr != 0, + ("%s: not applicable", __func__)); + + dev = sc->bge_dev; + + val = pci_read_config(dev, expr_ptr + BGE_PCIE_DEVCTL, 2); + if ((val & BGE_PCIE_DEVCTL_MAX_READRQ_MASK) != + BGE_PCIE_DEVCTL_MAX_READRQ_4096) { + if (bootverbose) + device_printf(dev, "adjust device control 0x%04x ", + val); + val &= ~BGE_PCIE_DEVCTL_MAX_READRQ_MASK; + val |= BGE_PCIE_DEVCTL_MAX_READRQ_4096; + pci_write_config(dev, expr_ptr + BGE_PCIE_DEVCTL, val, 2); + if (bootverbose) + printf("-> 0x%04x\n", val); + } +} + #ifdef notdef static uint32_t bge_readreg_ind(struct bge_softc *sc, int off) @@ -1278,18 +1307,6 @@ bge_chipinit(struct bge_softc *sc) /* Set endianness before we access any non-PCI registers. */ pci_write_config(sc->bge_dev, BGE_PCI_MISC_CTL, BGE_INIT, 4); - /* - * Check the 'ROM failed' bit on the RX CPU to see if - * self-tests passed. Skip this check when there's no - * chip containing the Ethernet address fitted, since - * in that case it will always fail. - */ - if ((sc->bge_flags & BGE_FLAG_EADDR) && - CSR_READ_4(sc, BGE_RXCPU_MODE) & BGE_RXCPUMODE_ROMFAIL) { - device_printf(sc->bge_dev, "RX CPU self-diagnostics failed!\n"); - return (ENODEV); - } - /* Clear the MAC control register */ CSR_WRITE_4(sc, BGE_MAC_MODE, 0); @@ -1742,14 +1759,18 @@ bge_blockinit(struct bge_softc *sc) /* Enable host coalescing bug fix. */ if (sc->bge_asicrev == BGE_ASICREV_BCM5755 || sc->bge_asicrev == BGE_ASICREV_BCM5787) - val |= 1 << 29; + val |= 1 << 29; /* Turn on write DMA state machine */ CSR_WRITE_4(sc, BGE_WDMA_MODE, val); + DELAY(40); /* Turn on read DMA state machine */ - CSR_WRITE_4(sc, BGE_RDMA_MODE, - BGE_RDMAMODE_ENABLE | BGE_RDMAMODE_ALL_ATTNS); + val = BGE_RDMAMODE_ENABLE | BGE_RDMAMODE_ALL_ATTNS; + if (sc->bge_flags & BGE_FLAG_PCIE) + val |= BGE_RDMAMODE_FIFO_LONG_BURST; + CSR_WRITE_4(sc, BGE_RDMA_MODE, val); + DELAY(40); /* Turn on RX data completion state machine */ CSR_WRITE_4(sc, BGE_RDC_MODE, BGE_RDCMODE_ENABLE); @@ -2387,7 +2408,7 @@ bge_attach(device_t dev) goto fail; } - /* Save ASIC rev. */ + /* Save various chip information. */ sc->bge_chipid = pci_read_config(dev, BGE_PCI_MISC_CTL, 4) & BGE_PCIMISCCTL_ASICREV; @@ -2470,14 +2491,17 @@ bge_attach(device_t dev) * Found a PCI Express capabilities register, this * must be a PCI Express device. */ - if (reg != 0) + if (reg != 0) { sc->bge_flags |= BGE_FLAG_PCIE; #else if (BGE_IS_5705_PLUS(sc)) { reg = pci_read_config(dev, BGE_PCIE_CAPID_REG, 4); - if ((reg & 0xFF) == BGE_PCIE_CAPID) + if ((reg & 0xFF) == BGE_PCIE_CAPID) { sc->bge_flags |= BGE_FLAG_PCIE; + reg = BGE_PCIE_CAPID; #endif + bge_set_max_readrq(sc, reg); + } } else { /* * Check if the device is in PCI-X Mode. @@ -2522,6 +2546,13 @@ bge_attach(device_t dev) goto fail; } + if (bootverbose) + device_printf(dev, + "CHIP ID 0x%08x; ASIC REV 0x%02x; CHIP REV 0x%02x; %s\n", + sc->bge_chipid, sc->bge_asicrev, sc->bge_chiprev, + (sc->bge_flags & BGE_FLAG_PCIX) ? "PCI-X" : + ((sc->bge_flags & BGE_FLAG_PCIE) ? "PCI-E" : "PCI")); + BGE_LOCK_INIT(sc, device_get_nameunit(dev)); /* Try to reset the chip. */ @@ -3882,6 +3913,7 @@ bge_ifmedia_upd_locked(struct ifnet *ifp { struct bge_softc *sc = ifp->if_softc; struct mii_data *mii; + struct mii_softc *miisc; struct ifmedia *ifm; BGE_LOCK_ASSERT(sc); @@ -3932,12 +3964,9 @@ bge_ifmedia_upd_locked(struct ifnet *ifp sc->bge_link_evt++; mii = device_get_softc(sc->bge_miibus); - if (mii->mii_instance) { - struct mii_softc *miisc; - for (miisc = LIST_FIRST(&mii->mii_phys); miisc != NULL; - miisc = LIST_NEXT(miisc, mii_list)) + if (mii->mii_instance) + LIST_FOREACH(miisc, &mii->mii_phys, mii_list) mii_phy_reset(miisc); - } mii_mediachg(mii); /* Modified: head/sys/dev/bge/if_bgereg.h ============================================================================== --- head/sys/dev/bge/if_bgereg.h Fri Mar 20 23:55:01 2009 (r190193) +++ head/sys/dev/bge/if_bgereg.h Sat Mar 21 00:23:07 2009 (r190194) @@ -176,6 +176,22 @@ #define BGE_PCI_MSI_ADDR_LO 0x60 #define BGE_PCI_MSI_DATA 0x64 +/* + * PCI Express definitions + * According to + * PCI Express base specification, REV. 1.0a + */ + +/* PCI Express device control, 16bits */ +#define BGE_PCIE_DEVCTL 0x08 +#define BGE_PCIE_DEVCTL_MAX_READRQ_MASK 0x7000 +#define BGE_PCIE_DEVCTL_MAX_READRQ_128 0x0000 +#define BGE_PCIE_DEVCTL_MAX_READRQ_256 0x1000 +#define BGE_PCIE_DEVCTL_MAX_READRQ_512 0x2000 +#define BGE_PCIE_DEVCTL_MAX_READRQ_1024 0x3000 +#define BGE_PCIE_DEVCTL_MAX_READRQ_2048 0x4000 +#define BGE_PCIE_DEVCTL_MAX_READRQ_4096 0x5000 + /* PCI MSI. ??? */ #define BGE_PCIE_CAPID_REG 0xD0 #define BGE_PCIE_CAPID 0x10 @@ -1359,6 +1375,8 @@ #define BGE_RDMAMODE_PCI_FIFOOREAD_ATTN 0x00000100 #define BGE_RDMAMODE_LOCWRITE_TOOBIG 0x00000200 #define BGE_RDMAMODE_ALL_ATTNS 0x000003FC +#define BGE_RDMAMODE_FIFO_SIZE_128 0x00020000 +#define BGE_RDMAMODE_FIFO_LONG_BURST 0x00030000 /* Read DMA status register */ #define BGE_RDMASTAT_PCI_TGT_ABRT_ATTN 0x00000004 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-net@FreeBSD.ORG Sat Mar 21 09:41:24 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19A55106566B for ; Sat, 21 Mar 2009 09:41:24 +0000 (UTC) (envelope-from dikshie@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by mx1.freebsd.org (Postfix) with ESMTP id E759C8FC1A for ; Sat, 21 Mar 2009 09:41:23 +0000 (UTC) (envelope-from dikshie@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1558396wfg.7 for ; Sat, 21 Mar 2009 02:41:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:received:message-id:subject :from:to:content-type:content-transfer-encoding; bh=Q/LvjB1siMCdknRjyaIDojqRfQN0HPuxyEU29PzJV7w=; b=c19jEGN6r1vIZhzvbwGBWeK0HL9LD1zAwaVBWL+bvTNVFBkh0hxpoEA1Os5x0hACVl rpD/Yb3TCAa67ff7cBnTcsRW591FiL4q5ZHaJKXEyMNWvVD3/6IUzf3NHWggUDD498HW oRp1UjEPJqrfHQMqcMnK5CSuzwyrSWc/wQmgE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=UWCAnRuc8SU5EYMDVpV/0akyHlfdq8ZNYStENVJTbzKNZK4h3Q4LugefiWHi/4rmjO OiammUR65id1DvH2bGeMaenAThKoxQCchdaD3qcys3gprCVuxRluncPKq0clSQSqC+hu 4MLQ3SBbkGycChF/V9l/ImLaca5spR5j6YEJo= MIME-Version: 1.0 Date: Sat, 21 Mar 2009 18:41:06 +0900 Received: by 10.114.131.1 with SMTP id e1mr3147470wad.14.1237628483185; Sat, 21 Mar 2009 02:41:23 -0700 (PDT) Message-ID: <910e60e80903210241p5683c52bue9432fff6b29f246@mail.gmail.com> From: dikshie To: freebsd-net@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: if_ath X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 09:41:24 -0000 this is on RELENG_7 totoro# ident /usr/src/sys/dev/ath/if_ath.c /usr/src/sys/dev/ath/if_ath.c: $FreeBSD: src/sys/dev/ath/if_ath.c,v 1.177.2.3 2009/03/12 03:09:11 bms Exp $ cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/ath/if_ath.c -I/usr/src/sys/dev/ath /usr/src/sys/dev/ath/if_ath.c: In function 'ath_rx_tap': /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct ath_rx_status' has no member named 'rs_flags' /usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct ath_rx_status' has no member named 'rs_flags' *** Error code 1 -- -dikshie- From owner-freebsd-net@FreeBSD.ORG Sat Mar 21 10:50:07 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E537A1065670 for ; Sat, 21 Mar 2009 10:50:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [195.88.108.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9F3CD8FC17 for ; Sat, 21 Mar 2009 10:50:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 369CD41C6F2; Sat, 21 Mar 2009 11:50:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([195.88.108.3]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id LizaTrIBshDA; Sat, 21 Mar 2009 11:50:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id BF0FD41C6A7; Sat, 21 Mar 2009 11:50:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 67B234448E6; Sat, 21 Mar 2009 10:46:41 +0000 (UTC) Date: Sat, 21 Mar 2009 10:46:41 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Stefan Bethke In-Reply-To: <0C3154EE-CED4-433C-B0A9-CC16EE2EB5AD@lassitu.de> Message-ID: <20090321104550.Q67075@maildrop.int.zabbadoz.net> References: <1d3ed48c0903201151o1a0a3ee1te758e70f1be98eb0@mail.gmail.com> <0C3154EE-CED4-433C-B0A9-CC16EE2EB5AD@lassitu.de> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org, Kevin Downey Subject: Re: change in ifconfig out put for wlan devices on -CURRENT X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 10:50:08 -0000 On Fri, 20 Mar 2009, Stefan Bethke wrote: > Am 20.03.2009 um 19:51 schrieb Kevin Downey: > >> I did not notice a heads up about this, but recently (maybe in the >> last few weeks?) wlan devices on -CURRENT no longer show information >> like what ssid they are associated with. How can I find this >> information now? >> >> this what the current output looks like: >> >> wlan0: flags=8843 metric 0 mtu 1500 >> ether 00:1d:7d:78:2a:69 >> inet6 fe80::21d:7dff:fe78:2a69%wlan0 prefixlen 64 scopeid 0x4 >> inet 192.168.0.197 netmask 0xffffff00 broadcast 192.168.0.255 >> media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g >> status: associated > > Maybe it's the same issue as in this thread? > > If that's your thread, it is. Updating to latest HEAD should have the fix. It would be great if you could confirm that everything is working again with just a plain HEAD. /bz -- Bjoern A. Zeeb The greatest risk is not taking one. From owner-freebsd-net@FreeBSD.ORG Sat Mar 21 13:32:53 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A3F1106566B for ; Sat, 21 Mar 2009 13:32:53 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id D60828FC16 for ; Sat, 21 Mar 2009 13:32:52 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 385B72F8E96; Sat, 21 Mar 2009 09:32:52 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Sat, 21 Mar 2009 09:32:52 -0400 X-Sasl-enc: HWb1zFvO5Y61f8gnqLxM/j10A1sUUKHUmgdsulNq/Qct 1237642371 Received: from anglepoise.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id A114719825; Sat, 21 Mar 2009 09:32:51 -0400 (EDT) Message-ID: <49C4EC81.1030207@incunabulum.net> Date: Sat, 21 Mar 2009 13:32:49 +0000 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.19 (X11/20090125) MIME-Version: 1.0 To: dikshie References: <910e60e80903210241p5683c52bue9432fff6b29f246@mail.gmail.com> In-Reply-To: <910e60e80903210241p5683c52bue9432fff6b29f246@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: if_ath X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 13:32:53 -0000 Hi, I have been doing repeated build runs of RELENG_7 using NanoBSD, and haven't seen this issue. How exactly are you building the kernel? Are you using 'make buildkernel KERNCONF=...' ? Do you have any old ath(4) build options present? I believe Sam removed the HAL_ABI_VERSION define in the -CURRENT branch so you should not need it. thanks BMS dikshie wrote: > this is on RELENG_7 > > totoro# ident /usr/src/sys/dev/ath/if_ath.c > /usr/src/sys/dev/ath/if_ath.c: > $FreeBSD: src/sys/dev/ath/if_ath.c,v 1.177.2.3 2009/03/12 > 03:09:11 bms Exp $ > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc > -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/ath/if_ath.c > -I/usr/src/sys/dev/ath > /usr/src/sys/dev/ath/if_ath.c: In function 'ath_rx_tap': > /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct > ath_rx_status' has no member named 'rs_flags' > /usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct > ath_rx_status' has no member named 'rs_flags' > *** Error code 1 > > > > > From owner-freebsd-net@FreeBSD.ORG Sat Mar 21 13:43:17 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB7B71065673; Sat, 21 Mar 2009 13:43:17 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A204A8FC25; Sat, 21 Mar 2009 13:43:17 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from freefall.freebsd.org (bz@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2LDhH8k006665; Sat, 21 Mar 2009 13:43:17 GMT (envelope-from bz@freefall.freebsd.org) Received: (from bz@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2LDhH9r006661; Sat, 21 Mar 2009 13:43:17 GMT (envelope-from bz) Date: Sat, 21 Mar 2009 13:43:17 GMT Message-Id: <200903211343.n2LDhH9r006661@freefall.freebsd.org> To: bz@FreeBSD.org, freebsd-net@FreeBSD.org, syrinx@FreeBSD.org From: bz@FreeBSD.org Cc: Subject: Re: bin/132847: [patch] bsnmpd(8): snmp_pf: add support for retrieving pf filter rule counters X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 13:43:18 -0000 Synopsis: [patch] bsnmpd(8): snmp_pf: add support for retrieving pf filter rule counters Responsible-Changed-From-To: freebsd-net->syrinx Responsible-Changed-By: bz Responsible-Changed-When: Sat Mar 21 13:42:37 UTC 2009 Responsible-Changed-Why: She'll review and test it in a few days she said. http://www.freebsd.org/cgi/query-pr.cgi?pr=132847 From owner-freebsd-net@FreeBSD.ORG Sat Mar 21 13:48:00 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 776761065679 for ; Sat, 21 Mar 2009 13:48:00 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id 4C5958FC18 for ; Sat, 21 Mar 2009 13:48:00 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 9B8272F5E02; Sat, 21 Mar 2009 09:47:59 -0400 (EDT) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Sat, 21 Mar 2009 09:47:59 -0400 X-Sasl-enc: SCOZrzeUVWChJz9cq9tNizWPMFShmBw8TvTDmD+DhXdd 1237643279 Received: from anglepoise.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id 145EC177E9; Sat, 21 Mar 2009 09:47:58 -0400 (EDT) Message-ID: <49C4F00E.9010401@incunabulum.net> Date: Sat, 21 Mar 2009 13:47:58 +0000 From: Bruce Simpson User-Agent: Thunderbird 2.0.0.19 (X11/20090125) MIME-Version: 1.0 To: dikshie References: <910e60e80903210241p5683c52bue9432fff6b29f246@mail.gmail.com> <49C4EC81.1030207@incunabulum.net> In-Reply-To: <49C4EC81.1030207@incunabulum.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org Subject: Re: if_ath X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 13:48:01 -0000 Bruce Simpson wrote: > I believe Sam removed the HAL_ABI_VERSION define in the -CURRENT > branch so you should not need it. Please see here for the relevant change (MFC was set to 1 week):- http://svn.freebsd.org/changeset/base/190096 thanks BMS From owner-freebsd-net@FreeBSD.ORG Sat Mar 21 15:15:16 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A1A3F1065673; Sat, 21 Mar 2009 15:15:16 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 76AFA8FC13; Sat, 21 Mar 2009 15:15:16 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2LFFGuV027025; Sat, 21 Mar 2009 15:15:16 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2LFFGqk027021; Sat, 21 Mar 2009 15:15:16 GMT (envelope-from linimon) Date: Sat, 21 Mar 2009 15:15:16 GMT Message-Id: <200903211515.n2LFFGqk027021@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/132885: [wlan] 802.1x broken after SVN rev 189592 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 15:15:17 -0000 Synopsis: [wlan] 802.1x broken after SVN rev 189592 Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Sat Mar 21 15:15:07 UTC 2009 Responsible-Changed-Why: Reassign. http://www.freebsd.org/cgi/query-pr.cgi?pr=132885 From owner-freebsd-net@FreeBSD.ORG Sat Mar 21 15:25:36 2009 Return-Path: Delivered-To: freebsd-net@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 609541065674; Sat, 21 Mar 2009 15:25:36 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 353F28FC15; Sat, 21 Mar 2009 15:25:36 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n2LFPa9O040201; Sat, 21 Mar 2009 15:25:36 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n2LFPajC040197; Sat, 21 Mar 2009 15:25:36 GMT (envelope-from linimon) Date: Sat, 21 Mar 2009 15:25:36 GMT Message-Id: <200903211525.n2LFPajC040197@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-net@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/132889: [ndis] [panic] NDIS kernel crash on load BCM4321 AGN driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 15:25:37 -0000 Old Synopsis: NDIS kernel crash on load BCM4321 AGN driver New Synopsis: [ndis] [panic] NDIS kernel crash on load BCM4321 AGN driver Responsible-Changed-From-To: freebsd-bugs->freebsd-net Responsible-Changed-By: linimon Responsible-Changed-When: Sat Mar 21 15:25:09 UTC 2009 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=132889 From owner-freebsd-net@FreeBSD.ORG Sat Mar 21 17:14:45 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60A33106566B for ; Sat, 21 Mar 2009 17:14:45 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 35B658FC14 for ; Sat, 21 Mar 2009 17:14:44 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from Macintosh-4.local ([10.0.0.194]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n2LHEiQ8013109 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 21 Mar 2009 10:14:44 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <49C52084.3060000@freebsd.org> Date: Sat, 21 Mar 2009 10:14:44 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: dikshie References: <910e60e80903210241p5683c52bue9432fff6b29f246@mail.gmail.com> In-Reply-To: <910e60e80903210241p5683c52bue9432fff6b29f246@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-DCC--Metrics: ebb.errno.com; whitelist Cc: freebsd-net@freebsd.org Subject: Re: if_ath X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 17:14:47 -0000 dikshie wrote: > this is on RELENG_7 > > totoro# ident /usr/src/sys/dev/ath/if_ath.c > /usr/src/sys/dev/ath/if_ath.c: > $FreeBSD: src/sys/dev/ath/if_ath.c,v 1.177.2.3 2009/03/12 > 03:09:11 bms Exp $ > > cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc > -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common > -finline-limit=8000 --param inline-unit-growth=100 --param > large-function-growth=1000 -mno-align-long-strings > -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 > -mno-sse3 -ffreestanding -Werror /usr/src/sys/dev/ath/if_ath.c > -I/usr/src/sys/dev/ath > /usr/src/sys/dev/ath/if_ath.c: In function 'ath_rx_tap': > /usr/src/sys/dev/ath/if_ath.c:3414: error: 'const struct > ath_rx_status' has no member named 'rs_flags' > /usr/src/sys/dev/ath/if_ath.c:3416: error: 'const struct > ath_rx_status' has no member named 'rs_flags' > *** Error code 1 > > > > Read UPDATING; you need options AH_SUPPORT_AR5416 in your config file. Sam From owner-freebsd-net@FreeBSD.ORG Sat Mar 21 18:46:04 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F3AC10656F4 for ; Sat, 21 Mar 2009 18:46:04 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id BDEDC8FC1A for ; Sat, 21 Mar 2009 18:45:58 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ewy19 with SMTP id 19so964366ewy.43 for ; Sat, 21 Mar 2009 11:45:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-pgp-agent:x-mailer; bh=UyhJUiLFiipPfUJqxEdMQsMs7qlLqzOgO3vCAOYF3Ww=; b=sY+5w5JQrEPPI51aQ7UhyUj8HcSoOQJRdCRK+dBinh0lGy9CpJJx/ijBo/0weAfko6 Qq1nHwU8LCtkvtQAyR+C+ejbpywE2PZbIuVoZpuhkrO0GJDyHGyGQ1bz5O5hn44LTY5h xVQRpFva7s/3vpxLuYMkCOXEDUTno0d8c10To= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-pgp-agent:x-mailer; b=tTA4p+n0JmIBKyiHi377T3nEtC3C1CpKKf/4134I1WKoIR2qsI3a2whNNJhGv/x9jA h4wNR7rt0CBrdPuRs+Xy9FmiLRBGuSUKIdQFlaY6y1StLJ3x7G3028Lsag7qht2ZIrOb UvRl/VtrswFFbkNFCvecRfZdpVmp5Vgom8s8o= Received: by 10.211.194.4 with SMTP id w4mr809605ebp.42.1237661157794; Sat, 21 Mar 2009 11:45:57 -0700 (PDT) Received: from epsilon.lan ([83.144.141.97]) by mx.google.com with ESMTPS id 24sm3694801eyx.38.2009.03.21.11.45.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 21 Mar 2009 11:45:57 -0700 (PDT) Message-Id: <99991DAF-1988-476E-89E7-97BAA8873AC4@gmail.com> From: Rui Paulo To: FreeBSD-Net Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-13--491584149" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Sat, 21 Mar 2009 18:45:37 +0000 X-Pgp-Agent: GPGMail 1.2.0 (v56) X-Mailer: Apple Mail (2.930.3) Subject: HEADSUP: tcpdump updated to 4.0.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 18:46:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-13--491584149 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi folks, I just updated the base system tcpdump to 4.0.0. Most noticeably this new version includes a new output format. Please report any regressions. Thanks, -- Rui Paulo --Apple-Mail-13--491584149 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAknFNdEACgkQfD8M/ASTygI26wCgqpktNvHB0/Pmiw6QWtyGlw2U VwMAoMwRYT3hFssMrwxnGxWfcmfjhzuR =cYJh -----END PGP SIGNATURE----- --Apple-Mail-13--491584149-- From owner-freebsd-net@FreeBSD.ORG Sat Mar 21 20:13:34 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8B65106564A for ; Sat, 21 Mar 2009 20:13:34 +0000 (UTC) (envelope-from redchin@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id AB8C68FC19 for ; Sat, 21 Mar 2009 20:13:34 +0000 (UTC) (envelope-from redchin@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1752244wfg.7 for ; Sat, 21 Mar 2009 13:13:34 -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:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+b4IB2fiWTS1Y1PH5o/B3VWRDBQ8zlw0hY/yQPov0Lk=; b=PCXP/cfXhPzkKc4uyYs+j4FHtKepkXUqTGHeGI8c1WszSd3lWXlCdPQhufQbyi1hYN gV7i/BwtNTjiYMzRBkR7TxMwo5xq7ShufgxwVcCckTvOJtYv0uGe4P55TUXgj7jCOl/2 UH5ulxGL+ob74Udl60NET6Tk+kqjKIcP+hes0= 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 :cc:content-type:content-transfer-encoding; b=KebHxGhNrY3jK06J7x6mwPOTwQkvIK0zh8JpYqySVNmufcPrs7wj7eezX77ZVRnmYB +1W1n6oq0cJxjUny61DbwqLjAdvYtgtrfPBCzwrfxorpZcOc2RG2yxtiEwoe7p5SZN70 aSiIrNRccHv8DC37MoZnR0hDNpqM7z9uc8zVI= MIME-Version: 1.0 Received: by 10.115.92.2 with SMTP id u2mr3463925wal.228.1237666413972; Sat, 21 Mar 2009 13:13:33 -0700 (PDT) In-Reply-To: <20090321104550.Q67075@maildrop.int.zabbadoz.net> References: <1d3ed48c0903201151o1a0a3ee1te758e70f1be98eb0@mail.gmail.com> <0C3154EE-CED4-433C-B0A9-CC16EE2EB5AD@lassitu.de> <20090321104550.Q67075@maildrop.int.zabbadoz.net> Date: Sat, 21 Mar 2009 13:13:33 -0700 Message-ID: <1d3ed48c0903211313s5cb44a3fsea09e905031ef24f@mail.gmail.com> From: Kevin Downey To: "Bjoern A. Zeeb" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org, Stefan Bethke Subject: Re: change in ifconfig out put for wlan devices on -CURRENT X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 20:13:35 -0000 On Sat, Mar 21, 2009 at 3:46 AM, Bjoern A. Zeeb wrote: > On Fri, 20 Mar 2009, Stefan Bethke wrote: > >> Am 20.03.2009 um 19:51 schrieb Kevin Downey: >> >>> I did not notice a heads up about this, but recently (maybe in the >>> last few weeks?) wlan devices on -CURRENT no longer show information >>> like what ssid they are associated with. How can I find this >>> information now? >>> >>> this what the current output looks like: >>> >>> wlan0: flags=3D8843 metric 0 mt= u >>> 1500 >>> ether 00:1d:7d:78:2a:69 >>> inet6 fe80::21d:7dff:fe78:2a69%wlan0 prefixlen 64 scopeid 0x4 >>> inet 192.168.0.197 netmask 0xffffff00 broadcast 192.168.0.255 >>> media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g >>> status: associated >> >> Maybe it's the same issue as in this thread? >> >> >> > > If that's your thread, it is. Updating to latest HEAD should have the > fix. =C2=A0It would be great if you could confirm that everything is > working again with just a plain HEAD. > > /bz > > -- > Bjoern A. Zeeb =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0The greatest risk is not taking one. > Moved to yesterday's -CURRENT, all is well, thanks guys --=20 And what is good, Phaedrus, And what is not good=E2=80=94 Need we ask anyone to tell us these things? From owner-freebsd-net@FreeBSD.ORG Sat Mar 21 23:01:52 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 043621065674 for ; Sat, 21 Mar 2009 23:01:52 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: from mail-ew0-f171.google.com (mail-ew0-f171.google.com [209.85.219.171]) by mx1.freebsd.org (Postfix) with ESMTP id 802508FC0C for ; Sat, 21 Mar 2009 23:01:51 +0000 (UTC) (envelope-from rpaulo@gmail.com) Received: by ewy19 with SMTP id 19so1001366ewy.43 for ; Sat, 21 Mar 2009 16:01:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:mime-version:subject:date :x-pgp-agent:x-mailer; bh=a0BY2abMCPMuSpQ4PPA3fTanXE4VOW+6pcycsc1Br78=; b=cdF+EKkBYNdmRTfFj6W8YVJrcPH4r/z3qOFCiEutyWhW7okZKjor5Va6mrqKQ9KbCM aT4bPm9xAdkWDdWDgePAf0E7g6p12X0MvSBOghJBIi62epF8YZLQ/9LNtjfTBPpjS29J /JwYowC7+PsLuxjhsJHOsFb5eomr9theXYUis= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-pgp-agent:x-mailer; b=sjGRy954RSUbni5mxUDwKiDXsNpxZhuMpyjNPigBQ37576ZMcTxCCFSbPN58deso/G 7QNiKt0I9aTg/BjkOjGOuI6LJYzTXiRpcOcjMchVVh5UHtOA4+EPX3zPTVgN+Z1RJ1dn yS8V5FfrNop60MLxNhDKR++mNSpeZwMd4grY4= Received: by 10.210.65.15 with SMTP id n15mr979862eba.19.1237676510525; Sat, 21 Mar 2009 16:01:50 -0700 (PDT) Received: from epsilon.lan ([83.144.141.97]) by mx.google.com with ESMTPS id 10sm494385eyd.13.2009.03.21.16.01.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 21 Mar 2009 16:01:50 -0700 (PDT) Message-Id: From: Rui Paulo To: FreeBSD-Net Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-17--476231148" Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Sat, 21 Mar 2009 23:01:30 +0000 X-Pgp-Agent: GPGMail 1.2.0 (v56) X-Mailer: Apple Mail (2.930.3) Subject: HEADS UP: libpcap updated to 1.0.0 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 23:01:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --Apple-Mail-17--476231148 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Hi folks, I just updated the base system libcap to 1.0.0. This new version comes with a new API. Please report any regressions. Thanks, -- Rui Paulo --Apple-Mail-17--476231148 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAknFccoACgkQfD8M/ASTygIJkwCguftWK1PFcgLP48cD+g/mEvcb /S4AoMU5enPdE+rSCwXNnrqqlhVPCy+s =hciv -----END PGP SIGNATURE----- --Apple-Mail-17--476231148-- From owner-freebsd-net@FreeBSD.ORG Sat Mar 21 23:45:53 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2010F1065673 for ; Sat, 21 Mar 2009 23:45:53 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.freebsd.org (Postfix) with ESMTP id A5D598FC14 for ; Sat, 21 Mar 2009 23:45:52 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 15546 invoked by uid 399); 21 Mar 2009 23:45:49 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 21 Mar 2009 23:45:49 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <49C57C2A.7020007@FreeBSD.org> Date: Sat, 21 Mar 2009 16:45:46 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.19 (X11/20090312) MIME-Version: 1.0 To: "Bjoern A. Zeeb" References: <1d3ed48c0903201151o1a0a3ee1te758e70f1be98eb0@mail.gmail.com> <0C3154EE-CED4-433C-B0A9-CC16EE2EB5AD@lassitu.de> <20090321104550.Q67075@maildrop.int.zabbadoz.net> In-Reply-To: <20090321104550.Q67075@maildrop.int.zabbadoz.net> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, Kevin Downey , Stefan Bethke Subject: Re: change in ifconfig out put for wlan devices on -CURRENT X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Mar 2009 23:45:53 -0000 Bjoern A. Zeeb wrote: > If that's your thread, it is. Updating to latest HEAD should have the > fix. It would be great if you could confirm that everything is > working again with just a plain HEAD. I can confirm that with latest HEAD it's back to normal for me with my wpi+wlan. Thanks! Doug -- This .signature sanitized for your protection