All of lore.kernel.org
 help / color / mirror / Atom feed
* Netgear FA311
@ 2000-12-23 16:11 Alex Buell
  2000-12-23 17:54 ` Mohammad A. Haque
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Alex Buell @ 2000-12-23 16:11 UTC (permalink / raw)
  To: Mailing List - Linux Kernel

I recently bought a Netgear FA311 which does 10/100Mb/ethernet for my
first home network. I've looked and found driver sources which apparently
works only for 2.0.36. Ulp! Before I start cracking my knuckles and
working my deep magic to get it to work on 2.2.x, is there any drivers
already sorted for this card on the 2.2.x series?

If not, where can I find documentation on converting 2.0.x drivers to
2.2.x?

Thanks.

Cheers,
Alex
-- 
I stand in my undergarments and hurl inventive in your general direction.

http://www.tahallah.clara.co.uk

-
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] 10+ messages in thread

* Re: Netgear FA311
  2000-12-23 16:11 Netgear FA311 Alex Buell
@ 2000-12-23 17:54 ` Mohammad A. Haque
  2000-12-23 18:48 ` Mohammad A. Haque
  2000-12-23 19:50 ` Netgear FA311 (follow-up) Alex Buell
  2 siblings, 0 replies; 10+ messages in thread
From: Mohammad A. Haque @ 2000-12-23 17:54 UTC (permalink / raw)
  To: alex.buell; +Cc: Mailing List - Linux Kernel

I don't know how its different from the FA310TX that I have. The 310TX
uses the tulip drivers so you may want to give that a shot.

Maybe you can get us a name/number off the IC on the card?

Alex Buell wrote:
> 
> I recently bought a Netgear FA311 which does 10/100Mb/ethernet for my
> first home network. I've looked and found driver sources which apparently
> works only for 2.0.36. Ulp! Before I start cracking my knuckles and
> working my deep magic to get it to work on 2.2.x, is there any drivers
> already sorted for this card on the 2.2.x series?
> 
> If not, where can I find documentation on converting 2.0.x drivers to
> 2.2.x?

-- 

=====================================================================
Mohammad A. Haque                              http://www.haque.net/ 
                                               mhaque@haque.net

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               batmanppc@themes.org
=====================================================================
-
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] 10+ messages in thread

* Re: Netgear FA311
  2000-12-23 16:11 Netgear FA311 Alex Buell
  2000-12-23 17:54 ` Mohammad A. Haque
@ 2000-12-23 18:48 ` Mohammad A. Haque
  2000-12-23 19:15   ` Marcus Meissner
  2000-12-23 19:50 ` Netgear FA311 (follow-up) Alex Buell
  2 siblings, 1 reply; 10+ messages in thread
From: Mohammad A. Haque @ 2000-12-23 18:48 UTC (permalink / raw)
  To: alex.buell; +Cc: Mailing List - Linux Kernel

Is this where you got the sources?  
http://www.scyld.com/network/natsemi.html (Thanks Steve)

Alex Buell wrote:
> 
> I recently bought a Netgear FA311 which does 10/100Mb/ethernet for my
> first home network. I've looked and found driver sources which apparently

-- 

=====================================================================
Mohammad A. Haque                              http://www.haque.net/ 
                                               mhaque@haque.net

  "Alcohol and calculus don't mix.             Project Lead
   Don't drink and derive." --Unknown          http://wm.themes.org/
                                               batmanppc@themes.org
=====================================================================
-
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] 10+ messages in thread

* Re: Netgear FA311
  2000-12-23 18:48 ` Mohammad A. Haque
@ 2000-12-23 19:15   ` Marcus Meissner
  2000-12-23 19:27     ` Alex Buell
  0 siblings, 1 reply; 10+ messages in thread
From: Marcus Meissner @ 2000-12-23 19:15 UTC (permalink / raw)
  To: "Mohammad A. Haque", linux-kernel

In article <3A44F38E.B1AFB735@haque.net> you wrote:
> Is this where you got the sources?  
> http://www.scyld.com/network/natsemi.html (Thanks Steve)

The linux driver is actually on the accompanying floppy disk. Without license
statement unfortunately.

Ciao, Marcus
-
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] 10+ messages in thread

* Re: Netgear FA311
  2000-12-23 19:15   ` Marcus Meissner
@ 2000-12-23 19:27     ` Alex Buell
  2000-12-23 19:35       ` tc lewis
  0 siblings, 1 reply; 10+ messages in thread
From: Alex Buell @ 2000-12-23 19:27 UTC (permalink / raw)
  To: Marcus Meissner; +Cc: Mohammad A. Haque, linux-kernel

On Sat, 23 Dec 2000, Marcus Meissner wrote:

