[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
https://bugzilla.novell.com/show_bug.cgi?id=636741
https://bugzilla.novell.com/show_bug.cgi?id=636741#c2
--- Comment #2 from Thomas Renninger
https://bugzilla.novell.com/show_bug.cgi?id=636741
https://bugzilla.novell.com/show_bug.cgi?id=636741#c3
--- Comment #3 from Michal Marek
https://bugzilla.novell.com/show_bug.cgi?id=636741
https://bugzilla.novell.com/show_bug.cgi?id=636741#c4
--- Comment #4 from Michal Marek
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
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