LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 01-30-2009, 09:59 AM   #16
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,350

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331

Strange. Have you posted on the lfs-support@linuxfromscratch.org list?
The other thing that springs top mind is to run /sbin/ldconfig, even if you have no modules. This creates certain files (modules.dep notably) and without that, inspection of System.map will throw an error.
 
Old 02-04-2009, 04:02 AM   #17
RikR
LQ Newbie
 
Registered: Feb 2009
Location: Rotterdam
Distribution: LFS / Ubuntu
Posts: 1

Rep: Reputation: 0
Hi,

I have the same message in the kernel log (LFS 6.4):

Feb 3 18:30:15 habitat kernel: Inspecting /boot/System.map-2.6.27.4
Feb 3 18:30:16 habitat kernel: Cannot find map file.
Feb 3 18:30:16 habitat kernel: Loaded 43507 symbols from 1 module.

When I create a symbolic link "System.map":

Feb 4 01:42:53 habitat kernel: Inspecting /boot/System.map-2.6.27.4
Feb 4 01:42:54 habitat kernel: Inspecting /boot/System.map
Feb 4 01:42:54 habitat kernel: Cannot find map file.
Feb 4 01:42:54 habitat kernel: Loaded 43507 symbols from 1 module.

Now I inspected the kernel-log of my Ubuntu 8.10 install, surprise !!!

Feb 4 01:47:10 rik-laptop kernel: Inspecting /boot/System.map-2.6.27-9-generic
Feb 4 01:47:10 rik-laptop kernel: Cannot find map file.
Feb 4 01:47:10 rik-laptop kernel: Loaded 53395 symbols from 100 modules.

So, I think a will rest this for a moment as the LFS install does not show any problems.

Regards.
 
Old 02-05-2009, 02:21 PM   #18
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,350

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Quote:
Originally Posted by trevork1954 View Post
Just an additional note (yes, I know this thread is closed!): I've had exactly the same problem in LFS6.4 with a lovingly hand-crafted kernel and (just like gazza1z) I worked exactly from the book. System.map-($uname -r) is present in /boot AND I soft-linked it to /boot/System.map.

I built LFS 6.3 last year in a similar manner with no problems at all (so it's unlikely I've been an idiot this time).

Unfortunately (according to the klogd manual page) there are some drivers that require the map, so I can't just ignore it (and I hate unexplained things in my distro anyway). There's been no subsequent Internet posting that solves this issue, so I guess I'll have to trawl through the source code for klogd next :-(

Making an all static kernel is bad practise. It's unneccessary overhead which slows things down, and clogs memory. You cannot pass any options to any module. The sound instructions, for one, suggest an all modular sound setup. I am sure you are tripping up something silly in the kernel. I imagine you can check the LFS archives and find a similar thread, where this is explained.
 
Old 06-11-2009, 01:35 AM   #19
jimbox
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
Lightbulb GrUB devices.map

for whoever it may benefit-

the gurb errors 15 and 17 i was getting were due to an incorrect /boot/grub/devices.map file (which is what led me to this thread).

i initially thought it was my System.map file too- but i eventually discovered the problem to lie with devices.map and once rectified grub booted normally.

it was strange b/c i could edit the grub entries during boot and use tab completion to specify the kernel image file and even an initrd.img- so i considered this confirmation that these files actually existed and were being found.... so why wouldnt grub boot to them? well- after changing boot disks and kernel it turned out some of my kernel device names changed for hd0 & hd1 for sda, sdb, hda, etc. using slax to boot i mounted my boot partition and hand edited /boot/grub/devices.map to reflect the correct devices and made sure my /etc/fstab coincided.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mount command cant find smb directories but file-browsers can map to them. robertbas Linux - Networking 2 09-21-2006 03:12 AM
Where can find some articles about /boot/System.map sailershen Linux - General 1 04-02-2006 10:46 PM
SYSERR(root): hash map "generics": missing map file /etc/mail/genericstable.db? singying304 Linux - Networking 4 02-28-2005 06:49 AM
cannot find map file. No module symbols loaded - kernel modules not enabled. jjorloff1 Linux - Software 3 01-06-2005 11:02 AM
DVD Playback error: Unable to find map file (Slackware w/ KDE) shaun85 Linux - Newbie 1 10-15-2004 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration