package microcode.ctl 1.17-1 failed to install: subprocess post-installation script returned error exit status 128

Bug #123145 reported by Daniel J Blueman
10
Affects Status Importance Assigned to Milestone
microcode.ctl (Ubuntu)
Fix Released
Undecided
Unassigned
Hardy
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: microcode.ctl

1. perform fresh install of Gutsy Tribe-2
2. sudo apt-get install microcode.ctl

output is:

Setting up microcode.ctl (1.17-1) ...
udev active, devices will be created in /dev/.static/dev/
dpkg: error processing microcode.ctl (--configure):
 subprocess post-installation script returned error exit status 128
Errors were encountered while processing:
 microcode.ctl
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
Architecture: amd64
Date: Fri Jun 29 22:32:52 2007
ErrorMessage: subprocess post-installation script returned error exit status 128
Package: microcode.ctl 1.17-1
SourcePackage: microcode.ctl

Revision history for this message
nick3092 (nick23423) wrote :

This is happening for me as well on Gutsy Tribe 2, and I have a P4. I believe it occurred under Tribe 1 as well. It appears that the microcode module is not loaded when the package installs. The software is installed, it's just not functional. If you manually run the program, you get:

microcode_ctl: writing microcode (length: 293888)
microcode_ctl: cannot open /dev/cpu/microcode for writing errno=2 (No such file or directory)

I noticed the module was not loaded, so I ldid a " modprobe microcode" before running it, and got:

microcode_ctl: writing microcode (length: 293888)
microcode_ctl: microcode successfuly written to /dev/cpu/microcode

But in the syslog, a different error is coming up after the modprobe is done

Jul 8 20:00:19 localhost kernel: [ 3580.303452] IA-32 Microcode Update Driver: v1.14a <email address hidden>
Jul 8 20:00:19 localhost firmware_helper[13116]: main: error loading '/lib/firmware/intel-ucode/0f-02-04' for device '/class/firmware/microcode' with driver '(unknown)'

Also, in the past I thought the program would report the version of microcode that it updated upon a successful update. I'm not seeing that now. But it looks like two issues are present, the kernel driver is not loading, and the firmware helper seems confused on what it is supposed to do.

Revision history for this message
Giacomo Catenazzi (cate) wrote :

The first issue should be corrected in Debian 1.17-2: I do better error checking and I handle better debconf

The cause: the device was not found (no module loaded?) so postinst calls MAKEDEV, and MAKEDEV prints an error. debconf doesn't like console output (in particolar when debconf helper script are called in the wrong place (to late)).

Anyway Debian 1.17-2 is correct.

The second report is not an issue ;-):

The first part: If you run it manually, you should have also kernel/hardware support. The init.d script load the module, but I think it is not task of the program to load module (see devfsd vs. udev discussions). But then it would be an other question: should udev load the module (hardware found) at boot timet?. Maybe I will add some more info on man page.

The second part: it is correct. the microcode kernel driver have two loading methods: the "old" method with special device /dev/cpu/microcode and a loader "microcode.ctl";and a new method, using firmware kernel infrastructure (which print the warning). Unfortunately the second method is still in development. I think Intel will release it this summer. Anyway, maybe firmware_helper should be improved, because it should be a warning and not an error, and the "driver '(unknown)" is not correct ;-)

Revision history for this message
Giacomo Catenazzi (cate) wrote :

Note:
this bug affect only 1.16-1 and 1.17-1 microcode.ctl version
The new kernel microcode loading infrastructure is include only in kernels 2.6.18 and later.

Revision history for this message
Chris Samuel (chris-csamuel) wrote :

This still happens with 1.17-1 in the release version of Gutsy on EM64T.

Revision history for this message
Giacomo Catenazzi (cate) wrote :

Debian 1.17-2 fix this problem

Changed in microcode.ctl:
status: New → Fix Committed
Revision history for this message
Uqbar (uqbar) wrote :

Up tp date Ubuntu Gutsy (final) on IA-32 (T2400) still has the same problem.
You have to manually load the module first, then you can run the microcode.ctl tool.
The dmesg doesn't show any error message, though.

Revision history for this message
spiritus (sirspiritus) wrote :

> Debian 1.17-2 fix this problem

Debian testing already has 1.17-6. Still 1.17-1 in Ubuntu Gutsy. Does anybody care about bug fixes in Ubuntu?(see no reaction about NFS race condition, sefaulting knetstats and microcode.ctl faulting to install)

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Hardy has version 1.17-2. To fix this issue in Gutsy (and other releases as well), please follow https://wiki.ubuntu.com/StableReleaseUpdates.

Changed in microcode.ctl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.