Subject: Re: Status of st support?
To: David Gilbert <dgilbert@pci.on.ca>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-sparc
Date: 12/04/1995 18:19:14
On Mon, 4 Dec 1995 17:33:55 -0500 
 David Gilbert <dgilbert@pci.on.ca> wrote:

 > 	Whatever driver is currently in the distribution works for me.
 > However, I've got some new si code from Jason recently... which was
 > when the drive that came in my Sun4/260 started working.  I hear that
 > it's a particularly cantankerous type of drive.

Well, not _recently_ .. it's been a couple of weeks, I think :-).  Yah, I 
remember you mentioning to me that it was working well in PIO mode.  I'm 
somewhat at a loss to explain the DMA problems you've been seeing.  
Though, you did mention that you couldn't compile with options DEBUG 
and/or DIAGNOSTIC.  Well, you can't compile with DEBUG because the driver 
sources define that themselves, so the preprocessor yak's on a redefined 
macro.  Simple fix.  DIAGNOSTIC failed because it turns out there some 
sun3-specific code in ncr5380sbc.c .. calls to getsr() and related macros 
just don't exist on the sparc.  Not really much you can do but delete 
those checks, which I did.  I'll try and get diffs to Gordon/dej once I 
get a chance.

However, I tried booting a DEBUG/DIAGNOSTIC kernel, and it lost, big 
time; address fault of some ilk.  I didn't write it all down, because I 
was too busy at the moment.  I'll try and get to that later this week, as 
well.  In any case, I seem to remember I could get all the way to 
multi-user, except for the spawn of getty on the console.  That struck me 
as somewhat strange, so I could me mistaken ... it might have puked 
during mountroot :-)

 > 	That said... the si driver needs a bit of work.  It's a lot
 > faster, but the DMA works for him, but not for me.

Yah ... that puzzles me, too.  If I understand it right, our machines are 
fairly similar.

--------------------------------------------------------------------------
Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                               Home: 408.866.1912
NAS: M/S 258-6                                          Work: 415.604.0935
Moffett Field, CA 94035                                Pager: 415.428.6939