From owner-freebsd-current Fri Feb 14 3:28:48 2003 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97EA737B405; Fri, 14 Feb 2003 03:28:46 -0800 (PST) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id E3D5043FAF; Fri, 14 Feb 2003 03:28:45 -0800 (PST) (envelope-from bright@elvis.mu.org) Received: by elvis.mu.org (Postfix, from userid 1192) id BDCA9AE25A; Fri, 14 Feb 2003 03:28:45 -0800 (PST) Date: Fri, 14 Feb 2003 03:28:45 -0800 From: Alfred Perlstein To: Dag-Erling Smorgrav Cc: current@freebsd.org, sos@freebsd.org Subject: Re: fix: lock order reversal proc/filedesc. Message-ID: <20030214112845.GG93252@elvis.mu.org> References: <20030214103808.GE93252@elvis.mu.org> <20030214110403.GF93252@elvis.mu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Dag-Erling Smorgrav [030214 03:23] wrote: > Alfred Perlstein writes: > > What exactly is broken about dumps for you on ata? > > Well, after you told me that "call dumpsys" is no longer kosher (when > did that happen, and where was it documented?), I tried 'call doadump': Whatever, ddb should have a command "dump". Calling directly into the routine is bad mojo. > # Debugger("manual escape to debugger") > Stopped at Debugger+0x50: xchgl %ebx,in_Debugger.0 > db> call doadump > Dumping 511 MB > ata1: resetting devices .. > Context switches not allowed in the debugger. > db> call cpu_reset > > Makes me want to get my Norwegian Sword [tm] and make a short trip to > Denmark. Can't blame you, not having working dumps really annoyed me. > It is becoming increasingly clear to me that the majority of FreeBSD > developers don't really care if their code works, as long as they get > the credit (and / or paycheck) for committing it. Heh... Back on track, this is bogus, ata should not be calling tsleep() from the dump routine. Soren please fix this. -- -Alfred Perlstein [alfred@freebsd.org] 'Instead of asking why a piece of software is using "1970s technology," start asking why software is ignoring 30 years of accumulated wisdom.' To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message