Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 1998 03:40:24 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Eivind Eklund <eivind@yes.no>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: ed overwrite clue? 
Message-ID:  <199802171140.DAA01667@dingo.cdrom.com>
In-Reply-To: Your message of "Tue, 17 Feb 1998 12:29:04 %2B0100." <19980217122904.27594@follo.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> On Tue, Feb 17, 1998 at 03:10:43AM -0800, Mike Smith wrote:
> > > This might be a clue for the strange ED overwrites (or it might be
> > > something completely unrelated :-)
> > 
> > It looks kinda interesting, at any rate:
> 
> [code snippet deleted]
> > 
> > Weird.  The destination should be on the stack - are you comfortable 
> > that you haven't overrun the end of the stack?
> 
> I'm not certain about anything right now - I started reproducing this
> about an hour ago.  It might even be a hardware failure (but I've
> tried with different cards of the same type, and all fail, while a
> Kingston Ne2000-clone works flawlessly).

That in particular is kinda odd.  What NIC is the Kingston card using? 
Is it a "real" 8390x, or another clone?

> > > #4  0xf01b34ae in ed_pio_readmem (sc=0xf01ed400, src=25088, 
> > >     dst=0xefbfffc0 "'", amount=4) at machine/cpufunc.h:185
> > 
> > In my copy of cpufunc.h, line 185 is insb().  Is this an 8-bit card?
> 
> It's a "Thrust" NE2000-clone, based on the RTL8019AS.
> 
> And in the relevant header file here line 185 is insw().

Ok, version skew.  

I have the RTL8019 documentation around here somewhere; it's in an odd 
format that I didn't get to print (a self-extracting nonstandard-format 
Windows executable I think).  If you're really stuffed let me know and 
I'll dig it out.

One question; the destination of the insw - is that actually a 
legitimate address?  ie. is it on the kernel stack, or somewhere else?

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802171140.DAA01667>