[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 <sqiu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |sqiu@novell.com Info Provider| |gp@novell.com --- Comment #1 from shuang qiu <sqiu@novell.com> 2009-08-11 04:08:38 MDT --- Please attach y2logs according to http://en.opensuse.org/Bugs/YaST. Thanks! -- 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#c2 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High AssignedTo|bnc-team-screening@forge.pr |mmarek@novell.com |ovo.novell.com | --- Comment #2 from Michal Marek <mmarek@novell.com> 2009-08-11 04:14:36 MDT --- y2logs won't help much, this looks like a weak-modules2 bug. -- 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#c3 --- Comment #3 from Michal Marek <mmarek@novell.com> 2009-08-11 04:15:48 MDT --- Please run as root: # bash -x /usr/lib/module-init-tools/weak-modules2 --add-kmp preload-kmp-default-1.0_2.6.30.2_1-17.5 &>log and attache the 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 gp@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=527312#c4 Gerald Pfeifer <gp@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|gp@novell.com | --- Comment #4 from Gerald Pfeifer <gp@novell.com> 2009-08-12 14:35:14 MDT --- Created an attachment (id=312399) --> (http://bugzilla.novell.com/attachment.cgi?id=312399) logfile, as requested Darn, I had removed the preload and preload-kmp-default packages, and when I tried to reproduce this now (which I had seen more then once in the past), I got: The following NEW package is going to be installed: preload-kmp-default 1 new package to install. Overall download size: 49.0 KiB. After the operation, additional 222.0 KiB will be used. Continue? [y/n/?] (y): y Retrieving package preload-kmp-default-1.0_2.6.31_rc5_git3_2-19.2.x86_64... Installing: preload-kmp-default-1.0_2.6.31_rc5_git3_2-19.2 [done] And no warning of any kind. Still, let me attach the log file. -- 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 gp@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=527312#c5 --- Comment #5 from Gerald Pfeifer <gp@novell.com> 2009-08-12 14:39:50 MDT --- 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)? Conspiracy theory 2: Or when there are several kernels installed? Conspiracy theory 3: Or when I have a symlink within /lib/modules (which I _think_ was not the case here, but...) And now I leave the rest to the pro. :-) -- 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#c6 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #6 from Michal Marek <mmarek@novell.com> 2009-08-13 01:07:51 MDT --- (In reply to comment #5)
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 <mmarek@novell.com> 2009-08-13 01:14:32 MDT --- The last change in this area was http://repo.or.cz/w/mit.git?a=blobdiff;f=suse/weak-modules2;fp=suse/weak-mod... -- 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#c8 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kkaempf@novell.com --- Comment #8 from Klaus Kämpf <kkaempf@novell.com> 2009-08-14 23:43:35 MDT --- Happened to me also during "zypper dup" -- 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#c9 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |kkaempf@novell.com --- Comment #9 from Michal Marek <mmarek@novell.com> 2009-08-17 02:26:06 MDT --- (In reply to comment #8)
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 <kkaempf@novell.com> 2009-08-17 12:03:54 MDT --- No, not for the preload kmp (preload-kmp-default-1.0_2.6.31_rc5_git3_2-19.2 in my case). But /var/log/zypp/history shows it four times: - virtualbox-ose-kmp-{pae, default} - kvm-kmp-{pae, defaul} (see bnc#530655 why there are two kernels installed) -- 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#c11 --- Comment #11 from Klaus Kämpf <kkaempf@novell.com> 2009-08-17 12:07:22 MDT --- Forgot to mention: This is a i686 system. weak-modules2 also does not produce the error with e.g. kvm-kmp-default. Suspicion: Computing the System.map- suffix depends on another binary which is not fully functional as the rpm transaction runs. (Missing prereq ?!) -- 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#c12 --- Comment #12 from Klaus Kämpf <kkaempf@novell.com> 2009-08-17 12:08:17 MDT --- Created an attachment (id=313330) --> (http://bugzilla.novell.com/attachment.cgi?id=313330) The requested log (for preload-kmp-default) -- 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#c13 Klaus Kämpf <kkaempf@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|kkaempf@novell.com | --- Comment #13 from Klaus Kämpf <kkaempf@novell.com> 2009-08-17 12:08:57 MDT --- Created an attachment (id=313332) --> (http://bugzilla.novell.com/attachment.cgi?id=313332) Another log (for kvm-kmp-preload) -- 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#c14 --- Comment #14 from Klaus Kämpf <kkaempf@novell.com> 2009-08-18 07:49:30 MDT --- Todays update to Factory via "zypper up" again showed this bug. However, it is not reproducable with the command mentioned in comment #9 -- 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 <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #313332|text/x-log |text/plain mime type| | -- 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 <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #313330|text/x-log |text/plain mime type| | -- 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#c15 --- Comment #15 from Michal Marek <mmarek@novell.com> 2009-08-20 05:50:28 MDT --- (In reply to comment #13)
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 <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #313330|0 |1 is obsolete| | -- 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 <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #313332|0 |1 is obsolete| | -- 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#c16 --- Comment #16 from Klaus Kämpf <kkaempf@novell.com> 2009-08-25 04:50:47 MDT --- Still happens with 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 kkaempf@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=527312#c17 --- Comment #17 from Klaus Kämpf <kkaempf@novell.com> 2009-08-25 04:54:07 MDT --- (In reply to comment #16)
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 <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #312399|application/octet-stream |text/plain mime type| | Attachment #312399|0 |1 is obsolete| | --- Comment #18 from Michal Marek <mmarek@novell.com> 2009-09-03 07:09:08 MDT --- (From update of attachment 312399) Attachment 312399 also doesn't show the error. -- 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#c19 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WORKSFORME --- Comment #19 from Michal Marek <mmarek@novell.com> 2009-09-03 07:12:31 MDT --- In case either of you hit this bug again - please run # bash -x /usr/lib/module-init-tools/weak-modules2 --add-kmp $kmp &>log where $kmp is the full name-version-release (not just name, this is important) of the KMP that triggered it. Without the a log I'm unable to find out the cause, sorry. -- 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#c20 Michal Marek <mmarek@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|WORKSFORME |FIXED --- Comment #20 from Michal Marek <mmarek@novell.com> 2009-09-15 03:12:22 MDT --- Sometimes it helps to have a second look. The can_replace_kmp() call in remove_kmp() was missing the third argument ($krel), fixed with http://repo.or.cz/w/mit.git?a=commit;h=cc8a827 . BTW The bug only triggered if you had two versions of the same kmp, a kernel version different from the two kmps and (the solver) decided to remove the newer kmp. That's why it only happened sporadically. -- 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 http://bugzilla.novell.com/show_bug.cgi?id=527312#c21 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:released:11.1:28721 --- Comment #21 from Swamp Workflow Management <swamp@suse.com> 2009-12-01 17:39:47 UTC --- Update released for: module-init-tools, module-init-tools-debuginfo, module-init-tools-debugsource Products: openSUSE 11.1 (debug, i586, ppc, x86_64) -- 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 http://bugzilla.novell.com/show_bug.cgi?id=527312#c22 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:released:11.1:28721 |maint:released:11.1:28721 | |maint:released:sle11:28714 --- Comment #22 from Swamp Workflow Management <swamp@suse.com> 2009-12-01 23:09:43 UTC --- Update released for: module-init-tools, module-init-tools-debuginfo, module-init-tools-debugsource Products: SLE-DEBUGINFO 11 (i386, ia64, ppc64, s390x, x86_64) SLE-DESKTOP 11 (i386, x86_64) SLE-SERVER 11 (i386, ia64, ppc64, s390x, x86_64) -- 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 http://bugzilla.novell.com/show_bug.cgi?id=527312#c23 --- Comment #23 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (527312) was mentioned in https://build.opensuse.org/request/show/20454 Factory / module-init-tools -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com