LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 04-29-2007, 10:32 AM   #1
CarlKB
LQ Newbie
 
Registered: Apr 2007
Posts: 6

Rep: Reputation: 0
Setting up eth0 on Dell 840 Poweredge


I am using Slackware 11 on a new Dell 840 Poweredge. I have compiled and installed the 2.6.17.13 kernel... the system seems to work fine except I can not get the onboard network card to come up. It is a Broadcom NetXtreme and uses the tg3 driver (as I understand it.) The driver is in the modules (as tg3.ko) but ifconfig still shows only the local device (127.0.0.1).

I am fairly certain it is my lack of understanding.

Does anyone have any advice or suggestions.

Thanks,

Carl
 
Old 04-29-2007, 10:34 AM   #2
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
You say “The driver is in the modules (as tg3.ko)”, but did you actually insert the module into the kernel? Try doing something like “modprobe tg3”.
 
Old 04-29-2007, 10:39 AM   #3
digen
Member
 
Registered: Dec 2005
Location: India
Distribution: Ubuntu Feisty Fawn
Posts: 107

Rep: Reputation: 15
You may run the lsmod | grep tg3.ko to find whether the module is already loaded.
 
Old 04-29-2007, 11:57 AM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Perhaps “lsmod | grep tg3” might be more revealing (leave off the .ko).
 
Old 04-29-2007, 12:14 PM   #5
CarlKB
LQ Newbie
 
Registered: Apr 2007
Posts: 6

Original Poster
Rep: Reputation: 0
lsmod | grep tg3 returns nothing.

modprobe tg3 returns 'Error inserting tg3 Invalid module format.

To compile the module (tg3), I added it to the make configure file using 'make menuconfig'.

Thanks to all, your responses were quicker than I thought they would be.

Thansk,

Carl
 
Old 04-29-2007, 02:12 PM   #6
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
You did not need to recompile and install that 2.6.17.13 kernel, unless it was missing certain functionality that you require.
The packages you need to install are the kernel-generic, kernel-modules and kernel-source packages in the /extra/linux-2.6.17.13 directory of Slackware-11.0.

In case I misunderstood, and you knew this, but needed a self-compiled kernel, it is always a good idea to start with the kernel configuration that the Slackware default kernel uses, and make your own modifications thereafter. To do so, take the file /extra/source/linux-2.6.17.13/config-generic-2.6.17.13 and copy that to the file /usr/src/linux-2.6.17.13/.config before you run the command make menuconfig.
Your kernel configuration defaults will then be identical to Slackware's kernel and you only need to change the settings that matter to you.

Eric
 
Old 04-29-2007, 02:53 PM   #7
CarlKB
LQ Newbie
 
Registered: Apr 2007
Posts: 6

Original Poster
Rep: Reputation: 0
The reason I compiled a new kernel was that the 840 has a couple of mirrored SATA drives that I could only see by using the test26.s or huge26.s kernels. Unfortunately, both of these install 2.4.33 if you take their kernel at the end of the install. For whatever reason, that meant that certain modules and config's were 2.4.33 and some were expecting 2.6.X. Therefore, I thought the shortest path would be to use the old config, update it where needed, compile a new kernel from the /extra/sources and use that kernel.

Unfortunately, it doesn't seemed to have helped much as the kernel still doesn't see the network adapter. From lspci, I can see the adapters (I addeed a Netgear Realtek just to see if it was struggling with the Broadcom) but with lsmod I see nothing and with modproble it returns '... Invalid module format'.

Any ideas or help is appreciated.

Thanks,

Carl
 
Old 04-29-2007, 05:08 PM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by CarlKB
... using the test26.s or huge26.s kernels. Unfortunately, both of these install 2.4.33 if you take their kernel at the end of the install. For whatever reason, that meant that certain modules and config's were 2.4.33 and some were expecting 2.6.X.
Well you must have done an incomplete install if you experience these strange things. It would be good to read the RELEASE_NOTES file and specifically the sections where it documents booting the huge26.s kernel and installing that kernel plus modules. You do not need to compile a kernel in order to get the 2.6 modules installed.

Eric
 
Old 04-29-2007, 06:40 PM   #9
CarlKB
LQ Newbie
 
Registered: Apr 2007
Posts: 6

Original Poster
Rep: Reputation: 0
Yes, you are correct (so much for my reading comprehension.) Followed your instructions and everything now behaves normally (msprod, lsmod, etc.) although I still have one small issue (the server doesn't believe it is on the network so I can't ping it and it can't ping anyone.)

Thanks for your help and suggestions.

Carl
 
  


Reply



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
Dell Poweredge 4300 mpgram Linux - Hardware 9 11-09-2007 02:37 PM
Install on Dell PowerEdge SC420 moger Fedora - Installation 3 01-20-2006 08:44 PM
Not able to find/configure eth0 interface on Dell Poweredge 700 nageshs Linux - Networking 5 03-04-2005 03:12 PM
dell poweredge 2600 dvd jchristman Linux - Hardware 0 08-26-2004 08:50 AM
Dell PowerEdge 2650 k2pattu Linux - Hardware 2 11-21-2003 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation

All times are GMT -5. The time now is 09:40 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
Open Source Consulting | Domain Registration