On 5 May 2010 06:58, xinglp <[email protected]> wrote:
> strace result is like below
>
> [pid 440] open("/boot/System.map-2.6.33.3", O_RDONLY) = -1 ENOENT (No such
> file or directory)
> [pid 440] open("/boot/System.map", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> [pid 440] open("/System.map-2.6.33.3", O_RDONLY) = -1 ENOENT (No such file
> or directory)
> [pid 440] open("/System.map", O_RDONLY) = -1 ENOENT (No such file or
> directory)
> [pid 440] open("/usr/src/linux/System.map-2.6.33.3", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> [pid 440] open("/usr/src/linux/System.map", O_RDONLY) = -1 ENOENT (No such
> file or directory)
those should all be perfectly acceptable failures.
> [pid 440] time(NULL) = 1273067890
> [pid 440] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=127,
> ...}) = 0
> [pid 440] write(1, "<4>May 5 21:58:10 kernel: Cannot find map file.\0",
> 49) = 49
> [pid 440] open("/proc/kallsyms", O_RDONLY) = -1 ENOENT (No such file or
> directory)
but this one is very uncommon. I can't even find a way to turn off
CONFIG_KALLSYMS, except by editing .config. Perhaps you have
turned on CONFIG_EMBEDDED ? - if so, you need a lot of kernel
knowledge to get a good build.
> [pid 440] time(NULL) = 1273067890
> [pid 440] stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=127,
> ...}) = 0
> [pid 440] write(1, "<6>May 5 21:58:10 kernel: No module symbols loaded -
> kernel modules not enabled.\n\0", 83) = 83
I haven't tried a build without modules on a recent version of
LFS, but building without modules should be perfectly acceptable.
ĸen
--
After tragedy, and farce, "OMG poneys!"
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page