Re: [PATCH] init/version.c: Define version_string only if

From: linux fan
Date: Thu Nov 05 2009 - 11:13:23 EST


"[PATCH] init/version.c: Define version_string only if"
causes sysklogd to report "Cannot find map"

Latest kernel in which problem did not occur: 2.6.26.8

Expected result:
----------------

Nov 2 21:46:22 lfs syslogd 1.5.0: restart.
Nov 2 21:46:22 lfs kernel: klogd 1.5.0, log source = /proc/kmsg started.
Nov 2 21:46:22 lfs kernel: Inspecting /boot/System.map-2.6.26.8
Nov 2 21:46:22 lfs kernel: Loaded 27578 symbols from /boot/System.map-2.6.26.8.
Nov 2 21:46:22 lfs kernel: Symbols match kernel version 2.6.26.

Actual result:
--------------

Nov 2 18:27:10 lfs syslogd 1.5.0: restart.
Nov 2 18:27:10 lfs kernel: klogd 1.5.0, log source = /proc/kmsg started.
Nov 2 18:27:10 lfs kernel: Inspecting /boot/System.map-2.6.27
Nov 2 18:27:10 lfs kernel: Cannot find map file.
Nov 2 18:27:10 lfs kernel: Loaded 14585 symbols from 3 modules.

Result after reverse applying patch
http://marc.info/?l=linux-kernel&m=121606239729367&w=2
-------------------------

Nov 5 09:44:30 lfs syslogd 1.5.0: restart.
Nov 5 09:44:30 lfs kernel: klogd 1.5.0, log source = /proc/kmsg started.
Nov 5 09:44:30 lfs kernel: Inspecting
/boot/System.map-2.6.31.5-notifndefCONFIG_KALLSYMS
Nov 5 09:44:30 lfs kernel: Loaded 31895 symbols from
/boot/System.map-2.6.31.5-notifndefCONFIG_KALLSYMS.
Nov 5 09:44:30 lfs kernel: Symbols match kernel version 2.6.31.
Nov 5 09:44:30 lfs kernel: Loaded 292 symbols from 2 modules.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/