LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-17-2005, 07:48 PM   #1
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Rep: Reputation: 30
after kernel compilation


Hi all, after compiling 2.6.11.11 kernel to enable HIGHMEM, I havent been able to configure my nic card. A quick lspci shows it as well as the interface on my motherboard. running netconfig takes me through the whole process, but my device never shows in ifconfig. all the rc.modules that need to run have the correct permissions. When running rc.modules returns an error as such
warning: module not present .
This is after I try to find my card, which is a Gigabit 10/100 . I never find my card, but I try uncommenting other modules and I get the same message everytime. This card has worked on the stock 2.4.29 kernel.
Did I miss something when running menuconfig? Not to sure what to do next, this is my first kernel recompile. I have read SLACKBOOK at least 20 times, maybe I missed something.
All help appreciated.
Slack 10.1
2.6.11.11 kernel
gigabit 10/100 network interface
static ip 192.168.1.3


thank you.

Last edited by lord-fu; 07-17-2005 at 07:52 PM.
 
Old 07-17-2005, 08:01 PM   #2
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,152

Rep: Reputation: 60
HIGHMEM support is only used/required if you have more than 4GB ram (if i am not wrong) on your PC. HIGHMEM support has, AFAIK, nothing to do with your NIC. What brand of NIC do you have? You may not be able to configure it because you haven't compiled the kernel with your NIC's support.

Tux,
 
Old 07-17-2005, 08:03 PM   #3
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Original Poster
Rep: Reputation: 30
I compiled in HIGHMEM as it supports 1-4 g of RAM, and a defaukt kernel supports only 846 or so.....my nic is as above a gigabit 10/100.
thank you.
I should also state that rc.inet1 shows my correct settings for my interface, but yet I still cant see it listed through if config...my loopback shows but that is all.
I also believe, at least as far as I can remember that the kernels come with network support figured in. I only changed or enabled HIGHMEM.

Last edited by lord-fu; 07-17-2005 at 08:22 PM.
 
Old 07-17-2005, 08:20 PM   #4
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Original Poster
Rep: Reputation: 30
anytakers? I am at an impass here......
 
Old 07-17-2005, 09:05 PM   #5
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,152

Rep: Reputation: 60
Quote:
I compiled in HIGHMEM as it supports 1-4 g of RAM, and a defaukt kernel supports only 846 or so.....my nic is as above a gigabit 10/100. thank you.
If you read my earlier post closely, there's no connection between your ram and your NIC

In order for you to configure your NIC you either compile your kernel with support for NIC builtin or build a module for your NIC.

Did you see the output of

Code:
# lspci
Here's lspci output of my machine...

Code:
02:02.0 Ethernet controller: Davicom Semiconductor, Inc. Ethernet 100/10 MBit (rev 31)
 
Old 07-17-2005, 11:47 PM   #6
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Probably what happened is that you forgot to compile the module for your NIC when you compiled the new kernel, which is why you are getting thoise not found errors. If you're compiling a custom kernel for yourself, it's probably easiest just to compile support for your NIC in directly (no module needed). You can go back and recompile and do this, otherwise just compile the module and modprobe it.

Also, are you using Slack 10 as your profile suggests?
 
Old 07-18-2005, 09:26 AM   #7
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Original Poster
Rep: Reputation: 30
Actually I am using slack 10.1, I know nic and ram have nothing to do with each other, I have 1.5g of ram thats why I compiled a kustom kernel. As in my first post lspci, lists my card as well as the one built into motherboard. My card is netgear gigabit
http://www.netgear.com/products/details/GA311.php
the generic 2.4.29 kernel recognizes it fine, is there a way to use that module? When I recompiled a kernel last night I made sure to look and automatic module loading is enabled, as well as network support....but I can not see a module for my card...if I need to do something else please advise....than you for your time.
Or is there a way to compile this straight into the kernel as BTMiller suggested...as I said this is my first attempt, but its not so bad if I can get over this little hump...thanks again.

Last edited by lord-fu; 07-18-2005 at 09:29 AM.
 
Old 07-18-2005, 10:32 AM   #8
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 47
Network cards are in a separate place from the "networking support" section IIRC.

Try looking under "Network device support -> Ethernet (10 or 100Mbit) ->" and hunt down your card in here. It *must* be there if it works OK with a generic kernel.
 
Old 07-18-2005, 11:01 AM   #9
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Original Poster
Rep: Reputation: 30
just a quick question and I think I might be able to get this, what is IIRC? and I still have an entry in lilo for my stock kernel....I should be able to boot that do a lsmod and see what module they use for my interface ....correct?thanks again..
 
Old 07-18-2005, 11:09 AM   #10
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 47
IIRC = "If I remember correctly"

Assuming that the kernel has the network card compiled as a module (Which it almost certainly will, knowing Slack), yes, you can check the modules running. I've done this myself on more than one occasion, to tell the truth. . .
 
Old 07-18-2005, 11:12 AM   #11
lord-fu
Member
 
Registered: Apr 2005
Location: Ohio
Distribution: Slackware && freeBSD
Posts: 676

Original Poster
Rep: Reputation: 30
awesome, I will give it a shot.....thanks alot
 
  


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
kernel compilation-From where it should be started for already compiled kernel b0nd Linux - Newbie 11 08-17-2005 01:08 PM
kernel compilation : to remove a kernel which files should be deleted b0nd Linux - Newbie 2 08-17-2005 11:35 AM
Kernel compilation problems, distorted video and kernel panic shamrock_uk Linux - Laptop and Netbook 5 08-12-2005 10:53 PM
does kernel-source installs with the compilation cum installtion of a new kernel? luqman Linux - General 18 03-04-2005 07:33 AM
kernel 2.6.0 compilation help need talha Linux - Software 2 12-18-2003 07:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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