LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-07-2006, 10:34 AM   #1
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Rep: Reputation: 30
DFE-670 16-bit PCMCIA ethernet trouble


I've been trying to get my old ThinkPad 380ED running well for the past few weeks and have encountered a problem that's completely beyond me. the D-Link DFE-670TXD ethernet card I got for it doesn't seem to be working, no matter what I try. I've added what I'm pretty sure is the correct information to /etc/pcmcia/config but still no network interface.

output of cardctl ident:
Code:
Socket 0:
   product info: "D-Link", "DFE-670TXD", "PC Card"
   manfid: 0x0149, 0x4530
   function: 6 (network)
Lines I've added to /etc/pcmcia/config:
Code:
card "D-Link DFE-670TXD PC Card"
   manfid 0x0149, 0x4530
   bind "pcnet_cs"
Your help is greatly appreciated.
 
Old 09-07-2006, 01:27 PM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by zytsef
I've been trying to get my old ThinkPad 380ED running well for the past few weeks and have encountered a problem that's completely beyond me. the D-Link DFE-670TXD ethernet card I got for it doesn't seem to be working, no matter what I try. I've added what I'm pretty sure is the correct information to /etc/pcmcia/config but still no network interface.

output of cardctl ident:
Code:
Socket 0:
   product info: "D-Link", "DFE-670TXD", "PC Card"
   manfid: 0x0149, 0x4530
   function: 6 (network)
Lines I've added to /etc/pcmcia/config:
Code:
card "D-Link DFE-670TXD PC Card"
   manfid 0x0149, 0x4530
   bind "pcnet_cs"
Your help is greatly appreciated.
Hi,

As root what is the output of;
Code:
#ifconfig -a
#lspci -vv
#cardctl status
#cardctl config
#lsmod
 
Old 09-07-2006, 01:29 PM   #3
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Try replacing in the /etc/pcmcia/config file the card "D-Link DFE-670TXD PC Card" with;

card "D-Link DFE-670-TXD Fast Ethernet"
 
Old 09-08-2006, 03:41 AM   #4
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Lenard
Try replacing in the /etc/pcmcia/config file the card "D-Link DFE-670TXD PC Card" with;

card "D-Link DFE-670-TXD Fast Ethernet"
Tried that first off, as per the recommendation in the HCL, but I switched it after checking cardctl ident.

For gwsandvik: Off the top of my head I know that ifconfig will only show the loopback interface, cardctl status will show that it's a 5V 16bit card, and cardctl config will basicly show the info that cardctl ident provides. As for the rest, I may provide details later.

I appreciate the responses.
 
Old 09-08-2006, 07:25 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by zytsef
Tried that first off, as per the recommendation in the HCL, but I switched it after checking cardctl ident.

For gwsandvik: Off the top of my head I know that ifconfig will only show the loopback interface, cardctl status will show that it's a 5V 16bit card, and cardctl config will basicly show the info that cardctl ident provides. As for the rest, I may provide details later.

I appreciate the responses.
Hi,

I don't want to argue but there is a difference in the commands output. As for request for data to assist a person with a problem, we all troubleshoot differently.

Why are you posting questions when you exempt any assistance.

As for your 'may provide details later' comment. I will know when and if I assist you again.
 
Old 09-08-2006, 04:44 PM   #6
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Original Poster
Rep: Reputation: 30
Sorry for the misunderstanding. I didn't have access to the computer in question at the time and was recalling things off the top of my head.

cardctl config:
Code:
Socket 0:
   Vcc 5.00V  Vpp1 5.0V  Vpp 5.0V
cardctl status:
Code:
Socket 0:
   5V 16-bit PC Card
   function 0: [ready], [wp]
relavent portion of lspci:
Code:
00:13.0 PCMCIA bridge: Cirrus Logic CL 6729 (rev 07)
     Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ Setpping+ SERR- FastB2B-
     Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
     Interrupt: pin A routed to IRQ 0
     Region 0: I/O ports at 03e0 [size=4]
lsmod shows pcmcia_core loaded.

Thanks again
 
Old 09-09-2006, 07:15 PM   #7
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Please post the entire lsmod & lspci -vv.
 
Old 09-10-2006, 12:26 PM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

One other note, your manfid doesn't look right for the DFE-690TXD.

Do lspci -n to get the pcid.

If you do a lspci -vv -H1 you will get direct access to hardware.

I think your Thinkpad should provide;

Code:
#cardctl ident
Socket 0:
  no product info available
Socket 1:
  product info: "D-Link", "DFE-690TXD","PC Card"
  manfid: 0x0149, 0x0000
  function: 6 (network)
  PCI id: 0x1186,0x1340
I use the Dlink DFE-690TXD on several Thinkpads 760el. I had to do a lot of juggling to get this baby to work. If you do some google you will find the information. You will need to tweak the /etc/pcmcia/config.opts to include the memory windows for Thinkpads and the include ports.

For the TP760el;
Code:
include memory 0x4000000 -0x40001ff
include port 0x1000 -0x17ff
You will have to get the info for your TP model since you failed to provide the lsmod and lspci information that I requested. If you do a google for aliens posts for pcmcia-cs you will get a lot of information.

For the /etc/pcmcia/config;

Code:
#add 05-03-05 11:45 gws
class "network" module "cb_enabler", "pci-scan", "cb_shim", "rtl8189"

#add 05-03-05 11:45 gws
card "D-Link", "DFE-690TXD", "PC Card"
manfid 0x149, 0x0000
bind "realtek"
I also had to add to the /etc/rc.d/rc.pcmcia

Code:
PCIC_OPTS= "poll_interval=100 pci_esc=1"
You will need to go here for the readme. To get the cardbuss_DFE-690TXD driver. You will then need to compile!
 
Old 09-10-2006, 05:55 PM   #9
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by gwsandvik
One other note, your manfid doesn't look right for the DFE-690TXD.
That's because I have a DFE-670

According to the entry in the HCL and a few sources I found via google it should use the "pcnet_cs" driver.

I appreciate your help and I'll provide the full lspci and lsmod on Monday when I have access to the laptop in question again. Meanwhile I'll look into if and how I might have to open memory windows.
 
Old 09-11-2006, 07:23 AM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by zytsef
That's because I have a DFE-670

According to the entry in the HCL and a few sources I found via google it should use the "pcnet_cs" driver.

I appreciate your help and I'll provide the full lspci and lsmod on Monday when I have access to the laptop in question again. Meanwhile I'll look into if and how I might have to open memory windows.
Hi,

My mistake! I still think you will need to touch the /etc/pcmcia config files and amend the memory windows and ports to /etc/pcmcia/config.opt for the Thinkpad.

You could use this in the /etc/pcmcia/config.

Another option would be ndiswrapper and use the windows driver.
 
Old 09-11-2006, 08:34 AM   #11
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
I'm beginning to suspect that the pcmcia side of the card is OK, the ethernet side may not be however. Could be a bad broken/bent pin on the pcmcia ethernet connector or something a bit more serious. Could be a bad cable (including the cable that is maybe in the wall) or port on the hub/router/switch is bad.

Does this card work in Windows or in a different system??? When was the card last known to work??
 
Old 09-11-2006, 09:16 AM   #12
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Quote:
Originally Posted by Lenard
I'm beginning to suspect that the pcmcia side of the card is OK, the ethernet side may not be however. Could be a bad broken/bent pin on the pcmcia ethernet connector or something a bit more serious. Could be a bad cable (including the cable that is maybe in the wall) or port on the hub/router/switch is bad.

Does this card work in Windows or in a different system??? When was the card last known to work??
Hi,

Yes, the card is known to work with windows. You assignment for the irq is because of the lack of correct module environment. That is why you will need to get the config setup properly. You could try the tulip module, it has been known to work with this pcmcia.
 
Old 09-11-2006, 09:33 AM   #13
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
I was speaking to the OP zytsef (sorry for any confusion) but I'm glad the card works for you in both Linux and Windows.

You are right however the IRQ problem needs to be addressed.
 
Old 09-11-2006, 11:45 AM   #14
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by Lenard
I'm beginning to suspect that the pcmcia side of the card is OK, the ethernet side may not be however. Could be a bad broken/bent pin on the pcmcia ethernet connector or something a bit more serious. Could be a bad cable (including the cable that is maybe in the wall) or port on the hub/router/switch is bad.

Does this card work in Windows or in a different system??? When was the card last known to work??

Never tried this individual card in Windows and I know it's not a bad cable/network connection. It's just that the interface that should be there isn't showing up. Seems to work fine on a Gateway solo 5300...

full lspci -vv:
Code:
00:0.0 Host bridge: Intel Corporation 430X - 82437MXMob. System Ctrlr (MTSC) & 82438MX Data Path (MTDP) (rev 02)
     Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
     Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort+ <MAbort+ >SERR- <PERR-
     Latency: 32

00:01.0 Bridge: Intel Corporation 430MX - 82371MX Mobile PCI I/O IDE Xcelerator (MPIIX) (rev 03)
     Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
     Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort+ <TAbort- <MAbort- >SERR- <PERR-
     Latency: 0

00:03.0 VGA compatable controller: Neomagic Corporation NM2093 [MagicGraph 128ZV] (rev 02) (prog-if 00 [VGA])
     Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
     Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
     Interrupt: pin A routed to IRQ 11
     Region 0: Memory at 08000000 (32-bit, prefetchable) [size=4M]

00:13.0 PCMCIA bridge: Cirrus Logic CL 6729 (rev 07)
     Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr+ Stepping+ SERR- FastB2B-
     Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR-
     Interrupt: pin A routed to IRQ 0
     Region0: I/O ports a 03e0 [size=4]
lsmod:
Code:
Module          Size  Used by     Not tainted
usbcore        59148   1
ds              6548   2
i82365         13668   2
isa-pnp        29968   0  [i82365]
pcmcia_core    39172   0  [ds i82365]
ide-scsi        9392   0
running with kernel 2.4.31. Found nothing about memory windows so far.

Thanks again!
 
Old 11-13-2006, 06:40 PM   #15
zytsef
Member
 
Registered: Apr 2006
Location: Vancouver, Canada
Distribution: Slackware, Ubuntu
Posts: 168

Original Poster
Rep: Reputation: 30
After many months of this sitting on the back burner at work I finally got around to it again. I noticed today that it just plain wasn't loading the kernel module for the driver I was using. Modprobe refused to load the driver. Turns out I had to simply run depmod to get the dependent modules for pcnet_cs loaded. Easy solution and added to my burgeoning Linux knowledge.

At last, the beep of success!
 
  


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
Need help installing the D-Link DFE-670-TXD 10/100 Ethernet Card crushburn Linux - Laptop and Netbook 0 03-10-2004 11:01 AM
Ethernet PCMCIA: DFE-690TXD peace Linux - Networking 10 02-01-2004 11:00 PM
DFE-538TX Ethernet Adapter Jedal Linux - Hardware 3 07-17-2003 08:23 PM
Ethernet - DLINK DFE-538TX raymondevil Slackware 1 03-24-2003 04:32 AM
network anywhere ethernet np100 pcmcia trouble mrtwice Linux - Hardware 2 08-26-2002 10:42 AM

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

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