From owner-freebsd-mobile Thu Jan 27 18:56:36 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.49]) by hub.freebsd.org (Postfix) with ESMTP id EE0AE15B75 for ; Thu, 27 Jan 2000 18:56:29 -0800 (PST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.9.3/8.9.3) with ESMTP id TAA08646; Thu, 27 Jan 2000 19:56:25 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id TAA51227; Thu, 27 Jan 2000 19:56:34 -0700 (MST) Message-Id: <200001280256.TAA51227@harmony.village.org> To: Andrew Gallatin Subject: Re: pc card removal lockup Cc: freebsd-mobile@FreeBSD.ORG In-reply-to: Your message of "Wed, 26 Jan 2000 23:20:51 EST." <14479.50958.672619.722352@grasshopper.cs.duke.edu> References: <14479.50958.672619.722352@grasshopper.cs.duke.edu> <14478.22223.436708.406272@grasshopper.cs.duke.edu> <200001270029.RAA04459@harmony.village.org> Date: Thu, 27 Jan 2000 19:56:34 -0700 From: Warner Losh Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In message <14479.50958.672619.722352@grasshopper.cs.duke.edu> Andrew Gallatin writes: : Hmm.. why? I thought that PCIC_RESUME_RESET was to be used when your : pccards were not found when your machine resumes. But suspend/resume : works great! (and, in fact, is the only way I can remove cards w/o : rebooting). The theory was that the pcic wasn't properly getting reset after the suspend/resume. It sounds like your irq for the pcic may be wrong. It also sounds like we can't get away with polling mode as default. More on why below. What does the pcic-pci line on your laptop say? You may have already posted this, if so please forgive me. : I was complaining only about the machine locking up when I remove ep0 : while the machine is up & running. Before or after a suspend? However, I'm seeing a different problem on my laptop. It is a Sony VAIO PCG-505TS. It has a Ricoh RL5C475 and an unknown host to pci bridge. Looks like I have the PIIX4 chipset. I'm seeing that the machine wedges tight. It doesn't call the interrupt routine at all before the wedge. I think this is a classic example of the level interrupt turning on and nothing reading or acknowledging it, which causes infinite interrupt. I'm going to have to look at the pci bios stuff to see if there's something there that can be used for this. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message