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

Notices


Reply
  Search this Thread
Old 07-08-2003, 10:55 AM   #1
yocompia
Member
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244

Rep: Reputation: 30
kernel upgrade => ethernet problem


i've recently d/l'ed the source for the 2.4.21 kernel and i've been trying to compile the correct options into it to get things to function. a sticking point for me right now is that the fresh kernel does not want to make things easy when interfacing the ethernet card.

i have an integrated 3COM 3C920C LAN controller on my TYAN S2466 TIGER MPX mobo, and under the 2.4.20 bare.i kernel (which works w/ rp-pppoe) it professes the following:

lspci gives V
02:08.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)

dmesg|grep -i 3c gives V
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
02:08.0: 3Com PCI 3c905C Tornado at 0x3000. Vers LK1.1.16

cat /proc/ioports gives V
3000-3fff : PCI Bus #02
3000-307f : 3Com Corporation 3c905C-TX/TX-M [Tornado]
3000-307f : 02:08.0

but once i compile the 2.4.21 kernel, it won't connect using the rp-pppoe script. i believe i've compiled all the correct drivers into the kernel so that the card will function, but i'm not certain of that. here's a list of the options i've set on the kernel in the "ethernet" category and the resulting outputs (analogous to those above) under the 2.4.21 kernel:

options set in 2.4.21 V

#
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
CONFIG_NET_VENDOR_3COM=y
CONFIG_VORTEX=y
# CONFIG_TYPHOON is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
# CONFIG_HP100 is not set
CONFIG_NET_PCI=y
# CONFIG_PCNET32 is not set
# CONFIG_AMD8111_ETH is not set
# CONFIG_ADAPTEC_STARFIRE is not set
# CONFIG_TULIP is not set
# CONFIG_DE4X5 is not set
# CONFIG_DGRS is not set
# CONFIG_DM9102 is not set
CONFIG_EEPRO100=y
# CONFIG_EEPRO100_PIO is not set
# CONFIG_E100 is not set
# CONFIG_FEALNX is not set
# CONFIG_NATSEMI is not set
# CONFIG_NE2K_PCI is not set
# CONFIG_8139TOO is not set
# CONFIG_SIS900 is not set
# CONFIG_EPIC100 is not set
# CONFIG_SUNDANCE is not set
# CONFIG_TLAN is not set
# CONFIG_TC35815 is not set
# CONFIG_VIA_RHINE is not set
# CONFIG_WINBOND_840 is not set
# CONFIG_NET_POCKET is not set

#
# Ethernet (1000 Mbit)
#
# CONFIG_ACENIC is not set
# CONFIG_DL2K is not set
# CONFIG_E1000 is not set
# CONFIG_NS83820 is not set
# CONFIG_HAMACHI is not set
# CONFIG_R8169 is not set
# CONFIG_SK98LIN is not set
# CONFIG_TIGON3 is not set
# CONFIG_FDDI is not set
CONFIG_PPP=y
CONFIG_PPP_FILTER=y
CONFIG_PPP_ASYNC=m
CONFIG_PPP_SYNC_TTY=m
# CONFIG_PPP_DEFLATE is not set
# CONFIG_PPP_BSDCOMP is not set
# CONFIG_SLIP is not set

dmesg gives V

3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
See Documentation/networking/vortex.txt
02:08.0: 3Com PCI 3c905C Tornado at 0x3000. Vers LK1.1.16
00:e0:81:26:14:b7, IRQ 19
product code 0000 rev 00.6 date 00-00-00
Internal config register is 1800000, transceivers 0xa.
8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
MII transceiver found at address 24, status 782d.
Enabling bus-master transmits and whole-frame receives.
02:08.0: scatter/gather enabled. h/w checksums enabled
PPP generic driver version 2.4.2

and lspci gives V

3000-3fff : PCI Bus #02
3000-307f : 3Com Corporation 3c905C-TX/TX-M [Tornado]
3000-307f : 02:08.0

when i look at this, the two cases look identical, but there's clearly something different. the rp-pppoe client just hangs when i try to use the adsl-start script in 2.4.21. any suggestions on how to make the ethernet card work in the 2.4.21 compile? thanx for reading this ass-long post ahead of time.
 
Old 07-08-2003, 03:47 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Just a few questions:

Did you use the Vortex driver built-in or
as a module in the 2.4.20 kernel?

Do you need the eepro100 driver?

Since I don't have PPP over ethernet
I can't really make any well-based
suggestions, but in your snippet from
.config I can't see a
CONFIG_PPPOE=y ...


Cheers,
Tink
 
Old 07-08-2003, 11:18 PM   #3
yocompia
Member
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244

Original Poster
Rep: Reputation: 30
as far as the CONFIG.PPPOE is concerned, i'm to understand that it's not available as a kernel option (after having grepped .config file w/ -i ppp), so it can't be marked yes.

i did build in the Vortex ethernet card driver, so it's not modular. i wasn't sure about the eepro100 driver's effects, so i just built that in as well (it was marked yes by default).
 
Old 07-08-2003, 11:49 PM   #4
yocompia
Member
 
Registered: Apr 2003
Location: Chicago, IL
Distribution: openbsd 3.6, slackware 10.0
Posts: 244

Original Poster
Rep: Reputation: 30
okay, i was being stupid and forgot to make the modules after making the image. seeing as how the driver for ppp_async was modular, i couldn't add it w/ modprobe.

thanks for the ppp.config suggestion tink, you were right on.
 
  


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
Debian ethernet undetected after kernel upgrade MaulingMonkey Linux - Hardware 0 01-10-2005 07:56 AM
HELP Please. New kernel, ethernet problem? deleshai Slackware 7 11-29-2004 04:26 PM
Strange problem regarding ethernet in kernel 2.6.9 bilalmughal Slackware 0 11-28-2004 06:45 AM
Kernel upgrade problem. Ten-shin Slackware 8 06-30-2004 02:20 PM
Kernel 2.6.6 Ethernet Problem zevoneer Fedora 0 06-13-2004 01:55 PM

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

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