Knowing what options a kernel was compiled with
Is there a way to know what options a running kernel was compiled with, if you dont have access to the source or configure files it was compiled off of?
In particular, I am trying to discover if 'advanced router' and 'equal cost multi path' options are compiled into RH7 kernel-2.2.16-22. I would also like to know if there is a way to discover this information for other settings that do not have a /proc entry or other visible object (eg modules).
I am not following this list currently, so if you would please include my email in the replies, I would appreciate it.
tia,
Jacob Anawalt
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 3 lines · Jacob Anawalt
Is there a way to know what options a running kernel was compiled with, if you dont have access to the source or configure files it was compiled off of?
No. You have to insist that whoever distributes the kernel binary also distributes the .config file that it was compiled with.
Don't bother arguing that the kernel should record this info, it has been discussed before and rejected. This is a problem for the distributors, not for the kernel.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 12 lines · On Sun, 28 Jan 2001 16:06:57 +1100 Keith Owens <[email protected]> wrote:
Quoted 1 line · Jacob Anawalt
Is there a way to know what options a running kernel was
compiled with,
Quoted 1 line
if you dont have access to the source or configure files
it was compiled
Quoted 1 line
off of?
No. You have to insist that whoever distributes the kernel binary also
distributes the .config file that it was compiled with.
Quoted 5 lines
Don't bother arguing that the kernel should record this info, it has
been discussed before and rejected. This is a problem for the
distributors, not for the kernel.
Keith and Jacob,
Some distributions DO include the config. It may be located in the /boot dir with a name CONFIG-2.2.10 or similar. I know that Caldera 2.3 shiped that way(2.4 may also). If you have the install CDROM, the kernel source install may have it (e.g. Linux-Mandrake 7.x).
Matthew
[email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Matthew and Keith,
Thank you to both of you for your input, info, and quick responses. I just wanted to make shure there weren't tricks still in the bag that I hadn't learned about in this area. I'll look for the config file.
Jacob Anawalt
Quoted 26 lines · Matthew Pitts
Quoted 12 lines · On Sun, 28 Jan 2001 16:06:57 +1100 Keith Owens <[email protected]> wrote:
Quoted 1 line · Jacob Anawalt
Is there a way to know what options a running kernel was
compiled with,
Quoted 1 line
if you dont have access to the source or configure files
it was compiled
Quoted 1 line
off of?
No. You have to insist that whoever distributes the kernel binary also
distributes the .config file that it was compiled with.Quoted 5 lines
Don't bother arguing that the kernel should record this info, it has
been discussed before and rejected. This is a problem for the
distributors, not for the kernel.Keith and Jacob,
Some distributions DO include the config. It may be located in the /boot dir with a name CONFIG-2.2.10 or similar. I know that Caldera 2.3 shiped that way(2.4 may also). If you have the install CDROM, the kernel source install may have it (e.g. Linux-Mandrake 7.x).
Quoted 2 lines
Matthew
[email protected]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Well, even if the config file hasn't been included you can presumably _write_ the config file from the kernel setup program...and that is _probably_ the configuration of the kernel you are running n'est-ce-pas?
Roger.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines · Matthew Pitts
Some distributions DO include the config. It may be located in the /boot dir with a name CONFIG-2.2.10 or similar. I know that Caldera 2.3 shiped that way(2.4 may also). If you have the install CDROM, the kernel source install may have it (e.g. Linux-Mandrake 7.x).
I know that some distributions ship .config but not all do. A long way down on my TODO list is "submit a requirement to FHS that .config, System.map and other kernel related text files must be shipped in directory <foo>". I would like <foo> to be /lib/modules/uname -r since that directory is already kernel specific, but we have to handle kernels without modules and disks with restricted size in /lib. However that discussion is best held on the FHS/LSB lists, not l-k.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
Quoted 5 lines · Matthew Pitts
Some distributions DO include the config. It may be located in the /boot dir with a name CONFIG-2.2.10 or similar. I know that Caldera 2.3 shiped that way(2.4 may also). If you have the install CDROM, the kernel source install may have it (e.g. Linux-Mandrake 7.x).
no in Mandrake 7.x it shipped with the documentation of the kernel package.
Signature · 6 lines
MandrakeSoft Inc http://www.chmouel.org
--Chmouel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/Quoted 8 lines · Keith Owens
Quoted 5 lines · Matthew Pitts
Some distributions DO include the config. It may be located in the /boot dir with a name CONFIG-2.2.10 or similar. I know that Caldera 2.3 shiped that way(2.4 may also). If you have the install CDROM, the kernel source install may have it (e.g. Linux-Mandrake 7.x).
Quoted 7 lines
I know that some distributions ship .config but not all do. A long way down on my TODO list is "submit a requirement to FHS that .config, System.map and other kernel related text files must be shipped in directory <foo>". I would like <foo> to be
/lib/modules/uname -rsince that directory is already kernel specific, but we have to handle kernels without modules and disks with restricted size in /lib. However that discussion is best held on the FHS/LSB lists, not l-k.
Speaking of .config, wouldn't it make sense to add some comments to the beginning of that file detailing at least the kernel version this config file was generated for?
Other information like the time the file was generated could be useful as well.
regards
Andreas Ehliar
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/