mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: PATCH: Pcmcia/Cardbus/xircom_tulip in 2.4.0-test10.
@ 2000-11-13 20:18 David Hinds
  2000-11-14  1:18 ` Ion Badulescu
  0 siblings, 1 reply; 8+ messages in thread
From: David Hinds @ 2000-11-13 20:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: jgarzik

> Can you try the test11-pre2 patch? It includes a bugfix to
> xircom_tulip from Andrea. 

Andrea's fix doesn't actually solve the problem; it merely changes the
set of working configurations to a set that includes Andrea's setup.
I don't know whether the size of the working set gets larger or
smaller.

There is something fundamentally broken/weird about how the receive
filter works on the Xircom cards.  It is at least deterministic, but
different network configurations behave very differently and I haven't
been able to figure out the logic.  One version of the driver will
work perfectly for everyone that uses DHCP... another version will
work fine for people who specify a static IP address... another
version will work for people who use Red Hat's network configuration
script but not the default PCMCIA script.  The best I've been able to
figure out, is that whether a call to set_rx_mode() will work or lock
up the card depends on the history of what has gone on before (whether
the card has had traffic through it), where the rx filter setup frame
goes in the transmit ring, the alignment of the frame, and how many
times set_rx_mode() has been called.  Certain combinations work, other
combinations don't.

The effect of "ifconfig eth0 -multicast" (which should be a no-op) is
that it calls set_rx_mode() with the same set of parameters it was
called with before.  Doing this one or more times may kick the card so
that it starts working.  The number of times is constant for a given
network configuration, and varies between 0 and 3.

I wasted a lot of time trying to figure out the rules for when
set_rx_mode() would work and eventually gave up; I'm waiting for
Xircom to give me an explanation.

-- Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

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

end of thread, other threads:[~2000-11-14  7:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-13 20:18 PATCH: Pcmcia/Cardbus/xircom_tulip in 2.4.0-test10 David Hinds
2000-11-14  1:18 ` Ion Badulescu
2000-11-14  1:44   ` anyone compiled 2.2.17 on RH7 successfully? Corisen
2000-11-14  1:58   ` David Relson
2000-11-14  2:14     ` Corisen
2000-11-14  3:49       ` Michael Rothwell
2000-11-14  3:37         ` Dan Browning
2000-11-14  7:08       ` anyone compiled 2.2.17 on RH7 successfully? [SOLVED] Corisen

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

all inboxes | Powered by JetHome®