Skip to contentSkip to conversation

small feature request

DISCUSSION Garst R. Reese 5 participants 8 messages Dec 1, 2001 – Dec 6, 2001

lore
Share & tools
lore
#0 lore raw

Would it possible to put a header on System.map indicating the kernel version?
Sometimes my little brain forgets what kernel System.old is for. Thanks, Garst

#1 lore raw
Quoted 6 lines · Garst R. Reese

Would it possible to put a header on System.map indicating the kernel version?
Sometimes my little brain forgets what kernel System.old is for. Thanks, Garst
-

Just name it: System.map.2.4.16-xx (where xx is the build number) This is easy to automate in your install script. Then real system map is "ln -s"ed to the correct file.

Signature · 3 lines
George           [email protected]
High-res-timers: http://sourceforge.net/projects/high-res-timers/
Real time sched: http://sourceforge.net/projects/rtsched/
#2 lore raw
In reply to Garst R. Reese
Quoted 3 lines · Garst R. Reese

Would it possible to put a header on System.map indicating the kernel version?
Sometimes my little brain forgets what kernel System.old is for.

It is on my list for kbuild 2.5, once I start on the new design for reconciling kernel and modules. Goodbye modversions, hello "something that works" (I hope).

#3 lore raw

Yea Keith. Good luck.

Quoted 3 lines · Keith Owens

It is on my list for kbuild 2.5, once I start on the new design for reconciling kernel and modules. Goodbye modversions, hello "something that works" (I hope).

#7 lore raw
In reply to Garst R. Reese

george anzinger wrote (Samstag, 1. Dezember 2001 02:51):

Quoted 10 lines
Quoted 5 lines · Garst R. Reese

Would it possible to put a header on System.map indicating the kernel version?
Sometimes my little brain forgets what kernel System.old is for. Thanks, Garst
-

Just name it: System.map.2.4.16-xx (where xx is the build number) This is easy to automate in your install script. Then real system map is "ln -s"ed to the correct file.

If you have multiple kernels in /boot, name it System.map-2.x.xx-xxxx and let booting kernel decide on his own which map to take. No need for a symlink. If there's a /boot/System.map the kernel will ignore all the other maps.

Thomas.

#4 lore raw
In reply to Keith Owens
Quoted 7 lines · Keith Owens
Quoted 3 lines · Garst R. Reese

Would it possible to put a header on System.map indicating the kernel version?
Sometimes my little brain forgets what kernel System.old is for.

It is on my list for kbuild 2.5, once I start on the new design for

Nooooo!!!!!

Don't break stuff by adding headers. There is already a version in the file. It's in decimal, which sucks, but this will find it:

grep ' Version_' System.map

Adding a random 128-bit ID might be nice, as long as it's done in the same sort of way and is available via /proc. Something like this would do: kern_128_id_UkZd1JLdOvAsALfFEL1UI

#5 lore raw
Quoted 11 lines · Albert D. Cahalan
Quoted 7 lines · Keith Owens
Quoted 3 lines · Garst R. Reese

Would it possible to put a header on System.map indicating the kernel version?
Sometimes my little brain forgets what kernel System.old is for.

It is on my list for kbuild 2.5, once I start on the new design for

Nooooo!!!!!

Quoted 8 lines

Don't break stuff by adding headers. There is already a version in the file. It's in decimal, which sucks, but this will find it:

grep ' Version_' System.map

Adding a random 128-bit ID might be nice, as long as it's done in the same sort of way and is available via /proc. Something like this would do: kern_128_id_UkZd1JLdOvAsALfFEL1UI

Strange, that is exactly what I was think of, adding symbols containing information that tie the kernel, modules and System.map together more reliably than the current "use some random System.map" method.

Do you want those exclamation marks back so they can be recycled?

#6 lore raw
In reply to Albert D. Cahalan
Quoted 12 lines · Albert D. Cahalan
Quoted 7 lines · Keith Owens
Quoted 3 lines · Garst R. Reese

Would it possible to put a header on System.map indicating the kernel version?
Sometimes my little brain forgets what kernel System.old is for.

It is on my list for kbuild 2.5, once I start on the new design for

Nooooo!!!!!

Quoted 8 lines

Don't break stuff by adding headers. There is already a version in the file. It's in decimal, which sucks, but this will find it:

grep ' Version_' System.map

Adding a random 128-bit ID might be nice, as long as it's done in the same sort of way and is available via /proc. Something like this would do: kern_128_id_UkZd1JLdOvAsALfFEL1UI

That grep does not distinguish extra versions.
Garst