| Summary: | Kernel upgrading bug | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jozef Behran <jozef.behran> |
| Component: | New packages | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
| Status: | RESOLVED INVALID | ||
| Severity: | critical | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Jozef Behran
2004-12-31 02:59:53 UTC
1. /usr/src/linux is dynamically created the first time you merge a kernel, it is never automatically updated (that is up to you to do).
2. Yes, and this is expected behaviour. If you feel it is a problem, then you should approach the portage developers about this.
3. Almost certainly incorrect
If the kernel sources are not present, or /usr/src/linux points to something other than your running kernel, then you will get problems when emerging extneral kernel modules e.g. alsa-driver. However the emerge will fail with a clear message ("kernel sources could not be found at ...").
Your system will not suffer otherwise. Failure to boot, hangs, data loss, etc, are not caused by this. My laptop does not have any kernel sources on it: it is quite slow at compiling and doesn't have much disk space. I compile my laptop kernels on my main PC and transfer them over. I have been running this way for months without problems. (One of the things that I like a lot about the Linux kernel is how it is very seperate from "user space" and doesnt really depend on it at all)
We generally do not experience the problem you describe at the start of "Expected Results" (which seems to be entirely different from the main content of your bug report..?) as we apply fixes to our kernel module ebuilds to make them work on all currently supported kernels. If you find any that fail for a particular (and supported) kernel version then please open a bug and we will fix it.
One of the great flexibilities of portage is that it allows you to build things for a kernel that you are *not* currently running (this is especially useful for me building things for my laptop..). Forcing the user to reboot into the kernel they are building for would remove this flexibility.
|