From owner-freebsd-stable Wed Aug 23 3:57:43 2000 Delivered-To: freebsd-stable@freebsd.org Received: from citadel.cequrux.com (citadel.cequrux.com [192.96.22.18]) by hub.freebsd.org (Postfix) with ESMTP id CDFA137B423 for ; Wed, 23 Aug 2000 03:57:36 -0700 (PDT) Received: (from nobody@localhost) by citadel.cequrux.com (8.8.8/8.6.9) id MAA27449 for ; Wed, 23 Aug 2000 12:57:28 +0200 (SAST) Received: by citadel.cequrux.com via recvmail id 27322; Wed Aug 23 12:56:24 2000 Message-ID: <39A3AE82.FFCD5C19@cequrux.com> Date: Wed, 23 Aug 2000 12:59:14 +0200 From: Graham Wheeler Organization: Cequrux Technologies X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 2.2.8-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-stable@freebsd.org Subject: Configuring kernel for ISA cards Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all I sent this to frebsd-questions a while back but got no response, so let me try again here. FreeBSD 3.x introduced the new boot loader stuff. One of the consequences was that changing the kernel config at boot time did not save the changes to the kernel permanently. Instead, it seems, these changes are supposed to go in /boot/loader.rc. The docs seem very sparse about all of this, unless I've somehow missed the relevant material. Now, I was told that the same commands can be used in the loader.rc file as are used in the configuration editor. However, it seems to me that this only holds for PCI cards. When I have tried to configure the IRQ for an ISA card, the loader has complained about a syntax error. I believe the command I used was: irq ed0 10 (I can't confirm for sure, as the machine in question has died a horrible death - came in on Monday morning and half therr libraries in /usr/lib had had their inodes toasted somehow - they were now device nodes with garbgae flags and major/minor number settings. Any attempt at writing to the disk caused a page fault panic. I switched the HDD to another machine with the same results, so I am now reinstalling the OS (3.4 in this case) and doing a bad block scan to see if that helps. But I digress...) Can anyone tell me the right way to specify an IRQ and port setting for a legacy ISA card, without recompiling the kernel? gram To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message