From owner-freebsd-hackers Thu Dec 26 17:08:10 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id RAA22143 for hackers-outgoing; Thu, 26 Dec 1996 17:08:10 -0800 (PST) Received: from nic.follonett.no (nic.follonett.no [194.198.43.10]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id RAA22138 for ; Thu, 26 Dec 1996 17:08:06 -0800 (PST) Received: (from uucp@localhost) by nic.follonett.no (8.8.3/8.8.3) with UUCP id CAA02920; Fri, 27 Dec 1996 02:06:45 +0100 (MET) Received: from oo7 (oo7.dimaga.com [192.0.0.65]) by dimaga.com (8.7.5/8.7.2) with SMTP id BAA28187; Fri, 27 Dec 1996 01:59:04 +0100 (MET) Message-Id: <3.0.32.19961227015643.009da790@dimaga.com> X-Sender: eivind@dimaga.com X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Fri, 27 Dec 1996 01:56:44 +0100 To: Peter Hawkins From: Eivind Eklund Subject: Re: Help with sb Cc: hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 02:54 AM 12/27/96 +1100, you wrote: > >Thankyou for those who helped. It was indeed the interrupt clash. Moving my >ed1 to irq 9 via 2 freed up irq 5 for sdn0 and it works fine. > >For the record, it seems that dos does not use the printer's irq properly >hence it is possible to steal irq 7 (according to those who helped me). > >In FreeBSD it is not valid to do this. A very interesting question is why 'we' don't check for this and disallow it. The different drivers must know which IRQs they're using, and should be able to allocate these from a pool. If we added a priority system it might even be possible to devices that CAN poll (like the parallell port) to poll if another card/driver 'stole' it's interrupt. I'm unfortuneatly not in a position where I can implement this right now (my only FreeBSD box is running as a server for 12 people who like their files :), but perhaps some of the people thinking about addign PnP could do something? (A system used by only some drivers is still better than no system...) Eivind Eklund / perhaps@yes.no / http://maybe.yes.no/perhaps/