Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 1998 03:26:56 +0200 (CEST)
From:      Oliver Fromme <olli@dorifer.heim3.tu-clausthal.de>
To:        freebsd-multimedia@FreeBSD.ORG
Subject:   Re: How to PnP without booting -c?gy
Message-ID:  <199808310126.DAA08402@dorifer.heim3.tu-clausthal.de>

next in thread | raw e-mail | index | archive | help
I wrote in list.freebsd-multimedia:
 > Luigi Rizzo wrote in list.freebsd-multimedia:
 >  > > Shouldn't it be possible to take the userconfig data (in
 >  > > particular, the PnP configuration data) and put it into a
 >  > > different kernel file?  I experimented with dset and "sysctl
 >  > > -w kern.bootfile=/kernel.new" and things like that, but it
 >  > > didn't work.
 >  > 
 >  > not sure because the symbol tables are also read from the new file i think.
 >  > You'd need to tel "dset" that the pnp config is in the first file, but
 >  > must be written in the second one. Or, add a couple of options to dset,
 >  > one to fetch the pnp info from one kernel, the other one to write the
 >  > previously dumped data into another kernel. Not hard at all, if you
 >  > look at the #ifdef PNP in dset.c 
 > 
 > Thanks for the hint, I will look at that.

So I did look at it, and I hacked an extension into dset.c
so I can write the config info to a different kernel file.
It works.  :)

Thanks again for the hint, Luigi.  My problem is solved.

Regards
   Oliver

-- 
Oliver Fromme, Leibnizstr. 18/61, 38678 Clausthal, Germany
(Info: finger userinfo:olli@dorifer.heim3.tu-clausthal.de)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-multimedia" in the body of the message



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