Date: Wed, 22 Jul 1998 13:07:45 +0200 From: Eivind Eklund <eivind@yes.no> To: Graham Wheeler <gram@cdsec.com>, hackers@FreeBSD.ORG Subject: Re: Building a kernel with disabled devices Message-ID: <19980722130745.43611@follo.net> In-Reply-To: <199807220959.LAA05052@cdsec.com>; from Graham Wheeler on Wed, Jul 22, 1998 at 11:59:31AM %2B0200 References: <199807220959.LAA05052@cdsec.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 22, 1998 at 11:59:31AM +0200, Graham Wheeler wrote: > Another question on kernel building - is there a way that a kernel can be > built in which all the network devices are present but disabled, so that > on the first boot with that kernel none of them are probed? Yes, I know > that I could build a kernel, boot with -c and disable the devices, and > the resulting kernel would be what I want, but I would like to be able > to do this without having to boot the kernel, so that I can have a > Makefile that will build several kernels, each of which will have the > NIC drivers disabled, without having to go through multiple reboots > each time to do the disabling. eivind(bitbox)--% grep disable /sys/i386/conf/GENERIC device apm0 at isa? disable flags 0x31 # Advanced Power Management device sio2 at isa? disable port "IO_COM3" tty irq 5 vector siointr device sio3 at isa? disable port "IO_COM4" tty irq 9 vector siointr eivind(bitbox)--% 'nuf said? Eivind. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980722130745.43611>