From owner-freebsd-current@FreeBSD.ORG Thu Aug 25 00:38:53 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B18D9106564A for ; Thu, 25 Aug 2011 00:38:53 +0000 (UTC) (envelope-from deischen@freebsd.org) Received: from mail.netplex.net (mail.netplex.net [204.213.176.10]) by mx1.freebsd.org (Postfix) with ESMTP id 778F58FC13 for ; Thu, 25 Aug 2011 00:38:53 +0000 (UTC) Received: from sea.ntplx.net (sea.ntplx.net [204.213.176.11]) by mail.netplex.net (8.14.4/8.14.4/NETPLEX) with ESMTP id p7P0Jg5q013528 for ; Wed, 24 Aug 2011 20:19:42 -0400 X-Virus-Scanned: by AMaViS and Clam AntiVirus (mail.netplex.net) X-Greylist: Message whitelisted by DRAC access database, not delayed by milter-greylist-4.2.6 (mail.netplex.net [204.213.176.10]); Wed, 24 Aug 2011 20:19:42 -0400 (EDT) Date: Wed, 24 Aug 2011 20:19:42 -0400 (EDT) From: Daniel Eischen X-X-Sender: eischen@sea.ntplx.net To: current@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Subject: ath0 no longer attaches, cardbus problems? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Eischen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Aug 2011 00:38:53 -0000 Hello, I have an older Dell 4150 laptop that takes forever to build world, so I don't update it that often. The last time I updated it was March 1, 2010. I just updated the system yesterday and ath0 (a Linksys PCCard) no longer attaches. The interesting thing is that ath0 is detected at different addresses between the working kernel and the non-working kernel: March 1, 2010 kernel -------------------- ath0: mem 0x88000000-0x8800ffff irq 11 at device 0.0 on cardbus0 ath0: [ITHREAD] ath0: AR5212 mac 5.9 RF5112 phy 4.3 Aug 23, 2011 kernel ------------------- ath0: mem 0xf8f10000-0xf8f1ffff irq 11 at device 0.0 on cardbus0 I've tried forcing successful returns from ar5212SetPowerModeAwake() and ar5212SetResetReg() but it doesn't help (diffs below). Any suggestions on how to get this to work? Full dmesg from working and non-working kernels at http://people.freebsd.org/~deischen/ath/ath.dmesg -- DE [deischen@orion /usr/src/sys/dev/ath]$ svn diff Index: ath_hal/ar5212/ar5212_reset.c =================================================================== --- ath_hal/ar5212/ar5212_reset.c (revision 225101) +++ ath_hal/ar5212/ar5212_reset.c (working copy) @@ -1145,7 +1145,8 @@ /* track PHY power state so we don't try to r/w BB registers */ AH5212(ah)->ah_phyPowerOn = ((resetMask & AR_RC_BB) == 0); - return rt; +// return rt; + return AH_TRUE; } int16_t Index: ath_hal/ar5212/ar5212_power.c =================================================================== --- ath_hal/ar5212/ar5212_power.c (revision 225101) +++ ath_hal/ar5212/ar5212_power.c (working copy) @@ -77,7 +77,9 @@ ath_hal_printf(ah, "%s: Failed to wakeup in %ums\n", __func__, POWER_UP_TIME/50); #endif +#if 0 return AH_FALSE; +#endif } } -- DE