On Mon, 15 Jul 2013, [email protected] wrote: > Le 15/07/2013 18:30:05, Henrique de Moraes Holschuh a écrit : > > It is a trigger, it causes the kernel to take action when you write > > "1" to it. It doesn't have any meaningful contents. And if writing > > to it hangs, it is because of a kernel bug. > > OK, so what can I do to stop this?
If you are using modular microcode (i.e. there's a microcode.ko somewhere under the /lib/modules/<kernel version> folders), you just need to remove it and rebuild the initramfs. To unwedge the package install: edit /var/lib/dpkg/info/intel-microcode.postinst with a simple text editor (vim, emacs or nano recommended). Add "exit 0" as the second line of the script (leave the first line that starts with #! alone). Do the same to /var/lib/dpkg/info/amd64-microcode.postinst, if it is there. Run "dpkg --pending --configure" to clean up, and continue the install with aptitude. After that, you *must* make sure you removed "microcode.ko" from /lib/modules/*, AND you must run "update-initramfs -u" to regenerate the initramfs without microcode support. Otherwise, it will hang during boot(!). > I can’t install, upgrade or reinstall any package. That's easy to fix, what I'm worried about is that you must NOT end up with a initramfs with microcode update support, because that would most likely hang your system during boot. Try to use "lsinitramfs" to make sure there is no microcode.ko inside the initramfs your kernel will load on boot (they get stored on /boot/initrd.img-<kernel-version>), just in case. Really, you should fix that kernel. I suggest you switch to either Debian Wheezy's 3.2 long-term kernel, or upstream's 3.4 long-term kernel. Alternatively, I can prepare updated packages post-haste that blacklist anything between 2.6.33 (inclusive) and 3.0 (exclusive), but that will take a little while to do, at least 12 hours. -- "One disk to rule them all, One disk to find them. One disk to bring them all and in the darkness grind them. In the Land of Redmond where the shadows lie." -- The Silicon Valley Tarot Henrique Holschuh -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

