When I type "uname -a" I get this: " Linux nimrodel 2.4.19_CER-4GB #15 Sun Feb 23 17:33:35 CET 2003 i686 unknown That "unknown" stands for "procesor", I think (i686 is "machine"): cer@nimrodel:~> uname -p unknown cer@nimrodel:~> uname -m i686 Now, the questions: a) Could that "unknown" be changed, and how? b) Should I? -- Cheers, Carlos Robinson
On Wednesday 19 March 2003 02:44 pm, Carlos E. R. wrote:
When I type "uname -a" I get this: "
Linux nimrodel 2.4.19_CER-4GB #15 Sun Feb 23 17:33:35 CET 2003 i686 unknown
That "unknown" stands for "procesor", I think (i686 is "machine"):
cer@nimrodel:~> uname -p unknown cer@nimrodel:~> uname -m i686
IIRC, you can change that by editing /usr/include/linux/uts.h and recompiling your kernel. If I'm mistaken, someone please set me straight. -- JAY VOLLMER JVOLLMER@VISI.COM TEXT REFS DOUBLEPLUSUNGOOD SELFTHINK VERGING CRIMETHINK IGNORE FULLWISE
Jay Vollmer wrote:
On Wednesday 19 March 2003 02:44 pm, Carlos E. R. wrote:
When I type "uname -a" I get this: "
Linux nimrodel 2.4.19_CER-4GB #15 Sun Feb 23 17:33:35 CET 2003 i686 unknown
That "unknown" stands for "procesor", I think (i686 is "machine"):
cer@nimrodel:~> uname -p unknown cer@nimrodel:~> uname -m i686
IIRC, you can change that by editing /usr/include/linux/uts.h and recompiling your kernel. If I'm mistaken, someone please set me straight.
I have been having a similar problem remastering KNOPPIX. uname -r finds 2.4.19 when I have 2.4.21-pre5. So depmod/modprobe fails. So I did look in /usr/include/linux and also found version.h with 2.4.19. This problem has never been a problem with SuSE. -- 73 de Donn Washburn __ " http://www.hal-pc.org/~n5xwb " Ham Callsign N5XWB / / __ __ __ __ __ __ __ 307 Savoy St. / /__ / / / \/ / / /_/ / \ \/ / Sugar Land, TX 77478 /_____/ /_/ /_/\__/ /_____/ /_/\_\ LL# 1.281.242.3256 a MSDOS Virus "Free Zone" OS Email: n5xwb@hal-pc.org Info: http://www.knoppix.com
The 03.03.19 at 22:44, Donn aka N5XWB wrote:
I have been having a similar problem remastering KNOPPIX. uname -r finds 2.4.19 when I have 2.4.21-pre5. So depmod/modprobe fails.
So I did look in /usr/include/linux and also found version.h with 2.4.19.
At the top of the "/usr/include/linux/version.h" file you can read: #error "You should not include /usr/include/{linux,asm}/ header" #error "files directly for the compilation of kernel modules." You should use instead: /lib/modules/`uname -r`/build/include/linux/version.h which in my case is /lib/modules/2.4.19_CER-4GB/build/include/linux/version.h and reads: #define UTS_RELEASE "2.4.19_CER-4GB" #define LINUX_VERSION_CODE 132115 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) Now, I don't remember when is this file created. I think you need a "make clean dep", but perhaps a "make mrproper" before that (warning: it deletes all configs files). Or perhaps is as simple as a wrong link in /usr/src/linux :.? -- Cheers, Carlos Robinson
The 03.03.19 at 19:33, Jay Vollmer wrote:
Linux nimrodel 2.4.19_CER-4GB #15 Sun Feb 23 17:33:35 CET 2003 i686 unknown
That "unknown" stands for "procesor", I think (i686 is "machine"):
cer@nimrodel:~> uname -p unknown cer@nimrodel:~> uname -m i686
IIRC, you can change that by editing /usr/include/linux/uts.h and recompiling your kernel. If I'm mistaken, someone please set me straight.
Then it would probably be in: /usr/src/linux-2.4.19.SuSE/include/linux/uts.h instead. But there is the definition for "machine", but not for "processor". It is the later one that says "unknown". -- Cheers, Carlos Robinson
participants (3)
-
Carlos E. R.
-
Donn aka N5XWB
-
Jay Vollmer