Subject: Re: Sparc 2's
To: Jan Ladiges <jan@cjmicro.com>
From: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
List: port-sparc
Date: 12/24/1997 15:22:32
-----BEGIN PGP SIGNED MESSAGE-----


  [now that my i386 com port woes are fixed... ]

  Okay, here is all the data that I have. I have tried this with both
HPx3 boxes and both cables that Jan gave me.  My conclusion? The boot prom
doesn't know about SCSI1, or the HP's don't like what the boot prom is
doing to probe them.
  
  This explains why when I boot on a sun3, all is well, however it is a
SCSI1 bus...  Of course, once the system boots, it is all MI SCSI code
anyway... 

  The Sparc 2 box hangs with the HP box on. The is unfortunate, since I want
to use the HP box as three root disks, with real work on NFS. Even if I
use the Quantum box as a root, it doesn't always boot...

  I have read the Sun hardware FAQ, but I can't find a SCSI term power fuse
on the Sparc 2. Can I turn sync negotiations off completely on the Sparc 2?
Or is there something else I should try?

scenario 1:
  Sparc 2 <--> HPx3 <--> Quantum Box <--> terminator

scenario 2: 	[works fine]
  Sun 3   <--> HPx3 <--> Quantum Box <--> terminator

#1a: no power to HP box

ok reset

WARNING: Unable to determine keyboard typeSPARCstation 2, No Keyboard
ROM Rev. 2.4.1, 48 MB memory installed, Serial #4330842.
Ethernet address 8:0:20:10:b7:c5, Host ID: 5542155a.



Testing   0 megs of memory. Still to go    0

SBus slot 0 le esp dma 
SBus slot 1 
SBus slot 2 
SBus slot 3 le 

Type  help  for more information
ok      
ok 
ok probe-scsi
Target 0 
  Unit 0   Disk     QUANTUM LIGHTNING 730S  241E09/20/94327432874830GENERIC                         
#1b: power turned on
ok probe-scsi
Target 0 
  Unit 0   Disk     QUANTUM LIGHTNING 730S  241E09/20/94327432874830GENERIC                         
<2 minutes. Break sent>
Type  'go' to resume
ok printenv
Parameter Name        Value                          Default Value

selftest-#megs        0                              
oem-logo                                             
oem-logo?             false                          false
oem-banner                                           
oem-banner?           false                          false
output-device         ttya                           screen
input-device          ttya                           keyboard
sbus-probe-list       0123                           0123
keyboard-click?       false                          false
keymap                                               
ttyb-rts-dtr-off      false                          false
ttyb-ignore-cd        true                           true
ttya-rts-dtr-off      false                          false
ttya-ignore-cd        true                           true
ttyb-mode             9600,8,n,1,-                   9600,8,n,1,-
ttya-mode             9600,8,n,1,-                   9600,8,n,1,-
fcode-debug?          false                          false
diag-file                                            
diag-device           net                            net
boot-file                                            
boot-device           disk0                          disk
auto-boot?            false                          true
watchdog-reboot?      false                          false
local-mac-address?    false                          false
use-nvramrc?          false                          false
nvramrc                                              
screen-#columns       80                             80
screen-#rows          24                             34
sunmon-compat?        false                          true
security-mode         none                           none
security-password                                    
security-#badlogins   0                              
scsi-initiator-id     7                              7
hardware-revision                                    
last-hardware-update                                 
testarea              85                             0
mfg-switch?           false                          false
diag-switch?          false                          false
ok reset

WARNING: Unable to determine keyboard typeSPARCstation 2, No Keyboard
ROM Rev. 2.4.1, 48 MB memory installed, Serial #4330842.
Ethernet address 8:0:20:10:b7:c5, Host ID: 5542155a.



Testing   0 megs of memory. Still to go    0

SBus slot 0 le esp dma 
SBus slot 1 
SBus slot 2 
SBus slot 3 le 


Type  'go' to resume
Type  help  for more information
ok boot net
The SCSI bus is hung.  Perhaps an external device is turned off.
Boot device: /sbus/le@0,c00000   File and args: 
b200 
>> NetBSD BOOT [$Revision: 1.4 $]
boot: client IP address: 205.233.54.140
boot: client name: netboot.sandelman.ottawa.on.ca
root addr=205.233.54.136 path=/export/root/netboot
Booting netbsd @ 0x4000
1138656+109056+70120+[45468+49712]=0x15cf9c
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

