Bug 117401

Summary: mkinitrd failed because of missing /boot/System.map
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Ulrich Lange <email>
Component: KernelAssignee: Andreas Gruenbacher <agruen>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ulrich Lange 2005-09-16 01:24:10 UTC
I installed the vanilla kernel 2.6.13.1 for testing for another bug #114017 and
mkinitrd failed with the message:
Fatal: Could not open '/boot/System.map': No such file or directory
There was no symbolic link before.
I set the link and the world was ok.
Comment 1 Andreas Gruenbacher 2005-09-19 16:10:17 UTC
Where did you put System.map? It should be copied  
to /boot/System.map-$KERNEL_RELEASE or /boot/System.map. A ``make install'' in 
the kernel source tree will do that for you. 
Comment 2 Ulrich Lange 2005-09-19 22:50:27 UTC
Yes I did. I copied System.map-$KERNEL_RELEASE to /boot but there was no link
System.map to System.map-$KERNEL_RELEASE (old kernel) before like initrd and
vmlinuz. I guess it should.
I didn“t use make install because I wanted to do this manualy to see how to do
and to have the easy possibility to switch back for testing.
Comment 3 Andreas Gruenbacher 2005-09-20 11:52:27 UTC
/boot/System.map-$KERNEL_RELEASE should be enough; no symlink required. If it 
doesn't, please send the trace resulting from running mkinitrd as ``bin/bash 
-x /sbin/mkinitrd''. Thanks. 
Comment 4 Andreas Gruenbacher 2005-09-29 15:16:20 UTC
Assumed-fixed.