Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Problem with tulip driver
@ 1997-11-21  5:00 Michael C. Vergallen
  1997-11-21  5:00 ` Michael C. Vergallen
  0 siblings, 1 reply; 5+ messages in thread
From: Michael C. Vergallen @ 1997-11-21  5:00 UTC (permalink / raw)



Hi,

In kernel 2.0.32 the newer tulip.c code dous not work with my card.
So if anyone has a DC20141 card who dous not work you may get it to work
with the tulip.c code from the older kernel-2.0.25 the code I use now.
and it seems to fix the problem with my card.

Michael 

-- 
Michael C. Vergallen A.k.A. Mad Mike, 
Sportstraat 28			http://www.double-barrel.be/mvergall/
B 9000 Gent			ftp://ftp.double-barrel.be/pub/linux/
Belgium				tel : 32-9-2227764 Fax : 32-9-2224976
			



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with tulip driver
  1997-11-21  5:00 Problem with tulip driver Michael C. Vergallen
@ 1997-11-21  5:00 ` Michael C. Vergallen
  1997-11-24  5:00   ` Jim Paradis
  0 siblings, 1 reply; 5+ messages in thread
From: Michael C. Vergallen @ 1997-11-21  5:00 UTC (permalink / raw)



On 21 Nov 1997 09:08:08 GMT, Michael C. Vergallen 
                <mvergall@alpha.double-barrel.be> wrote:
>Hi,
>
>In kernel 2.0.32 the newer tulip.c code dous not work with my card.
>So if anyone has a DC20141 card who dous not work you may get it to work
>with the tulip.c code from the older kernel-2.0.25 the code I use now.
>and it seems to fix the problem with my card.
Shit..., on reading the source code I found the problem, the CONFIG file in
/usr/src/linux/drivers/net had the anwer to my problem ..:-) I had to set a 
few defines. But like there was no hint becuase there was no doc telling me 
this. I spend 20hrs trying all different kernels until I allmost gave up.

Michael
-- 
Michael C. Vergallen A.k.A. Mad Mike, 
Sportstraat 28			http://www.double-barrel.be/mvergall/
B 9000 Gent			ftp://ftp.double-barrel.be/pub/linux/
Belgium				tel : 32-9-2227764 Fax : 32-9-2224976
			



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with tulip driver
  1997-11-21  5:00 ` Michael C. Vergallen
@ 1997-11-24  5:00   ` Jim Paradis
  1997-11-26  5:00     ` Michael C. Vergallen
  0 siblings, 1 reply; 5+ messages in thread
From: Jim Paradis @ 1997-11-24  5:00 UTC (permalink / raw)
  To: Michael C. Vergallen


Michael C. Vergallen wrote:
> Shit..., on reading the source code I found the problem, the CONFIG file in
> /usr/src/linux/drivers/net had the anwer to my problem ..:-) I had to set a
> few defines. But like there was no hint becuase there was no doc telling me
> this. I spend 20hrs trying all different kernels until I allmost gave up.

For the benefit of everyone else who might have this problem, could you
tell us exactly what you did to make this work?

Thanks!

