Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116790 - sys-apps/microcode-ctl - remove microcode module after update
Summary: sys-apps/microcode-ctl - remove microcode module after update
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-26 09:39 UTC by ilGino
Modified: 2005-12-26 13:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ilGino 2005-12-26 09:39:59 UTC
Wouldn't it be safer if the /etc/init.d/microcode_ctl script removed the microcode device after update?
In the same manner as the script at start checks for the microcode device and in case loads the microcode module, after updating a line like:

grep -qo ' microcode$' /proc/misc && rmmod microcode >& /dev/null

could try to unload the microcode module so that the microcode device is no more accessible, not even by mistake.
On my system the microcode device is provided as a kernel module and the whole thing in /var/log/message is recorded as:

IA-32 Microcode Update Driver: v1.14 <tigran@veritas.com>
microcode: CPU0 updated from revision 0x0 to 0x13, date = 02062001
IA-32 Microcode Update Driver v1.14 unregistered

Best wishes,
ilGino
Comment 1 SpanKY gentoo-dev 2005-12-26 13:01:47 UTC
ive made it an option in the conf.d file ...

MICROCODE_UNLOAD=yes