Re: Ne2000 PCI Card

1999-01-30 Thread Tim Preece
In message 
, Alfred Perlstein  writes
>
>On Thu, 28 Jan 1999, Rod Taylor wrote:
>
>> I have 2 cheap 100mbit nics (rj45 only).  Both use the ReaTek 8139 chipset 
>> (from the best that I can tell).  Both are PCI.
>
>...snip
>
>> Tried to get help in #freebsd in efnet, but no-one had suggestions that 
>> helped me... (Thanks anyhow Xanne)
>
>compile a kernel with:
>
>device  rl0
>
>that should work, and if you want to know why the cards are so cheap:
>
>/usr/src/sys/pci/if_rl.c
>
>wpaul explains it quite well. :)
>
>Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com
>-- There are operating systems, and then there's FreeBSD.
>-- http://www.freebsd.org/4.0-current
>
>
>To Unsubscribe: send mail to majord...@freebsd.org
>with "unsubscribe freebsd-current" in the body of the message

I had similar problems with I think the same card - certainly realtek

Either I had PNP modem working or ed1 realtek ethenet card

Problem was in the end in my BIOS, I had to enable all ports as PNP/PCI
as opposed to ISA/EISA and enable OS is PNP aware - AMI BIOS 1998

OK now, however I am having a few network problems but I do not think
that this could be the cause
-- 
Tim Preece

To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message


Re: Ne2000 PCI Card

1999-01-30 Thread Vallo Kallaste
On Thu, Jan 28, 1999 at 10:33:20PM -0600, Bruce Albrecht  
wrote:

> performance at 10 Mbps, but it's a real dog at 100 Mbps.  I'm only
> able to achieve 45-50 Mbps throughput with a dual P6-200 machine, and
> it uses nearly 30% of the CPU to do it.

Hmm.. We tried the cards here and got ca 9MB/s over crosslinked 
266Mhz Celerons. Well, the CPU load is quite high, about same you 
indicated.  For testing we used netperf from the ports.
-- 

Vallo Kallaste
va...@matti.ee

To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message


Re: Ne2000 PCI Card

1999-01-28 Thread Bruce Albrecht
Rod Taylor writes:
 > I have 2 cheap 100mbit nics (rj45 only).  Both use the ReaTek 8139 chipset 
 > (from the best that I can tell).  Both are PCI.
 > 
 > I've attempted to use both cards in several PCI slots, under 2.2.8 and 3.0 
 > boot floppies, and a 3.0-stable (updated 2 days ago).  None of these 
 > releases found either card in any situation.
 > 
 > I believe the card should be detected as Ed0 (possibly ed1).  I have used 
 > 3com pci cards in both machines under freebsd sucessfully and the ne2000 
 > cards function under windows and os/2.

The RealTek 8139 chipset is supported with the rl0 driver, and has
been supported since 3.0 was released.  Bill Paul is the maintainer of 
the driver.  I think the GENERIC kernel should have been able to find
them.  I've got a 8139 based NIC, and I have no complaints about its
performance at 10 Mbps, but it's a real dog at 100 Mbps.  I'm only
able to achieve 45-50 Mbps throughput with a dual P6-200 machine, and
it uses nearly 30% of the CPU to do it.

To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message


Re: Ne2000 PCI Card

1999-01-28 Thread Alfred Perlstein

On Thu, 28 Jan 1999, Rod Taylor wrote:

> I have 2 cheap 100mbit nics (rj45 only).  Both use the ReaTek 8139 chipset 
> (from the best that I can tell).  Both are PCI.

...snip

> Tried to get help in #freebsd in efnet, but no-one had suggestions that 
> helped me... (Thanks anyhow Xanne)

compile a kernel with:

device  rl0

that should work, and if you want to know why the cards are so cheap:

/usr/src/sys/pci/if_rl.c

wpaul explains it quite well. :)

Alfred Perlstein - Programmer, HotJobs Inc. - www.hotjobs.com
-- There are operating systems, and then there's FreeBSD.
-- http://www.freebsd.org/4.0-current


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message


Re: Ne2000 PCI Card

1999-01-28 Thread Brian W. Buchanan
On Thu, 28 Jan 1999, Rod Taylor wrote:

> I have 2 cheap 100mbit nics (rj45 only).  Both use the ReaTek 8139 chipset 
> (from the best that I can tell).  Both are PCI.
> 
> I've attempted to use both cards in several PCI slots, under 2.2.8 and 3.0 
> boot floppies, and a 3.0-stable (updated 2 days ago).  None of these 
> releases found either card in any situation.
> 
> I believe the card should be detected as Ed0 (possibly ed1).  I have used 
> 3com pci cards in both machines under freebsd sucessfully and the ne2000 
> cards function under windows and os/2.

Try the rl0 driver:

On my system:
rl0:  rev 0x10 int a irq 12 on pci0.9.0

-- 
Brian Buchanan br...@csua.berkeley.edu
--
FreeBSD - The Power to Serve!   http://www.freebsd.org

daemon(n): 1. an attendant power or spirit : GENIUS
   2. the cute little mascot of the FreeBSD operating system


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message


Re: Ne2000 PCI Card

1999-01-28 Thread Blaz Zupan
> I have 2 cheap 100mbit nics (rj45 only).  Both use the ReaTek 8139 chipset 
> (from the best that I can tell).  Both are PCI.

They are supported in 4.0-CURRENT by the rl driver. I belive they are also
included in 3.0-STABLE, but I'm not sure if they are on the boot floppy.

And before using this card, you should consider the following comment from
the driver source:

 * The RealTek 8139 PCI NIC redefines the meaning of 'low end.' This is
 * probably the worst PCI ethernet controller ever made, with the possible
 * exception of the FEAST chip made by SMC. The 8139 supports bus-master
 * DMA, but it has a terrible interface that nullifies any performance
 * gains that bus-master DMA usually offers.

So don't expect too much ;)

Blaz Zupan, b...@medinet.si, http://home.amis.net/blaz
Medinet d.o.o., Linhartova 21, 2000 Maribor, Slovenia


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message


Ne2000 PCI Card

1999-01-28 Thread Rod Taylor
I have 2 cheap 100mbit nics (rj45 only).  Both use the ReaTek 8139 chipset 
(from the best that I can tell).  Both are PCI.

I've attempted to use both cards in several PCI slots, under 2.2.8 and 3.0 
boot floppies, and a 3.0-stable (updated 2 days ago).  None of these 
releases found either card in any situation.

I believe the card should be detected as Ed0 (possibly ed1).  I have used 
3com pci cards in both machines under freebsd sucessfully and the ne2000 
cards function under windows and os/2.

What can I do?  If someone wants to see, I'm willing to give root to a 
person who wishes to help fix this problem (or make appropriate additions to 
the driver).   Have any changes been applied to 4.0-current which may solve 
my situation?

Tried to get help in #freebsd in efnet, but no-one had suggestions that 
helped me... (Thanks anyhow Xanne)


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message