From owner-freebsd-questions Fri Feb 26 15:30:45 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hawaii.conterra.com (hawaii.conterra.com [209.12.164.32]) by hub.freebsd.org (Postfix) with ESMTP id 33E9314F94 for ; Fri, 26 Feb 1999 15:30:36 -0800 (PST) (envelope-from myself@conterra.com) Received: from dmaddox.conterra.com (myself@dmaddox.conterra.com [209.12.169.48]) by hawaii.conterra.com (8.8.8/8.8.7) with ESMTP id SAA05281; Fri, 26 Feb 1999 18:30:16 -0500 (EST) Received: (from myself@localhost) by dmaddox.conterra.com (8.9.3/8.9.1) id SAA01666; Fri, 26 Feb 1999 18:30:17 -0500 (EST) (envelope-from myself) Date: Fri, 26 Feb 1999 18:30:17 -0500 From: "Donald J . Maddox" To: "Bond, Jeffery" Cc: "'questions@freebsd.org'" Subject: Re: Userconfig wont remember my settings in 3.1-RELEASE Message-ID: <19990226183017.B1364@dmaddox.conterra.com> Reply-To: dmaddox@conterra.com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.1i In-Reply-To: ; from Bond, Jeffery on Fri, Feb 26, 1999 at 09:35:28AM -0000 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If it works, I would say apparently not. You can find out by doing this: $ file /kernel /kernel: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped That's what it says on my -current system. If it's aout, you'll probably see: /kernel: unknown pure executable not stripped In any case, dset definitely doesn't work on ELF kernels. On Fri, Feb 26, 1999 at 09:35:28AM -0000, Bond, Jeffery wrote: > Hi Donald, > > So how come it works with 3.0-RELEASE (it does for me anyhow)? That's got an > ELF kernel hasn't it? > > Cheers, > Jeff > > > -----Original Message----- > > From: Donald J . Maddox [SMTP:dmaddox@conterra.com] > > Sent: Thursday, February 25, 1999 10:43 PM > > To: Bond, Jeffery > > Cc: 'dmaddox@conterra.com'; 'questions@freebsd.org' > > Subject: Re: Userconfig wont remember my settings in 3.1-RELEASE > > > > There used to be a program called 'dset' that could write this > > configuration directly into the a.out kernel image. It doesn't > > work with ELF kernels. That's why you have to do this now. > > > > On Thu, Feb 25, 1999 at 10:11:38AM -0000, Bond, Jeffery wrote: > > > Cheers Donald, > > > > > > Thanks for the help, but why should I have to do this with 3.1-RELEASE, > > it > > > all happened 'automagically' in previous versions? > > > I did get round the problem with brute force by building a custom kernel > > > with only the devices and settings I want, but it's hardly ideal. > > > > > > Regards, > > > > > > Jeff > > > > > > > > > > > > > -----Original Message----- > > > > From: Donald J . Maddox [SMTP:dmaddox@conterra.com] > > > > Sent: Thursday, February 25, 1999 2:37 AM > > > > To: Bond, Jeffery > > > > Cc: 'questions@freebsd.org' > > > > Subject: Re: Userconfig wont remember my settings in 3.1-RELEASE > > > > > > > > You need to add a line like this: > > > > > > > > load -t userconfig_script /boot/kernel.conf > > > > > > > > to your /boot/boot.conf file. Put all your configuration commands > > > > in /boot/kernel.conf. The kernel.conf file will be read at each > > > > boot and you won't have to keep reentering the info over and over. > > > > > > > > On Wed, Feb 24, 1999 at 09:34:37AM -0000, Bond, Jeffery wrote: > > > > > Hello All, > > > > > > > > > > I've just upgraded to 3.1-RELEASE and I am having some trouble with > > the > > > > > kernel userconfig program. I disable all the unwanted devices, and > > tweak > > > > the > > > > > IRQ and IO of my net card, and the kernel then boots fine. Lovely! > > > > > > > > > > The problem is next time I boot (without running userconfig), all > > the > > > > > devices become enabled again, and the IRQ/IO settings are lost. This > > > > used to > > > > > work on 3.0-RELEASE and earlier (ie. the settings were remembered). > > What > > > > > gives? Where are the settings stored? > > > > > > > > > > This is the steps that I perform to run userconfig: > > > > > > > > > > The system starts with the BTX loader 1.0 (whatever that is, it's > > new). > > > > > Then I get a 10 second counter, which I interrupt by pressing a key > > > > > Then I enter 'boot -c' at the prompt (This took a bit of working > > out). > > > > > Lastly I type 'visual' when I get the userconfig prompt. > > > > > Up comes the familliar fullscreen userconfig program. > > > > > > > > > > Help appreciated, > > > > > > > > > > Cheers, > > > > > > > > > > Jeff Bond > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message