Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* NE2000 on Alpha Linux: Does it work?
@ 1997-09-30  4:00 Marko Vendelin
  1997-09-30  4:00 ` David Nedved
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Marko Vendelin @ 1997-09-30  4:00 UTC (permalink / raw)



Hi,

I am installing Alpha PC164 with "generic" ne2000 compatible
network card. Unfortunately, the system (Linux)
detects it occasionaly: once everything works, the next time
it doesn't. IRQs are not conflicting.

My card is PCI NE2000. Does anybody fixed this problem?

-- 
Marko Vendelin,
e-mail: markov@ioc.ee



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

* Re: NE2000 on Alpha Linux: Does it work?
  1997-09-30  4:00 NE2000 on Alpha Linux: Does it work? Marko Vendelin
  1997-09-30  4:00 ` David Nedved
@ 1997-09-30  4:00 ` Georg Acher
  1997-10-01  4:00 ` NE2000 on Alpha Linux: Does it work? --> Solved Marko Vendelin
  1997-10-17  4:00 ` NE2000 on Alpha Linux: Does it work? Arne Elofsson
  3 siblings, 0 replies; 6+ messages in thread
From: Georg Acher @ 1997-09-30  4:00 UTC (permalink / raw)




In article <343129B3.1CED@ioc.ee>, Marko Vendelin <markov@ioc.ee> writes:
|> Hi,
|> 
|> I am installing Alpha PC164 with "generic" ne2000 compatible
|> network card. Unfortunately, the system (Linux)
|> detects it occasionaly: once everything works, the next time
|> it doesn't. IRQs are not conflicting.
|> 
|> My card is PCI NE2000. Does anybody fixed this problem?

The NE2000-driver works for my PCI-NE2000-clone (with the RTL8029 chip), but only
after a long debugging session. Some problems are x86-relicts (IO-ports declared
as short, works for ISA, but seldom for PCI...). The other point is a very
mysterious effect in the interrupt handler, if the interrupts are reenabled or
cleared. These effects always lead to a crash. The only way to get it to work is
not to enable interrupts and wait with the rti until the PCI-card has cleared its 
interrupts.
You can have my patches for 8390.c, maybe that works for you.

-- 
	Bye
         Georg Acher, acher@informatik.tu-muenchen.de         
         http://www.informatik.tu-muenchen.de/~acher/
          "Oh no, not again !" The bowl of petunias          



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

* Re: NE2000 on Alpha Linux: Does it work?
  1997-09-30  4:00 NE2000 on Alpha Linux: Does it work? Marko Vendelin
@ 1997-09-30  4:00 ` David Nedved
  1997-09-30  4:00 ` Georg Acher
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: David Nedved @ 1997-09-30  4:00 UTC (permalink / raw)
  To: Marko Vendelin


On Tue, 30 Sep 1997, Marko Vendelin wrote:
> I am installing Alpha PC164 with "generic" ne2000 compatible
> network card. Unfortunately, the system (Linux)
> detects it occasionaly: once everything works, the next time
> it doesn't. IRQs are not conflicting.
> 
> My card is PCI NE2000. Does anybody fixed this problem?

I have lots of experience with NE2000's on PC's so everything I say may be
completely irrevelant to Alpha's, but several things come to mind: 

1.) if it's PCI, my understanding (quite possibly dead wrong) is that it
definitely needs to be supported directly - with PCI I don't believe
clones are allowed to "borrow" vendor or product ID codes, and this is how
BIOS and Linux determine which card it is.  This doesn't explain
occasional working/not working, but is a problem I've run into with PCI
NE2000 clones (for example Readylink RL2000).  Should be a case of copying
an entry in the table in pci.h (I think...), but I don't think that's your
problem...

2.) I have had sporadic detection of ISA NE2000 clones using the boot
kernels which have lots of different network driver support.  I've had so
much trouble with this, that when I'm building a Linux box for a customer
I keep a 3c509 around to boot onto, install Linux over the ethernet, then
rebuild the kernel for NE2000 and switch off to the NE2000.  I've
definitely had this problem appear and go away on successive reboots with
no hardware change at all, so this is my best guess for your problem. 

3.) It doesn't only work after booting Windoze and warm booting does it?

Good luck,

David
--
David Nedved                         dnedved@innova.net
Manager of Network Operations        864-653-4638   1-888-8INNOVA
Innova Communications




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

* Re: NE2000 on Alpha Linux: Does it work? --> Solved
  1997-09-30  4:00 NE2000 on Alpha Linux: Does it work? Marko Vendelin
  1997-09-30  4:00 ` David Nedved
  1997-09-30  4:00 ` Georg Acher
@ 1997-10-01  4:00 ` Marko Vendelin
  1997-10-17  4:00 ` NE2000 on Alpha Linux: Does it work? Arne Elofsson
  3 siblings, 0 replies; 6+ messages in thread
From: Marko Vendelin @ 1997-10-01  4:00 UTC (permalink / raw)



Marko Vendelin wrote:
> 
> Hi,
> 
> I am installing Alpha PC164 with "generic" ne2000 compatible
> network card. Unfortunately, the system (Linux)
> detects it occasionaly: once everything works, the next time
> it doesn't. IRQs are not conflicting.
> 
> My card is PCI NE2000. Does anybody fixed this problem?
> 
> --
> Marko Vendelin,
> e-mail: markov@ioc.ee

Hi,

I've found a solution for my problem in Ethernet HowTo. Namely,
if PCI NE2000 card is not detected by kernel, then IRQ, I/O address
could be specified in milo as follows:

boot hda3:vmlinux.gz root=/dev/hda3 ether=11,0x300,eth0

where NE2000 card uses irq 11, i/o address 0x300.

Happy linuxing,

-- 
Marko Vendelin,
e-mail: markov@ioc.ee



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

* Re: NE2000 on Alpha Linux: Does it work?
  1997-09-30  4:00 NE2000 on Alpha Linux: Does it work? Marko Vendelin
                   ` (2 preceding siblings ...)
  1997-10-01  4:00 ` NE2000 on Alpha Linux: Does it work? --> Solved Marko Vendelin
@ 1997-10-17  4:00 ` Arne Elofsson
  1997-10-17  4:00   ` Jason Shiffer
  3 siblings, 1 reply; 6+ messages in thread
From: Arne Elofsson @ 1997-10-17  4:00 UTC (permalink / raw)



--Multipart_Fri_Oct_17_11:21:00_1997-1
Content-Type: text/plain; charset=US-ASCII

Marko Vendelin <markov@ioc.ee> writes:

> Hi,
> 
> I am installing Alpha PC164 with "generic" ne2000 compatible
> network card. Unfortunately, the system (Linux)
> detects it occasionaly: once everything works, the next time
> it doesn't. IRQs are not conflicting.
> 
> My card is PCI NE2000. Does anybody fixed this problem?
> 

I have used several ne2000 clones without any problems.

arne

--Multipart_Fri_Oct_17_11:21:00_1997-1
Content-Type: text/plain; charset=US-ASCII

---------------------------------------------------------------------------
              The more I use Windows, the more I love Linux
---------------------------------------------------------------------------
 Arne Elofsson     arne@bimbo.biokemi.su.se http://www.biokemi.su.se/~arne/
 Tel:+46(0)8-161553      Dept of Biochemistry, Stockholm University
 Fax:+46(0)8-153679	 10691 Stockholm, Sweden

--Multipart_Fri_Oct_17_11:21:00_1997-1--



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

* Re: NE2000 on Alpha Linux: Does it work?
  1997-10-17  4:00 ` NE2000 on Alpha Linux: Does it work? Arne Elofsson
