From owner-freebsd-stable Thu Feb 11 08:47:42 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA10820 for freebsd-stable-outgoing; Thu, 11 Feb 1999 08:47:42 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from eagle.plab.ku.dk (eagle.plab.ku.dk [130.225.105.63]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA10814; Thu, 11 Feb 1999 08:47:39 -0800 (PST) (envelope-from voland@eagle.plab.ku.dk) Received: (from voland@localhost) by eagle.plab.ku.dk (8.9.2/8.9.1) id RAA27258; Thu, 11 Feb 1999 17:47:20 +0100 (CET) (envelope-from voland) Mime-version: 1.0 Content-type: text/plain; charset="koi8-r" Content-transfer-encoding: 8bit X-Comment-To: Alex Povolotsky To: tarkhil@asteroid.svib.ru Cc: stable@FreeBSD.ORG, questions@FreeBSD.ORG Subject: Re: PNP settings: how to save? References: <199902110714.KAA02509@shuttle.svib.ru> From: Vadim Belman In-Reply-To: Alex Povolotsky's message of "Thu, 11 Feb 1999 10:14:07 +0300" Date: 11 Feb 1999 17:47:19 +0100 Message-ID: <85btj0anvs.fsf@eagle.plab.ku.dk> Lines: 36 X-Mailer: Gnus v5.5/Emacs 20.3 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Alex! On 11 Feb 99 at 08:14, "Alex" (Alex Povolotsky) wrote: Alex> Hello! I've noticed that my system upgraded to -STABLE from Alex> 3.0-RELEASE doesn't save PNP settings. dset has been removed from Alex> source tree and rc. Alex> Am I supposed to set up PNP on each boot? I would recommend you the following way of configuring PNP devices: Put the following lines into /boot/boot.conf: load kernel load -t userconfig_script /kernel.config autoboot Of course, you need only the second line if you already have a boot.conf filled with some commands. Put all the configuration commands you need into /kernel.config in the same way you type them when configuring the kernel. Here is my /kernel.config, for instance: pnp 1 0 os enable port0 0x220 port1 0x330 port2 0x388 drq0 3 drq1 5 irq0 5 pnp 1 1 os enable port0 0x200 drq0 4 drq1 4 pnp 1 2 os enable port0 0x620 port1 0xA20 port2 0xE20 drq0 4 drq1 4 quit And here we are! Notice that you don't even depend on kernel recompilation if you use this technique. -- /Voland Vadim Belman E-mail: voland@plab.ku.dk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message