From owner-freebsd-hackers Wed Jul 22 07:32:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA09552 for freebsd-hackers-outgoing; Wed, 22 Jul 1998 07:32:48 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bright.ny.otec.com (bright.ny.otec.com [209.3.16.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA09488 for ; Wed, 22 Jul 1998 07:32:29 -0700 (PDT) (envelope-from bright@hotjobs.com) Received: from localhost (bright@localhost) by bright.ny.otec.com (8.8.8/8.8.8) with SMTP id KAA27193; Wed, 22 Jul 1998 10:32:12 -0500 (EST) (envelope-from bright@hotjobs.com) X-Authentication-Warning: bright.ny.otec.com: bright owned process doing -bs Date: Wed, 22 Jul 1998 10:32:12 -0500 (EST) From: Alfred Perlstein X-Sender: bright@bright.ny.otec.com To: Graham Wheeler cc: hackers@FreeBSD.ORG Subject: Re: Building a kernel with disabled devices In-Reply-To: <199807220959.LAA05052@cdsec.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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