[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ASDG EB920 Ethernet Support In Debian m68k



I was able to pull the NetBSD source tree as you did and found the files
that seem to be relevant.

I also think I have found the root cause to my problems with this A2000.
Recall that I had been observing random Lock-ups with Linux, and most
recently thought that it was a problem with communications with a
ST15150N hard disk.  I had previously thought that the problem was with
a bad 4 Megs SIMM. 

I replaced the ST15150N drive with a Quantum drive, and started
observing the same lock up problems, with and without the extra 4M
installed.  It finally occured to me what I had changed in the system,
as it had been running Linux quite reliably.

I added the ASDG LanRover card in the system.  My guess is that when it
received data it would generate an interrupt(s) which would cause the
sytem to lock up?   Since my LAN is not that busy, though could occur at
random times.

Since this card is not yet supported, it was probably generating
continuous interrupts, making the system appear to lock up.  I have the
config-heartbeat turned on, so even when the system appeared to be
locked up, the heartbeat was still flashing on the power led.

When I pulled the card, the system behaves quite solid (it would lock up
within a few minutes of boot before).

Now I'll test with the Seagate drive back in the system, but I suspect
that all will be working fine there also.  

Comments?

On Mon, Feb 02, 2004 at 10:32:09AM +0100, Geert Uytterhoeven wrote:
> On Sun, 1 Feb 2004, Lance Tagliapietra wrote:
> > <snip>
> > > I took a quick look. Seems like it's very similar to the Hydra driver.
> > > It does support a MAC address in ROM, though.
> >
> > You said you took a quick look, where?  I've been over the netbsd site,
> > found a www access to their source tree, but I have not been able to
> > locate a file that looks like an 8390 driver or an ethernet driver.
> >
> > I'd appreciate if you could point me in the right direction.
> 
> I don't remember the exact file name. I just downloaded the whole NetBSD kernel
> source tree and grep'ed for ASDG or LanRover or 8390 or Hydra or something like
> that.
> 
> > It looks like the MAC address on the EB-920 (LanRover) card is in a 32
> > byte PROM chip (74288) so I should be able to program a part for my
> > other card.
> 
> OK.
> 
> > > If possible, I suggest to add support for it to zorro8390.c, not hydra.c.
> > >
> > > zorro8390.c is the generic 8390 driver used for Ariadne 2 and X-Surf. It uses
> > > the standard 8390 RAM access port for getting packets in/out of the card.
> > >
> > > hydra.c is less generic and special because on Hydra you cannot access the
> > > standard 8390 RAM access port, so you have to access RAM directly.
> >
> > Well, since I don't know enough to have a preference, that's where I'll
> > start (zoorro8390.c).
> 
> OK, and if storing/receiving packets from the card's memory doesn't work, you
> can fallback to the Hydra driver.
> 
> Gr{oetje,eeting}s,
> 
> 						Geert
> 
> --
> Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
> 
> In personal conversations with technical people, I call myself a hacker. But
> when I'm talking to journalists I just say "programmer" or something like that.
> 							    -- Linus Torvalds



Reply to: