From owner-freebsd-hackers Tue Aug 19 07:57:35 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA11053 for hackers-outgoing; Tue, 19 Aug 1997 07:57:35 -0700 (PDT) Received: from mail.ican.net ([204.92.55.5]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA11043 for ; Tue, 19 Aug 1997 07:57:24 -0700 (PDT) Received: from oddjob.ican.net (oddjob.ican.net [204.92.55.7]) by mail.ican.net (8.8.6/8.8.6) with ESMTP id KAA06232; Tue, 19 Aug 1997 10:56:47 -0400 (EDT) Received: (from josh@localhost) by oddjob.ican.net (8.8.6/8.8.6) id KAA21308; Tue, 19 Aug 1997 10:57:15 -0400 (EDT) Message-ID: <19970819105715.61464@ican.net> Date: Tue, 19 Aug 1997 10:57:15 -0400 From: Josh Tiefenbach To: Jaye Mathisen Cc: hackers@FreeBSD.ORG Subject: Re: DPT problem References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.74 In-Reply-To: ; from Jaye Mathisen on Mon, Aug 18, 1997 at 05:02:27PM -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk (just a note, you may get better feedback if you post to freebsd-scsi) > Hmm, just upgraded to a fairly recent 2.2.2-stable, and DPT patch 1.2.0, > however, now I can't boot my box anymore, I keep getting: > > dpt0: Test unit Ready, but controller shutdown... Yup. Had this problem as well. The fix is (quoting from Simon. Hope he doesnt mind.) > Please go to sys/pci/dpt_pci.c and in the function dpt_pci_attach, after > the long comment, BEFORE the four TAILQ_INIT calls, add: > > bzero(dpt, sizeof(dpt_softc_t); Apparently, the bit the the driver sets in memory to indicate that the controller is shut down, is not cleared across a reboot. Thus the thing keeps thinking its shut down. josh -- Josh Tiefenbach - Systems Engineer - ACC TelEnterprises - josh@ican.net