Bug 149604 (IT_69400)
| Summary: | modprobe return values buggy. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Abhijit Toley <abhijit.toley> |
| Component: | module-init-tools | Assignee: | Bill Nottingham <notting> |
| Status: | CLOSED WORKSFORME | QA Contact: | Brian Brock <bbrock> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.0 | CC: | linux26port, rvokal, tao |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2005-04-14 19:13:42 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
Abhijit Toley
2005-02-24 13:04:46 UTC
I can't reproduce this. A module built against a separate kernel fails both with a normal modprobe, and with --force-vermagic. --force loads the module, which promptly oopses. Thanks Bill. Thanks for taking a look. Could you kindly throw some light on why we would be facing these problems? Is there a special way in which to compile our modules for modprobe to show the expected behavior? We wish to support newer kernel versions of the LINUX kernel with the older versions of our modules. For that we need a way to know if our modules can be safely loaded on running kernels. We were hoping modprobe will do that for us, but unfortunately we are facing the problems I have mentioned. Thanks and regards, Abhijit Toley. You can read the vermagic with modinfo to check for things like compilers, SMP vs. non-SMP, etc; that should give you those distinctions. We discovered that when we built our modules against kernel trees which did not have the Module.symvers file, modprobe behaved erratically. Otherwise it is working fine now. |