Subject: Re: NetBSD1.2 hangs sometimes.
To: None <port-amiga@NetBSD.ORG>
From: Ingo Meneikis <meneikis@cs.tu-berlin.de>
List: port-amiga
Date: 10/24/1996 10:19:25
> Hm... this points to a SCSI driver bug, I guess. Or a bad SCSI
> cable/SCSI termination.

I've checked all possible termination constellations, every time the same!
All partitions were found correctly - but after some big programs the system stops.

> Excuse my ignorance. What's the disk driver? Best include (at least)
> dmesg output.

I use the GVP disk driver. ( Perhaps it could be a problem of the GuruROM on my
SCSI host !?)

Here ist my dmegs output after rebooting after a crash.
===================================================================
NetBSD 1.2 (TOM) #2: Thu Oct 17 19:19:45 MET DST 1996
    root@tom:/usr/src/sys/arch/amiga/compile/TOM
Amiga 500/2000 (m68030 CPU/MMU m68882 FPU)
real  mem = 16777216 (2048 pages)
avail mem = 14745600 (1800 pages)
using 115 buffers containing 942080 bytes of memory
memory segment 0 at 1000000 size 1000000
memory segment 1 at 0 size 100000
mainbus0 (root)
clock0 at mainbus0: CIA B system hz 100 hardware hz 709379
ser0 at mainbus0: input fifo 512 output fifo 32
par0 at mainbus0
kbd0 at mainbus0: CIA A type Amiga
ms0 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 0xe3690: dmabuf ka 0x28df690
fd0 at fdc0 unit 0: 3.5dd 80 cyl, 2 head, 11 sec [9 sec], 512 bytes/sec
fd1 at fdc0 unit 1: 3.5dd 80 cyl, 2 head, 11 sec [9 sec], 512 bytes/sec
zbus0 at mainbus0: i/o size 0x00400000
gvpbus0 at zbus0 rom 0xe90000 man/pro 2017/11: subprod b7 flags 40
gtsc0 at gvpbus0: dmamask 0x1ffffff flags 57 maxdma 65536
sc_clkfreg: 14.3Mhz
scsibus0 at gtsc0
gtsc0: target 0 now synchronous, period=208ns, offset=12.
sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST51080N, 0943> SCSI2 0/direct fixed
sd0: 1030MB, 4826 cyl, 4 head, 109 sec, 512 bytes/sec
gtsc0: target 1 now synchronous, period=208ns, offset=8.
sd1 at scsibus0 targ 1 lun 0: <QUANTUM, LIGHTNING 730S, 241E> SCSI2 0/direct f
sd1: 699MB, 3658 cyl, 4 head, 97 sec, 512 bytes/sec
gtsc0: target 2 now synchronous, period=236ns, offset=12.
cd0 at scsibus0 targ 2 lun 0: <TOSHIBA, CD-ROM XM-5301TA, 0925> SCSI2 5/cdrom 
removable
grfcl0 at zbus0 rom 0x200000 man/pro 2195/10
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 keyboa
rd
grfcl: 4MB Piccolo SD64 being used
grfcl1 at zbus0 rom 0xea0000 man/pro 2195/11
ite at grfcl1:  not configured
10 views configured
syncing disks... panic: sleep
NetBSD 1.2 (TOM) #2: Thu Oct 17 19:19:45 MET DST 1996
    root@tom:/usr/src/sys/arch/amiga/compile/TOM
Amiga 500/2000 (m68030 CPU/MMU m68882 FPU)
real  mem = 16777216 (2048 pages)
avail mem = 14745600 (1800 pages)
using 115 buffers containing 942080 bytes of memory
memory segment 0 at 1000000 size 1000000
memory segment 1 at 0 size 100000
mainbus0 (root)
clock0 at mainbus0: CIA B system hz 100 hardware hz 709379
ser0 at mainbus0: input fifo 512 output fifo 32
par0 at mainbus0
kbd0 at mainbus0: CIA A type Amiga
ms0 at mainbus0
ms1 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 0xe3690: dmabuf ka 0x28df690
fd0 at fdc0 unit 0: 3.5dd 80 cyl, 2 head, 11 sec [9 sec], 512 bytes/sec
fd1 at fdc0 unit 1: 3.5dd 80 cyl, 2 head, 11 sec [9 sec], 512 bytes/sec
zbus0 at mainbus0: i/o size 0x00400000
gvpbus0 at zbus0 rom 0xe90000 man/pro 2017/11: subprod b7 flags 40
gtsc0 at gvpbus0: dmamask 0x1ffffff flags 57 maxdma 65536
sc_clkfreg: 14.3Mhz
scsibus0 at gtsc0
gtsc0: target 0 now synchronous, period=208ns, offset=12.
sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST51080N, 0943> SCSI2 0/direct fixed
sd0: 1030MB, 4826 cyl, 4 head, 109 sec, 512 bytes/sec
gtsc0: target 1 now synchronous, period=208ns, offset=8.
sd1 at scsibus0 targ 1 lun 0: <QUANTUM, LIGHTNING 730S, 241E> SCSI2 0/direct f
ixed
sd1: 699MB, 3658 cyl, 4 head, 97 sec, 512 bytes/sec
gtsc0: target 2 now synchronous, period=236ns, offset=12.
cd0 at scsibus0 targ 2 lun 0: <TOSHIBA, CD-ROM XM-5301TA, 0925> SCSI2 5/cdrom 
removable
grfcl0 at zbus0 rom 0x200000 man/pro 2195/10
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 keyboa
rd
grfcl: 4MB Piccolo SD64 being used
grfcl1 at zbus0 rom 0xea0000 man/pro 2195/11
ite at grfcl1:  not configured
10 views configured
===============================================================================
I hope it helps to detect the failure.

> Regards,
>         Ignatios Souvatzis

Thanks for help.
	Ingo Meneikis