Subject: Re: scsi synchronous mode
To: Michael L. Hitch <firstname.lastname@example.org>
From: Jasper Y. Wong <email@example.com>
Date: 10/08/1995 12:48:47
> On Oct 7, 9:54pm, "Jasper Y. Wong" wrote:
> > Hi everyone, I'm in the process of upgrading from v1.0 to -current. However,
> > I can't seem to get past the initial debug screen. The HD status light
> > stays on at the HD analysis section and the computer freezes. I suspect
> > it has to do with the snapshotted kernel tries to synchronize the hard drives
> > whereas the original generic kernel didn't. I remember there exists
> > some symbols I can patch with binpatch but I don't know what they are.
> > Would anyone point me to the right symbol to patch? or better yet, tell
> > me what could be causing the problem. Thanks in advance.
> You probably want to patch _sbic_inhibit_sync to 1, assuming you are
> using an A3000, an A2091, or a GVP SCSI adapter. It defaulted to 1 for
> 1.0, and was changed to 0 for -current.
> Which snapshot are you using (what's the date on the kernel identification
> on boot)? The SCSI driver was extensively modified recently, and there were
> one or two changes to it after the initial update was done. I would like
> to try to determine if the current version of the SCSI driver still has
> problems, and even better, try to figure out what that problem is.
> Michael L. Hitch INTERNET: firstname.lastname@example.org
> Computer Consultant
> Office of Systems and Computing Services
> Montana State University Bozeman, MT USA
The kernel's dated August. I binpatched the kernel (amigaOS side) using
'binpatch -l -s _sbic_inhibit_sync -r 1 netbsd' and loads in the kernel
with 'loadbsd -c 3000 -a netbsd'. However, the problem didn't go away :(
I have a 3000T/2chip/16fast/GForce'040w2meg/2MegSpectrum. Following is
the bootup screen I get when I copied loadbsd and netbsd to a ram disk
and boot up from there (booting off from harddrive stops even earlier).
The HD status light stays on after the last line, the cursor does blink,
Copyright (c) 1982, 1986, 1989, 1991, 1993 CIRRUS
The Regents of the University of California. All rights reserved.
NetBSD 1.0A (GENERIC) #1: Thu Aug 24 11:40:11 EDT 1995
Amiga 3000 (m68040 CPU/MMU/FPU)
real mem = 16777216 (2048 pages)
avail mem = 14426112 (1761 pages)
using 115 buffers containing 942080 bytes of memory
memory segment 0 at 08000000 size 00200000
memory segment 1 at 07000000 size 01000000
memory segment 2 at 00000000 size 00200000
clock0 at mainbus0: system hz 100 hardware hz 715909
ser0 at mainbus0: input fifo 512 output fifo 32
par0 at mainbus0
kbd0 at mainbus0
grfcc0 at mainbus0
grf0 at grfcc0: width 640 height 400 colors 4
ite0 at grf0: rows 0 cols 0 repeat at (30/100)s next at (10/100)s has keyboard
fdc0 at mainbus0: dmabuf pa 0x1e3690
fd0 at fdc0: 3.5dd 80 cyl, 2 head, 11 sec [9 sec], 512 bytes/sec
zbus0 at mainbus0: i/o size 0x00300000
board at zbus0: rom 0x200000 man/pro 2150/1 not configured
board at zbus0: rom 0xe90000 man/pro 2171/21 not configured
grfcl0 at zbus0 rom 0x40000000 man/pro 2193/1
grf3 at grfcl0: width 640 height 480 colors 16
ite3 at grf3: rows 60 cols 80 repeat at (30/100)s next at (10/100)s has keyboard
grfcl: 2MB Spectrum being used
grfcl1 at zbus0 rom 0xea0000 man/pro 2193/2
ite at grfcl1: not configured
le0 at zbus0 rom 0xeb0000 man/pro 514/112
le0: hardware address 00:80:10:00:09:ca 32K
ahsc0 at mainbus0
scsibus0 at ahsc0
ahsc0: target 1 now synchronous, period=208ns, offset=12.
ahsc0 targ 1 lun 0: <CONNER, CP30540 SUN0535, B0BB> SCSI2 0/direct fixed
sd0 at scsibus0: 520MB, 2242 cyl, 6 head, 79 sec, 512 bytes/sec
ahsc0: target 2 now synchronous, period=300ns, offset=12.
ahsc0 targ 2 lun 0: <NEC, CD-ROM DRIVE:400, 2.0> SCSI1 5/cdrp, removable
cd0 at scsibus0: cd present, 332642 x 2048 byte records
ahsc0: target 3 now synchronous, period=208ns, offset=12.
ahsc0 targ 3 lun 0: <MAXTOR, 7345-SCSI, 2065> SCSI1 0/direct fixed
sd1 at scsibus0: 329MB, 2220 cyl, 4 head, 76 sec, 512 bytes/sec
ahsc0: target 4 now synchronous, period=208ns, offset=6.
ahsc0 targ 4 lun 0: <SEAGATE, ST3283N, 9303> SCSI2 0/direct fixed
sd2 at scsibus0: 237MB, 1691 cyl, 5 head, 57 sec, 512 bytes/sec
ahsc0: target 6 now synchronous, period=208ns, offset=12.
ahsc0 targ 6 lun 0: <CONNER, CFP1080S, 4649> SCSI2 0/direct fixed
sd3 at scsibus0: 1030MB, 3658 cyl, 6 head, 96 sec, 512 bytes/sec
2 mice configured
10 views configured
WARNING: bad date in battery clock
Automatic boot in progress: starting file system checks.
ps. booting off from harddrive usually stops before '2 mice configured'.