-- 
Jim Paradis (paradis@amt.tay1.dec.com)        "It's not procrastination, 
Digital Equipment Corporation		       it's my new Just-In-Time 
(508)952-4047				       Workload Management System!"
http://www.tiac.net/users/jrp/index.html



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with tulip driver
  1997-11-24  5:00   ` Jim Paradis
@ 1997-11-26  5:00     ` Michael C. Vergallen
  1997-11-28  5:00       ` cekim
  0 siblings, 1 reply; 5+ messages in thread
From: Michael C. Vergallen @ 1997-11-26  5:00 UTC (permalink / raw)



On Mon, 24 Nov 1997 15:47:53 -0500, Jim Paradis 
                      <paradis@amt.tay1.dec.com> wrote:
>Michael C. Vergallen wrote:
>> Shit..., on reading the source code I found the problem, the CONFIG file in
>> /usr/src/linux/drivers/net had the anwer to my problem ..:-) I had to set a
>> few defines. But like there was no hint becuase there was no doc telling me
>> this. I spend 20hrs trying all different kernels until I allmost gave up.
>
>For the benefit of everyone else who might have this problem, could you
>tell us exactly what you did to make this work?

Hi,
Yes I could ... Just a moment ... Just cut this and replace the original file. 
Others may have to change the last line.. 
Here is the CONFIG that works for my card :
---- begin of /usr/src/linux/drivers/net/CONFIG
#
# This file is used for selecting non-standard netcard options, and
# need not be modified for typical use.
#
# Drivers are *not* selected in this file, but rather with files
# automatically generated during the top-level kernel configuration.
#
# Special options supported, indexed by their 'config' name:
#
#  CONFIG_WD80x3	The Western Digital (SMC) WD80x3 driver
#	WD_SHMEM=xxx	Forces the address of the shared memory
#  CONFIG_NE2000	The NE-[12]000 clone driver.
#	PACKETBUF_MEMSIZE  Allows an extra-large packet buffer to be
#			used.  Usually pointless under Linux.
#	show_all_SAPROM  Show the entire address PROM, not just the
#			ethernet address, during boot.
#	CONFIG_NE_RW_BUGFIX  Patch an obscure bug with a version of the 8390.
#	CONFIG_NE_SANITY Double check the internal card xfer address
#			against the driver's value. Useful for debugging.
#  CONFIG_HPLAN		The HP-LAN driver (for 8390-based boards only).
#	rw_bugfix	Fix the same obscure bug.
#  CONFIG_EL2		The 3c503 EtherLink II driver
#	EL2_AUI		Default to the AUI port instead of the BNC port
#	no_probe_nonshared_memory  Don't probe for programmed-I/O boards.
#	EL2MEMTEST	Test shared memory at boot-time.
#  CONFIG_PLIP		The Crynwr-protocol PL/IP driver
#	INITIALTIMEOUTFACTOR	Timing parameters.
#	MAXTIMEOUTFACTOR
#  DE600		The D-Link DE-600 Portable Ethernet Adaptor.
#	  DE600_IO	The DE600 I/O-port address (0x378 == default)
#	  DE600_IRQ	The DE600 IRQ number to use (IRQ7 == default)
#	  DE600_DEBUG	Enable or disable DE600 debugging (default off)
#  DE620		The D-Link DE-600 Portable Ethernet Adaptor.
#	  DE620_IO	The DE620 I/O-port address (0x378 == default)
#	  DE620_IRQ	The DE620 IRQ number to use (IRQ7 == default)
#	  DE620_DEBUG	Enable or disable DE600 debugging (default off)
#  DEPCA		The DIGITAL series of LANCE based Ethernet Cards
#			(DEPCA, DE100, DE200/1/2, DE210, DE422 (EISA))
#  EWRK3		The DIGITAL series of AT Ethernet Cards (DE203/4/5)
#       EWRK3_DEBUG	Set the desired debug level
#
#  DE4x5		The DIGITAL series of PCI/EISA Ethernet Cards,
#			DE425, DE434, DE435, DE450, DE500
#     DE4X5_DEBUG	Set the desired debug level
#     DEC_ONLY          Allows driver to work with DIGITAL cards only - 
#			see linux/drivers/net/README.de4x5
#     DE4X5_AUTOSENSE   (Default) auto media/mode selection
#                       If you want at least one board to not autosense then
#                       no board can autosense. For a board mix of several
#	                types, OR the manual values [eg for a DE500 (100M) with
#	                a DE450 (AUI) use '-DDE4X5_AUTOSENSE=(_100Mb|AUI)']
#                       For full auto media/mode selection           = AUTO
#                       For manual TP media selection                = TP
#                       For manual TP/Nway media selection (DC21041) = TP_NW
#                       For manual BNC media selection               = BNC
#                       For manual AUI media selection               = AUI
#                       For manual BNC/AUI media selection (DC21040) = BNC_AUI
#                       For manual 10Mb/s mode selection   (DC21140) = _10Mb
#                       For manual 100Mb/s mode selection  (DC21140) = _100Mb
#                       The DC21040 will default to TP if TP_NW is specified
#                       The DC21041 will default to BNC if BNC_AUI is specified
#     DE4X5_DO_MEMCPY   Forces the Intels to use memory copies into sk_buffs
#	                rather than straight DMA.
#
#  DEFXX		The DIGITAL series of FDDI EISA (DEFEA) and PCI (DEFPA)
#			controllers
#       DEFXX_DEBUG	Set the desired debug level
#
#  TULIP		Tulip (dc21040/dc21041/ds21140) driver
#	TULIP_PORT	specify default if_port
#			0: 10TP
#			1: 100Tx(ds21140)/AUI(dc2104x)
#			2: BNC(dc2104x)
#	TULIP_FIX_PORT	don't change if_port automatically if defined
#	TULIP_MAX_CARDS	maximum number of probed card
#

# The following options exist, but cannot be set in this file.
#  lance.c
#	LANCE_DMA	Change the default DMA to other than DMA5.
#  8390.c
#	NO_PINGPONG	Disable ping-pong transmit buffers.


# Most drivers also have a *_DEBUG setting that may be adjusted.
# The 8390 drivers share the EI_DEBUG setting.

# General options for Space.c
OPTS		= # -DETH0_ADDR=0x300 -DETH0_IRQ=11

WD_OPTS		= #-DWD_SHMEM=0xDD000
EL2_OPTS	= #-DEL2_AUI
NE_OPTS		=
HP_OPTS		=
PLIP_OPTS	=
DEPCA_OPTS	= 
EWRK3_OPTS	= 
DE4X5_OPTS	= -DDE4X5_AUTOSENSE=BNC_AUI
DEFXX_OPTS	=
ELP_OPTS	=
TULIP_OPTS	= -DTULIP_PORT=2 -DTULIP_FIX_PORT=2
----end of /usr/src/linux/drivers/net/CONFIG

Regards,
Michael.
--- 
Michael C. Vergallen A.k.A. Mad Mike, 
Sportstraat 28			http://www.double-barrel.be/mvergall/
B 9000 Gent			ftp://ftp.double-barrel.be/pub/linux/
Belgium				tel : 32-9-2227764 Fax : 32-9-2224976
			



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with tulip driver
  1997-11-26  5:00     ` Michael C. Vergallen
