From owner-freebsd-current@FreeBSD.ORG Thu Mar 22 17:07:03 2007 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 74E6816A402; Thu, 22 Mar 2007 17:07:03 +0000 (UTC) (envelope-from SRS0=a322f81588bc3addd525ab40b40f3f570eb3f7d2=282=es.net=oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.freebsd.org (Postfix) with ESMTP id 359ED13C4D3; Thu, 22 Mar 2007 17:07:03 +0000 (UTC) (envelope-from SRS0=a322f81588bc3addd525ab40b40f3f570eb3f7d2=282=es.net=oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id BTY47353; Thu, 22 Mar 2007 09:54:53 -0700 Received: from ptavv.es.net (ptavv.es.net [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id 48F7F45048; Thu, 22 Mar 2007 09:54:53 -0700 (PDT) To: "Kip Macy" In-Reply-To: Your message of "Thu, 22 Mar 2007 09:15:22 PDT." Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1174582493_75625P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Thu, 22 Mar 2007 09:54:53 -0700 From: "Kevin Oberman" Message-Id: <20070322165453.48F7F45048@ptavv.es.net> Cc: yar@freebsd.org, current@freebsd.org Subject: Re: ifconfig stopped loading driver X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2007 17:07:03 -0000 --==_Exmh_1174582493_75625P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Thu, 22 Mar 2007 09:15:22 -0700 > From: "Kip Macy" > > On 3/22/07, Kevin Oberman wrote: > > For a long time under V6 and current (and probably V5), if I issued an > > ifconfig for my Atheros card, the driver (along with the HAL and rate > > modules) would auto-load and my card would be found. > > > > Starting with my March 19 build, this no longer happens. I need to boot > > single-user and manually load the module if I will need it. I don't want > > the card to start by default since I don't want the radio on when I am > > flying. > > > > Was this a deliberate change or did something break? It is a real pain. > > -- > > R. Kevin Oberman, Network Engineer > > Energy Sciences Network (ESnet) > > Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) > > E-mail: oberman@es.net Phone: +1 510 486-8634 > > Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 > > > > > > > Has devd.conf changed? AFAICT devd is what does the actual loading for > ifconfig. > > -Kip Not really. It is unchanged since Feb 23. And it is not the whole story as it simply configures things when a new device is created. That doesn't happen until after the driver is loaded. I see nothing in devd that would load the driver. There have been no changed to devd, pccard_ether, or devd.conf for some time. I have tried my old kernel and it still fail to load, so it is in userland. Looks like it was a change to ifconfig.c 1.129.by yar that may be a bit more aggressive than he intended: "Attempt to load the kernel module only if we are going to create a new interface." This is a new interface, but the driver still is not getting loaded. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1174582493_75625P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFGArTdkn3rs5h7N1ERAj8jAJwLn2Jc13+3xEKZarjK08zmf9/9WwCePRJl cO/GAqxxaE7pFcf/VVknTNM= =KYJg -----END PGP SIGNATURE----- --==_Exmh_1174582493_75625P--