Summary: | module-rebuild rebuilds for wrong kernel version | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paul Hewlett <paul> |
Component: | New packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Paul Hewlett
2006-11-16 01:43:47 UTC
Eh, post some complete merge output which makes you think that it builds for the old kernel. Because it definitely doesn't do any such thing here. (In reply to comment #0) > cfgpro .../2.6.17-gentoo-r7/.... Actually those lines tell you that the old kernel modules for your running kernel won't be removed due to CONFIG_PROTECT. (In reply to comment #1) > Eh, post some complete merge output which makes you think that it builds for > the old kernel. Because it definitely doesn't do any such thing here. > OK I did it again on another machine (it took longer because KDE is broken requiring an unmerge and re-remerge ) and sure enough the bug has disappeared and you are right - it does not do it so I must have been seeing things. However after some thought I realised that the error occurred when emerging ndiswrapper. Inspection of the ndiswrapper make process reveals 2 bugs viz : - the Makefile gets the kernel version by `uname -r` so it will build for the wrong kernel if you are still running the old kernel before rebooting into the new kernel - as a side issue the logic to chjeck for CONFIG_4KSTACKS is broken - it always reports that the kernel is using 4KSTACKS even when CONFIG_4KSTACKS is not defined. Do you want me to open a new bug for this ? |