Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Linux Newbie
Reload this Page Kernel Compile Checklist
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Linux Newbie If you're new to the wonderful world of Linux, start here!

Reply
 
Thread Tools Display Modes
Old 03-04-2004   #1 (permalink)
Just Joined!
 
Join Date: Jan 2004
Location: Pittsburgh, PA, USA
Posts: 28
Kernel Compile Checklist

My server is running Debian 3 and I want to upgrade the kernel to 2.6.3 stable. I have obtained the source from kernel.org and extracted it. I know next I :

make menuconfig and set everything I want compiled
make clean
make bzImage
make modules
make modules_install

Questions: bzImage is the boot image correct? I know I will need to edit my bootloader next. I'm asking you guys because this is my first kernel compile and the machine is in a datacenter in Chicago so I don't want to make any mistakes

- Does Debian have any other ways of doing this? I know I don't want a precompiled kernel so this probably isn't an option.

- My server does have odd SCSI drivers. Do I need to compile this into the kernel, and if so, how do I specify the path to them?

Thanks for the input guys!
__________________
In Him,
Christopher
carmstrong is offline   Reply With Quote
Old 03-04-2004   #2 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,575
One thing with the 2.6 kernel that you must think of is the fact that it has a completely rewritten module loading subsystem, so the current modutils don't work with it. You will have to download module-init-tools from kernel.org. Make absolutely sure to read the README of module-init-tools, or it most probably won't work for you.

Also, if your system is currently using disk labels for identifying partitions (such as passing root=LABEL=/ on the kernel cmdline), you will most probably have to get rid of them, and replacing them with the actual device instead. I've never seen disklabels work when upgrading the kernel.

I don't know exactly how Debian does certain things, but you may have to look over the startup scripts to make them compatible with the new /proc hierarchy that is due to the new module loading. For example, /proc/ksyms doesn't exist in 2.6, which breaks RedHat's startup scripts. The USB host controller modules have also been renamed.

Also, mkdir /sys and add an fstab entry to mount the device-less sysfs filesystem on it. sysfs is a new filesystem similar to the proc filesystem, only with a different purpose.

As for the SCSI drivers, you have to make sure that they are even compatible with the 2.6 kernel. It might be possible that 2.6 ships with native drivers for your hardware, so check that as well.

I've probably forgotten something...
Dolda2000 is offline   Reply With Quote
Old 03-04-2004   #3 (permalink)
Linux Engineer
 
Giro's Avatar
 
Join Date: Jul 2003
Location: England
Posts: 1,219
I upgraded my Debian box to 2.6.3 and had no problems but i dont use LKM's but all you should have to do is apt-get install module-init-tools . Im not sure about the SCSI drivers check Google to see if they are supported.
Giro is offline   Reply With Quote
Old 03-04-2004   #4 (permalink)
Linux Engineer
 
Nerderello's Avatar
 
Join Date: Apr 2003
Location: North East England
Posts: 1,190
I normally start with a
Code:
make mrproper
before the make clean and the make xconfig (much better with 2.6)

have fun

Nerderello
__________________

Use Suse 10.1 and occasionally play with Kubuntu
Also have Windows 98SE and BeOS
Nerderello is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 03:15 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0