[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#660288: Please enable CONFIG_KALLSYMS_ALL



Hi Ben,

Your comment about source code is rather off-topic for this bug report, but since there seems to be a misunderstanding on this point, I'd like to clarify: Every Ksplice update tarball ships with a README file containing instructions on how to request the source code for that update from the appropriate people in Oracle Legal. Anyone who follows those instructions can get a copy of the relevant source code.

To briefly clarify my original email, it is true that enabling CONFIG_KALLSYMS_ALL would make life slightly easier for Ksplice and similar tools that look at kernel data structures (e.g. debugging tools). That said, Ksplice doesn't require CONFIG_KALLSYMS_ALL -- the Ksplice Uptrack service has been providing updates for systems running Debian Linux since 2009. While your enabling CONFIG_KALLSYMS_ALL might allow us to delete like 50 lines of code 2 years from now when Squeeze reaches end of life, I submitted this bug report primarily because I'd like it to be the case that other folks developing similar innovative new technologies don't have to do the extra work of supporting !CONFIG_KALLSYMS_ALL in order to support all the major Linux distributions. I hope you'll consider my suggestion on its technical merits.

        Best regards,
        -Tim Abbott

On 06/02/2012 10:51 PM, Ben Hutchings wrote:
On Fri, 2012-02-17 at 15:35 -0500, Tim Abbott wrote:
Package: linux-2.6
Severity: wishlist

(Moving this topic from a debian-kernel thread to the BTS).

Would it be possible to turn on CONFIG_KALLSYMS_ALL in the Debian kernel
for Wheezy? It's a useful debugging option, and makes it easier to
implement useful tools like Ksplice that inspect the code and data
structures of the running kernel, in particular in relation to operating
on modules (one can use System.map to look up addresses for data
structures in the core kernel). Most other major Linux distributions
have had CONFIG_KALLSYMS_ALL enabled in their kernels for some time now
(RHEL, Fedora, Ubuntu, etc.).

The discussion so far of why this option is useful on the debian-kernel
thread is at:
<http://lists.debian.org/debian-kernel/2012/01/msg01017.html>.
So I think you're saying that you need this to make ksplice work.
I would be much more interested in helping you to do that if you would
start releasing source to ksplice patches.

Ben.



--
        -Tim Abbott




Reply to: