Compiling a kernel module results in insmod version mismatch...

2003-07-29 Thread Milton Vega
Hi While I can compile and create a kernel loadable module as shown below, I get a kernel version mismatch in the final result as indicated by the insmod command. Can someone look at the steps below and tell me where I can reconcile this difference. Thank You...

Re: problems compiling a kernel: from a newbie

2003-02-12 Thread Arthur Mueller
Two days ago I had the same problem with RH 7.3. I'm not shure weather I can help you, but my problem were the missing kernel-headers. Notice the following deps: gcc needs glibc-devel, which needs kernel-headers 2.2 But: a packet kernel-headers doesn't exist. Therefore install

problems compiling a kernel: from a newbie

2003-02-11 Thread Darren R. Gitelman
Dear list: I'm sure I'm doing something wrong, but don't know what it is or how to solve it. I've gotten to the make dep part of making a kernel kernel and several dependencies seem unfulfilled. In particular it cannot find stddef.h (which seems to be sitting in /usr/include/linux) and a file

Re: compiling the kernel

2003-01-09 Thread Daniel Callahan
I've written a Mini-HOWTO on compiling the kernel: http://www.eclectic-cheval.net/linux/kr-mhowto.txt I've posted it here for two reasons: 1) In case it will help, and 2) To get suggestions from those who know more than I do. It's licensed under the FDL, so hack away. Daniel. -- Bash forehead

compiling the kernel

2003-01-07 Thread Craig Cameron
Can somebody give me a hand with compiling my kernel. I run make config, and I get an error which essentially says no rule for config. I did a custom install, and only installed networking and DNS BIND. I have a feeling I have to install some developer tools. I tried to install the MAKEDEV

Re: compiling the kernel

2003-01-07 Thread ABrady
On Tue, 7 Jan 2003 12:01:34 -0700 Craig Cameron [EMAIL PROTECTED] wrote: Can somebody give me a hand with compiling my kernel. I run make config, and I get an error which essentially says no rule for config. I did a custom install, and only installed networking and DNS BIND. I have

RE: compiling the kernel

2003-01-07 Thread Craig Cameron
I have nothing under /src/linux No files or directory's. I really think I need to add an RPM. Thanks. -Original Message- From: ABrady [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 12:25 PM To: [EMAIL PROTECTED] Subject: Re: compiling the kernel On Tue, 7 Jan 2003 12:01

Re: compiling the kernel

2003-01-07 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 7 Jan 2003 12:01:34 -0700, Craig Cameron wrote: Can somebody give me a hand with compiling my kernel. I run make config, and I get an error which essentially says no rule for config. Where the heck did you run that command? ;) You must

RE: compiling the kernel

2003-01-07 Thread Craig Cameron
: compiling the kernel -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 7 Jan 2003 12:01:34 -0700, Craig Cameron wrote: Can somebody give me a hand with compiling my kernel. I run make config, and I get an error which essentially says no rule for config. Where the heck did you run

RE: compiling the kernel

2003-01-07 Thread Craig Cameron
I did try make menuconfig, but had the same result. What is the RPM for Kernal hacking? -Original Message- From: Daniel Callahan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 12:19 PM To: [EMAIL PROTECTED] Subject: Re: compiling the kernel On Tuesday 07 January 2003 13:01

Re: compiling the kernel

2003-01-07 Thread Daniel Callahan
On Tuesday 07 January 2003 13:01, Craig Cameron wrote: Can somebody give me a hand with compiling my kernel. I run make config, and I get an error which essentially says no rule for config. I did a custom install, and only installed networking and DNS BIND. I have a feeling I have

RE: Problem Compiling Linux Kernel 2.4.20

2002-12-19 Thread Kevin McConnell
--- Florin Andrei [EMAIL PROTECTED] wrote: Corrupted kernel tarball then? Download/unpack/compile again? Did you also verify the source using the PGP key? How about making the required links to the linux-2.4.20 dir? ln -s /usr/src/linux-2.4.20 linux ln -s /usr/src/linux-2.4.20 linux-2.4

