Subject: port-amiga/1471: kernel panics during reboot
To: None <gnats-bugs@gnats.netbsd.org>
From: Ignatios Souvatzis <is@beverly.rhein.de>
List: netbsd-bugs
Date: 09/14/1995 15:59:58
>Number:         1471
>Category:       port-amiga
>Synopsis:       Kernel panics during reboot; presumably during or after sync()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 16 12:20:01 1995
>Last-Modified:
>Originator:     Ignatios Souvatzis
>Organization:
	at home
>Release:        19950902 + M.Hitch's sbic.c patches of a few days later.
>Environment:

System: NetBSD beverly 1.0A NetBSD 1.0A (BEVERLY) #168: Thu Sep 14 14:18:41 MET DST 1995 is@beverly:/usr/src/sys/arch/amiga/compile/BEVERLY amiga

Hardware: 

	Amiga 3000 (m68030 CPU/MMU m68882 FPU)
	real  mem = 12582912 (1536 pages)
	avail mem = 10526720 (1285 pages)
	using 89 buffers containing 729088 bytes of memory
	memory segment 0 at 07400000 size 00c00000
	memory segment 1 at 00000000 size 00200000
	Physical memory segments:
	Physical segment 0 at 074fa000 size 1410 pages 0
	mainbus0 (root)
	clock0 at mainbus0: system hz 100 hardware hz 715909
	ser0 at mainbus0: input fifo 16384 output fifo 512
	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 0x1e3720
	fd0 at fdc0: 3.5dd 80 cyl, 2 head, 11 sec [9 sec], 512 bytes/sec
	zbus0 at mainbus0
	bah0 at zbus0 rom 0xe90000 man/pro 514/9: link addr 0x4d(77)
	bah1 at zbus0 rom 0xea0000 man/pro 514/9: link addr 0x4e(78)
	grful0 at zbus0 rom 0xeb0000 man/pro 1030/0
	grf4 at grful0: width 864 height 648 colors 256
	ite4 at grf4: rows 58 cols 108 repeat at (30/100)s next at (10/100)s has keyboard
	board at zbus0: rom 0xec0000 man/pro 43537/17 not configured
	ahsc0 at mainbus0
	scsibus0 at ahsc0
	ahsc0: target 0 now synchronous, period=240ns, offset=8.
	ahsc0 targ 0 lun 0: <QUANTUM, PD210S, 528_> SCSI2 0/direct fixed
	sd0 at scsibus0: 199MB, 1156 cyl, 7 head, 50 sec, 512 bytes/sec
	ahsc0: target 1 now synchronous, period=208ns, offset=12.
	ahsc0 targ 1 lun 0: <MAXTOR, 7245-SCSI, 1357> SCSI1 0/direct fixed
	sd1 at scsibus0: 234MB, 1944 cyl, 4 head, 61 sec, 512 bytes/sec
	ahsc0: target 2 now synchronous, period=208ns, offset=8.
	ahsc0 targ 2 lun 0: <QUANTUM, FIREBALL1080S, 1P08> SCSI2 0/direct fixed
	sd2 at scsibus0: 1042MB, 3835 cyl, 4 head, 139 sec, 512 bytes/sec
	ahsc0 targ 4 lun 0: <ARCHIVE, VIPER 150  21247, -005> SCSI1 1/sequential removable
	st0 at scsibus0: rogue, density code 0x0, 512-byte blocks, write-protected
	warning found rdb->secpercyl(555) != rdb->nsectors(139) * rdb->nheads(4)
	warning lp->d_sparespercyl(1) not multiple of lp->d_ntracks(4)
	2 mice configured
	4 views configured

>Description:
	reboot causes the system to panic.

	_Debugger(16aa4,a585c,1db9e9c,2,1db9e40)+6
	_panic(a585c,0,1bb9ed4,cded76,2)+34
	_panictrap(2,0,0,1db9ee8)+60
	_trap(2,0,0)+19a
	fault(?)
	_boot(0,dfffdb4,1db9fa8,a6442,54f900)+c
	_reboot(54f900,1db9f88,1db9f80)+26
	_syscall(37)+13a
	_trap0()+e

	halt does work.

	BTW, this also occured with 950710 kernel + few mid-august
	modules (grf_ul & friends, + the new sbic.c driver + M.
	Hitch's patches. Don't know about without M.Hitch's patches;
	that one panic()t to soon ;-/

>How-To-Repeat:
	reboot; or shutdown -r
>Fix:
	Workaround: use halt and ctrl-Amiga-Amiga afterwards.

>Audit-Trail:
>Unformatted:
Ignatios Souvatzis