From owner-freebsd-hackers Fri May 17 4:18:22 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from dignus.com (sdsl-64-32-254-102.dsl.iad.megapath.net [64.32.254.102]) by hub.freebsd.org (Postfix) with ESMTP id 7427337B406 for ; Fri, 17 May 2002 04:18:11 -0700 (PDT) Received: from lakes.dignus.com (lakes.dignus.com [10.0.0.3]) by dignus.com (8.11.6/8.11.3) with ESMTP id g4HBDDa21647; Fri, 17 May 2002 07:13:13 -0400 (EDT) (envelope-from rivers@dignus.com) Received: (from rivers@localhost) by lakes.dignus.com (8.11.6/8.11.3) id g4HBEIF51576; Fri, 17 May 2002 07:14:18 -0400 (EDT) (envelope-from rivers) Date: Fri, 17 May 2002 07:14:18 -0400 (EDT) From: Thomas David Rivers Message-Id: <200205171114.g4HBEIF51576@lakes.dignus.com> To: imp@village.org, rivers@dignus.com Subject: Re: pccard hang - how to start debugging? Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <20020516.220410.09368330.imp@village.org> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > In message: <200205161243.g4GChAo48345@lakes.dignus.com> > Thomas David Rivers writes: > : > : OK - > : > : pccard (or, more likely, the pcic driver) hangs when I insert > : my ethernet card into the pcmcia slot on my VAIO F480 (with > : 4.5-RELEASE.) > : > : The entire machine is hung up tight. > : > : When I remove the card, everything comes "alive" again.... > : > : This clearly feels like a missed interrupt somewhere... > : > : So - how do I start to attack this problem? I was thinking DDB > : in the kernel would be the way to go, but if the machine is hung, > : how do I interrupt it? > > Set a breakpoint in pcic_pci_intr before inserting the card. Try > reading various exca registers by hand to see if reading one of them > fixes things. Try looking at the pci memory mapped cardbus registers. > Get lots of datasheets. OK - I'll start looking around.... > > : Any thoughts on how to debug this issue would be greatly > : appreciated. I'm hoping a little stumbling around, err.... debugging, > : will shed light on this. > > Good luck. I fought this one for a long time and gave up in the end > and putting the hw.pcic.intr_path in as a work around. But... that doesn't work for me. If it set it to "1" - the machine will not boot. Also - I need to understand why this machine worked so well with 4.1-RELEASE, and doesn't with 4.5-RELEASE. I'm guessing there was a significant change of some kind?.. - Dave Rivers - -- rivers@dignus.com Work: (919) 676-0847 Get your mainframe programming tools at http://www.dignus.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message