RE: Problem Compiling Linux Kernel 2.4.20

2002-12-17 Thread Florin Andrei
On Mon, 2002-12-16 at 14:45, Joseph D. Wagner wrote: [root@localhost linux-2.4.20]# make xconfig cat header.tk ./kconfig.tk ./tkparse ../arch/i386/config.in kconfig.tk -: 6: unknown command make[1]: *** [kconfig.tk] Error 1 Did you installed the Tcl and Tk stuff? -- Florin Andrei

RE: Problem Compiling Linux Kernel 2.4.20

2002-12-17 Thread Joseph D. Wagner
Sent: Tuesday, December 17, 2002 11:35 AM To: [EMAIL PROTECTED] Subject: RE: Problem Compiling Linux Kernel 2.4.20 On Mon, 2002-12-16 at 14:45, Joseph D. Wagner wrote: [root@localhost linux-2.4.20]# make xconfig cat header.tk ./kconfig.tk ./tkparse ../arch/i386/config.in kconfig.tk -: 6

Re: Problem Compiling Linux Kernel 2.4.20

2002-12-17 Thread Yasuo Yamasaki
Hi, Joseph (1) I can do make xconfig 2.4.20 on RedHat Linux 8.0(LANG=C CC=gcc296). (2) I did some experiment. slime% cd /usr/src/v2.4/linux-2.4.20 slime% ./scripts/tkparse ^M... CNTL-V + CNTL-M + RET -: 1: unknown command slime% Are there extra \r charactors in your

Re: Problem Compiling Linux Kernel 2.4.20

2002-12-16 Thread John
On Mon, 16 Dec 2002, Joseph D. Wagner wrote: I've downloaded kernel version 2.4.20 from http://www.kernel.org and copied it to the /usr/src/linux-2.4.20 directory, but when I do make xconfig (or any other make for that matter, it exits with error code 2. I figure there is some

RE: Problem Compiling Linux Kernel 2.4.20

2002-12-16 Thread Joseph D. Wagner
Did you do a make mrproper first? Yep. Here's the output from make xconfig [root@localhost linux-2.4.20]# make xconfig rm -f include/asm ( cd include ; ln -sf asm-i386 asm) make -C scripts kconfig.tk make[1]: Entering directory `/usr/src/linux-2.4.20/scripts' cat header.tk ./kconfig.tk

RE: Problem Compiling Linux Kernel 2.4.20

2002-12-16 Thread Gary Sandine
On Mon, 2002-12-16 at 18:24, Joseph D. Wagner wrote: Do you suggest I re-extract the files from the tar archive and start over? By the error message you sent, it looks to me that you do not have software installed that is needed to run xconfig. Try make menuconfig or make config If

Re: Compiling 2.4.18 kernel - missing module-info file?

2002-12-11 Thread Jeff Davis
Well, I took the path of least resistance and compiled a static kernel. Seems to work ok :) However, I'm still wondering why I'm having trouble building a modular kernel. mkinitrd cannot find the ncr583cxx module, but it doe exist in the appropriate folder. Any thoughts? At 09:05 PM

Re: Compiling 2.4.18 kernel - missing module-info file?

2002-12-10 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 09 Dec 2002 08:50:32 -0800, Jeff Davis wrote: The kernel compiles without errors, but for some reason there is no module-info-2.4.18 file created, or at least I have been unable to find it. grep-ing the source tree shows no module-info

Re: Compiling 2.4.18 kernel - missing module-info file?

2002-12-10 Thread Jeff Davis
At 09:46 AM 12/10/2002 +0100, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 09 Dec 2002 08:50:32 -0800, Jeff Davis wrote: *snip* So, am I missing something obvious? Do I need to install an additional package to make this work? modutils perhaps? No. The module-info file

Re: Compiling 2.4.18 kernel - missing module-info file?

2002-12-10 Thread Rick Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jeff Davis wrote: | Huh. So, if I want or need to create a ramdisk image for the new | kernel, how do I get mkinitrd to quite whining about not being able to | find my ncr53c8xx module. The file (ncr53c8xx.o) is in the | /lib/modules/scsi

