Subject: HyperSparc support is under construction -- how can I help move it
To: None <port-sparc@netbsd.org>
From: Geoff Adams <gadams@avernus.com>
List: port-sparc
Date: 12/23/1998 15:05:54
I have an SS20 with a dual Ross HyperSparc module.  I'd really like to get
this machine running NetBSD (like all my other Sparcs).  I'm willing to
forgo one processor for the moment, until SMP support comes along...  :)

module-info returns the following, for those who might be curious:

   <#0> ok module-info
   MBus  :  50 MHz
   SBus  :  25 MHz
   CPU#0 :  125 MHz RT620 / RT626 -- 512K External Cache
   CPU#1 :  125 MHz RT620 / RT626 -- 512K External Cache

I had played with booting NetBSD this machine a year or so ago, and it
didn't go well.  I haven't had much of a chance to play with it since, until
now.  The boot gets much further, now.  I can get just short of mounting the
root filesystem.  If I netboot, I can't mount root filesystem via NFS
because le0 fails to respond once the kernel takes control.  Thinking that
this might be a TPE/AUI issue, I decided to mount root from sd1 and forget
about the ethernet interface until I could get to a shell.

Unfortunately, the kernel doesn't seem to do any better dealing with disks. 
(The bootstrap loader can read the kernel from disk just fine, but once the
kernel takes over, I get fireworks.)  The console output appears below.

I don't know how to interpret the SCSI "Illegal Field in CDB" error.  I'll
start to peruse the source as a next step, but I won't get to that until
tomorrow at the earliest, and quite possibly as late as a week and a half
from now.  In any event, if someone out there who knows more about the
internals of this machine or the kernel would like to work with me on this,
I'd be thrilled to get this machine booted!

Thanks,
- Geoff

----

NetBSD 1.3I (HEISENBERG) #0: Tue Dec 22 17:37:26 EST 1998
   
gadams@elmo.fgm.com:/export/build/netbsd/sys/arch/sparc/compile/HEISENBERG
real mem = 133746688
avail mem = 122056704
using 1632 buffers containing 6684672 bytes of memory
bootpath:
/iommu@f,e0000000/sbus@f,e0001000/espdma@f,400000/esp@f,800000/sd@1,0
mainbus0 (root): SUNW,SPARCstation-20
cpu0 at mainbus0warning: hypersparc support still under construction
: RT620/625 @ 125 MHz, on-chip FPU
cpu0: 512K byte write-through, 32 bytes/line, sw flush: cache enabled
cpu at mainbus0 not configured
obio0 at mainbus0
clock0 at obio0 slot 0 offset 0x200000: mk48t08 (eeprom)
timer0 at obio0 slot 0 offset 0x300000 delay constant 61
zs0 at obio0 slot 0 offset 0x100000 level 12 softpri 6
zstty0 at zs0 channel 0 (console)
zstty1 at zs0 channel 1
zs1 at obio0 slot 0 offset 0x0 level 12 softpri 6
kbd0 at zs1 channel 0
ms0 at zs1 channel 1
SUNW,fdtwo at obio0 slot 0 offset 0x700000 level 11 not configured
auxreg0 at obio0 slot 0 offset 0x800000
power0 at obio0 slot 0 offset 0xa01000 level 2
iommu0 at mainbus0 ioaddr 0xe0000000: version 0x3/0x1, page-size 4096, range
64B
sbus0 at iommu0: clock = 25 MHz
dma0 at sbus0 slot 15 offset 0x400000: rev 2
esp0 at dma0 slot 15 offset 0x800000 level 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets, 8 luns per target
probe(esp0:1:0): max sync rate 10.00Mb/s
sd0 at scsibus0 targ 1 lun 0: <SEAGATE, ST15230N, 0298> SCSI2 0/direct fixed
sd0: 4095MB, 3992 cyl, 19 head, 110 sec, 512 bytes/sect x 8386733 sectors
probe(esp0:3:0): max sync rate 10.00Mb/s
sd1 at scsibus0 targ 3 lun 0: <SEAGATE, ST32430W, 0300> SCSI2 0/direct fixed
sd1: 2049MB, 3992 cyl, 9 head, 116 sec, 512 bytes/sect x 4197405 sectors
probe(esp0:6:0): max sync rate 4.23Mb/s
cd0 at scsibus0 targ 6 lun 0: <TOSHIBA, XM-4101TASUNSLCD, 3424> SCSI2
5/cdrom re
ledma0 at sbus0 slot 15 offset 0x400010: rev 2
le0 at ledma0 slot 15 offset 0xc00000 level 6: address 08:00:20:77:5e:bb
le0: 8 receive buffers, 2 transmit buffers
SUNW,bpp at sbus0 slot 15 offset 0x4800000 level 2 (ipl 3) not configured
SUNW,DBRIe at sbus0 slot 14 offset 0x10000 level 9 not configured
cgthree0 at sbus0 slot 3 offset 0x0 level 9: SUNW,501-1718, 1152 x 900
eccmemctl at mainbus0 not configured
root on sd0a dumps on sd0b
sd0(esp0:1:0):  Check Condition on CDB: 0x25 00 00 00 00 00 00 00 00 00
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  Illegal Field in CDB
     FRU CODE:  0x1
         SKSV:  Error in CDB, Offset 2, bit 7

sd0(esp0:1:0): could not get size
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 200
sd0(esp0:1:0):  Check Condition on CDB: 0x25 00 00 00 00 00 00 00 00 00
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  Illegal Field in CDB
     FRU CODE:  0x1
         SKSV:  Error in CDB, Offset 2, bit 7

sd0(esp0:1:0): could not get size
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 200
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 800
sd0(esp0:1:0):  Check Condition on CDB: 0x25 00 00 00 00 00 00 00 00 00
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  Illegal Field in CDB
     FRU CODE:  0x1
         SKSV:  Error in CDB, Offset 2, bit 7

sd0(esp0:1:0): could not get size
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 200
esp0: !TC on DATA XFER [intr 10, stat 83, step 4] prevphase 1, resid 2000
no file system for sd0 (dev 0x700)
cannot mount root, error = 79
root device (default sd0a):