[newbie] compiling kernel
hello Since a while I've been having problems compiling the 2.4.x kernel on LM7.2 and what should I put in the processor type section. I am current ly using a Duron 700 and I choose the Athlon/K7 as processor type to be compiled for. BTW is there any guide to intalling glibc 2.2 on mandrake. cheers dooshiant here the error msg i always get when compile: In file included from /usr/src/linux/include/linux/string.h:21, from /usr/src/linux/include/linux/fs.h:23, from /usr/src/linux/include/linux/capability.h:17, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:9, from /usr/src/linux/include/linux/mm.h:4, from /usr/src/linux/include/linux/slab.h:14, from /usr/src/linux/include/linux/malloc.h:4, from /usr/src/linux/include/linux/proc_fs.h:5, from init/main.c:15: /usr/src/linux/include/asm/string.h: In function `__constant_memcpy3d': /usr/src/linux/include/asm/string.h:305: `current' undeclared (first use in this function) /usr/src/linux/include/asm/string.h: In function `__memcpy3d': /usr/src/linux/include/asm/string.h:312: `current' undeclared (first use in this function) make: *** [init/main.o] Error 1 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Re: [newbie] compiling kernel
On Monday 09 April 2001 10:46, you wrote: hello Since a while I've been having problems compiling the 2.4.x kernel on LM7.2 and what should I put in the processor type section. I am current ly using a Duron 700 and I choose the Athlon/K7 as processor type to be compiled for. BTW is there any guide to intalling glibc 2.2 on mandrake. cheers dooshiant here the error msg i always get when compile: In file included from /usr/src/linux/include/linux/string.h:21, from /usr/src/linux/include/linux/fs.h:23, from /usr/src/linux/include/linux/capability.h:17, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:9, from /usr/src/linux/include/linux/mm.h:4, from /usr/src/linux/include/linux/slab.h:14, from /usr/src/linux/include/linux/malloc.h:4, from /usr/src/linux/include/linux/proc_fs.h:5, from init/main.c:15: /usr/src/linux/include/asm/string.h: In function `__constant_memcpy3d': /usr/src/linux/include/asm/string.h:305: `current' undeclared (first use in this function) /usr/src/linux/include/asm/string.h: In function `__memcpy3d': /usr/src/linux/include/asm/string.h:312: `current' undeclared (first use in this function) make: *** [init/main.o] Error 1 are you compiling from the "official" kernel sources, or from some kernel-source rpm. If from the tarballs on kernel.org, you will need to symlink usr/src/linux/include/asm/ to the correct architecture. I know this one `cause it bit me in the butt more than once. -- Alex Kernel Panic is General Failure's second in command
Re: [newbie] compiling kernel
hi well /usr/src/linux/include/asm/ points to asm-i386/ which seems ok to me. by any chance, does the 2.4.x kernel need glibc2.2? cheers dooshiant Original Message Follows From: A V Flinsch [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [newbie] compiling kernel Date: Mon, 9 Apr 2001 18:04:44 -0400 On Monday 09 April 2001 10:46, you wrote: hello Since a while I've been having problems compiling the 2.4.x kernel on LM7.2 and what should I put in the processor type section. I am current ly using a Duron 700 and I choose the Athlon/K7 as processor type to be compiled for. BTW is there any guide to intalling glibc 2.2 on mandrake. cheers dooshiant here the error msg i always get when compile: In file included from /usr/src/linux/include/linux/string.h:21, from /usr/src/linux/include/linux/fs.h:23, from /usr/src/linux/include/linux/capability.h:17, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:9, from /usr/src/linux/include/linux/mm.h:4, from /usr/src/linux/include/linux/slab.h:14, from /usr/src/linux/include/linux/malloc.h:4, from /usr/src/linux/include/linux/proc_fs.h:5, from init/main.c:15: /usr/src/linux/include/asm/string.h: In function `__constant_memcpy3d': /usr/src/linux/include/asm/string.h:305: `current' undeclared (first use in this function) /usr/src/linux/include/asm/string.h: In function `__memcpy3d': /usr/src/linux/include/asm/string.h:312: `current' undeclared (first use in this function) make: *** [init/main.o] Error 1 are you compiling from the "official" kernel sources, or from some kernel-source rpm. If from the tarballs on kernel.org, you will need to symlink usr/src/linux/include/asm/ to the correct architecture. I know this one `cause it bit me in the butt more than once. -- Alex Kernel Panic is General Failure's second in command _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Re: [newbie] compiling kernel
On Monday 09 April 2001 19:27, you wrote: hi well /usr/src/linux/include/asm/ points to asm-i386/ which seems ok to As it should for an Intel system., don't think the amd is all that different. me. by any chance, does the 2.4.x kernel need glibc2.2? Not that I know of, I compiled a 2.4 kernel using glibc2.1, worked fine -- Alex Kernel Panic is General Failure's second in command
Re: [newbie] compiling kernel
s wrote: BTW is there any guide to intalling glibc 2.2 on mandrake. http://www.pclinuxonline.com/Help___How_To/Glibc-2_2/glibc-2_2.html The only thing he missed was also putting /usr/local/lib in the ld.so.conf file. Almost everything that gets installed from source will put things in the /usr/local/ heirarchy. -- Blue skies... Todd | Get a bigger hammer! | Sometimes you get what you want. | | http://www.mrball.net | Sometimes you get experience. | | http://faq.mrball.net | --unknown origin |
RE: [newbie] compiling kernel
I'm also getting this problem. When I boot the new kernel I get the follow module! module! error net-fr-1 I imagine that it has something to do with the network. I'v tried changing all the thing that could be changed with out success. I'v gone throught the whole complie process. Checked Lilo and so on but still with no success. Still drinking Coffee Cheers Duncan -Message d'origine- De: dooshiant % [SMTP:[EMAIL PROTECTED]] Date: lundi 9 avril 2001 16:46 À:[EMAIL PROTECTED] Objet:[newbie] compiling kernel hello Since a while I've been having problems compiling the 2.4.x kernel on LM7.2 and what should I put in the processor type section. I am current ly using a Duron 700 and I choose the Athlon/K7 as processor type to be compiled for. BTW is there any guide to intalling glibc 2.2 on mandrake. cheers dooshiant here the error msg i always get when compile: In file included from /usr/src/linux/include/linux/string.h:21, from /usr/src/linux/include/linux/fs.h:23, from /usr/src/linux/include/linux/capability.h:17, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:9, from /usr/src/linux/include/linux/mm.h:4, from /usr/src/linux/include/linux/slab.h:14, from /usr/src/linux/include/linux/malloc.h:4, from /usr/src/linux/include/linux/proc_fs.h:5, from init/main.c:15: /usr/src/linux/include/asm/string.h: In function `__constant_memcpy3d': /usr/src/linux/include/asm/string.h:305: `current' undeclared (first use in this function) /usr/src/linux/include/asm/string.h: In function `__memcpy3d': /usr/src/linux/include/asm/string.h:312: `current' undeclared (first use in this function) make: *** [init/main.o] Error 1 _ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
[newbie] Compiling Kernel, Are lots of Warnings normal?
Hello All, I have been in lurk mode here since I installed Linux Mandrake 7.2 a couple of weeks ago. Installing the system went very well, sound card, video card, etc were all recognized and worked with only minor fiddling. Getting my modem to work was a challenge and a learning experience, I can't believe how happy it made me the first time I got that darn thing to dial up! My Question: I decided to recompile my kernel to trim some fat and see if it could be optimized for my processor. The kernel that resulted is about 1MB smaller than the original and it seems to be working just fine. However, while the kernel was compiling there were many warnings in the output on the console. They were in red text and looked serious: variable foo_bar initialized but not used ignoring modified section in some_file There were a few others, but I don't recall them and I don't know where to find the log that would contain them, if such a thing exists. I would be happy to post the exact warning messages if someone can tell me where to find the log. My system's specs: http://www.mhtc.net/~lanelson/sysinfo.html Thanks for any comments. Have a good day. David Nelson
Re: [newbie] Compiling Kernel, Are lots of Warnings normal?
David, Could you give me any tips on what you did to get your modem working? I am still using my modem from my Windows 98 SE2 machine. I still don't have my network working so basically, linux is a standalone machine until I get it working. I don't know what is necessary to tell linux to dial my ISP, and how I can get Outlook Express on my Win98 box to access it (this is assuming the network is functioning). TIA! Dave - Original Message - From: "David Nelson" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 05, 2001 1:04 PM Subject: [newbie] Compiling Kernel, Are lots of Warnings normal? Hello All, I have been in lurk mode here since I installed Linux Mandrake 7.2 a couple of weeks ago. Installing the system went very well, sound card, video card, etc were all recognized and worked with only minor fiddling. Getting my modem to work was a challenge and a learning experience, I can't believe how happy it made me the first time I got that darn thing to dial up! Snip
Re: [newbie] Compiling Kernel, Are lots of Warnings normal?
Hello, In reply to Tom Brinkman's helpful response here is some more info about my hardware: PCI Modem: USR/3COM 56K FAX Modem Model:5610, FCC reg. num: 4X2USA-32034-M5-E, P/N: 3CP2977-OEM Here is a link to a page with more info about my setup: http://www.mhtc.net/~lanelson/sysinfo.html In my original post I stated that my newly compiled kernel was 1MB smaller than the stock kernel. This was a compleatly silly mistake, in reality the new kernel was about 75K smaller than the original. Thank You. David Nelson
[newbie] compiling kernel
Hi, I'm running Mandrake 6.5 and have tried twice to recompile the kernel,in order to run ax25 and both times the computer hangs while finding module dependencies. I used make mrproper,make xconfig,make dep,make clean,make bzImage,make modules,make modules install just like I have done many times with the Caldera distributions. Is there something different I must do with Mandrake? Is there a way to fix this without reinstalling again? Lilo is finding the right kernel. Thanks, Dan
Re: [newbie] compiling kernel
On Wed, 22 Dec 1999, Daniel Anderson wrote: Hi, I'm running Mandrake 6.5 and have tried twice to recompile the kernel,in order to run ax25 and both times the computer hangs while finding module dependencies. I used make mrproper,make xconfig,make dep,make clean,make bzImage,make modules,make modules install just like I have done many times with the Caldera distributions. Is there something different I must do with Mandrake? Is there a way to fix this without reinstalling again? Lilo is finding the right kernel. Thanks, Dan did you change the toplevel Makefile EXTRAVERSION = and run the depmod before rebooting? -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon
Re: [newbie] compiling kernel
No,never knew about that one.Exactly what do I put there? Haven't used depmod before,are there any options that I should use? Can the system be rescued without reinstalling? Thanks, Dan Axalon Bloodstone wrote: On Wed, 22 Dec 1999, Daniel Anderson wrote: Hi, I'm running Mandrake 6.5 and have tried twice to recompile the kernel,in order to run ax25 and both times the computer hangs while finding module dependencies. I used make mrproper,make xconfig,make dep,make clean,make bzImage,make modules,make modules install just like I have done many times with the Caldera distributions. Is there something different I must do with Mandrake? Is there a way to fix this without reinstalling again? Lilo is finding the right kernel. Thanks, Dan did you change the toplevel Makefile EXTRAVERSION = and run the depmod before rebooting? -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon
Re: [newbie] compiling kernel
Yep short answer, ctrl-c Long answer, search the archives it's well discussed i think, if it's not sufficiant say so, somebody will likely clear it up for you. Mandrakeuser proably has something more on it also On Wed, 22 Dec 1999, Daniel Anderson wrote: No,never knew about that one.Exactly what do I put there? Haven't used depmod before,are there any options that I should use? Can the system be rescued without reinstalling? Thanks, Dan Axalon Bloodstone wrote: On Wed, 22 Dec 1999, Daniel Anderson wrote: Hi, I'm running Mandrake 6.5 and have tried twice to recompile the kernel,in order to run ax25 and both times the computer hangs while finding module dependencies. I used make mrproper,make xconfig,make dep,make clean,make bzImage,make modules,make modules install just like I have done many times with the Caldera distributions. Is there something different I must do with Mandrake? Is there a way to fix this without reinstalling again? Lilo is finding the right kernel. Thanks, Dan did you change the toplevel Makefile EXTRAVERSION = and run the depmod before rebooting? -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon
Re: [newbie] compiling kernel
Damned send button. for about depmod.. run this after you've "make modules_install" depmod -e -d -a type_kernel_version_here if it doesn't come up clean don't reboot simple as that.. On Wed, 22 Dec 1999, Daniel Anderson wrote: No,never knew about that one.Exactly what do I put there? Haven't used depmod before,are there any options that I should use? Can the system be rescued without reinstalling? Thanks, Dan Axalon Bloodstone wrote: On Wed, 22 Dec 1999, Daniel Anderson wrote: Hi, I'm running Mandrake 6.5 and have tried twice to recompile the kernel,in order to run ax25 and both times the computer hangs while finding module dependencies. I used make mrproper,make xconfig,make dep,make clean,make bzImage,make modules,make modules install just like I have done many times with the Caldera distributions. Is there something different I must do with Mandrake? Is there a way to fix this without reinstalling again? Lilo is finding the right kernel. Thanks, Dan did you change the toplevel Makefile EXTRAVERSION = and run the depmod before rebooting?
Re: [newbie] Compiling Kernel under 6.1
On Mon, 20 Sep 1999, you wrote: Hi all, im not sure if this is the proper place for this question but i hope someone can help me out. I recently installed Mandrake 6.1 (no not the beta) on my computer. and it works fine except for one thing. I recompiled my kernel and when i tried to install it using linuxconf it complains that /dev/sda1 isnt a valid partition or isnt a linux partiton. That is the partition it is installed on so im not sure what to do. I tried to edit the /etc/lilo.conf file to add the new kernel, but I do not know where to find all the information i need. Specifically the line for "initrd =". I dont know if this is enough information but any help anyone can provide would be appreciated, im desperate for an answer. I cant install vmware until i recompile because the vmware install script complains about the version of kernel headers in the /usr/src/linux/include directory being for 2.2.13-7mdk when my kernel is 2.2.13-7mdksmp. im very frustrated. can someone please help??? Silly question, I know, but when you recompiled your kernel, did you build-in support for your SCSI card? If not, that's the problem If so, I'd double-check that it's not trying to load SCSI support as a module anyway. From my (very) limited experience compiling new kernels, you have the option of compiling SCSI support directly into the kernel or making it a module. If you did the latter, it won't work, as you need SCSI support to complete the boot process, BEFORE you load modules. John
Re: [newbie] Compiling Kernel under 6.1
Silly question, I know, but when you recompiled your kernel, did you build-in support for your SCSI card? If not, that's the problem If so, I'd double-check that it's not trying to load SCSI support as a module anyway. From my (very) limited experience compiling new kernels, you have the option of compiling SCSI support directly into the kernel or making it a module. If you did the latter, it won't work, as you need SCSI support to complete the boot process, BEFORE you load modules. John Yes the kernel i compiled has SCSI support built into the kernel not modular, however i dont know about the stock kernel mandrake ships with. It might not, but that one boots so im going to assume that it does. have support.