@ 1997-10-17  4:00   ` Jason Shiffer
  0 siblings, 0 replies; 6+ messages in thread
From: Jason Shiffer @ 1997-10-17  4:00 UTC (permalink / raw)
  To: Arne Elofsson




On 17 Oct 1997, Arne Elofsson wrote:

> Marko Vendelin <markov@ioc.ee> writes:
> 
> > Hi,
> > 
> > I am installing Alpha PC164 with "generic" ne2000 compatible
> > network card. Unfortunately, the system (Linux)
> > detects it occasionaly: once everything works, the next time
> > it doesn't. IRQs are not conflicting.
> > 
> > My card is PCI NE2000. Does anybody fixed this problem?
> > 
> 
> I have used several ne2000 clones without any problems.
> 
> arne
> 
I actually have had the same problem on ocassion.  I found only two ways
to make it work. 

1) I got kernel modules working and made the ne2000 driver a module then
added the appropriate information to /etc/conf.modules and viola it
worked.

2) The first time I installed I was having alot of trouble with the
modules and the milo param ether= was not working as I am sure you can
attest.  So I had to actually hard code the ne2000 driver.  I actually
only added 3 lines to the drivers/net/ne.c and it worked.  Here they are:

line 381 of ne.c should be something like:
	 dev->irq = 9;

add this afterwards until you get modules working:
	if(!dev->irq){      /*HACK added to get my card to work*/
	   dev->irq = YOURIRQ;
	}

and recompile and it should work.  This is the only way that I have been
able to get mine to work in the early stages of setting the box up.


Jason Shiffer
jhereg@bigfoot.com
jasonshiffer@home.com

-----------------------------------------------------------
"Hello me it's me again..."




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

end of thread, other threads:[~1997-10-17  4:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-30  4:00 NE2000 on Alpha Linux: Does it work? Marko Vendelin
1997-09-30  4:00 ` David Nedved
1997-09-30  4:00 ` Georg Acher
1997-10-01  4:00 ` NE2000 on Alpha Linux: Does it work? --> Solved Marko Vendelin
1997-10-17  4:00 ` NE2000 on Alpha Linux: Does it work? Arne Elofsson
1997-10-17  4:00   ` Jason Shiffer

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