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 --
| Andrea Arcangeli | [PATCH 06 of 11] rwsem contended |
| Manu Abraham | PCIE |
| Alex Samad | page swap allocation error/failure in 2.6.25 |
| Rafael J. Wysocki | Re: [Bug 10030] Suspend doesn't work when SD card is inserted |
git: | |
| Elijah Newren | Trying to use git-filter-branch to compress history by removing large, obsolete bi... |
| Andy Parkins | svn:externals using git submodules |
| Junio C Hamano | [ANNOUNCE] GIT 1.5.4 |
| Tommi Virtanen | [PATCH] "git shell" won't work, need "git-shell" |
| Marcos Laufer | dmesg IBM x3650 OpenBSD 4.3 |
| Richard Stallman | Real men don't attack straw men |
| Richard Storm | MAXDSIZ 1GB memory limit for process |
| Edd Barrett | Re: OpenBSD in the webcomic XKCD |
| Felix Radensky | RE: e1000e "Detected Tx Unit Hang" |
| Sami Farin | Re: Linux 2.6.27.5 / SFQ/HTB scheduling problems |
| Jeff Garzik | Re: [PATCH] sky2: jumbo frame regression fix |
| Indan Zupancic | Re: Realtek 8111C transmit timed out |
