Re: loader tunables for modules
From: Lara & Harti Brandt (brandt_at_fokus.fraunhofer.de)
Date: 05/29/03
- Previous message: Alexander Langer: "loader tunables for modules"
- In reply to: Alexander Langer: "loader tunables for modules"
- Next in thread: Alexander Langer: "Re: loader tunables for modules"
- Reply: Alexander Langer: "Re: loader tunables for modules"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 29 May 2003 16:58:35 +0200 To: Alexander Langer <alex@big.endian.de>
Alexander Langer wrote:
> How would one give flags to kernel modules?
>
> I.e. a kernel module I wrote starts a kernel thread. It should be
> controlable what kernel thread it starts depending on a sysctl.
> Of course the sysctl isn't available before the module is loaded.
>
> So is there a way to pass a kernel module options to the load-handler,
> as it is the case for the linux modprobe?
>
> For statically drivers in the kernel this can be done by a r/o loader
> tunable, but I really want to have a module.
It turns out that kenv is just handy for this. I use it to pass
debugging information and configuration info to the ATM drivers. And you
can set kenv entries from the loader and the shell.
harti
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Alexander Langer: "loader tunables for modules"
- In reply to: Alexander Langer: "loader tunables for modules"
- Next in thread: Alexander Langer: "Re: loader tunables for modules"
- Reply: Alexander Langer: "Re: loader tunables for modules"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- Re: webcams, again
... But you should need gspcav1 kernel module: ... can't load font arial/8
... (Fedora) - Re: webcams, again
... But you should need gspcav1 kernel module: ... can't load font arial/8
... (Fedora) - Re: webcams, again
... But you should need gspcav1 kernel module: ... can't load font arial/8
... (Fedora) - How to properly install Radeon drivers?
... I downloaded FireGL drivers from ati.com, and followed README, which says ...
*** Trying to install a precompiled kernel module. ... Tailored kernel module for
fglrx not present in your system. ... (alt.os.linux.suse) - Re: memory leak (definition?)
... the term "memory leak", ... practical problem only if the execv() can
fail. ... >I am using a 3rd party kernel module that I really do ... If it's
a *KERNEL* module, you have a whole different problem. ... (comp.lang.c)