LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-10-2004, 10:42 AM   #1
pld
Member
 
Registered: Jun 2003
Location: Southern US
Distribution: Ubuntu 5.10
Posts: 206

Rep: Reputation: 30
Compiling 2.6 Kernel for stock rh9


Hello all!

In my never-ending quest to take back control of my pc by switching to linux, I have been through quite a bit, and perhaps might not deserve the name *complete* newbie anymore...

As such, I bought all new hardware for my home machine recently (it all started with a geforce 5600 fx that refused to work past 2X AGP in my old mobo...). So, the quick synopsis of current hardware:

Abit NF7-S v2.0
AMD 3200+400 (Barton Core, obviously)
1gig pc3200 400mhz
WD Caviar 40gig HD
Maxtor 60gig HD

Now, I am dual booting XP/RH9 (though i dont really ever use XP, so it may be leaving soon...).

Stock RH9 install works fantastic, all my hardware works right away (nvidia drivers sailed smoothly and gave me audio/ethernet/video drivers no prob).
Only sticking point for me was that my HD would NOT go past UDMA2, and get detected as UDMA(33). trying to change settings with hdparm only yield errors in my logs that mode 3/4/5 speeds will not work.

I think i finally tracked this down to the cable bits being set incorrectly, and not being corrected by my stock install.

This is a vanilla RH9 install, with the stock kernel that came with the image, which was 2.4.20-8.

To try to fix this problem, and to keep up to date with things, I decided that since the stable 2.6.2 kernel was released, I would upgrade to it.

Here is where all my questions begin. I am really hoping that I may be able to find some help here (everyone has been so great in the past...) with the procedures and steps to upgrade from this stock 2.4.20-8 kernel to the 2.6.2

#1. With the AMD 3200+ 400, what processor type should I be picking in the kernel configuration? 6x86? Athlon/Duron?
I noticed these options in my .config file:

# CONFIG_MK6 is not set
CONFIG_MK7=y
# CONFIG_MK8 is not set

I had set the Athlon/Duron/etc. flag to yes in the configuration. Is the Barton core chip MK8? Any help here would be great!


#2. Does anyone have very specific instructions regarding this kernel upgrade for an NF7-S mobo/AMD chip combo? I have found quite a few different things on google, and they have all been helpful, but I want to be sure there is nothing silly I am missing.

For instance, there seems to be a huge change for modules in the new kernel. I thought I had upgraded all of the required utils in the Changes file included with the kernel, but I am still having a problem. NONE of my modules load automatically at bootup (and yes, the option is enabled in my config).
I got quite a few unresolved symbols during: make modules.
Then during boot I get a bunch of:
Feb 9 21:52:44 localhost iptables: modprobe: QM_MODULES: Function not implemented

I had upgraded to the latest module-init-tools, as had been suggested in many different how-to's, but this problem still persists


In the end, I do get a kernel that boots, and even loads into KDE with no problem, only thing is that I have NO modules loaded at bootup (boot modules included things like USB, and sound). Any help with this to iron out the problems would be greatly appreciated, and even better for any suggestions regarding kernel config stuff that perhaps I should know about.

It seems there is also some sort of problem with fs type devpts not being supported by kernel?

TIA everyone!
 
Old 02-10-2004, 11:43 AM   #2
Rounan
Member
 
Registered: Jun 2003
Location: Ontario
Distribution: Ubuntu, Gentoo, Debian
Posts: 416

Rep: Reputation: 30
I don't know anything about hardware-specific issues, and I assume you've read:

http://kerneltrap.org/node/view/799

which is a very good guide to the upgrade.

Specifically, I installed these packages from backports.org to get the latest utils in order to make 2.6 run smoothly. They might not -all- be necessary, but they were all recommended. these are debs, but I'm sure you can find RPM equivalents:

hdparm_5.4-6.backports.org.1_i386.deb
initrd-tools_0.1.54_all.deb
libproc-dev_3.1.15-0.backports.org.1_i386.deb
libsysfs-dev_0.3.0-0.backports.org.1_i386.deb
libsysfs0_0.3.0-0.backports.org.1_i386.deb
modconf_0.2.45_all.deb
module-init-tools_3.0-pre5-0.backports.org.1_i386.deb
modutils_2.4.26-0.backports.org.1_i386.deb
net-tools_1.60-8.backports.org.1_i386.deb
procps_3.1.15-0.backports.org.1_i386.deb
sysfsutils_0.3.0-0.backports.org.1_i386.deb
udev_0.009-0.backports.org.1_i386.deb


Your module problems will likely be solved by one of: modconf module-init-tools modutils
in addition to running the generate-modprobe script and doing a depmod.

Cheers!
--Rounan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
What is stock kernel? kskkumar Linux - General 6 09-13-2008 05:46 AM
Where Is Kernel Directory In Rh9(kernel 2.4.20-8), For Compiling HSP56 MR(pctel) Mode rudy3107 Linux - Software 1 07-25-2004 05:17 AM
Upgrading stock 2.4.22 kernel to 2.5.x then to 2.6.6 with existing stock .config file Kyl3 Slackware 8 06-09-2004 06:34 PM
what Desktop Prog or Viewer is stock in RH9 evil357 Linux - Software 0 11-14-2003 02:53 PM
Error when compiling kernel in rh9 rezza Linux - Newbie 7 07-10-2003 08:07 PM


All times are GMT -5. The time now is 04:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration