[Bug 527312] New: preload-kmp: FATAL: Could not open '/boot/System.map-': No such file or directory
http://bugzilla.novell.com/show_bug.cgi?id=527312 Summary: preload-kmp: FATAL: Could not open '/boot/System.map-': No such file or directory Classification: openSUSE Product: openSUSE 11.2 Version: Factory Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: gp@novell.com QAContact: qa@suse.de CC: mmarek@novell.com Found By: Product Management Running zypper dup, after zypper up, I got the following: Retrieving package preload-kmp-default-1.0_2.6.30.2_1-17.5.x86_64 (8/9), 49.0 KiB (222.0 KiB unpacked) Retrieving: preload-kmp-default-1.0_2.6.30.2_1-17.5.x86_64.rpm [done] Installing: preload-kmp-default-1.0_2.6.30.2_1-17.5 [done] Additional rpm output: warning: /var/tmp/weak-modules2.R7vjKQ/symvers- not available FATAL: Could not open '/boot/System.map-': No such file or directory depmod exited with error 1 The FATAL line doesn't look good. Not sure whether it is cosmetic or for real, though? # rpm -qa | grep preload preload-1.0-17.5 preload-kmp-default-1.0_2.6.30.2_1-17.5 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=527312
User sqiu@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c1
shuang qiu
http://bugzilla.novell.com/show_bug.cgi?id=527312
User mmarek@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c2
Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=527312
User mmarek@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c3
--- Comment #3 from Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=527312
User gp@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c4
Gerald Pfeifer
http://bugzilla.novell.com/show_bug.cgi?id=527312
User gp@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c5
--- Comment #5 from Gerald Pfeifer
http://bugzilla.novell.com/show_bug.cgi?id=527312
User mmarek@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c6
Michal Marek
Conspiracy theory 1: is it possible this happens in case the running kernel is different from the installed kernel (i.e., when as part of the same zypper dup run we previously updated the kernel)?
Running kernel does not matter, the only uname call in the script is when you run it with --add-kernel without an argument (maybe I should remove this).
Conspiracy theory 2: Or when there are several kernels installed?
Also should not matter and during each kernel update there are two kernels at some point.
Conspiracy theory 3: Or when I have a symlink within /lib/modules (which I _think_ was not the case here, but...)
Some havoc in /lib/modules might be the cause here, yes, but if you look at the add_kmp() function, it only proceeds with given kernel release if there exists /lib/modules/$krel and /boot/System.map-$krel. My private theory is some scripting error that overwrites the $krel variable, but then it should fail more deterministically. IOW I'm clueless here :-). Should you hit it once more, please run bash -x /usr/lib/module-init-tools/weak-modules2 --add-kmp $kmp where $kmp is the name-version-release of the affected kmp. I'll also ask on opensuse-factory if anyone has seen it. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=527312
User mmarek@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c7
--- Comment #7 from Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=527312
User kkaempf@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c8
Klaus Kämpf
http://bugzilla.novell.com/show_bug.cgi?id=527312
User mmarek@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c9
Michal Marek
Happened to me also during "zypper dup"
With the same KMP? Are you able to reproduce the error with # bash -x /usr/lib/module-init-tools/weak-modules2 --add-kmp $kmp &>log ? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=527312
User kkaempf@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c10
--- Comment #10 from Klaus Kämpf
http://bugzilla.novell.com/show_bug.cgi?id=527312
User kkaempf@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c11
--- Comment #11 from Klaus Kämpf
http://bugzilla.novell.com/show_bug.cgi?id=527312
User kkaempf@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c12
--- Comment #12 from Klaus Kämpf
http://bugzilla.novell.com/show_bug.cgi?id=527312
User kkaempf@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c13
Klaus Kämpf
http://bugzilla.novell.com/show_bug.cgi?id=527312
User kkaempf@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c14
--- Comment #14 from Klaus Kämpf
http://bugzilla.novell.com/show_bug.cgi?id=527312
Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=527312
Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=527312
User mmarek@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c15
--- Comment #15 from Michal Marek
Created an attachment (id=313332) --> (http://bugzilla.novell.com/attachment.cgi?id=313332) [details] Another log (for kvm-kmp-preload)
--add-kmp expects full name-version-release of the KMP as argument. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=527312
Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=527312
Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=527312
User kkaempf@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c16
--- Comment #16 from Klaus Kämpf
http://bugzilla.novell.com/show_bug.cgi?id=527312
User kkaempf@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c17
--- Comment #17 from Klaus Kämpf
Still happens with M6
Whoops, sorry, wrong bug. And, while we're at it, the 'System.map-' error did _not_ happen during upgrade to M6. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=527312
User mmarek@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c18
Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=527312
User mmarek@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c19
Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=527312
User mmarek@novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=527312#c20
Michal Marek
http://bugzilla.novell.com/show_bug.cgi?id=527312
http://bugzilla.novell.com/show_bug.cgi?id=527312#c21
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=527312
http://bugzilla.novell.com/show_bug.cgi?id=527312#c22
Swamp Workflow Management
http://bugzilla.novell.com/show_bug.cgi?id=527312
http://bugzilla.novell.com/show_bug.cgi?id=527312#c23
--- Comment #23 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com