Re: Compiling 2.4.18 kernel - missing module-info file?

2002-12-10 Thread Michael Schwendt
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 10 Dec 2002 11:06:51 -0800, Jeff Davis wrote: No. The module-info file is only for your Linux distributor's installation and hardware configuration utilities which maintain kernel driver entries in /etc/modules.conf. The file is not

Compiling 2.4.18 kernel - missing module-info file?

2002-12-09 Thread Jeff Davis
Ok, this is making me nuts. I've compiled from source before, but it's been awhile (2.2 kernel, I think). I'm hoping I've just missed something basic, but I haven't been able to find it yet. I unpack the source (2.4.18), then execute the following: make xconfig (modular kernel) make dep make

Re: Compiling 2.4.18 kernel - missing module-info file?

2002-12-09 Thread David van Hoose
Why are you doing a make clean after the make dep? Generally you do the following to build your kernel. (As defined in README) make mrproper make xconfig make dep make bzImage make modules make modules_install Doing the above will not give you a module-info file. I never found an isntance where

Re: Compiling 2.4.18 kernel - missing module-info file?

2002-12-09 Thread Jeff Davis
At 05:01 PM 12/9/2002 -0600, you wrote: Why are you doing a make clean after the make dep? It's been a while since I've customized a kernel... According to the howto they recommended doing a make clean after make dep. Perhaps this was an old howto? Generally you do the following to build

Re: Compiling 2.4.18 kernel - missing module-info file?

2002-12-09 Thread David van Hoose
Jeff Davis wrote: At 05:01 PM 12/9/2002 -0600, you wrote: Why are you doing a make clean after the make dep? It's been a while since I've customized a kernel... According to the howto they recommended doing a make clean after make dep. Perhaps this was an old howto? Perhaps. The README

Compiling 2.4.18 kernel - missing module-info file?

2002-12-06 Thread Jeff Davis
Ok, this is making me nuts. I've compiled from source before, but it's been awhile (2.2 kernel, I think). I'm hoping I've just missed something basic, but I haven't been able to find it yet. I unpack the source (2.4.18), then execute the following: make xconfig (modular kernel) make dep make

Compiling 2.4.18 kernel - missing module-info file?

2002-12-06 Thread Jeff Davis
Ok, this is making me nuts. I've compiled from source before, but it's been awhile (2.2 kernel, I think). I'm hoping I've just missed something basic, but I haven't been able to find it yet. I unpack the source (2.4.18), then execute the following: make xconfig (modular kernel) make dep make

Cant connect to HTTPS after re-compiling the kernel

2002-11-13 Thread Silkk
Hello, Do you know how come i cant connect to HTTPS sites after re-compiling my kernel to 2.4.19 and i un-installed ipchains... rpm -q ipchains Casue im going to use iptables?But i have not put in any rules. It was working before i re-compiled the kernel? Any ideas what could cause this? Im

Cant connect to HTTPS after re-compiling the kernel

2002-11-12 Thread Silkk
Hey, Do you know how come i cant connect to HTTPS sites after re-compiling my kernel to 2.4.19 and i un-installed ipchains...casue im going to use iptables? It was working before i re-compiled the kernel? Any ideas what could cause this? Im usuing Mozilla 1.1 Browser i also tryed it with netscape

Re: [Fwd: RE: [rhn-users] Problems compiling custom kernel]

2002-10-12 Thread Michael Schwendt
On 11 Oct 2002 12:30:23 -0700, William L. Thomson Jr. wrote: I am not sure if this topic is covered under this list or not. The thread seems dead on the rhn-users list. Possible the wrong list as well. psyche-list would be the right list: [EMAIL PROTECTED]

[Fwd: RE: [rhn-users] Problems compiling custom kernel]

2002-10-11 Thread William L. Thomson Jr.
[EMAIL PROTECTED] Subject: RE: [rhn-users] Problems compiling custom kernel Date: 10 Oct 2002 15:13:03 -0700 I have downloaded a vanilla kernel from kernel.org. Both 2.4.18 and 2.4.19. I was able to compile both, and make modules for both. I tried once again to compile modules for the 2.4.18