@ 1997-11-28  5:00       ` cekim
  0 siblings, 0 replies; 5+ messages in thread
From: cekim @ 1997-11-28  5:00 UTC (permalink / raw)
  To: cekim



> TULIP_OPTS	= -DTULIP_PORT=2 -DTULIP_FIX_PORT=2
> ----end of /usr/src/linux/drivers/net/CONFIG
>
> Regards,
> Michael.

Thanks or the tip, got 10baseT going, but....

I see that you are using the BNC port.	I have also looked at the source
for the tulip driver to see that it has many choices other than the 0-3
listed in the file provided.

I am interested in:

1. 100BaseTX-FD

OR (as a fall back)

2. 100BaseTX

Both twisted-pair, of course.  As I mentioned I get 10M no problem by
compiling the tulip driver in with the options slightly adjusted as you
suggested, but when I try to adjust them up to 100Mbs, it will not
connect.

While intitializing, it complains that it could not find the MII
transcever and indicates that it is operating in "autosense" mode.

tulip.c:v0.83 10/19/97 becker@cesdis.gsfc.nasa.gov eth0: Digital DS21140
Tulip at 0xb400, 00 80 c8 68 1a d5, IRQ 19. eth0:  EEPROM default media
type Autosense. eth0:  Index #0 - Media MII (#11) described by a 21140
MII PHY (1) block. eth0: ***WARNING***: No MII transceiver found! _____
an MII port was found by the de4x5.c driver, but I was not paying
attention to where as it crashed my system shortly after.

I tried changing the "define" in the driver to go to my desired mode by
default, but it still does not seem to want to connect at 100.

To get the obvious out of the way: Computer in question is a PC164LX,
RH4.2 2.0.30, D-link DFE500TX (DE500, 21140 chip).  Driver - latest
source from D. Becker Tulip only no de4x5...

Host(other end of this test) is a PPRO, RH4.2 EEPRO100B

These computers communicate fine in NT at 100 half-duplex (not sure why I
lost the FD mode yet...)

I tried removing the "defines" from the CONFIG file to prevent the
"ifdef" in the driver from being overwritten.

Anything else I missed here?  Anything else period?

What am I doing wrong?

Thanks,

--Mike

-------------------==== Posted via Deja News ====-----------------------
      http://www.dejanews.com/     Search, Read, Post to Usenet



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1997-11-28  5:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-11-21  5:00 Problem with tulip driver Michael C. Vergallen
1997-11-21  5:00 ` Michael C. Vergallen
1997-11-24  5:00   ` Jim Paradis
1997-11-26  5:00     ` Michael C. Vergallen
1997-11-28  5:00       ` cekim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox