Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* PCI NIC drivers
@ 2000-08-20  8:43 bryan
  0 siblings, 0 replies; 6+ messages in thread
From: bryan @ 2000-08-20  8:43 UTC (permalink / raw)
  To: axp-list

I recently bought a pair of (Linksys) Network Everywhere NC100
10/100 NICs.  One is now working fine, the other not yet.
I downloaded Don Becker's netdrivers-2.0-3 package from
scyld.com, and followed the instructions on the website.
They work fine on my first system:
 AMD K6/2
 Slackware 7.0
 kernel 2.2.13
but not on the second:
 Alpha 164LX
 RedHat 6.1
 kernel 2.2.16-3

When I was building the binary RPM from source, I got a clean
compile with this exception:
 tulip.c: In function `tulip_timer':
 tulip.c:1930: warning: `mleaf' might be used uninitialized in this function
 tulip.c:1931: warning: `p' might be used uninitialized in this function

However, when depmod was run, ALL of the modules in the package
reported "unresolved symbol(s)".  I tried using the tulip driver
anyway, with the following results.  I can bring up the eth0
interface.  I can set my routing table.  I can traceroute to the
other end of the ethernet cable.  But when I ping the other end,
I get this:
 PING avalon.gci.net (192.168.0.3) from 192.168.0.4 : 56(84) bytes of data.
 64 bytes from 192.168.0.3: icmp_seq=0 ttl=255 time=0.4 ms (BAD CHECKSUM!)
 wrong data byte #30 should be 0x1e but was 0xf2
         ca 90 9f 39 e3 8a b 0 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d f2 23
         0 20 f2 23 0 20 f2 23 0 20 f2 23 0 20 1e 1f
 64 bytes from 192.168.0.3: icmp_seq=1 ttl=255 time=0.1 ms (BAD CHECKSUM!)
 wrong data byte #30 should be 0x1e but was 0x67
         cb 90 9f 39 cd 88 b 0 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 67 92
         a0 12 67 92 a0 12 67 92 a0 12 1e 1f 20 1d 1e 1f
 
 --- avalon.gci.net ping statistics ---
 2 packets transmitted, 0 packets received, +2 corrupted, 100% packet loss

When I ping this computer from the other end, I get no errors, and
no returned packets.

Any advice?

--
Bryan Medsker
bryan@ak.net




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

* Re: PCI NIC drivers
@ 2000-08-21  8:33 Phil Carmody
  2000-08-25  6:32 ` bryan
  0 siblings, 1 reply; 6+ messages in thread
From: Phil Carmody @ 2000-08-21  8:33 UTC (permalink / raw)
  To: axp-list

On Sun, 20 August 2000, bryan@ak.net wrote:
> When I was building the binary RPM from source, I got a clean
> compile with this exception:
>  tulip.c: In function `tulip_timer':
>  tulip.c:1930: warning: `mleaf' might be used uninitialized in this function
>  tulip.c:1931: warning: `p' might be used uninitialized in this function

Warnings. No real problem. Moan mildly to the author, but don't fret.
 
> However, when depmod was run, ALL of the modules in the package
> reported "unresolved symbol(s)".  I tried using the tulip driver
> anyway, with the following results.  I can bring up the eth0
> interface.  I can set my routing table.  I can traceroute to the
> other end of the ethernet cable.  But when I ping the other end,
> I get this:
>  PING avalon.gci.net (192.168.0.3) from 192.168.0.4 : 56(84) bytes of data.
>  64 bytes from 192.168.0.3: icmp_seq=0 ttl=255 time=0.4 ms (BAD CHECKSUM!)
>  wrong data byte #30 should be 0x1e but was 0xf2
>          ca 90 9f 39 e3 8a b 0 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d f2 23
>          0 20 f2 23 0 20 f2 23 0 20 f2 23 0 20 1e 1f
>  64 bytes from 192.168.0.3: icmp_seq=1 ttl=255 time=0.1 ms (BAD CHECKSUM!)
>  wrong data byte #30 should be 0x1e but was 0x67
>          cb 90 9f 39 cd 88 b 0 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 67 92
>          a0 12 67 92 a0 12 67 92 a0 12 1e 1f 20 1d 1e 1f

A known problem with old versions of ping. It's a data alignment problem. Ping wasn't expecting 64bit alignment issues. It's been fixed for a while, download the latest ping, and it should work.

Phil

Judge Lewis Kaplan's idiocy finally proved August 17, 2000:
"Defendants, on the other hand, are adherents of a movement
that believes that information should be available without
charge to anyone clever enough to break into the computer
systems or data storage media in which it is located."

_______________________________________________________________________

Free Unlimited Internet Access! Try it now! 
http://www.zdnet.com/downloads/altavista/index.html

_______________________________________________________________________




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

* Re: PCI NIC drivers
  2000-08-21  8:33 Phil Carmody
@ 2000-08-25  6:32 ` bryan
  2000-08-25 14:48   ` Michal Jaegermann
  2000-08-25 18:33   ` Andrei A. Dergatchev
  0 siblings, 2 replies; 6+ messages in thread
From: bryan @ 2000-08-25  6:32 UTC (permalink / raw)
  To: axp-list

Phil Carmody wrote in <20000821083354.27909.cpmta@c012.sfo.cp.net>:
> 
> On Sun, 20 August 2000, bryan@ak.net wrote:
>  
> > However, when depmod was run, ALL of the modules in the package
> > reported "unresolved symbol(s)".  I tried using the tulip driver
> > anyway, with the following results.  I can bring up the eth0
> > interface.  I can set my routing table.  I can traceroute to the
> > other end of the ethernet cable.  But when I ping the other end,
> > I get this:
> >  PING avalon.gci.net (192.168.0.3) from 192.168.0.4 : 56(84) bytes of data.
> >  64 bytes from 192.168.0.3: icmp_seq=0 ttl=255 time=0.4 ms (BAD CHECKSUM!)
> >  wrong data byte #30 should be 0x1e but was 0xf2
> >          ca 90 9f 39 e3 8a b 0 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d f2 23
> >          0 20 f2 23 0 20 f2 23 0 20 f2 23 0 20 1e 1f
> >  64 bytes from 192.168.0.3: icmp_seq=1 ttl=255 time=0.1 ms (BAD CHECKSUM!)
> >  wrong data byte #30 should be 0x1e but was 0x67
> >          cb 90 9f 39 cd 88 b 0 8 9 a b c d e f 10 11 12 13 14 15 16 17 18 19 1a 1b 1c 1d 67 92
> >          a0 12 67 92 a0 12 67 92 a0 12 1e 1f 20 1d 1e 1f
> 
> A known problem with old versions of ping. It's a data
> alignment problem. Ping wasn't expecting 64bit alignment issues.
> It's been fixed for a while, download the latest ping, and it
> should work.

I don't think that's it.  When I telnet to closed ports on the
working machine, the connection is refused.  But when I telnet
to open ports, the connection times out.  netstat on the good
end reports SYN_RECV for the tcp connection.  Attempts to NFS
mount a directory on the good machine times out too.

When I telnet from the good machine to the other, I get no
response -- they all time out.  This partial-TCP functionality
is very confusing.

My money is still on the unresolved symbols in the network
drivers.  Like I said, there were no compilation errors, so
I don't know what symbols are missing, or what to do about it.

It's identical cards and identical net drivers.  Is redhat 6.1
somehow deficient in a way that slackware 7.0 isn't?
Or do the net drivers have problems on alphas?

--
Bryan Medsker
bryan@ak.net




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

* Re: PCI NIC drivers
  2000-08-25  6:32 ` bryan
@ 2000-08-25 14:48   ` Michal Jaegermann
  2000-08-29  6:17     ` bryan
  2000-08-25 18:33   ` Andrei A. Dergatchev
  1 sibling, 1 reply; 6+ messages in thread
From: Michal Jaegermann @ 2000-08-25 14:48 UTC (permalink / raw)
  To: axp-list

> 
> My money is still on the unresolved symbols in the network
> drivers.

How much would that be?

If that would be the case then you would get loud complaints
from a compiler and/or when loading network driver modules.
'insmod -v' is pretty specific about that.

> It's identical cards and identical net drivers.

"Identical" cards does not exclude hardware problems.  Broken
NICs happen from time to time.  Did you try to switch cards
physically?

> Is redhat 6.1
> somehow deficient in a way that slackware 7.0 isn't?

You mean that you have an Alpha kernel from Slackware which works
and another one from Red Hat which does not?  Nothing really prevents
you from taking a kernel from one distribution and dropping it,
with modules, into another one; or configuring and recompiling your
own.

> Or do the net drivers have problems on alphas?

Hm, they work for me (on many different machines and various cards).
Most problems, when they show up, are actually platform independent.
But I would be inclined to check first a configuration (like
DNS which points into a non-existing or non-reachable server,
or configured NIS when really there is not such thing).

  Michal




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

* Re: PCI NIC drivers
  2000-08-25  6:32 ` bryan
  2000-08-25 14:48   ` Michal Jaegermann
@ 2000-08-25 18:33   ` Andrei A. Dergatchev
  1 sibling, 0 replies; 6+ messages in thread
From: Andrei A. Dergatchev @ 2000-08-25 18:33 UTC (permalink / raw)
  To: axp-list

[...]

>
> It's identical cards and identical net drivers.  Is redhat 6.1
> somehow deficient in a way that slackware 7.0 isn't?
> Or do the net drivers have problems on alphas?

Some net drivers certainly work fine on Alpha, but not some
kernels ...
Hmm, do you have Slackware 7.0 running on Alpha !?!???
Something very new to me.

>
> --
> Bryan Medsker
> bryan@ak.net

Andrei




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

* Re: PCI NIC drivers
  2000-08-25 14:48   ` Michal Jaegermann
@ 2000-08-29  6:17     ` bryan
  0 siblings, 0 replies; 6+ messages in thread
From: bryan @ 2000-08-29  6:17 UTC (permalink / raw)
  To: axp-list

Michal Jaegermann wrote in <200008251448.IAA19487@ellpspace.math.ualberta.ca>:
> 
> > My money is still on the unresolved symbols in the network
> > drivers.
> 
> If that would be the case then you would get loud complaints
> from a compiler and/or when loading network driver modules.
> 'insmod -v' is pretty specific about that.

It's funny -- I remember insmod complaining, but loading the
module anyway; but when I tried it just now, it worked without
complaint.

> "Identical" cards does not exclude hardware problems.  Broken
> NICs happen from time to time.  Did you try to switch cards
> physically?

Since my first message, yes, I have.  The problems remain on
the same machine.

> > Is redhat 6.1
> > somehow deficient in a way that slackware 7.0 isn't?
> 
> You mean that you have an Alpha kernel from Slackware which works
> and another one from Red Hat which does not?  Nothing really prevents
> you from taking a kernel from one distribution and dropping it,
> with modules, into another one; or configuring and recompiling your
> own.

No, the Slackware side is x86.  The alpha I'm connecting it to
runs redhat 6.1.  I have compiled my own kernels on both sides.
'depmod -e pci-scan' says that most unresolved symbols are pci-
related.  I checked my kernel .config, and I enabled pci quirks,
but not pci optimizations.  Relevant?  I don't know.

> Most problems, when they show up, are actually platform independent.
> But I would be inclined to check first a configuration (like
> DNS which points into a non-existing or non-reachable server,
> or configured NIS when really there is not such thing).

I'll explain more of the story -- these two machines have been
hooked up with 10Mbps ethernet for months.  I bought a pair of
10/100 NICs to increase the throughput.  The one in the PC works,
but not the one in the alpha.  In fact, my current working setup
is the old card in the alpha connected to the new one in the PC.

I think this would rule out configuration problems.  And I
ruled out NIC hardware problems.  If it were a network client
problem (ping, telnet), it should at least respond to pings,
which it doesn't.  (Though TCP connections can be started but
not established -- SYN_RECV/SYN_SENT on both ends.)  This would
seem to me to narrow it down to a driver problem, though I could
easily be forgetting something.  Though the same drivers work on
the PC end.  The unresolved symbols in the drivers on the alpha
are the only clue I have.

I'm a little out of my depth, so I do appreciate the help.

--
Bryan Medsker
bryan@ak.net




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

end of thread, other threads:[~2000-08-29  6:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-20  8:43 PCI NIC drivers bryan
  -- strict thread matches above, loose matches on Subject: below --
2000-08-21  8:33 Phil Carmody
2000-08-25  6:32 ` bryan
2000-08-25 14:48   ` Michal Jaegermann
2000-08-29  6:17     ` bryan
2000-08-25 18:33   ` Andrei A. Dergatchev

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