> > Is this where you got the sources?
> > http://www.scyld.com/network/natsemi.html (Thanks Steve)
>
> The linux driver is actually on the accompanying floppy disk. Without license
> statement unfortunately.

I got a floppy disk with the netgear fa311, but the only linux sources on
it was for 2.0.36!

Cheers,
Alex
-- 
I stand in my undergarments and hurl inventive in your general direction.

http://www.tahallah.clara.co.uk

-
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] 10+ messages in thread

* Re: Netgear FA311
  2000-12-23 19:27     ` Alex Buell
@ 2000-12-23 19:35       ` tc lewis
  0 siblings, 0 replies; 10+ messages in thread
From: tc lewis @ 2000-12-23 19:35 UTC (permalink / raw)
  To: Alex Buell; +Cc: Marcus Meissner, Mohammad A. Haque, linux-kernel



On Sat, 23 Dec 2000, Alex Buell wrote:

> On Sat, 23 Dec 2000, Marcus Meissner wrote:
> 
> > > Is this where you got the sources?
> > > http://www.scyld.com/network/natsemi.html (Thanks Steve)
> >
> > The linux driver is actually on the accompanying floppy disk. Without license
> > statement unfortunately.
> 
> I got a floppy disk with the netgear fa311, but the only linux sources on
> it was for 2.0.36!

yeah i believe that natsemi driver is supposed to work with that 311 card,
although i have heard of issues with that now and then.  to be honest i
haven't followed very closely, as i don't use those cards/chips.  that
scyld.com page should have all the info you need, as well as info on an
accompianing mailing list for further help.

if whatever distro/kernel you're using already has a compiled natsemi
driver you can just try it out by messing with /etc/conf.modules or
/etc/modules.conf or whatever proper files your distribution uses.

-tcl.

-
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] 10+ messages in thread

* Re: Netgear FA311 (follow-up)
  2000-12-23 16:11 Netgear FA311 Alex Buell
  2000-12-23 17:54 ` Mohammad A. Haque
  2000-12-23 18:48 ` Mohammad A. Haque
@ 2000-12-23 19:50 ` Alex Buell
  2 siblings, 0 replies; 10+ messages in thread
From: Alex Buell @ 2000-12-23 19:50 UTC (permalink / raw)
  To: Alex Buell; +Cc: Mailing List - Linux Kernel

On Sat, 23 Dec 2000, Alex Buell wrote:

> I recently bought a Netgear FA311 which does 10/100Mb/ethernet for my
> first home network. I've looked and found driver sources which
> apparently works only for 2.0.36. Ulp! Before I start cracking my
> knuckles and working my deep magic to get it to work on 2.2.x, is
> there any drivers already sorted for this card on the 2.2.x series?

Thanks to everyone who replied. I've now got Donald Becker's natsemi
drivers from his site and have successfully compiled it. Whether it'll
work is another story as I've got to crack this box and put in the card..

Won't be long before I'll have my 100 megabits home network up and
running, I hope. <big evil grin> Not long before I'll frag my kid brother
in Quake too!

Cheers,
Alex
-- 
I stand in my undergarments and hurl inventive in your general direction.

http://www.tahallah.clara.co.uk

-
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] 10+ messages in thread

* Netgear FA311
@ 2000-12-25 15:29 Alex Buell
  0 siblings, 0 replies; 10+ messages in thread
From: Alex Buell @ 2000-12-25 15:29 UTC (permalink / raw)
  To: Mailing List - Linux Kernel

Well now I've just set up the network and everything works a treat,
currently getting 850kb/s file transfers. Cool. Except for one thing.

In the logs I'm seeing this:

Dec 25 15:25:18 tahallah last message repeated 2 times
Dec 25 15:25:19 tahallah kernel: eth0: Something Wicked happened! 0783.
Dec 25 15:25:19 tahallah kernel: eth0: Something Wicked happened! 0780.
Dec 25 15:25:19 tahallah last message repeated 2 times
Dec 25 15:25:19 tahallah kernel: eth0: Something Wicked happened! 0580.
Dec 25 15:25:19 tahallah kernel: eth0: Something Wicked happened! 0783.
Dec 25 15:25:19 tahallah kernel: eth0: Something Wicked happened! 0780.
Dec 25 15:25:21 tahallah last message repeated 3 times
Dec 25 15:25:21 tahallah kernel: eth0: Something Wicked happened! 0783.
Dec 25 15:25:22 tahallah kernel: eth0: Something Wicked happened! 0780.

That's just a small snippet. Apart from those messages, all seems OK, but
I'm just wondering why it's getting those messages - what does those mean?

Cheers,
Alex
-- 
Huffapuff!

http://www.tahallah.clara.co.uk

-
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] 10+ messages in thread

* Re: Netgear FA311
@ 2000-12-25 16:50 Manfred
  2000-12-25 17:40 ` Alex Buell
  0 siblings, 1 reply; 10+ messages in thread
From: Manfred @ 2000-12-25 16:50 UTC (permalink / raw)
  To: alex.buell, linux-kernel

Alex wrote:
> In the logs I'm seeing this: 
> 
> Dec 25 15:25:18 tahallah last message repeated 2 times 
> Dec 25 15:25:19 tahallah kernel: eth0: Something Wicked happened! 0783. 
> Dec 25 15:25:19 tahallah kernel: eth0: Something Wicked happened! 0780. 

783 means:
	Tx Underrun
	Tx Idle
	Tx Packet Error
	Tx Descriptor
	Rx Packet Error
	Rx Descriptor
	Rx OK.

Hmm. I download the Documentation from National
(http://www.national.com/pf/DP/DP83815.html),
and the the tx burst size/fill threshold/drain threshold combination is
invalid:

<<<<<<<< from natsemi.c:
 /* Configure the PCI bus bursts and FIFO thresholds. */
 /* Configure for standard, in-spec Ethernet. */
 np->tx_config = (1<<28) +       /* Automatic transmit padding */
             (1<<23) +       /* Excessive collision retry */
             (0x0<<20) +     /* Max DMA burst = 512 byte */
             (8<<8) +        /* fill threshold = 256 byte */
             2;              /* drain threshold = 64 byte */
 writel(np->tx_config, ioaddr + TxConfig);
>>>>>>>>>>>>

But:
<<<<<<<< page 51
The MXDMA MUST NOT be greater than the Tx Fill Threshold 
>>>>>>>>>>

Could you try this setup?
<<<<<<<<
 /* Configure the PCI bus bursts and FIFO thresholds. */
 /* Configure for standard, in-spec Ethernet. */
 np->tx_config = (1<<28) +       /* Automatic transmit padding */
             (1<<23) +       /* Excessive collision retry */
             (6<<20) +     /* Max DMA burst = 128 byte */
             (8<<8) +        /* fill threshold = 256 byte */
             8;              /* drain threshold = 256 byte */
 writel(np->tx_config, ioaddr + TxConfig);
>>>>>>>>

--
  Manfred
-
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] 10+ messages in thread

* Re: Netgear FA311
  2000-12-25 16:50 Manfred
@ 2000-12-25 17:40 ` Alex Buell
  0 siblings, 0 replies; 10+ messages in thread
From: Alex Buell @ 2000-12-25 17:40 UTC (permalink / raw)
  To: Manfred; +Cc: Mailing List - Linux Kernel

On Mon, 25 Dec 2000, Manfred wrote:

> Could you try this setup?
> <<<<<<<<
>  /* Configure the PCI bus bursts and FIFO thresholds. */
>  /* Configure for standard, in-spec Ethernet. */
>  np->tx_config = (1<<28) +       /* Automatic transmit padding */
>              (1<<23) +       /* Excessive collision retry */
>              (6<<20) +     /* Max DMA burst = 128 byte */
>              (8<<8) +        /* fill threshold = 256 byte */
>              8;              /* drain threshold = 256 byte */
>  writel(np->tx_config, ioaddr + TxConfig);
> >>>>>>>>

Hmm, that little change worked a lot better. However thoughput is down to
700kb/s! Transferring files from the other machine to this machine is much
faster - 868kb/s.

In the logs, I only got *one* message from the natsemi driver (and this
happened when sending files from this machine to the other machine. No
problems receiving from the other machine.

Dec 25 17:28:12 tahallah kernel: eth0: Something Wicked happened! 0583.

But I just realised that the other machine I'm using has an 10 megabit
ethernet card (on the hub that one is shown on 10, my machine is shown as
100). I think this explains the throughput problem. When I get another 4
way power socket, I'll put my other machine (which has a 100 megabit card
in it) on the network and see if that makes a difference.

Cheers,
Alex
-- 
Huffapuff!

http://www.tahallah.clara.co.uk

-
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] 10+ messages in thread

end of thread, other threads:[~2000-12-25 18:12 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-23 16:11 Netgear FA311 Alex Buell
2000-12-23 17:54 ` Mohammad A. Haque
2000-12-23 18:48 ` Mohammad A. Haque
2000-12-23 19:15   ` Marcus Meissner
2000-12-23 19:27     ` Alex Buell
2000-12-23 19:35       ` tc lewis
2000-12-23 19:50 ` Netgear FA311 (follow-up) Alex Buell
  -- strict thread matches above, loose matches on Subject: below --
2000-12-25 15:29 Netgear FA311 Alex Buell
2000-12-25 16:50 Manfred
2000-12-25 17:40 ` Alex Buell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.