Bug 18230
Summary: | Kernel symbol versions wrong for enterprise kernel | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Jonathan Larmour <jlarmour> |
Component: | kernel | Assignee: | Michael K. Johnson <johnsonm> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 7.0 | CC: | andrewm |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-04-22 18:02:08 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jonathan Larmour
2000-10-03 16:07:12 UTC
The problem is that the symbol tables are assumed to be the same for the SMP and enterprise kernels. They're not - at least not always. Recompiling should work - but if you need to build modules against the enterprise kernel as distributed with Red Hat 7.0, you can edit the file /usr/src/linux/include/linux/modules/ksyms.ver And add the correct appropriate symbol entries : register_chrdev : 3fcc10b2 interruptible_sleep_on : 34474dfe _wake_up : 457689c6 ...and modify the if/then/else stuff to suit. There are probably more invalid symbols, but those are the only ones I've come across. If you find more, you can get the correct ones from the running enterprise kernel in /proc/ksyms. Yep, thanks for the analysis which is fair enough. I'm happy now personally having rebuilt the kernel, but my main concern was the (inevitable) kernel errata and making sure it does have correct symbols so this isn't a problem in future. Ta, Jifl Is this going to be resolved in the upcoming kernel errata? I hope so! This is still an issue, at least in the latest 6.2 errata. Has this been resolved for kernels in the 7.x series? Yes, it's resolved for 7.1 and 7.2, where the "enterprise" kernel differs only in configuration from the main kernel, thus making the symbols be calculated correctly. The reason the symbols don't match the enterprise kernel in 6.2 is that we have to apply a patch for the enteprise kernel only; we have to do that because of limitations with the 2.2 kernel. That won't be fixed. It's not fixable with a reasonable amount of effort in any way I can think of. So I don't know whether to close this as CURRENTRELEASE or WONTFIX... :-) |