public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PATCH:  Pcmcia/Cardbus/xircom_tulip in 2.4.0-test10.
@ 2000-11-10 12:36 Ballabio_Dario
  2000-11-10 15:46 ` Jeff Garzik
  0 siblings, 1 reply; 5+ messages in thread
From: Ballabio_Dario @ 2000-11-10 12:36 UTC (permalink / raw)
  To: linux-kernel

In order to have the xircom_tulip pcmcia cardbus working again with 
recent kernels, it is necessary to specify:
 
ifconfig eth0 -multicast

Moreover if the card is configured by itself into the kernel 
(i.e. with the default ne2000 pcmcia support removed),
the enclosed patch is required as well.

Cheers,

*******************************************
Ph.D. Dario Ballabio
Regional Installation Manager Europe South
EMC Computer Systems Italia spa
Mobile phone +393487978851
Office phone +390244571315
Email ballabio_dario@emc.com

diff -r -u linux-2.4.0-test10/drivers/net/pcmcia/Config.in
linux/drivers/net/pcmcia/Config.in
--- linux-2.4.0-test10/drivers/net/pcmcia/Config.in	Sun Aug 13 19:21:20
2000
+++ linux/drivers/net/pcmcia/Config.in	Wed Nov  1 17:55:18 2000
@@ -36,7 +36,8 @@
      "$CONFIG_PCMCIA_FMVJ18X" = "y" -o "$CONFIG_PCMCIA_PCNET" = "y" -o \
      "$CONFIG_PCMCIA_NMCLAN" = "y" -o "$CONFIG_PCMCIA_SMC91C92" = "y" -o \
      "$CONFIG_PCMCIA_XIRC2PS" = "y" -o "$CONFIG_PCMCIA_RAYCS" = "y" -o \
-     "$CONFIG_PCMCIA_NETWAVE" = "y" -o "$CONFIG_PCMCIA_WAVELAN" = "y" ];
then
+     "$CONFIG_PCMCIA_NETWAVE" = "y" -o "$CONFIG_PCMCIA_WAVELAN" = "y" -o \
+     "$CONFIG_PCMCIA_XIRTULIP" = "y" ]; then
    define_bool CONFIG_PCMCIA_NETCARD y
 fi
-
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] 5+ messages in thread
* RE: PATCH:  Pcmcia/Cardbus/xircom_tulip in 2.4.0-test10.
@ 2000-11-10 17:10 Ballabio_Dario
  0 siblings, 0 replies; 5+ messages in thread
From: Ballabio_Dario @ 2000-11-10 17:10 UTC (permalink / raw)
  To: jgarzik; +Cc: linux-kernel

I just tested test11-pre2 and there is no improvement. I still need to issue
the
ifconfig eth0 -multicast
and just after it the xircom_tulip card begins to work.
-db

-----Original Message-----
From: Jeff Garzik [mailto:jgarzik@mandrakesoft.com]
Sent: Friday, November 10, 2000 5:19 PM
To: Ballabio_Dario@emc.com
Subject: Re: PATCH: Pcmcia/Cardbus/xircom_tulip in 2.4.0-test10.


Ballabio_Dario@emc.com wrote:
> 
> I could not compile test11-pre2 so far because of the unresolved symbol
> bust_spinlocks,
> but I'll give it a try as soon as the compile problem get cleared.

edit linux/arch/i386/kernel/traps.c.  move the bust_spinlocks function,
AND the 'extern ...timer_list' line near it above the CONFIG_X86_IO_APIC
ifdef.

-- 
Jeff Garzik             |
Building 1024           | Would you like a Twinkie?
MandrakeSoft            |
-
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] 5+ messages in thread
* 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; 5+ 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] 5+ messages in thread

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-10 12:36 PATCH: Pcmcia/Cardbus/xircom_tulip in 2.4.0-test10 Ballabio_Dario
2000-11-10 15:46 ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2000-11-10 17:10 Ballabio_Dario
2000-11-13 20:18 David Hinds
2000-11-14  1:18 ` Ion Badulescu

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