LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-15-2003, 11:10 PM   #1
MarleyGPN
Member
 
Registered: Apr 2003
Location: Vail, CO
Posts: 73

Rep: Reputation: 15
Slackware kernel config


hi,
Im tring to compile a new kernel with mppe support. I am useing Slackware. I already have the kernel source files put together. I download 2.4.20 and applied the 2.4.21 patch I downloaded from kernel.org and an openssl path for kernel version 2.4.21. How can I pull the configuration file of slackware so I dont have to answer the millions of questions it asks when you type make? There was nothing in the /usr/src for me to pull.

Thank,
MarleyGPN
 
Old 06-15-2003, 11:20 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Moved: More suitable in the Slackware forum.
 
Old 06-15-2003, 11:23 PM   #3
awdoyle
Member
 
Registered: Aug 2002
Location: Portland, OR
Distribution: Xubuntu
Posts: 135

Rep: Reputation: 15
make xconfig worked pretty well for me. Much less tedious work than "make" was.
 
Old 06-16-2003, 12:50 AM   #4
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Nicer way to do it:

1) Grab your old .config file and copy it in /usr/src/linux (I assume that's where your kernel is being compiled at).

2) You can then use make menuconfig if not in X, or like awdoyle mentioned, make xconfig if you prefer a nicer GUI (and you're in X).
 
Old 06-16-2003, 01:46 AM   #5
MarleyGPN
Member
 
Registered: Apr 2003
Location: Vail, CO
Posts: 73

Original Poster
Rep: Reputation: 15
Does 2.4.21 work with slackware?
want to make sure before I copy it
 
Old 06-16-2003, 01:58 AM   #6
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
It does... hell, even the 2.5.x dev builds work... I know, I've got it running for about a week!

2.4.21 is actually 2.4.21-rc8... I ran rc8 for about two weeks consistently without any problems.
 
Old 06-16-2003, 02:01 AM   #7
MarleyGPN
Member
 
Registered: Apr 2003
Location: Vail, CO
Posts: 73

Original Poster
Rep: Reputation: 15
Once im done compileing the only thing I need to do is copy bzImge from the boot folder in i386 to the boot folder in the root directory? There is something called vmlinux is there anything I need to do with it?

Thanks
 
Old 06-16-2003, 02:33 AM   #8
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Safest bet is to do this:

mv /boot/vmlinuz /boot/old-vmlinuz
mv /boot/System.map /boot/old-System.map
cp arch/i386/boot/bzImage /boot/vmlinuz
cp System.map /boot
cp .config /boot/config-2.4.21
/sbin/lilo <------ Don't forget to do this!

ie. Your bzImage should be copied as /boot/vmlinuz. Don't bother with the vmlinux file... that's not the kernel
 
Old 06-16-2003, 03:05 AM   #9
MarleyGPN
Member
 
Registered: Apr 2003
Location: Vail, CO
Posts: 73

Original Poster
Rep: Reputation: 15
Dont know whats wrong with my new kernel but my network cards dont work if I use it. I set it up so I could select my old kernel if this happend. The netowrk cards work with the original slackware kernel but wont work with 2.4.21. When I load the new kernel and type cat /proc/version it says 2.4.21 so im assuming it at least worked up to that point. Any hints on how to get everything working again with the new kernel, epecial the network cards?
Btw, when I type lsmod while the new kernel is loaded its blank nothing is loaded while on my old kernel there is a lot of things loaded
Thanks

Last edited by MarleyGPN; 06-16-2003 at 03:07 AM.
 
Old 06-16-2003, 03:12 AM   #10
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
I've faced this problem before, but mostly it's my bad. I recommend that you take a look at your Network section in the kernel config.

See if your card is supported via module. If it is, try setting it as part of the kernel itself.

P/S: It might help if you tell us what NIC you're using.
 
Old 06-16-2003, 03:15 AM   #11
MarleyGPN
Member
 
Registered: Apr 2003
Location: Vail, CO
Posts: 73

Original Poster
Rep: Reputation: 15
Its a Netgear fa311.
is there a reason there is nothing listed when I type lsmod?
 
Old 06-16-2003, 05:23 AM   #12
Azmeen
Senior Member
 
Registered: May 2003
Location: Malaysia
Distribution: Slackware, LFS, CentOS
Posts: 1,307

Rep: Reputation: 47
Did you compile the modules as well after you compiled the kernel?

Code:
make modules
make modules_install
 
Old 06-16-2003, 05:32 AM   #13
MarleyGPN
Member
 
Registered: Apr 2003
Location: Vail, CO
Posts: 73

Original Poster
Rep: Reputation: 15
I did run it but it gave me some error messages 5 min into the module compile process and just stops compiling. Ill post the errormessages as soon as I try again.
 
Old 06-16-2003, 08:16 AM   #14
MarleyGPN
Member
 
Registered: Apr 2003
Location: Vail, CO
Posts: 73

Original Poster
Rep: Reputation: 15
I finally managed to get mppe to work with pptp by compiling the patch and the slackware kernel source code (came with some package). I cant get kernel v 2.4.21 to work with the slackware version of the kernel. Any ideas?

Thanks
 
Old 06-16-2003, 05:01 PM   #15
MarleyGPN
Member
 
Registered: Apr 2003
Location: Vail, CO
Posts: 73

Original Poster
Rep: Reputation: 15
Well, I finaly got mppe and kernel v. 2.4.21 to work. Anyone know where or how to enable ipsec for vpn?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 9.1 / Sony DSC-P8 / Kernel Config Astro Linux - General 1 02-23-2004 06:40 PM
Sony DSC-P8 /Slackware Kernel Config Astro Slackware 0 02-20-2004 07:23 PM
INFO: creating a special secured kernel (grsecurity kernel patch) w sysctl config markus1982 Linux - Security 0 05-25-2003 05:29 AM
Slackware 8.1 HW config ... LoRd~NiKoN Linux - Hardware 1 02-17-2003 04:22 PM
I lost rmed my kernel config file. Anyway to create one from the kernel? severedhead Linux - Software 3 07-12-2002 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration