2001-10-10 19:43:09

by Jamie

[permalink] [raw]
Subject: Tulip problem in Kernel 2.4.11

Hello there is a definate problem with the tulip drivers in the 2.4.11
kernel.
I have a DEC DC 21041 NIC which uses the tulip drivers. I use the 2.2.19
kernel and there are
two different sets of tulip drivers listed in that kernel which I can choose
from in the 2.4.11 kernel there is only one. When I do a modprobe tulip the
driver loads fine as you can see bellow there are no strange error messages
ect. But I can not communicate though this one NIC. When I use the 2.2.19
Kernel it works fine.

I even tried copying the .config file over from the 2.2.19 to the 2.4.11 to
ensure that they would be the same options.

It works fine with the 2.2.19 Kernel but with the 2.4.11 the driver is not
functioning correctly.


Oct 10 15:12:25 CS623805-A kernel: Linux Tulip driver version 0.9.15-pre7
(Oct 2
, 2001)
Oct 10 15:12:25 CS623805-A kernel: tulip0: 21041 Media table, default media
0800
(Autosense).
Oct 10 15:12:25 CS623805-A kernel: tulip0: 21041 media #0, 10baseT.
Oct 10 15:12:25 CS623805-A kernel: tulip0: 21041 media #4, 10baseT-FDX.
Oct 10 15:12:25 CS623805-A kernel: eth0: Digital DC21041 Tulip rev 17 at
0x6100,
21041 mode, 00:00:C0:90:F0:E3, IRQ 3.
Oct 10 15:12:32 CS623805-A sendmail[116]: starting daemon (8.11.4):
SMTP+queuein
g@00:15:00
Oct 10 15:12:34 CS623805-A kernel: 00:0b.0: 3Com PCI 3c900 Cyclone 10Mbps
TPO at
0x6200. Vers LK1.1.16

As per the headings in the tulip_core.c this is maintained by Jeff which is
the reason why I am emailing you about this issue.

/* tulip_core.c: A DEC 21x4x-family ethernet driver for Linux. */

/*
Maintained by Jeff Garzik <[email protected]>
Copyright 2000,2001 The Linux Kernel Team
Written/copyright 1994-2001 by Donald Becker.

This software may be used and distributed according to the terms
of the GNU General Public License, incorporated herein by reference.

Please refer to Documentation/DocBook/tulip.{pdf,ps,html}
for more information on this driver, or visit the project
Web page at http://sourceforge.net/projects/tulip/

*/

#define DRV_NAME "tulip"
#define DRV_VERSION "0.9.15-pre7"
#define DRV_RELDATE "Oct 2, 2001"


And also the headings from the 2.2.19 Kernel for the tulip.c

/* tulip.c: A DEC 21040-family ethernet driver for Linux. */
/*
Written/copyright 1994-1999 by Donald Becker.

This software may be used and distributed according to the terms
of the GNU Public License, incorporated herein by reference.

This driver is for the Digital "Tulip" Ethernet adapter interface.
It should work with most DEC 21*4*-based chips/ethercards, as well
as
with work-alike chips from Lite-On (PNIC) and Macronix (MXIC) and
ASIX.

The author may be reached as [email protected], or C/O
Center of Excellence in Space Data and Information Sciences
Code 930.5, Goddard Space Flight Center, Greenbelt MD 20771

Support and updates available at
http://cesdis.gsfc.nasa.gov/linux/drivers/tulip.html

This driver also contains updates by Wolfgang Walter and others.
For this specific driver variant please use linux-kernel for
bug reports.

Updated 12/17/2000 by Jim McQuillan <[email protected]> to

*/

#define SMP_CHECK
static const char version[] = "tulip.c:v0.91g-ppc 7/16/99
[email protected]\n";


I am hoping that you guys can figure out as to what is happening in the
2.4.11 kernel because it is very broken for this kernel. It is not working
what so ever. I know in the 2.2.19 there are 3 different choices for the DEC
card 2 of which make the tulip.o in the 2.4.11 there is only 1 and this one
is not working with this card. It is not communicating properly with this
NIC. All I get are time outs and not being able to connect to the DHCP
server. When I use the 2.2.19 Kernel it works fine. I pull an IP address
no problem. It is NOT an option that I have selected either in the 2.4.11
because they are the same config file.

Also in the read me it says that there was a few other people here that do
some kernel hacking so I am sending you this email as well to see what you
think about this.


N: Andrea Arcangeli
E: [email protected]
W: http://e-mind.com/~andrea/
P: 1024/CB4660B9 CC A0 71 81 F4 A0 63 AC C0 4B 81 1D 8C 15 C8 E5
D: Parport hacker
D: Implemented a workaround for some interrupt buggy printers
D: Author of pscan that helps to fix lp/parport bug
D: Author of lil (Linux Interrupt Latency benchmark)
D: Fixed the shm swap deallocation at swapoff time (try_to_unuse message)
D: Various other kernel hacks


N: Torsten Duwe
E: [email protected]
D: Part-time kernel hacker
D: The Linux Support Team Erlangen
S: Grevenbroicher Str. 17
S: 47807 Krefeld
S: Germany



This is a definate tulip driver problem that I am having here if you guys
could look at this I would greatly appreciate it.



Thanks,

Jamie


2001-10-11 07:06:05

by Pierfrancesco Caci

[permalink] [raw]
Subject: Re: Tulip problem in Kernel 2.4.11

:-> "Jamie" == Jamie <[email protected]> writes:

> Hello there is a definate problem with the tulip drivers in the 2.4.11
> kernel.
> I have a DEC DC 21041 NIC which uses the tulip drivers. I use the 2.2.19
> kernel and there are
> two different sets of tulip drivers listed in that kernel which
> I can choose
> from in the 2.4.11 kernel there is only one. When I do a
> modprobe tulip the
> driver loads fine as you can see bellow there are no strange
> error messages
> ect. But I can not communicate though this one NIC. When I use
> the 2.2.19
> Kernel it works fine.

I can add to this that 2.4.2 works fine, I've tried 2.4.9 and 2.4.11
and I can't use the lan either.
In 2.4.11, I can see that the driver can sense if I plug/unplug the
connector (10BaseT, connected to a Compaq Netelligent 8 port hub), but
nothing more.

here's what 2.4.2 says about the card:

# lspci -v -v -s 00:03.0
00:03.0 Ethernet controller: Digital Equipment Corporation DECchip 21041 [Tulip Pass 3] (rev 11)
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: 96
Interrupt: pin A routed to IRQ 15
Region 0: I/O ports at fc00 [size=128]
Region 1: Memory at df000000 (32-bit, non-prefetchable) [size=128]
Expansion ROM at de000000 [disabled] [size=256K]

I am now trying to compile again 2.4.11 with the driver as module,
instead of built-in, just to see if I can pass some parameters to
force a media type without rebooting every time.

Please suggest any other test I can make, or if you need more informations.

Pf

--

-------------------------------------------------------------------------------
Pierfrancesco Caci | ik5pvx | mailto:[email protected] - http://gusp.dyndns.org
Firenze - Italia | Office for the Complication of Otherwise Simple Affairs
Linux penny 2.4.7 #1 Thu Jul 26 14:48:56 CEST 2001 i686 unknown

2001-10-11 11:42:13

by Johan Kullstam

[permalink] [raw]
Subject: Re: Tulip problem in Kernel 2.4.11

Pierfrancesco Caci <[email protected]> writes:

> :-> "Jamie" == Jamie <[email protected]> writes:
>
> > Hello there is a definate problem with the tulip drivers in the 2.4.11
> > kernel.
> > I have a DEC DC 21041 NIC which uses the tulip drivers. I use the 2.2.19
> > kernel and there are
> > two different sets of tulip drivers listed in that kernel which
> > I can choose
> > from in the 2.4.11 kernel there is only one. When I do a
> > modprobe tulip the
> > driver loads fine as you can see bellow there are no strange
> > error messages
> > ect. But I can not communicate though this one NIC. When I use
> > the 2.2.19
> > Kernel it works fine.
>
> I can add to this that 2.4.2 works fine, I've tried 2.4.9 and 2.4.11
> and I can't use the lan either.
> In 2.4.11, I can see that the driver can sense if I plug/unplug the
> connector (10BaseT, connected to a Compaq Netelligent 8 port hub), but
> nothing more.

linux 2.4.11 is broken with respect to tulip driver and dec 21041
chipset. my 21041 card doesn't work either. what you can do is the
following. compile kernel using a module for tulip driver. go to
tulip.sourceforge.net. get tulip-0.9.14. unpack it. for each new
kernel, manually (or make a script) compile a tulip driver in
tulip-0.9.14 and install it in
/lib/module/2.4.X/kernel/drivers/net/tulip. this will replace the
broken driver and keep you going.

--
J o h a n K u l l s t a m
[[email protected]]

2001-10-11 12:26:09

by Pierfrancesco Caci

[permalink] [raw]
Subject: Re: Tulip problem in Kernel 2.4.11

:-> "Johan" == Johan Kullstam <[email protected]> writes:


> linux 2.4.11 is broken with respect to tulip driver and dec 21041
> chipset. my 21041 card doesn't work either. what you can do is the
> following. compile kernel using a module for tulip driver. go to
> tulip.sourceforge.net. get tulip-0.9.14. unpack it. for each new
> kernel, manually (or make a script) compile a tulip driver in
> tulip-0.9.14 and install it in
> /lib/module/2.4.X/kernel/drivers/net/tulip. this will replace the
> broken driver and keep you going.

Ok, thanks for the suggestion. What I have now is a 2.4.12 kernel with
the 2.4.2 tulip module. Thanks fabbione for doing the hard work in my
place.

Pf


--

-------------------------------------------------------------------------------
Pierfrancesco Caci | ik5pvx | mailto:[email protected] - http://gusp.dyndns.org
Firenze - Italia | Office for the Complication of Otherwise Simple Affairs
Linux penny 2.4.7 #1 Thu Jul 26 14:48:56 CEST 2001 i686 unknown

2001-10-11 13:50:45

by Fabio Massimo Di Nitto

[permalink] [raw]
Subject: Re: Tulip problem in Kernel 2.4.11

I will not define an rm and a cp -rp an hard work anyway :))

Fabbione

> Ok, thanks for the suggestion. What I have now is a 2.4.12 kernel with
> the 2.4.2 tulip module. Thanks fabbione for doing the hard work in my
> place.
>

--
Debian GNU/Linux Unstable Kernel 2.4.9
fabbione on irc.atdot.it #coredump #kchat | [email protected]