From owner-freebsd-mobile Fri Nov 9 21:20:41 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id F3E7637B416 for ; Fri, 9 Nov 2001 21:20:32 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id fAA5KVa20790; Fri, 9 Nov 2001 22:20:31 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id fAA5KT758706; Fri, 9 Nov 2001 22:20:30 -0700 (MST) (envelope-from imp@harmony.village.org) Message-Id: <200111100520.fAA5KT758706@harmony.village.org> To: Doug White Subject: Re: card recognized, but pccardd dumps core immediately thereafter. Re: i was mistaken Re: Sprint PCS / AirCard 510? Cc: Pete Fritchman , John Utz , Brad Karp , mobile@FreeBSD.ORG In-reply-to: Your message of "Fri, 09 Nov 2001 18:29:16 PST." References: Date: Fri, 09 Nov 2001 22:20:29 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message Doug White writes: : On Fri, 9 Nov 2001, Pete Fritchman wrote: : : > ++ 09/11/01 11:59 -0600 - John Utz: : > | > pccardd[237]: Card "Sierra Wireless"("AC510 Modem") [(null)] [(null)] matched "Sierra Wireless"("AC510 Modem") [(null)] [(null)] : > | > pccardd[237]: Config id 0 not present in this card : > | > pccardd[237]: Resource allocation failure for "Sierra Wireless"("AC510 Modem") [(null)] [(null)]; Reason specified CIS was not found : > | > : > | > Not 5 minutes ago was the laptop booted, pccardd was dumping core, I ran : > | > pccardc dumpcis, then shut the laptop down. Now it appears to be doing : > | > much better :-) : > | : > | umm, it might have dumped core *after* getting this far. : > : > No, it's still running right now. Hasn't dumped core yet... it was : > fairly instantaneous before. : : I've got a debugging pccardd built and have some dumps to look at. : : It looks like the config information coming out of the slot is missing : some values. pccardd crashes on a null deref trying to hunt down a valid : configuration. You can avoid the crash by specifying a config index in : pccardd.conf (anything but 'auto' and 'default'), but looking at what : pccardd is extracting, I haven't found a magic index yet. Line numbers and gdb tracebacks would be helpful. Patches would be better :-) Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message