From owner-freebsd-bugs Tue Feb 3 20:00:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA06336 for freebsd-bugs-outgoing; Tue, 3 Feb 1998 20:00:05 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA06312; Tue, 3 Feb 1998 20:00:02 -0800 (PST) (envelope-from gnats) Received: from flea.best.net (root@flea.best.net [206.184.139.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA05886 for ; Tue, 3 Feb 1998 19:54:49 -0800 (PST) (envelope-from dillon@flea.best.net) Received: (from dillon@localhost) by flea.best.net (8.8.8/8.7.3) id TAA18111; Tue, 3 Feb 1998 19:54:18 -0800 (PST) Message-Id: <199802040354.TAA18111@flea.best.net> Date: Tue, 3 Feb 1998 19:54:18 -0800 (PST) From: Matt Dillon Reply-To: dillon@best.net To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/5641: running processes at the IDLE priority (idprio) can crash the kernel Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe freebsd-bugs" >Number: 5641 >Category: kern >Synopsis: running processes at the IDLE priority (idprio) can crash the kernel >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Feb 3 20:00:01 PST 1998 >Last-Modified: >Originator: Matt Dillon >Organization: BEST Internet communications >Release: FreeBSD 2.2.5-STABLE i386 >Environment: FreeBSD 2.2.5-stable, recent CVS >Description: running processes on the IDLE queue, via idprio, can crash the kernel. >How-To-Repeat: Run a process with idprio that accesses the disk a lot. Run a cpu-bound process at normal priority Try to do other things... the kernel will crash because the process at idprio will be tsleep'ing in biowait or ufslk2 or some other critical point and create a cascade lock chain failure. >Fix: Turn the idprio off by default. Hell, get rid of it entirely, it sucks. :-) Or fix the sleep priority stuff to ensure that the process runs at a normal priority while in supervisor mode. NOTE: My previous bug reports in regards to run queue corruption are almost certainly THIS bug. The run queue is NOT corrupted. I thought it was because the process holding the base lock in the cascade failure was in a 'R'un state yet not getting any cpu. -Matt >Audit-Trail: >Unformatted: