Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2009 13:14:24 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Sam Leffler <sam@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
Message-ID:  <20090322121423.GA66444@rebelion.Sisis.de>
Resent-Message-ID: <200903230626.n2N6Qdjq002730@rebelion.Sisis.de>
In-Reply-To: <49C3BEEC.6010809@freebsd.org>
References:  <20090317103650.GA6156@rebelion.Sisis.de> <49BF7DE4.4010804@incunabulum.net> <20090317104548.GB6182@rebelion.Sisis.de> <alpine.BSF.2.00.0903171148250.51892@thor.farley.org> <49BFF258.4020207@freebsd.org> <20090319144251.GA13320@rebelion.Sisis.de> <49C2685D.6040801@freebsd.org> <20090320121021.GA2051@rebelion.Sisis.de> <49C3BEEC.6010809@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Atheros 5424/2424> 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<BROADCAST,SIMPLEX,MULTICAST> 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 <matthias.apitz@oclc.org> - w http://www.oclc.org/ http://www.UnixArea.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090322121423.GA66444>