Re-Compiling the kernel.

2002-09-13 Thread Trevor Fraser
Hello all. I'm in the process of re-compiling the kernel, but I get to a point where there's an error. These are the steps up to the error: # cd /usr/src/linux-2.4.18-3 # make config (CONFIG_PCMCIA = no to achieve a kernel without PCMCIA support) # make dep # make clean # make bzImage # make

Re-Compiling the kernel.

2002-09-13 Thread Trevor Fraser
Hello all. I'm in the process of re-compiling the kernel, but I get to a point where there's an error. These are the steps up to the error: # cd /usr/src/linux-2.4.18-3 # make config (CONFIG_PCMCIA = no to achieve a kernel without PCMCIA support) # make dep # make clean # make bzImage # make

compiling the kernel to recognize ntfs

2002-09-08 Thread Ricardo Mostalac
Hello friends, I want to recompile my kernel to recognize ntfs (in the kernel or as a module), but, anyone can tell me his experience doing this? My kernel is 2.4.18-3 and my red hat is 7.3 = Saludos desde México RAML _ Do You

Re: compiling the kernel to recognize ntfs

2002-09-08 Thread Ricardo Mostalac
So..., I recompile the kernel with NTFS suport, and copy to /boot, I modify grub.conf in /boot/grub to select the kernel to boot, but when select the kernel with NTFS suport the system freezing when the red hat 7.3 is begin to load..., then I have to rebooting the machine and select the kernel

Re: Compiling new kernel, lilo problem

2002-01-20 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Burger wrote: If you compiled the kernel with the device drivers as modules, and not directly into the kernel, and any of those drivers/modules are needed for the initial startup, it could cause problems. If you compiled all those drivers

Re: Compiling new kernel, lilo problem

2002-01-20 Thread Mike Burger
i copy it from? This is my first time compiling a kernel after about 2.5 years working off and on with linux, i followed the howtos but am stumped here. Thanks. mkinitrd /boot/initrd-2.4.17.img 2.4.17 Make sure it says /boot/initrd-2.4.17.img and not /boot/initrd

Re: Compiling new kernel, lilo problem

2002-01-20 Thread Mike Burger
Simply put, I don't know. G On Sun, 20 Jan 2002, David Talkington wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Burger wrote: If you compiled the kernel with the device drivers as modules, and not directly into the kernel, and any of those drivers/modules are needed for

Re: Compiling new kernel, lilo problem

2002-01-20 Thread rpjday
On Sun, 20 Jan 2002, Mike Burger wrote: Simply put, I don't know. G On Sun, 20 Jan 2002, David Talkington wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mike Burger wrote: If you compiled the kernel with the device drivers as modules, and not directly into the

Re: Compiling new kernel, lilo problem

2002-01-20 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 rpjday wrote: Forgive me for being dense, but why would one want to compile as a module a driver which is needed for the system to even boot? Modules are great for peripherals and supporting functions, and I can see the benefit of low-level

Compiling new kernel, lilo problem

2002-01-19 Thread Brandon Robert Dorman
-2.4.7-10 vmlinuz chain.b kernel.h-2.4.7 os2_d.b vmlinuz-2.4.17 grub message System.map vmlinuz-2.4.7-10 initrd-2.4.7-10.img module-info System.map-2.4.7-10 No initrd. Where can i copy it from? This is my first time compiling

Re: Compiling new kernel, lilo problem

2002-01-19 Thread Werner Puschitz
No initrd. Where can i copy it from? This is my first time compiling a kernel after about 2.5 years working off and on with linux, i followed the howtos but am stumped here. Thanks. mkinitrd /boot/initrd-2.4.17.img 2.4.17 Make sure it says /boot/initrd-2.4.17.img and not /boot/initrd-2.4.17

Re: Compiling new kernel, lilo problem

