On 05/08/2010 07:47 PM, Carlos E. R. wrote:
On 2010-05-09 02:18, David C. Rankin wrote:
On 05/08/2010 06:28 PM, Carlos E. R. wrote:
else echo "$wm does not exist, please run depmod and mkinitrd manually" >&2 fi
Dunno, but it appears that the weak-modules2 script does it. Maybe in 11.0 they do it differently, but have a look at one of the official kernel's rpms to get an idea.
Carlos,
If it isn't the same it is real, real close. I don't know why, but I do recall the message to run depmod manually, so I guess with the i586 packages, $wm doesn't exist. I have the kernel packages downloaded locally, so install, uninstall and re-installs are no problem. I'll try contacting the packager and see if he know anything more. In the mean time, if you have any other thoughts, please let me know. Thanks.
Well, that script (/usr/lib/module-init-tools/weak-modules2) comes with module-init-tools-3.10-3.2 in my 11.2. Perhaps it is a new script, so your system doesn't have it. My 11.0 is not up right now, I can't check. Maybe the packager of your kernel also has a new set of tools, and he forgot to say, or they weren't pulled in by dependencies, so you don't have it.
Dunno if I make sense. I'm of to bed. :-)
The weak modules have always be a part of the module tree at least as long as I can remember (~10.0'ish - before then, I didn't go there - wasn't safe ;-) In the current 2.6.25.20-0.7, the results of the script are there: 21:03 alchemy:/lib/modules> find ./ -name "weak*" ./2.6.25.20-0.7-default/weak-updates But, interesting, they are not present in the new kernels. What is notable is that on my x86_64 box, the /lib/modules directory looks complete: 21:08 alchemy:/lib/modules> l 2.6.31.12-1-default total 2348 drwxr-xr-x 4 root root 4096 2010-04-19 08:53 ./ drwxr-xr-x 18 root root 4096 2010-04-14 12:44 ../ drwxr-xr-x 12 root root 4096 2010-04-16 00:50 kernel/ drwxr-xr-x 2 root root 4096 2010-04-16 00:50 vdso/ -rw-r--r-- 1 root root 504692 2010-04-19 08:53 modules.alias -rw-r--r-- 1 root root 3902 2010-02-09 04:19 modules.builtin -rw-r--r-- 1 root root 69 2010-04-19 08:53 modules.ccwmap -rw-r--r-- 1 root root 424145 2010-04-19 08:53 modules.dep -rw-r--r-- 1 root root 1257 2010-04-19 08:53 modules.ieee1394map -rw-r--r-- 1 root root 218 2010-04-19 08:53 modules.inputmap -rw-r--r-- 1 root root 7209 2010-04-19 08:53 modules.isapnpmap -rw-r--r-- 1 root root 74 2010-04-19 08:53 modules.ofmap -rw-r--r-- 1 root root 87040 2010-02-09 04:19 modules.order -rw-r--r-- 1 root root 334706 2010-04-19 08:53 modules.pcimap -rw-r--r-- 1 root root 1219 2010-04-19 08:53 modules.seriomap -rw-r--r-- 1 root root 205644 2010-04-19 08:53 modules.symbols -rw-r--r-- 1 root root 107 2010-04-19 08:53 modules.unsupported.blacklist -rw-r--r-- 1 root root 757312 2010-04-19 08:53 modules.usbmap However, on the i586 box, the module trees are missing a lot of modules.xyz files: 21:04 zephyr:/lib/modules> l 2.6.31.12-2-pae total 112 drwxr-xr-x 4 root root 4096 2010-05-08 13:42 ./ drwxr-xr-x 24 root root 4096 2010-05-08 13:41 ../ lrwxrwxrwx 1 root root 39 2010-05-08 13:42 build -> /usr/src/linux-2.6.31.12-2-obj/i386/pae/ drwxr-xr-x 12 root root 4096 2010-03-22 12:52 kernel/ -rw-r--r-- 1 root root 4040 2010-03-22 12:50 modules.builtin -rw-r--r-- 1 root root 88741 2010-03-22 12:50 modules.order lrwxrwxrwx 1 root root 26 2010-05-08 13:42 source -> /usr/src/linux-2.6.31.12-2/ drwxr-xr-x 2 root root 4096 2010-05-08 13:42 vdso/ 21:05 zephyr:/lib/modules> l 2.6.32.11-1-pae total 116 drwxr-xr-x 4 root root 4096 2010-05-08 06:13 ./ drwxr-xr-x 24 root root 4096 2010-05-08 13:41 ../ drwxr-xr-x 13 root root 4096 2010-05-08 06:13 kernel/ -rw-r--r-- 1 root root 4064 2010-04-06 06:13 modules.builtin -rw-r--r-- 1 root root 91587 2010-04-06 06:13 modules.order drwxr-xr-x 2 root root 4096 2010-05-08 06:13 vdso/ How do I get the rest of the modules.xyz file in the new kernel module trees? I'll give depmod --basedir /lib/modules/version" a bit of research and see if I can get it sorted. If you can think of anything else, let me know. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org