Re: HP9000 K-Series support

[email protected] (Hellmuth Michaelis) Wed, 15 Oct 2003 16:20:27 +0200 (CEST)
Newsgroups gmane.os.openbsd.hppa
Organization Kitchen Table Systems
Message-ID <[email protected]>
Michael Shalayeff wrote:

> > > > Now i need a driver for the built in Fast-Wide-Diff SCSI bus .. ;-)
> > > 
> > > i must be blind and do not see fwd in your dmesg?
> > 
> > Its not in the dmesg. I have no idea yet why, but i going to find out
> > why its not there (and a couple of other cards which are in the K but
> > do not display).
> 
> it's possible that it's behind the runway.

Yes, now it really looks like it does.

Its really strange. Until some hours ago i had only a vague idea how this
whole pdc/memory probing fits together, but by accident it now looks like
i see some light at the end of the tunnel :-)

> > The cpu and the mem device do not appear at the beginning because they are
> > not returned by probing via the PDC. It just happened that i called the
> > new probe routine below the others so they show up at the bottom of the
> > list.
> 
> oh. i guess you are writing code for that funky third scan method
> we do not support yet. i think it only exists on 32bit servers
> and 64bit machines thus i did not write it (;

AFAIK, the three methods are pdc_mem, pdc_sysmap and pdc_pat. Currently
you implemented pdc_mem and a bit of pdc_sysmap (which does not work
here since pdc_mem != pdc_sysmap(3). What i did is to implement pdc_sysmap
so that it works here _and_ to scan the central bus hpa memory for
modules residing there (to get the cpu(s), memory and runways) because
they are not seen by pdc_sysmap. I will not touch pdc_pat ;-)

> > > also why does it list same device multiple times?
> > 
> > Because the code needs (much) more work. I'm really glad that i have it
> > running and working on the K220 now (on an old 2G SE SCSI drive) and
> > i'm able to work directly on the target instead of the dog slow 715/64.
> 
> cool. i bet it's fast (w/ those caches)!

Yes. Its at least not slow.

> can you show me please whatever diffs you have now --
> just to grasp the idea of what is happenning.
> i'd know how to collaborate that w/ the stuff
> i'm working on to make it all more usable.

Give me some time. I have it running but it's just code to shoot into
blue to check if this works or that works. As i said above, i now think
that i might got an idea how this whole mess is supposed to work and
once that works a bit more cleanly i'll make diffs or code available.

hellmuth
-- 
Hellmuth Michaelis      Hamburg, Europe      hm\at\kts\dot\org      www.kts.org
a duck is like a bicycle because they both have two wheels except the duck (tl)