From owner-freebsd-hackers Thu Jan 7 11:36:51 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA25198 for freebsd-hackers-outgoing; Thu, 7 Jan 1999 11:36:51 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtpott1.nortel.ca (smtpott1.nortel.ca [192.58.194.78]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA25193 for ; Thu, 7 Jan 1999 11:36:50 -0800 (PST) (envelope-from Andrew.Atrens.atrens@nt.com) Received: from zcars01t by smtpott1; Thu, 7 Jan 1999 14:35:49 -0500 Received: from wmerh01z.ca.nortel.com by zcars01t; Thu, 7 Jan 1999 14:34:53 -0500 Received: from hcarp00g.ca.nortel.com (atrens@hcarp00g.ca.nortel.com@wmerh01z) by wmerh01z.ca.nortel.com with ESMTP (8.7.1/8.7.1) id OAA09825; Thu, 7 Jan 1999 14:34:52 -0500 (EST) Date: Thu, 7 Jan 1999 14:43:50 -0500 (EST) From: "Andrew Atrens" Reply-To: "Andrew Atrens" To: "Viren R. Shah" cc: Jim Mercer , freebsd-hackers@FreeBSD.ORG Subject: Re:utility for setting PNP info in /etc/rc.conf? In-Reply-To: <199901071854.NAA86615@jabberwock.rstcorp.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 This approach worked fine for me too... Prior to elfing my kernel I was using `dset' to accomplish same, but it appears to yack on the elf kernel with something cryptic like: | | --root@churchill:/usr/home/andrew-- | # dset -v | Boot image: /kernel1 | | Table: _isa_devtab_tty | ---------------------------------------------------- | dset: read | Oh well, maybe my etc directory is too out of date :) ... at any rate I prefer this new(er) approach. Andrew -- +----------------------------------------------------+ = Andrew Atrens - Nortel Networks (atrens@nortel.ca) = = P.O. Box 3511, Station C Ottawa, Canada = = = = All opinions expressed are mine, not Nortel's. = +----------------------------------------------------+ On Thu, 7 Jan 1999, Viren R. Shah wrote: > Date: Thu, 7 Jan 1999 13:54:21 -0500 (EST) > From: Viren R. Shah > To: Jim Mercer > Cc: freebsd-hackers@FreeBSD.ORG > Subject: Re:utility for setting PNP info in /etc/rc.conf? > > >>>>> "Jim" == Jim Mercer writes: > > Jim> i've got a PNP modem in one of my servers. > > Jim> unfortunately, whenever i put a new kernel in place, i physically have to > Jim> re-initialize the kernel using "boot -c, etc". > > Jim> is there a method to do this in /etc/rc.local or something? > > For -current, use the load command in /boot/boot.conf: > > load -t userconfig_script /boot/pnp.config > > The, in /boot/pnp.config have something like: > > USERCONFIG > pnp 1 1 os enable port0 0x534 port2 0x220 port3 0xe0d irq0 10 drq0 1 drq1 6 > quit > > > I think a similar approach might work in -stable, putting the info in > pnp.setup into /kernel.config (or /boot.config), but check the > archives. > > Viren > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message