Subject: kern/9859: Shark wedges during lots of disk i/o
To: None <gnats-bugs@gnats.netbsd.org>
From: None <is@jocelyn.rhein.de>
List: netbsd-bugs
Date: 04/11/2000 12:08:10
>Number:         9859
>Category:       kern
>Synopsis:       Shark wedges during lots of disk i/o
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 11 12:09:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Ignatios Souvatzis
>Release:        NetBSD-1.4.2 release
>Organization:
	Shark pool
>Environment:
	Shark with 32 MB of RAM
	NetBSD-1.4.2
	SHARK kernel
>Description:
	During lots of disk activity, the Shark freezes completely. No more
	answers to ping from the outside, no mouse control over the X sprite,
	no seeking to be heard, no reaction to ctrl-alt-esc when in console
	mode.
	"lots of" == O(100 MB).
	I've not seen it while installing 1.4.2 using the 1.4.2 SHARKINST
	kernel, but I've seen it afterwards using the SHARK kernel to untar
	a pkgsrc archive.
>How-To-Repeat:
	tar xf pkgsrc.tar, or tar xvf pkgsrc.tar, where pkgsrc.tar is
	a t(ape)ar(chive) of the pkgsrc directory, cleaned, but with a couple
	of distfiles in the distfiles subdirectory, so that the total size is
	about 160 MB.

	all involved directories on a Fujitsu laptop disk (see below), or 
	with the source file fetched on-the-fly via ftp over Ethernet:

	wd0 at wdc0 channel 0 drive 0: <FUJITSU MHF2043AT>
	wd0: drive supports 16-sector pio transfers, lba addressing
	wd0: 4126MB, 8944 cyl, 15 head, 63 sec, 512 bytes/sect x 8452080 sectors
	wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2

>Fix:
	No fix known.
	Fixing race conditions in the arm32 spl() code as discussed
	on the port-arm32 mailing list recently did not help.

	Workaround: either
	- use NetBSD-1.4.1 SHARK kernel.
	- use NetBSD-1.4.2 but with dev/ic/wdc.c, dev/ata/ata_wdc.c and
		dev/scsipi/atapi_wdc.c replaced by the NetBSD-1.4.1 versions.
>Release-Note:
>Audit-Trail:
>Unformatted: