tech-pkg archive

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

Re: Silent stop for intel-microcode-netbsd



Since the Intel microcode can’t be unloaded (and this should only allow versions greater than what is loaded), it kinda should return error/fail. 

Sent from my iPhone

> On Jul 20, 2020, at 3:24 PM, Pierre Pronchery <khorben%defora.org@localhost> wrote:
> 
>             Hi tech-pkg@,
> 
> intel-microcode-netbsd does not contain a daemon, it simply calls cpuctl(8) to upload the microcode to the CPU. However the RC script only handles the starting sequence. Therefore I would like to commit the change attached, which avoids an irrelevant message upon reboot, and avoids a meaningless error condition.
> 
> Before:
> # /etc/rc.d/intel-microcode stop; echo $?
> microcode not running?
> 1
> 
> After:
> # /etc/rc.d/intel-microcode stop; echo $?
> 0
> 
> OK to commit?
> 
> Cheers & HTH,
> -- 
> khorben
> <patch-microcode_silent_stop.diff>


Home | Main Index | Thread Index | Old Index