From owner-freebsd-net@FreeBSD.ORG Mon Mar 23 06:27: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 DBCA1106566C for ; Mon, 23 Mar 2009 06:27:05 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: from hunter.Sisis.de (mail.oclc.de [193.31.11.194]) by mx1.freebsd.org (Postfix) with ESMTP id 1AD638FC0C for ; Mon, 23 Mar 2009 06:27:04 +0000 (UTC) (envelope-from matthias.apitz@oclc.org) Received: (from mail@localhost) by hunter.Sisis.de (8.8.8/8.8.8) id HAA09564 for ; Mon, 23 Mar 2009 07:17:27 +0100 (CET) (envelope-from matthias.apitz@oclc.org) Received: from ppp-93-104-98-76.dynamic.mnet-online.de(93.104.98.76) by hunter.Sisis.de via smap (V2.1) id xma009547; Mon, 23 Mar 09 07:17:06 +0100 Received: (from guru@localhost) by rebelion.Sisis.de (8.14.2/8.13.8/Submit) id n2N6Qdjq002730 for freebsd-net@freebsd.org; Mon, 23 Mar 2009 07:26:39 +0100 (CET) (envelope-from matthias.apitz@oclc.org) Resent-Message-Id: <200903230626.n2N6Qdjq002730@rebelion.Sisis.de> X-Authentication-Warning: rebelion.Sisis.de: guru set sender to matthias.apitz@oclc.org using -f Date: Sun, 22 Mar 2009 13:14:24 +0100 From: Matthias Apitz To: Sam Leffler Message-ID: <20090322121423.GA66444@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) Resent-From: guru@rebelion.Sisis.de Resent-Date: Mon, 23 Mar 2009 07:26:39 +0100 Resent-To: freebsd-net@freebsd.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 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: Mon, 23 Mar 2009 06:27:06 -0000 El día Friday, March 20, 2009 a las 09:06:04AM -0700, Sam Leffler escribió: > 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. Well, I've built an USB key with CURRENT and it boots fine. But there seems to be a problem with the ath0 interface: # uname -a FreeBSD tinyCurrent 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Sun Mar 22 11:47:41 CET 2009 root@rebelion.Sisis.de:/usr/src/myHEAD/obj/usr/src/myHEAD/src/sys/GENERIC i386 # dmesg | fgrep ath ath0: mem 0xfbff0000-0xfbffffff irq 18 at device 0.0 on pci1 ath0: [ITHREAD] ath0: AR2425 mac 14.2 RF5424 phy 7.0 # ifconfig ath0 ath0: flags=8802 metric 0 mtu 2290 ether 00:15:af:b2:ae:e6 media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier # /usr/sbin/wpa_supplicant -i ath0 -c /etc/wpa_supplicant.conf ioctl[SIOCG80211, op 98, len 32]: Invalid argument Failed to initialize driver interface ELOOP: remaining socket: sock=5 eloop_data=0x28406140 user_data=0x2840d040 handler=0x8069f40 With the RELENG_7 kernel I've collected yesterday a better tcpdump when DHCP starts: http://www.unixarea.de/tcp2.txt Thx for any hint 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/