NetBSD 1.2.1 (GENERIC) #5: Fri Mar 21 11:12:23 MET 1997
    pk@flambard:/usr/src1/sys/arch/sparc/compile/GENERIC
real mem = 50237440
avail mem = 45318144
using 613 buffers containing 2510848 bytes of memory
bootpath: /sbus0/le@0,c00000
mainbus0 (root)
cpu0 at mainbus0: SUNW,Sun 4/75 (RT601 or L64811 v2 @ 40 MHz, TMS390C602A FPU)
cpu0: cache chip bug; trap page uncached
cpu0: 65536 byte write-through, 32 bytes/line, hw flush cache enabled
memreg0 at mainbus0 ioaddr 0xf4000000
clock0 at mainbus0 ioaddr 0xf2000000: mk48t02 (eeprom)
timer0 at mainbus0 ioaddr 0xf3000000 delay constant 17
auxreg0 at mainbus0 ioaddr 0xf7400003
zs0 at mainbus0 ioaddr 0xf1000000 pri 12, softpri 6
zs0a: console i/o
zs1 at mainbus0 ioaddr 0xf0000000 pri 12, softpri 6
audio0 at mainbus0 ioaddr 0xf7201000 pri 13, softpri 4
sbus0 at mainbus0 ioaddr 0xf8000000: clock = 20 MHz
dma0 at sbus0 slot 0 offset 0x400000: rev 1+
esp0 at sbus0 slot 0 offset 0x800000 pri 3: ESP100A 20Mhz, target 7
scsibus0 at esp0
sd0 at scsibus0 targ 0 lun 0: <QUANTUM, LIGHTNING 730S, 241E> SCSI2 0/direct fixed
sd0: 699MB, 3658 cyl, 4 head, 97 sec, 512 bytes/sec
probe(esp0:1:0): max sync rate 5.00Mb/s
sd1 at scsibus0 targ 1 lun 0: <HP, 2213A, C023> SCSI1 0/direct fixed
sd1: 633MB, 1457 cyl, 16 head, 55 sec, 512 bytes/sec
probe(esp0:2:0): max sync rate 5.00Mb/s
sd2 at scsibus0 targ 2 lun 0: <HP, 2213A, C023> SCSI1 0/direct fixed
sd2: 633MB, 1457 cyl, 16 head, 55 sec, 512 bytes/sec
probe(esp0:5:0): max sync rate 5.00Mb/s
sd3 at scsibus0 targ 5 lun 0: <HP, 2213A, C023> SCSI1 0/direct fixed
sd3: 633MB, 1457 cyl, 16 head, 55 sec, 512 bytes/sec
le0 at sbus0 slot 0 offset 0xc00000 pri 5: address 08:00:20:10:b7:c5
le0: 8 receive buffers, 2 transmit buffers
le1 at sbus0 slot 3 offset 0xc00000 pri 5: address 08:00:20:10:b7:c5
le1: 8 receive buffers, 2 transmit buffers
fdc0 at mainbus0 ioaddr 0xf7200000 pri 11, softpri 4: chip 82072
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
nfs_boot: using network interface 'le0'
nfs_boot: client_addr=0xcde9368c
nfs_boot: server_addr=0xcde93688
nfs_boot: hostname=netboot.sandelman.ottawa.on.ca
root on istari.sandelman.ottawa.on.ca:/export/root/netboot
...

   :!mcr!:            |  Network and security consulting/contract programming
   Michael Richardson |   I do IPsec policy code for SSH <http://www.ssh.fi/>
 Personal: mcr@sandelman.ottawa.on.ca. PGP key available.
 Corporate: sales@sandelman.ottawa.on.ca. 
	ON HUMILITY: To err is human, to moo bovine.


-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: latin1
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQB1AwUBNKFvBqZpLyXYhL+BAQHsPgL/dOOOfvlAuEdHYCOFJi4SLxE+37qKQ0m/
HhiAl+BzdAU1b8JgWrXufaf7RvV9Bhb41EEsmK9yP3eJjG7W8BycIbXPpVcdaGvA
ULVu6GzJSfuG252Gz+QusdXaLNcHO+kD
=9CCU
-----END PGP SIGNATURE-----