From owner-freebsd-bugs Wed Dec 9 09:10:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA03003 for freebsd-bugs-outgoing; Wed, 9 Dec 1998 09:10:02 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA02948 for ; Wed, 9 Dec 1998 09:09:59 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from Unknown UID 563@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id JAA06058; Wed, 9 Dec 1998 09:10:00 -0800 (PST) Date: Wed, 9 Dec 1998 09:10:00 -0800 (PST) Message-Id: <199812091710.JAA06058@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: David Pick Subject: Re: kern/9030: DMPno2 - PCCards are not being recognised on insertion after system startup Reply-To: David Pick Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/9030; it has been noted by GNATS. From: David Pick To: Nate Williams Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: kern/9030: DMPno2 - PCCards are not being recognised on insertion after system startup Date: Wed, 09 Dec 1998 16:58:29 +0000 In message <199812091526.IAA16917@mt.sri.com>you write: >> >Number: 9030 >> >Category: kern >> >Synopsis: DMPno2 - PCCards are not being recognised on insertion afte >r system startup >> >Confidential: no >> >Severity: serious >> >Priority: high >> >Responsible: freebsd-bugs >> >State: open >> >Quarter: >> >Keywords: >> >Date-Required: >> >Class: sw-bug >> >Submitter-Id: current-users >> >Arrival-Date: Wed Dec 9 03:30:01 PST 1998 >> >Last-Modified: >> >Originator: David Pick >> >Organization: >> >Release: FreeBSD 3.0-RELEASE i386 >> >Environment: >> >> FreeBSD 3.0 installed from Walnut Creek CDROM onto a >> Toshiba Libretto 50CT. >> >> >Description: >> >> PCCards are not being recognised on insertion. > >Here's a quick fix for the problem. The correct fix is to configure >your PCIC controller quickly. The reason this hasn't been done is >no-one with the ability to do it has the time to do it. > >On line 816 of /sys/pcic.c: > if (validslots && pcic_irq <= 0) >Change this to: > if (validslots) > >And it will work. However, you're wasting an IRQ for the PCIC >controller that is doing nothing for you. And indeed it *did* work. Many thanks. I must admit to some curiosity about how/why this causes an IRQ to be wasted, and if the code you advised removing was there only to prevent an IRQ from being wasted; but I guess I'll have to read the code to find out why/what is happening ( ;-) - and if I understand it fix it myself ( ;-) (!) I don't know if it makes any difference, but in the Toshiba Libretto I'm using the PCIC says it's using IRQ 5, and the sound hardware (Yamaha OPL-3) *also* says it uses IRQ 5... I think we can declare this one closed. My thanks again for the excelently quick response. -- David Pick D.M.Pick@qmw.ac.uk a.k.a. Hostmaster@qmw.ac.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message