[Bug 480158] New: Kernel 2.6.27.19-3.2 and "giant" external kernel modules
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.
https://bugzilla.novell.com/show_bug.cgi?id=480158 User AxelKoellhofer@web.de added comment https://bugzilla.novell.com/show_bug.cgi?id=480158#c1 --- Comment #1 from Axel Köllhofer <AxelKoellhofer@web.de> 2009-02-26 18:28:00 MST --- I also found at least one "official" package, which shows the same behavior:
From http://download.opensuse.org/distribution/11.1/repo/oss/suse/x86_64/
[ ] acx-kmp-debug-20080210_2.6.27.7_9.1-2.45.x86_64.rpm 05-Dec-2008 04:44 344K Mirrors Metalink [ ] acx-kmp-default-20080210_2.6.27.7_9.1-2.45.x86_64.rpm 05-Dec-2008 04:44 68K Mirrors Metalink [ ] acx-kmp-trace-20080210_2.6.27.7_9.1-2.45.x86_64.rpm 05-Dec-2008 04:44 68K Mirrors Metalink [ ] acx-kmp-xen-20080210_2.6.27.7_9.1-2.45.x86_64.rpm 05-Dec-2008 04:44 68K Mirrors Metalink Looks pretty "normal", the kmp-debug is by far bigger than all the others.
[ ] acx-kmp-debug-20080210_2.6.27.19_3.2-2.1.6.x86_64.rpm 25-Feb-2009 18:53 328K Mirrors Metalink [ ] acx-kmp-default-20080210_2.6.27.19_3.2-2.1.6.x86_64.rpm 25-Feb-2009 18:53 327K Mirrors Metalink [ ] acx-kmp-trace-20080210_2.6.27.7_9.1_20080210_2.6.27.19_3.2-2.45_2.1.6.x86_64.delta.rpm 26-Feb-2009 11:32 302K Mirrors Metalink [ ] acx-kmp-trace-20080210_2.6.27.19_3.2-2.1.6.x86_64.rpm 25-Feb-2009 18:53 327K Mirrors Metalink [ ] acx-kmp-xen-20080210_2.6.27.19_3.2-2.1.6.x86_64.rpm 25-Feb-2009 18:53 325K Mirrors Metalink All packages are of practically the same size. After installing both packages, the sizes of acx.ko differ dramatically (111 x86_64): find /lib/modules/ -iname "acx.ko" -exec ls -l {} \; -rw-r--r-- 1 root root 1675058 25. Feb 18:52 /lib/modules/2.6.27.19-3.2-default/updates/acx.ko -rw-r--r-- 1 root root 244914 5. Dez 04:44 /lib/modules/2.6.27.7-9-default/updates/acx.ko -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=480158 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@novell.com AssignedTo|bnc-team-screening@forge.pr |kernel-maintainers@forge.pr |ovo.novell.com |ovo.novell.com -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=480158 User gregkh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=480158#c2 Greg Kroah-Hartman <gregkh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #2 from Greg Kroah-Hartman <gregkh@novell.com> 2009-02-27 08:45:23 MST --- This is to be expected, debugging is enabled. You need to strip symbols if you want smaller output. -- 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.
participants (1)
-
bugzilla_noreply@novell.com