| Summary: | Config files in /boot are not the config of the running kernel | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | penguinbait <mlewis> |
| Component: | kernel | Assignee: | John W. Linville <linville> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | gansalmon, itamar, jonathan, kernel-maint, madhu.chinakonda |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-01 18:35:07 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
penguinbait
2012-01-20 17:57:10 UTC
This is probably a result of the f16 kernel using the compat-wireless mechanism. I don't know of a great way to have the resulting /boot/config-<kver> reflect what compat-wireless is building. John, thoughts? The /boot/config-<kver> files only reflect the configuration for the base kernel. The compat-wireless bits are built externally, although we have combined them in the kernel package for Fedora. Adding the compat-wireless bits to the /boot/config-<kver> files directly wouldn't really be correct either -- those files should reflect the base kernel only. We might consider adding the config.mk file from the compat-wireless package or something, but I'm not sure if that is worthwhile either. Anyway, the observation that CONFIG_IWLWIFI is not set in those files is correct. The base kernel was built without it (and several other options), so as to ensure there was no conflict between drivers in the base kernel and those built from the compat-wireless package. If you want to build an upstream tree with your Fedora kernel config then you will either need to modify the config enough to turn-on your wireless drivers or you will need to build the compat-wireless package to go along with your upstream kernel. Personally I think this should in some way be fixed. A user should not have to go through the hassle of building a kernel and then find out they need to start all over. Additionally its not clear to me exactly what options are missing and building a kernel, then to find out you missed something else is a freaking pain. My personal suggestion is either put out a config that represents the actual kernel running or remove the config file from /boot so as to not waste users time and effort. I'm sorry, but I just don't see this as a big hardship for someone that wants to build a kernel from sources rather than using the package provided by Fedora. We actually started installing the config.mk from compat-wireless in /boot a while ago. When F16 rebases to the 3.3 kernel, we won't be using compat-wireless any longer so this won't be an issue going forward. Either way, this bug has been fixed. |