From owner-freebsd-hackers Fri Jan 8 03:37:10 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA10531 for freebsd-hackers-outgoing; Fri, 8 Jan 1999 03:37:10 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from korin.warman.org.pl (korin.nask.waw.pl [195.187.243.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA10526; Fri, 8 Jan 1999 03:37:05 -0800 (PST) (envelope-from abial@nask.pl) Received: from localhost (abial@localhost) by korin.warman.org.pl (8.9.1/8.8.5) with SMTP id MAA06662; Fri, 8 Jan 1999 12:39:42 +0100 (CET) X-Authentication-Warning: korin.warman.org.pl: abial owned process doing -bs Date: Fri, 8 Jan 1999 12:39:41 +0100 (CET) From: Andrzej Bialecki X-Sender: abial@korin.warman.org.pl To: Luigi Rizzo cc: Andrew.Atrens.atrens@nt.com, viren@rstcorp.com, jim@reptiles.org, freebsd-hackers@FreeBSD.ORG, jkh@FreeBSD.ORG Subject: Re: utility for setting PNP info in /etc/rc.conf? In-Reply-To: <199901071905.UAA09195@labinfo.iet.unipi.it> 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 On Thu, 7 Jan 1999, Luigi Rizzo wrote: > > > 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: > > > > Indeed, dset doesn't seem to work with ELF kernels - I'm quite surprised > > at it, so close to 3.0.1-R... > > what about the "kget" thing you have in FreeBSD, Andrzej ? "kget" also stopped working with difficult to debug problem (stack frame gets corrupted, and I really don't see why). Anyway, in the meantime I added new sysctl machdep.uc_devlist which retrieves list of devices which has been changed during UserConfig session. IMHO, this is the proper way to do it anyway, instead of dirty hacks with /dev/kmem, symbols list etc. etc. So, my development copy of "kget" works just fine again, and what with dset - I don't know. "kget" doesn't write this stuff back to the kernel image (what a disgusting idea...), it just creates /kernel.config. If we come to conclusion that this is what dset should do as well, we can simply rename kget->dset. Andrzej Bialecki -------------------- ++-------++ ------------------------------------- ||PicoBSD|| FreeBSD in your pocket? Go and see: Research & Academic |+-------+| "Small & Embedded FreeBSD" Network in Poland | |TT~~~| | http://www.freebsd.org/~picobsd/ -------------------- ~-+==---+-+ ------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message