[OT?] is there no package containing the raw "vmlinux" kernel image?
Robert P. J. Day
rpjday at crashcourse.ca
Thu Jul 1 12:27:22 UTC 2010
On Thu, 1 Jul 2010, Stefan Bader wrote:
> Its always hard to tell whether things are detailed enough. Try
>
> https://wiki.ubuntu.com/Kernel/Dev and there
> https://wiki.ubuntu.com/KernelTeam/KernelMaintenanceStarter in particular.
great, thanks, i'll check that out, but let me (reluctantly) drag
this out for one most post since i think i found what i want.
to recap (and sorry for boring folks with what are trivialities
relative to what normally happens on this list), i'm updating a lesson
on how to debug a running kernel and loadable modules with simple gdb,
and that requires both access to /proc/kcore and a raw vmlinux file
that corresponds *exactly* to the running kernel.
if a student of mine can rebuild a new kernel and reboot, then it's
trivial. but in some cases, i know some of my students *don't* have
the freedom to reboot the system to get to a new kernel -- they can,
however, download source and configure and build to get a vmlinux file
that (ideally) would match the running kernel.
from reading:
https://help.ubuntu.com/community/Kernel/Compile
all i really want is to download the source tree that was used to
build the running kernel:
$ uname -r
2.6.32-22-generic
$
at which point i can simply configure based on the appropriate
/boot/config file and build, does that make sense?
i installed what *looked* like an appropriate kernel source file:
$ sudo apt-get install linux-source-2.6.32
that gave me a kernel source tar file, i unloaded it and now i have a
source tree. but the actual info is:
ii linux-source-2.6.32 2.6.32-23.37
which doesn't exactly match my current kernel. so ... long story
short, all i want is the pristine, unconfigured source tree that
matches my current kernel, and i'm pretty sure i can take it from
there. i apologize if i'm making this harder than it has to be.
i'm not *trying* to be dense about this, i am merely succeeding.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Top-notch, inexpensive online Linux/OSS/kernel courses
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the kernel-team
mailing list