Web lists-archives.com

Re: Activate/deactivate kernel parameters without reboot




	Hi.

On Fri, Mar 30, 2018 at 04:20:53PM +0200, Michael Lange wrote:
> Hi,
> 
> On Fri, 30 Mar 2018 14:40:21 +0300
> Reco <recoverym4n@xxxxxxxxx> wrote:
> 
> > 
> > It won't do any good, because:
> > 
> > # ls -al /sys/module/nouveau/parameters/noaccel
> > -r-------- 1 root root 4096 Mar 30
> > 14:37 /sys/module/nouveau/parameters/noaccel
> > 
> > Permissions of '400' in these case mean that its impossible to change
> > this module parameter via /sys (and changing them to 600 won't work
> > either). So, to answer the original question - yes, the reboot is
> > required.
> 
> I never tried, but shouldn't it be possible to do
> 
>     # modprobe -r nouveau && modprobe nouveau <options> 
> 
> in case one wants to avoid the reboot?
> Just a thought...

It should be possible, but chances are - something is using this
module. Most likely it's X (killing X should solve it) and a kernel
framebuffer (nothing to kill there).

Reboot is a must here, unless one's willing to accept the risk of kernel
panic and force unload nouveau.

Reco