Re: load time module parameters?

2002-11-06 Thread Maxime Henrion
variables. However, you can't easily edit these things once you boot. With kenv(1) you can modify kernel environment variables, which hold the tunables. Previously, you could only set those at boot time. Now you can have load time module parameters, and you can do things like unload a module, change

Re: load time module parameters?

2002-11-06 Thread Terry Lambert
Maxime Henrion wrote: With kenv(1) you can modify kernel environment variables, which hold the tunables. Previously, you could only set those at boot time. Note that there are some values which are used to determine the size of KVA space allocations, and changing them after boot, even if it's

Re: load time module parameters?

2002-11-06 Thread Maxime Henrion
Terry Lambert wrote: Maxime Henrion wrote: With kenv(1) you can modify kernel environment variables, which hold the tunables. Previously, you could only set those at boot time. Note that there are some values which are used to determine the size of KVA space allocations, and changing

Re: load time module parameters?

2002-11-06 Thread Terry Lambert
Maxime Henrion wrote: The kernel environment is most useful for diagnostic porposes, and for use in the way descrived in this thread -- to provide a means of passing parameters that should not be parameters to modules that should not need parameters in the first place. Many times, hacking

load time module parameters?

2002-11-05 Thread Chuck Tuffli
I'm a newbie to FreeBSD and am wondering if there is a way to pass loadable kernel modules parameters. Under Linux, if a module had configurable parameters a and b, you can do something like insmod module.o parameters=a:10 b:5 I noticed that some of the drivers grabed information from the

Re: load time module parameters?

2002-11-05 Thread Dan Nelson
In the last episode (Nov 05), Chuck Tuffli said: I'm a newbie to FreeBSD and am wondering if there is a way to pass loadable kernel modules parameters. Under Linux, if a module had configurable parameters a and b, you can do something like insmod module.o parameters=a:10 b:5 I noticed

Re: load time module parameters?

2002-11-05 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Chuck Tuffli [EMAIL PROTECTED] writes: : I'm a newbie to FreeBSD and am wondering if there is a way to pass : loadable kernel modules parameters. Under Linux, if a module had : configurable parameters a and b, you can do something like : :insmod

Re: load time module parameters?

2002-11-05 Thread M. Warner Losh
In message: [EMAIL PROTECTED] Dan Nelson [EMAIL PROTECTED] writes: : In the last episode (Nov 05), Chuck Tuffli said: : I'm a newbie to FreeBSD and am wondering if there is a way to pass : loadable kernel modules parameters. Under Linux, if a module had : configurable parameters a