LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 11-29-2004, 12:17 PM   #1
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Rep: Reputation: 30
No Ethernet in New Kernel


So I installed a new kernel, and I no longer have ethernet support, apparently. Is there any way to check to module in an existing kernel so I can compile it with the new one?
 
Old 11-29-2004, 12:24 PM   #2
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
lsmod

Of couse, this is going to dump out all the modules that are loaded, and that's likely a bunch. It would be faster to drop your NIC brand/madel into google and see what Linux uses to drive it.
 
Old 11-29-2004, 03:31 PM   #3
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
Yes, I thought about lsmod. I don't know what flavor of nic I have. =( Autodetection lol

I was hoping maybe there was a lsmod |grep eth0 command to do, or something of that nature. Alright, into the case I go.
 
Old 11-29-2004, 03:38 PM   #4
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
it appears to use the natsemi or tulip modules. is there some way to compile these into the kernel?

it's a netgear fa311.

EDIT:

apparently, the natsemi module no longer exists in my new kernel.

I am using Slack10, and upon the recompile, an attempt to modprobe natsemi results in : FATAL: module natsemi does not exist.

What's going on?

Last edited by Diademed; 11-29-2004 at 04:24 PM.
 
Old 11-29-2004, 04:26 PM   #5
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
probably tulip.

When you say "installed a new kernel", do you mean from source or from a package? It may be as simple as modprobe tulip; /etc/init.d/network restart. If that fixes it, you need to tell the kernel to load that module on boot. I have *no* idea how to do that on your system as I've not seen a slack box since before version 3.

If you built your kernel from source, you need to rebuild it with tulip selected as a module.

Actually, it looks like natsemi or tulip will work, according to this: http://www.linuxquestions.org/hcl/sh...hp?product=173

Last edited by sigsegv; 11-29-2004 at 04:29 PM.
 
Old 11-29-2004, 04:29 PM   #6
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
I built it from source.

Hmmm..... would the option to include tulip or natsemi as a module be in the ethernet options, most likely?

EDIT:

I get FATAL: module tulip not found

also.

in the boot dmesg, it seems to have a hard time loading my sound stuff, also.

The whole reason I recompiled was so I could make use of my Hercules Game Theatre. Alsa doesn't seem to detect that either. Bah.

Last edited by Diademed; 11-29-2004 at 04:30 PM.
 
Old 11-29-2004, 04:30 PM   #7
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 46
In the networking section, under Ethernet ... I forget exactly. It's been years since I built a Linux kurnel from source (as I hate the config system)
 
Old 11-29-2004, 04:49 PM   #8
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Here it is # CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_CS89x0 is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
CONFIG_E100=m
CONFIG_E100_NAPI=y
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
CONFIG_8139TOO=y
CONFIG_8139TOO_PIO=y
# CONFIG_8139TOO_TUNE_TWISTER is not set
# CONFIG_8139TOO_8129 is not set
# CONFIG_8139_OLD_RX_RESET is not set
Thats a part of mine its under Ethernet 10 or 100bit
Tulip family network device support
Once you get everything working cp the .config someplace and then when you want to install a new kernel you can use the config you know that works as a starting point and go from there.

Last edited by comprookie2000; 11-29-2004 at 04:53 PM.
 
Old 11-29-2004, 05:03 PM   #9
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
Aha! I'm recompiling it now. I'll let you know how it goes.
 
Old 11-29-2004, 07:37 PM   #10
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by comprookie2000
Here it is # CONFIG_AC3200 is not set
# CONFIG_APRICOT is not set
# CONFIG_B44 is not set
# CONFIG_FORCEDETH is not set
# CONFIG_CS89x0 is not set
# CONFIG_DGRS is not set
# CONFIG_EEPRO100 is not set
CONFIG_E100=m
CONFIG_E100_NAPI=y
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139CP is not set
CONFIG_8139TOO=y
CONFIG_8139TOO_PIO=y
# CONFIG_8139TOO_TUNE_TWISTER is not set
# CONFIG_8139TOO_8129 is not set
# CONFIG_8139_OLD_RX_RESET is not set
Thats a part of mine its under Ethernet 10 or 100bit
Tulip family network device support
Once you get everything working cp the .config someplace and then when you want to install a new kernel you can use the config you know that works as a starting point and go from there.
I need to find that piece of code. I can't find it!!!!

Maybe I'm lookin gin the wrong place, but how do I compile the Natsemi module into the kernel, or failing that, to enable it to be loaded as a module?

Help!
[Slack10]


EDIT:

Trying to compile into 2.6.5
Anyone?

Last edited by Diademed; 11-29-2004 at 07:49 PM.
 
Old 11-29-2004, 08:33 PM   #11
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
Well, that compile didn't work. No video, apparently.

Is there any way to load a previous kernel compile, so I don't have to go and do it all over again, since all I need to change are a couple options?

Found it. That was easy enough.

Now hopefully it'll work.

Last edited by Diademed; 11-29-2004 at 08:46 PM.
 
Old 11-29-2004, 08:46 PM   #12
comprookie2000
Gentoo Developer
 
Registered: Feb 2004
Location: Fort Lauderdale FL.
Distribution: Gentoo
Posts: 3,291
Blog Entries: 5

Rep: Reputation: 56
Did you see this: its under Ethernet 10 or 100bit
Tulip family network device support
What kernel 2.4 or 2.6 enable it as a module,if you don't see it there is no need to compile the kernel you are not going to get lucky!
 
Old 11-29-2004, 10:09 PM   #13
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
I saw tulip, I wanted Natsemi.

I actually do need to recompile so I can use my sound card.
 
Old 11-29-2004, 10:52 PM   #14
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
You can copy your old kernel config file (Slack stashes them in /boot, generally) to <new kernel dir>/.config and then run make oldconfig then you can make menuconfig or whatever to enable extra stuff. Make oldconfig may take awhile though going from 2.4 -> 2.6.
 
Old 11-30-2004, 12:24 AM   #15
Diademed
Member
 
Registered: Jul 2004
Distribution: Slackware 10.2
Posts: 159

Original Poster
Rep: Reputation: 30
I meant to take the configs I already had from that 2.6.5 install and change the few things I need to get the video working. I just had to make another bzImage. Unfortunately, I can't get video working!!!! What would prevent video from working? I pretty much went by Shilo's thread, the long one where he tell what he does for every option. Could it be the frame buffering? It boots fine, but no video..... I have to reboot blind.
 
  


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 2.6.6 Ethernet Problem zevoneer Fedora 0 06-13-2004 02:55 PM
2.6 kernel/ ethernet ajbrouwe Slackware - Installation 1 04-29-2004 08:11 PM
NForce2 Ethernet and Kernel 2.6 JSmith Linux - Networking 6 04-11-2004 04:00 AM
nvidia ethernet on kernel 2.6.0 nickwu2000 Linux - Networking 2 12-22-2003 03:41 AM
ethernet hell on a 2.4.23 kernel wae Linux - Networking 15 11-21-2003 03:27 PM


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