[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Activate/deactivate kernel parameters without reboot



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, Mar 30, 2018 at 04:50:06AM -0300, rv riveravaldez wrote:
> On Thu, Mar 29, 2018 at 11:28 PM, Stefan Monnier
> <monnier@iro.umontreal.ca> wrote:
> >> I'm running with a 'nouveau.noaccel=1' kernel parameter added at hand
> > [...]
> >> Is there any way to deactivate and reactivate such a parameter without
> >> the need to reboot?
> >
> > You can try and change it with
> >
> >     # echo 0 > /sys/modules/<MODULENAME>/parameters/noaccel
> >
> >
> > -- Stefan
> 
> Hi, thanks a lot.
> 
> I tried it in both situations with same result.
> 
> Deactivate:
> 
> # cat /sys/module/nouveau/parameters/noaccel
> 1
> # echo 0 > /sys/module/nouveau/parameters/noaccel
> bash: /sys/module/nouveau/parameters/noaccel: Permiso denegado
> 
> Activate:
> 
> # cat /sys/module/nouveau/parameters/noaccel
> 0
> # echo 1 > /sys/module/nouveau/parameters/noaccel
> bash: /sys/module/nouveau/parameters/noaccel: Permiso denegado
> 
> 
> 'Permiso denegado' means 'Permission denied'.
> 
> 
> What else shoud/could I do?

You have to be root to change those things. Try

  sudo bash -c "echo 0 > /sys/module/nouveau/parameters/noaccel"

It will ask you for your password.

Cheers
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlq+CHYACgkQBcgs9XrR2kbUoQCfSWss+r2d5H9ntGXsj43UERzA
ZkQAn2MFTAEbdefe/mdnYUpHYJ+kNyWb
=sjIM
-----END PGP SIGNATURE-----


Reply to: