Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2000 18:39:06 +0200
From:      Gerhard Sittig <Gerhard.Sittig@gmx.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: Configuring kernel for ISA cards
Message-ID:  <20000823183906.I252@speedy.gsinet>
In-Reply-To: <39A3AE82.FFCD5C19@cequrux.com>; from gram@cequrux.com on Wed, Aug 23, 2000 at 12:59:14PM %2B0200
References:  <39A3AE82.FFCD5C19@cequrux.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 23, 2000 at 12:59 +0200, Graham Wheeler wrote:
> 
> 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

Have a look at (or create) the /boot/kernel.conf file.  It takes
whatever you want to do with the kernel config (like "boot -c"
and doing things at the config prompt).  And don't forget the
final line with a "q" on it (don't know whether EOF will suffice
for ending configuration -- and strictly speaking I don't want to
test it out with the chance to have an unbootable machine
afterwards:).

Mine looks like this, you can use it as an example:

----- cat /boot/kernel.conf -------
di sio1
q
-----------------------------------

Not really much, I know.  But all to give you an idea. :)


virtually yours   82D1 9B9C 01DC 4FB4 D7B4  61BE 3F49 4F77 72DE DA76
Gerhard Sittig   true | mail -s "get gpg key" Gerhard.Sittig@gmx.net
-- 
     If you don't understand or are scared by any of the above
             ask your parents or an adult to help you.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000823183906.I252>