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 12-05-2003, 12:30 PM   #16
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47

Quote:
how can i get a "clean" config without having the redundant modules for a certain hardware, and yet it is truely reflect to my real hardwares?

does the kernel perform slower if it has plenty of redundant modules with it?
There is no way I know of that you can autodetect your hardware and generate a .config file based upon what was autodetected. That would really be nice if it were possible.

So you have two choices:
  1. Stick with the kernels supplied by the distros. And only upgrade when they decide to upgrade.
  2. Learn to build your own kernel.
And part of learning to build a kernel is knowing your hardware. If you don't want to make all those extra sound modules and you are sure you don't need them you can de-select them. Building them will not in any way affect your kernels performance. If you don't need the modules they will not be loaded by the kernel. They just take up a little hard drive space and a little processing time to build them.

As for your keyboard and mouse, that sounds like a XFree86 config problem. Login as root and do this:
XFree86 -configure
That will create a config file /root/XFree86Config.new and you can test it by doing this:
XFree86 -xf86config /root/XFree86Config.new
If it works then copy the file to /etc/X11/XFree86Config-4
Otherwise you will need to manually configure XFree86 using xf86config.
 
Old 12-05-2003, 12:57 PM   #17
e1000
Member
 
Registered: Oct 2003
Location: California
Distribution: Ubuntu
Posts: 582

Rep: Reputation: 30
"cat arch/i386/boot/bzImage >/boot/vmlinuz-2.4.23"

why is it that when you compile a kernel you have to do cat on bzImage
rather than just copying bzImage to where the kernel belongs?
 
Old 12-05-2003, 05:21 PM   #18
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 48
Quote:
Originally posted by e1000
"cat arch/i386/boot/bzImage >/boot/vmlinuz-2.4.23"

why is it that when you compile a kernel you have to do cat on bzImage
rather than just copying bzImage to where the kernel belongs?
i just cp it. it seems to work fine. cat was a typo maybe?

Last edited by synaptical; 12-05-2003 at 05:24 PM.
 
Old 12-05-2003, 06:02 PM   #19
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Quote:
Originally posted by synaptical
i just cp it. it seems to work fine. cat was a typo maybe?
I agree...I've never had to cat it. Although, I mostly use make which automates all that stuff. Lazy, but hey...my time costs money
 
Old 12-06-2003, 12:10 PM   #20
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
The kernel should be a continuous file. Most likely on any Linux filesystem it will be, however there are no guarantees, unless you use either cat or dd to copy it. I read that a long time ago (I forget where) and I have always used cat to copy my kernels ever since.
 
Old 12-07-2003, 05:45 PM   #21
yenonn
Member
 
Registered: Feb 2003
Location: Malaysia
Distribution: Redhat 8.0, 9, Slackware 9.1
Posts: 511

Rep: Reputation: 30
"make install" will do the rest of the housekeeping, isnt it? so, why bother to "cat arch/i386/boot/bzImage >/boot/vmlinuz-2.4.23"?? am i right?? or, i might be wrong...moreover, DaOne never mentioned bzImage copying in his steps...so, i believe "make install" will do the rest of the housekeeping, including lilo.conf editing....

Last edited by yenonn; 12-07-2003 at 05:48 PM.
 
Old 12-07-2003, 07:38 PM   #22
DaOne
Member
 
Registered: Jan 2003
Location: USA
Distribution: Slackware
Posts: 498

Rep: Reputation: 30
Quote:
Originally posted by yenonn
"make install" will do the rest of the housekeeping, isnt it? so, why bother to "cat arch/i386/boot/bzImage >/boot/vmlinuz-2.4.23"?? am i right?? or, i might be wrong...moreover, DaOne never mentioned bzImage copying in his steps...so, i believe "make install" will do the rest of the housekeeping, including lilo.conf editing....
make install will copy and rename the image to /boot/vmlinuz. It also renames the old vmlinuz to vmlinuz.old. It does NOT edit lilo.conf for you...you have to do this before running make install...however it WILL run lilo to properly update Lilo.

Also, you need to edit the Makefile to make sure your new kernel is copied to the appropriate directory.

If you are using 8.1 or later, open /usr/src/linux/Makefile in a text editor, scroll to line 74 and
uncomment the the line #export INSTALL_PATH=/boot.
For 8.0 you must leave this line commented.

So yes...if lilo.conf and Makefile are properly prepared, make install automates the copying, moving, and updating lilo.

Last edited by DaOne; 12-07-2003 at 07:39 PM.
 
  


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
Kernel Audit Support Unavaible error when booting after kernel upgrade abefroman Red Hat 2 03-21-2013 08:32 AM
Kernel Upgrade now Kernel Panic saltireboy Slackware 9 01-23-2006 11:44 PM
kernel panic after kernel upgrade flebber Debian 8 04-08-2005 07:26 AM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 06:54 PM
Kernel upgrade: Unable to handle kernel paging request deviantintegral Debian 4 07-14-2004 04:59 PM

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

All times are GMT -5. The time now is 07:27 PM.

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