From owner-freebsd-stable Mon Aug 27 0: 0:30 2001 Delivered-To: freebsd-stable@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 2057937B405 for ; Mon, 27 Aug 2001 00:00:24 -0700 (PDT) (envelope-from imp@harmony.village.org) 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 f7R70Mq64989; Mon, 27 Aug 2001 01:00:22 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.11.3/8.11.4) with ESMTP id f7R70MW16419; Mon, 27 Aug 2001 01:00:22 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200108270700.f7R70MW16419@harmony.village.org> To: Peter Jeremy Subject: Re: 4.4 RC safe for laptops now? Cc: FreeBSD Stable List In-reply-to: Your message of "Mon, 27 Aug 2001 16:29:11 +1000." <20010827162911.K506@gsmx07.alcatel.com.au> References: <20010827162911.K506@gsmx07.alcatel.com.au> <200108261249.f7QCnM821461@panix1.panix.com> <200108262244.f7QMisW13936@harmony.village.org> Date: Mon, 27 Aug 2001 01:00:21 -0600 From: Warner Losh Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20010827162911.K506@gsmx07.alcatel.com.au> Peter Jeremy writes: : I've now updated to about 16 hours ago - this includes : /sys/pccard/pcic_pci.c 1.54.2.10. I can now eject and insert cards : without hangs, but still no interrupt handling. I've tried: 16 hours ago is too old. You want: >>imp 2001/08/26 18:00:28 PDT >> >> Modified files: >> sys/pccard pcic_pci.c >> Log: >> A number of fixes for the TI-1130 and ISA interrupt routing cases: >> >> o For TI PCI-1130, you need to set bit 5 of register 91 if you want >> ANY pci interrupts. Then set bits 3 and/or 4 as appropriate. This >> will fix those people with 1030, 1130 and 1131 in their machines >> trying to do PCI interrupts. >> o Fix case where we were trying to automatically fail back to ISA >> interrupt routing. We were dereferencing a NULL pointer. This >> was true of ANY chipset. >> o The bus_setup_intr method needs to be pcic_setup_intr so that "FAST" >> interrupts fail on PCI case (modems act flakey if we don't force >> them to fall back to normal interrupts). Also needed so that the >> proper ISA IRQ can be set in the ExCA register. This fixes the >> people whose ISA routing was failing[*]. >> o When we find a generic yenta/pccard bridge, go ahead and print its >> vendor ID in boot verbose. >> >> Machine with theses symptoms and a serial console by: jedgar >> >> [*] Looks like my pc98 machine has some interrupt source on IRQ 15 >> that gave about 30 interrupts per second, which masked this problem on >> my PC-9821Nr15. >> >> Revision Changes Path >> 1.82 +24 -14 src/sys/pccard/pcic_pci.c which is only about 12 hours old :-) . Notice the first item. That's almost certainly why you aren't getting function interrupts. I was turning off the route function interrupts to PCI bit, but selecting no other interrupts via the ExCA registers. Result, no interrupts. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message