Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 1997 10:57:15 -0400
From:      Josh Tiefenbach <josh@ican.net>
To:        Jaye Mathisen <mrcpu@cdsnet.net>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: DPT problem
Message-ID:  <19970819105715.61464@ican.net>
In-Reply-To: <Pine.NEB.3.95.970818170050.18465a-100000@mail.cdsnet.net>; from Jaye Mathisen on Mon, Aug 18, 1997 at 05:02:27PM -0700
References:  <Pine.NEB.3.95.970818170050.18465a-100000@mail.cdsnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
(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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970819105715.61464>