Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Feb 1999 18:30:17 -0500
From:      "Donald J . Maddox" <dmaddox@conterra.com>
To:        "Bond, Jeffery" <Jeff.Bond@nectech.co.uk>
Cc:        "'questions@freebsd.org'" <questions@FreeBSD.ORG>
Subject:   Re: Userconfig wont remember my settings in 3.1-RELEASE
Message-ID:  <19990226183017.B1364@dmaddox.conterra.com>
In-Reply-To: <DD2AB7991BC6D211988E00A024AC583B0269AF@exchange.nectech.co.uk>; from Bond, Jeffery on Fri, Feb 26, 1999 at 09:35:28AM -0000
References:  <DD2AB7991BC6D211988E00A024AC583B0269AF@exchange.nectech.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990226183017.B1364>