[Bug 636741] New: get_kernel_version does not work for 2.6.35 and above kernels anymore
https://bugzilla.novell.com/show_bug.cgi?id=636741 https://bugzilla.novell.com/show_bug.cgi?id=636741#c0 Summary: get_kernel_version does not work for 2.6.35 and above kernels anymore Classification: openSUSE Product: openSUSE 11.4 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Minor Priority: P5 - None Component: Basesystem AssignedTo: ro@novell.com ReportedBy: trenn@novell.com QAContact: qa@suse.de Found By: Development Blocker: --- I tried on a self-built git kernel, the output is: /sbin/get_kernel_version vmlinux invalid=1 for + 2.6.35+ Is this known? Should I look into it? -- 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=636741 https://bugzilla.novell.com/show_bug.cgi?id=636741#c1 Thomas Renninger <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mmarek@novell.com --- Comment #1 from Thomas Renninger <trenn@novell.com> 2010-09-02 20:25:56 UTC --- Ehh, I just realize that mkinitrd also uses get_kernel_version and does not find the System.map because of this: treptau:/boot/:[0]# mkinitrd -k /boot/vmlinuz-2.6.35 -i /boot/initrd-2.6.35 Kernel version: 2.6.35+ Kernel image: /boot/vmlinuz-2.6.35 Initrd image: /boot/initrd-2.6.35 SYSTEM MAP 1 : /boot/System.map-2.6.35+ Could not find map /boot/System.map, please specify a correct file with -M. -- 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=636741 https://bugzilla.novell.com/show_bug.cgi?id=636741#c2 --- Comment #2 from Thomas Renninger <trenn@novell.com> 2010-09-02 20:33:09 UTC --- Be aware that this works on the same machine with SLE11 kernel. Either I messed something up in my kernel or something changed with 2.6.35 which breaks get_kernel_version. -- 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=636741 https://bugzilla.novell.com/show_bug.cgi?id=636741#c3 --- Comment #3 from Michal Marek <mmarek@novell.com> 2010-09-02 20:38:05 UTC --- Created an attachment (id=387313) --> (http://bugzilla.novell.com/attachment.cgi?id=387313) untested patch -- 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=636741 https://bugzilla.novell.com/show_bug.cgi?id=636741#c4 --- Comment #4 from Michal Marek <mmarek@novell.com> 2010-09-02 20:40:28 UTC --- (In reply to comment #1)
Ehh, I just realize that mkinitrd also uses get_kernel_version and does not find the System.map because of this:
treptau:/boot/:[0]# mkinitrd -k /boot/vmlinuz-2.6.35 -i /boot/initrd-2.6.35
Kernel version: 2.6.35+ Kernel image: /boot/vmlinuz-2.6.35 Initrd image: /boot/initrd-2.6.35 SYSTEM MAP 1 : /boot/System.map-2.6.35+ Could not find map /boot/System.map, please specify a correct file with -M.
This is however a setup bug, the kernel release string is 2.6.35+, so the files should be named as such. -- 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=636741 https://bugzilla.novell.com/show_bug.cgi?id=636741#c5 Thomas Renninger <trenn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Thomas Renninger <trenn@novell.com> 2010-09-03 19:51:56 UTC ---
untested patch Now it's a tested one... -> works.
I already submitted the patch to Base:System/aaa_base. I added it as a separate patch, but could not find a mainline project. If this is SUSE only, Ruediger might want to consider integrating the patch into the source file or send things upstream if there should be a mainline project. -> fixed. Hmm, it's a bit unfortunate that mkinitrd does not work as expected when working on a git tree for 11.3, 11.2, ..., but it's probably not worth adding this there as a maintenance update? -- 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