https://bugzilla.novell.com/show_bug.cgi?id=480158 Summary: Kernel 2.6.27.19-3.2 and "giant" external kernel modules Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: AxelKoellhofer@web.de QAContact: qa@suse.de Found By: --- User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.10 (like Gecko) SUSE After updating to newest stable kernel (2.6.27.19-3.2) via YOU, I built some external kernel modules (i.e. for VirtualBox) and noticed something very odd. ls /lib/modules/2.6.27.19-3.2-default/misc/vbox* -l -rw-rw-r-- 1 root root 4188226 27. Feb 00:09 /lib/modules/2.6.27.19-3.2-default/misc/vboxdrv.ko -rw-rw-r-- 1 root root 2448680 27. Feb 00:09 /lib/modules/2.6.27.19-3.2-default/misc/vboxnetflt.ko The "old" kernel modules in /lib/modules/2.6.27.7-9-default/misc/ are a _lot_ smaller -rw-rw-r-- 1 root root 1745121 17. Feb 19:19 vboxdrv.ko -rw-rw-r-- 1 root root 140511 17. Feb 19:19 vboxnetflt.ko So I tried rebuilding a few src.rpms against the newest kernel-source/kernel-syms via "rpmbuild --rebuild" and got the same result. Here an example: "old kernel" -rw-r--r-- 1 axel users 67099 3. Feb 05:41 quickcam-kmp-default-0.6.6_2.6.27.7_9.1-8.31.x86_64.rpm and "new kernel" -rw-r--r-- 1 axel users 354376 26. Feb 04:56 quickcam-kmp-default-0.6.6_2.6.27.19_3.2-8.31.x86_64.rpm This is more than 5 times the size (I even found modules being more than 10 times as big as their "predecessors"): find /lib/modules/ -iname "iwlagn.ko" -exec ls -l {} \; -rw-r--r-- 1 root root 1919218 26. Feb 04:54 /lib/modules/2.6.27.19-3.2-default/updates/drivers/net/wireless/iwlwifi/iwlagn.ko -rw-r--r-- 1 root root 154424 25. Feb 17:38 /lib/modules/2.6.27.19-3.2-default/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko -rw-r--r-- 1 root root 166206 21. Feb 02:05 /lib/modules/2.6.27.7-9-default/updates/drivers/net/wireless/iwlwifi/iwlagn.ko -rw-r--r-- 1 root root 154848 5. Dez 04:11 /lib/modules/2.6.27.7-9-default/kernel/drivers/net/wireless/iwlwifi/iwlagn.ko (I use "compat-wireless" drivers for testing, as one can see all the modules, except the one built from compat-wireless against newest kernel have similar sizes) Taking a closer look at all built flavors for another package: ls -l /usr/src/packages/RPMS/x86_64/hci_usb-kmp* -rw-r--r-- 1 axel users 78342 27. Feb 00:28 /usr/src/packages/RPMS/x86_64/hci_usb-kmp-debug-0.1_2.6.27.19_3.2-2.47.2.x86_64.rpm -rw-r--r-- 1 axel users 77536 27. Feb 00:28 /usr/src/packages/RPMS/x86_64/hci_usb-kmp-default-0.1_2.6.27.19_3.2-2.47.2.x86_64.rpm -rw-r--r-- 1 axel users 77471 27. Feb 00:28 /usr/src/packages/RPMS/x86_64/hci_usb-kmp-trace-0.1_2.6.27.19_3.2-2.47.2.x86_64.rpm -rw-r--r-- 1 axel users 76210 27. Feb 00:28 /usr/src/packages/RPMS/x86_64/hci_usb-kmp-xen-0.1_2.6.27.19_3.2-2.47.2.x86_64.rpm There is no real difference in size, not even for the "kmp-debug" package, which is normally always a lot bigger. Maybe there is some debugging-symbols/information "stored" even if the flavor is not "debug"? I can reproduce this on i586 and x86_64 and in order to be sure, that it is not due to a strange setting in my system (whatever that would be) I also tried this on a a openSUSE 11.1 (i586) freshly installed into Virtual Box. Directly after upgrading to kernel 2.6.27.19-3.2 I got "jumbo" kernel modules. Note: I also tested version 2.6.27.18-0.2 from "update 11.1-test" which gave the same result. Reproducible: Always Steps to Reproduce: 1. Upgrade to newest kernel (at least kernel-source and kernel-syms) version 2.6.27.19-3.2 2. Rebuild kernel module of choice (make or via rpmbuild --rebuild <name>.src.rpm) 3. Compare sizes of *.ko or respective <name>-kmp-flavor-rpm-packages -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.