On Mon, 5 May 2008, Rusty Russell wrote:Umm. modversions is in general a whole lot *more* reliable than just looking at the kernel version. The kernel version is pretty good if you use CONFIG_LOCALVERSION_AUTO and have a git kernel tree, but if not, then modversions is much more likely to stop modules across big infrastructure changes during (say) the merge window. So I agree that modversions is not "reliable", but I think that the alternative is often even *less* reliable, so I find the "don't recommend modversions" comment to be pretty debatable. Since I personally try to avoid modules, and if I do use them I'd prefer the checking to be as strict as possible, I'd really not mind a "strict" mode that tests both MODVERSIONS _and_ the full kernel version string. Along with not allowing forced module loads, of course. I also find it sad that apparently I'm one of the few ones that test with modules turned off. It's both more secure and simpler, but it does cause lots of noise at least during a Fedora boot, and it occasionally breaks the /etc/rc.d scripts because they assume that they have to load modules, and that it's an error if that fails. We had that happen with the iptables scripts not that long ago (and note how that was unrelated to initrd: this is past the point when things have switched to the normal root filesystem). IOW, I wish distros did some testing with non-modular kernels too. Oh well. At least I can generally fix the problems, and make error reports, but I bet it means that most other kernel users simply turn on modules whether they need them or not. Linus --
| Alan Cox | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
| Adrian Bunk | Re: LSM conversion to static interface |
| Greg Kroah-Hartman | [PATCH 004/196] Chinese: add translation of SubmittingPatches |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Andrew Morton | Re: [BUG] New Kernel Bugs |
| Winkler, Tomas | RE: iwlwifi: fix build bug in "iwlwifi: fix LED stall" |
