LinuxQuestions.org
Help answer threads with 0 replies.
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 03-16-2004, 11:23 AM   #1
allroy
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian Woody/Sarge
Posts: 15

Rep: Reputation: 0
Compiling 2.6.0 kernel


I'm trying to compile a 2.6 kernel, but I'm running into some problems. The kernel compiles and installs just fine, but when I boot up, I get all kinds of errors about my kernel modules. It looks to me like it's trying to load the modules from my old kernel (2.4.18). For example it can't find the 'input', 'usb_uhci'. I'm also having problems with my ethernet card not working now. In 2.2 and 2.4 kernels, I used the 'tulip' driver. That doesn't seem to work anymore. My card is a Linksys LNE100TX 10/100 card. Anyone have any ideas on what might be going on?
 
Old 03-16-2004, 11:30 AM   #2
atlesn
Member
 
Registered: Oct 2003
Location: Oslo, Norway
Distribution: RedHat 9.0, Fedora Core 1/2/3, Debian 3.0, Smoothwall
Posts: 110

Rep: Reputation: 15
try

make modules_install
 
Old 03-16-2004, 12:04 PM   #3
Hammett
Senior Member
 
Registered: Aug 2003
Location: Barcelona, Catalunya
Distribution: Gentoo
Posts: 1,042

Rep: Reputation: 54
I have the same problems as you. I got a lot of modules errors, even doing make modules and make modules_install.
Even i cannot open the X servers, as when i try to do it, my screens goes in stand-by mode.

If anyone knows any trip, it'd be more than appretiated
 
Old 03-16-2004, 12:59 PM   #4
allroy
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian Woody/Sarge
Posts: 15

Original Poster
Rep: Reputation: 0
I did 'make modules_install' too, it installs them fine, but I think that its trying to load non-exsistant modules, or something. I don't have any problem with the X server, it's just my ethernet card that doesn't work.
 
Old 03-16-2004, 01:35 PM   #5
atlesn
Member
 
Registered: Oct 2003
Location: Oslo, Norway
Distribution: RedHat 9.0, Fedora Core 1/2/3, Debian 3.0, Smoothwall
Posts: 110

Rep: Reputation: 15
I think the chipset on your Linksys-NIC is tulip. If you browse to "Device Drivers->Networking Support->Ethernet (10 or 100Mbit)->Tulip family network device support" in make menuconfig, you should enable '"Tulip" family network device support' and 'DECchip Tulip (dc2114x) PCI support'. I think this is the right module for your card. Mark it as <*>, to make shure it is loaded on boot, then it is built into the kernel rather than just making a module.

do as usual:

make
# copy the boot image to your boot folder
cp arch/boot/*/bzImage /boot/vmlinuz-2.6 ........

Let me know if this is not working.
 
Old 03-16-2004, 01:51 PM   #6
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
dosen't the 2.6 kernel need a newer version of mod-init-tools (something like that)
 
Old 03-16-2004, 01:57 PM   #7
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
since you mention that you are migrating from kernel 2.4 ...
then did you make note of this like mentioned by shanein ?!
and the name of the usb modules have changed, so that may explain
that other problem ...

just judging by your information, that link i supplied should help you out ...
 
Old 03-16-2004, 02:20 PM   #8
allroy
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian Woody/Sarge
Posts: 15

Original Poster
Rep: Reputation: 0
OK, I recompiled the kernel, and built in the tulip driver that atlesn suggested, but still no luck. Yes, I am going to 2.6 from 2.4, and it's probably worth mentioning that I'm using Debian woody, if that would make any difference. That link looks like what I was looking for, so I'll try that...
 
Old 03-16-2004, 02:33 PM   #9
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
I've upgraded to 2.6.x many times from 2.4 and have never ran into any problems. It might help that I built my computer so I know everything that's in it. I originally didn't have my network card working with it a long time ago when I did it, but as of now all is well (I use a wireless card now, but I used to use a Netgear card with a National Semiconductor schipset).

You could possibly try installing as many net drivers as you think might be important, although this will consume some more time. However, compile them as modules so you inflate the kernel with stuff you don't need.

As for the guy with the videocard problem, which card do you have, and do you have the correct drivers installed for it?
 
Old 03-16-2004, 02:56 PM   #10
allroy
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian Woody/Sarge
Posts: 15

Original Poster
Rep: Reputation: 0
It's still not working for me, but I did read (on a page from the link that DrOzz posted) that Debian woody has problems with 2.6 kernel modules. Debian sarge and sid are supposed to support it better. So I'm going to just upgrade to sarge, and hope that will solve my module problems.
 
Old 03-16-2004, 03:01 PM   #11
shanenin
Member
 
Registered: Aug 2003
Location: Rochester, MN, U.S.A
Distribution: Gentoo
Posts: 987

Rep: Reputation: 30
that seems kind of severe to fix your problem. Have you updated to the newest module-init-tools ?

you need version .0.9.9 or newer

Last edited by shanenin; 03-16-2004 at 03:03 PM.
 
Old 03-16-2004, 03:12 PM   #12
allroy
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian Woody/Sarge
Posts: 15

Original Poster
Rep: Reputation: 0
Yes, I downloaded the lastest version using apt-get, which was 3.0pre10-1, from the debian site. But I'd like to try compiling a kernel the Debian way , because I am going to need to install it on another system anyway. Thanks for your help everyone!
 
Old 03-16-2004, 03:17 PM   #13
Pwnz3r
Member
 
Registered: Jan 2004
Location: Lancaster, OH
Distribution: Gentoo
Posts: 393

Rep: Reputation: 30
I'm so dang glad I use Gentoo.
 
Old 03-16-2004, 03:32 PM   #14
atlesn
Member
 
Registered: Oct 2003
Location: Oslo, Norway
Distribution: RedHat 9.0, Fedora Core 1/2/3, Debian 3.0, Smoothwall
Posts: 110

Rep: Reputation: 15
Check the output from dmesg

dmesg | grep -i eth

Can you from this see if your card has been found? sorry if im late..

Last edited by atlesn; 03-16-2004 at 03:33 PM.
 
Old 03-16-2004, 03:39 PM   #15
allroy
LQ Newbie
 
Registered: Feb 2004
Distribution: Debian Woody/Sarge
Posts: 15

Original Poster
Rep: Reputation: 0
@atlesn, yes my card is detected when I build tulip as a module, but it's detected as the completely wrong model. When I build it in, it doesn't detect anything at all.

Last edited by allroy; 03-16-2004 at 04:02 PM.
 
  


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
Compiling kernel = kernel panic Tons of Fun Debian 5 07-02-2005 02:59 PM
Compiling kernel module for linux kernel 2.4 in 2.6 guam Linux - Software 0 01-13-2005 03:02 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
Compiling new kernel joseph Linux - Software 2 10-14-2003 08:26 AM
Kernel compiling and module compiling tarballed Linux - General 1 12-22-2002 06:31 PM


All times are GMT -5. The time now is 09:52 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