Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33309 - sys-apps/microcode-ctl doesn't work with recent 2.6.0-test kernels
Summary: sys-apps/microcode-ctl doesn't work with recent 2.6.0-test kernels
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: High enhancement
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-12 09:35 UTC by Priit Laes (IRC: plaes)
Modified: 2004-04-09 08:46 UTC (History)
2 users (show)

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


Attachments
a patch for /etc/init.d/microcode (microcode.patch,745 bytes, patch)
2003-12-28 11:52 UTC, Paul Belt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Priit Laes (IRC: plaes) 2003-11-12 09:35:21 UTC
/dev/cpu/microcode is now under /dev/misc/microcode with symlink to /dev/microcode and so the microcode_ctl update fails.
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2003-11-12 15:37:20 UTC
Okay, this is just as simple as changing "#define MICROCODE_DEVICE_DEFAULT" in the source... The problem we'll get here though is that if you statically change it to the 2.6 device, it would fail on 2.4.

Easy solution:- use the '-d flag'. I've added a little einfo the the ebuild in CVS.
Comment 2 Paul Belt 2003-12-28 11:52:13 UTC
Created attachment 22762 [details, diff]
a patch for /etc/init.d/microcode

a patch for the init-script... slightly more elegant solution than a simple
ebuild comment as this will work when dual-booting 2.4.x and 2.6.x
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2003-12-28 15:14:20 UTC
Seemant, as you've tarballed the whole thing can you patch this in and remove the 2.6 comment? Thanks.
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-28 23:55:42 UTC
not fixed, till I put the patch on the mirrors
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2004-03-22 02:23:30 UTC
Tim, what was I supposed to do with this again?
Comment 6 Tim Yamin (RETIRED) gentoo-dev 2004-03-22 09:23:25 UTC
Seemant: Can you please apply the patch on this bug to the initialization script which I think you rolled up and remove the comment in the ebuild regarding this? Thanks!
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2004-04-09 08:46:22 UTC
done