Subject: Sun3 SCSI works on VME
To: None <port-sun3@NetBSD.ORG>
From: Gordon W. Ross <gwr@mc.com>
List: port-sun3
Date: 01/23/1995 19:20:36
I finally figured out that on VME the si driver has to use a
huge retry count (1000) on SCSI bus arbitration.  Works now.

I hope to check in the changes later this evening.

Gordon

[ attached: thrils only a geek could enjoy... ]

Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.

NetBSD 1.0A (GENERIC) #136: Mon Jan 23 19:05:18 EST 1995
    gwr@saturn2:/home/gwr/netbsd/src/sys/arch/sun3/compile/GENERIC
Model: Sun 3/260
real mem  = 16760832
avail mem = 14950400
using 102 buffers containing 835584 bytes of memory
mainbus0 (root)
obctl0 at mainbus0
idprom0 at obctl0 addr 0x0
obmem0 at mainbus0
obio0 at mainbus0
zs0 at obio0 addr 0x20000 level 6 softpri 2
zs1 at obio0 addr 0x0 level 6 softpri 2
eeprom0 at obio0 addr 0x40000
clock0 at obio0 addr 0x60000 level 5
ie0 at obio0 addr 0xc0000 level 3 hwaddr 08:00:20:06:b3:e3
vmes0 at mainbus0
si0 at vmes0 addr 0xff200000 level 2 vector 0x40
scsibus0 at si0
si0 targ 0 lun 0: <EMULEX, MD21/S2     ESDI, A00> SCSI0 0/direct fixed
sd0 at scsibus0: 312MB, 1224 cyl, 15 head, 34 sec, 512 bytes/sec
check cond. target 4.
si0 targ 4 lun 0: <, , > SCSI1 1/sequential removable
st0 at scsibus0: rogue, check cond. target 4.
drive empty
vmel0 at mainbus0
root on ie0
swap on ie0
dump on ie0
nfs_boot: using network interface 'ie0'
ie0: TDR detected an open 0 clocks away
nfs_boot: client_addr=0xc0e91177
ie0: TDR detected a short 0 clocks away
nfs_boot: server_addr=0xc0e91120
nfs_boot: hostname=venus
root on saturn2:/home/venus/root
swap on saturn2:/home/venus/swap
WARNING: clock gained 5 days -- CHECK AND RESET THE DATE!
Enter pathname of shell or RETURN for sh: 
sh: warning: running as root with dot in PATH
# mount -r /dev/sd0a /mnt
check cond. target 0.
# ls -l /mnt
-rw-r--r--   1 root  10          517 Sep 23  1991 .cshrc
-rw-r--r--   1 root  10           62 Oct 14  1990 .login
-rw-r--r--   1 root  10           87 Oct 14  1990 .profile
lrwxr-xr-x   1 root  wheel         7 Jan 20 22:39 bin -> usr/bin
-r--r--r--   1 root  sys      101800 Jan 31  1991 boot
drwxr-sr-x   2 bin   10        10240 Jan 20 22:39 dev
drwxr-sr-x   7 bin   10         2048 Jan 20 22:39 etc
drwxr-sr-x   4 root  wheel       512 Jan 31  1991 export
drwxr-sr-x   2 root  wheel       512 Jan 31  1991 home
-rwxr-xr-x   1 root  wheel    197926 Jan 31  1991 kadb
lrwxr-xr-x   1 root  wheel         7 Jan 20 22:39 lib -> usr/lib
drwxr-xr-x   2 root  wheel      8192 Jan 31  1991 lost+found
drwxr-sr-x   2 bin   10          512 Oct 14  1990 mnt
dr-xr-xr-x   2 root  wheel       512 Jan  2  1992 net
drwxr-sr-x   2 bin   10          512 Jan 31  1991 sbin
drwxrwsrwt   9 bin   10         2048 Jan 20 22:38 tmp
drwxr-sr-x   2 root  wheel       512 Jan 31  1991 usr
drwxr-sr-x  10 bin   10          512 Jan 31  1991 var
-rwxr-xr-x   1 root  wheel   1236025 Jan 31  1991 vmunix