Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 1998 05:30:34 -0400
From:      Adam McDougall <mcdougall@ameritech.net>
To:        Kent A Vander Velden <graphix@iastate.edu>
Cc:        current@FreeBSD.ORG
Subject:   Re: kernel config
Message-ID:  <3571233A.DF5852A7@ameritech.net>
References:  <199805310758.CAA14778@isua2.iastate.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Kent A Vander Velden wrote:

>   Do the -current kernels have a way to automatically enter a few configuration
> commands on startup?  At the moment whenever I install a new kernel I must
> type these lines at the kernel config prompt:
>
> pnp 1 0 os enable port0 0x220 irq0 5 drq0 1 drq1 5 port1 0x330 port2 0x388
> pnp 1 1 os enable port0 0x208
> pnp 1 2 os enable port0 0x620 port1 0xa20 port2 0xe20
>
>   to enable the soundcard.  I have tried to put these lines in /kernel.config
> but that did not seem to change anything.  The file kernel.config
> does not seem to be documentated anywhere that I could find so perhaps
> I am using the wrong syntex.
>
>   I assume that the this functionality is available since typing these
> commands get really old :)
>
>   Thanks.
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message

  yup, add this to the kernel
options         USERCONFIG_BOOT

and edit /kernel.config; here's mine for an example:
# cat /kernel.config
USERCONFIG
pnp 1 0 os disable
pnp 1 1 irq0 10 os enable port0 0x534 port2 0x220 port3 0xe0d drq0 1 drq1 3
pnp 1 2 os disable
pnp 1 3 os disable
quit



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



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