2002-01-19 Thread Bret Hughes
message System.map vmlinuz-2.4.7-10 initrd-2.4.7-10.img module-info System.map-2.4.7-10 No initrd. Where can i copy it from? This is my first time compiling a kernel after about 2.5 years working off and on with linux, i followed the howtos but am stumped here

Re: Compiling new kernel, lilo problem

2002-01-19 Thread Brandon Robert Dorman
vmlinuz-2.4.7-10 initrd-2.4.7-10.img module-info System.map-2.4.7-10 No initrd. Where can i copy it from? This is my first time compiling a kernel after about 2.5 years working off and on with linux, i followed the howtos but am stumped here. Thanks. mkinitrd /boot/initrd

Re: Compiling new kernel, lilo problem

2002-01-19 Thread Mike Burger
vmlinuz-2.4.17 grub message System.map vmlinuz-2.4.7-10 initrd-2.4.7-10.img module-info System.map-2.4.7-10 No initrd. Where can i copy it from? This is my first time compiling a kernel after about 2.5 years working off

Re: Compiling new kernel, lilo problem

2002-01-19 Thread Brandon Robert Dorman
vmlinuz-2.4.7-10 initrd-2.4.7-10.img module-info System.map-2.4.7-10 No initrd. Where can i copy it from? This is my first time compiling a kernel after about 2.5 years working off and on with linux, i followed the howtos but am stumped here. Thanks. mkinitrd

Re: compiling the kernel

2001-03-27 Thread Andrew So Hing-pong
linux kernel". Good luck, Stuart Clark wrote: Well! anyone would think that instructions for compiling the kernel would be on the kernel.org site . But alas no. Can anyone tell me where to get this info from. Regards Stu ___ R

Re: compiling the kernel

2001-03-27 Thread David Talkington
-BEGIN PGP SIGNED MESSAGE- Well! anyone would think that instructions for compiling the kernel would be on the kernel.org site . But alas no. Can anyone tell me where to get this info from. Actually, the kernel docs (which you get when you install the kernel-doc package) have

compiling the kernel

2001-03-26 Thread Stuart Clark
Well! anyone would think that instructions for compiling the kernel would be on the kernel.org site . But alas no. Can anyone tell me where to get this info from. Regards Stu ___ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com

Re: compiling the kernel

2001-03-26 Thread Hidong Kim
http://www.freeos.com/articles/2589/2/1-3/ among many others found from a google search on "compiling the linux kernel". Good luck, Stuart Clark wrote: Well! anyone would think that instructions for compiling the kernel would be on the kernel.org site . But alas no. Can a

Compiling New Kernel

2001-01-17 Thread Clement
Hi Everyone, How are you? I have been using stock RH kernel rpms for a long time. But now, wishing to usr reiserfs, I need to build a tailored kernel but get an error: 'unresolved ref: memcpy' Do you know how to fix it? My platform is Intel Celeron 667/128MB/RH7.0/Kernel 2.2.18.

Re: Compiling the Kernel

2000-02-14 Thread Frank Carreiro
Ok.. I downloaded the patches... This is going to sound dumb but how do I install them :DOk... I feel like a newbie again ::grinz:: BTW, I also tried compiling the latest egcs source (1.1.2 I think). I'm getting a signal 11 error after I think 70% + complete with the build (make

Compiling the Kernel

2000-02-11 Thread Frank Carreiro
Hiya there all... I know we just had some conversation about this but I wanted to add my experience and perhaps find a solution. I've compiled Kernels for a couple of years and haven't really had problems until now. I'm "stuck" with a RedHat 5.2 installation (can't upgrade to 6.1 for various

Re: Compiling the Kernel

2000-02-11 Thread Bernhard Rosenkraenzer
On Fri, 11 Feb 2000, Frank Carreiro wrote: sbni.c:1375: Invalid `asm' statement: sbni.c:1375: fixed or forbidden register 1 (sx) was spilled for class DREG. You're trying to compile this kernel with gcc 2.95.x. Either get the gcc 2.95.x kernel patch (http://people.redhat.com/bero/gcc295/) or