Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jul 1998 10:32:12 -0500 (EST)
From:      Alfred Perlstein <bright@hotjobs.com>
To:        Graham Wheeler <gram@cdsec.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Building a kernel with disabled devices
Message-ID:  <Pine.BSF.3.96.980722103038.337K-100000@bright.ny.otec.com>
In-Reply-To: <199807220959.LAA05052@cdsec.com>

next in thread | previous in thread | raw e-mail | index | archive | help
um, notice how the 2 high serial ports (com3 & 4) are disabled?

device      sio3  at isa? disable port "IO_COM4" tty irq 9 vector siointr

do the same thing with keyword "disable"

like:

device ed0 at isa? disable port 0x280 net irq 10 iomem 0xd8000 vector edintr

------------------^^^^^^^^

-Alfred

On Wed, 22 Jul 1998, Graham Wheeler wrote:

> Hi all
> 
> 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.
> 
> TIA
> gram
> -- 
> Dr Graham Wheeler                          E-mail: gram@cdsec.com
> Citadel Data Security                      Phone:  +27(21)23-6065/6/7
> Internet/Intranet Network Specialists      Mobile: +27(83)253-9864
> Firewalls/Virtual Private Networks         Fax:    +27(21)24-3656
> Data Security Products                     WWW:    http://www.cdsec.com/
> 
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 


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?Pine.BSF.3.96.980722103038.337K-100000>