Date: Mon, 1 Apr 2002 10:20:27 -0800 From: "pan" <pan@syix.com> To: <stable@freebsd.org> Subject: more => 4.5 -> 4.5s panic: breaks raid array Message-ID: <006d01c1d9a9$e96fc040$2813933f@cat>
next in thread | raw e-mail | index | archive | help
today [4/1/2002] on a machine with uname 4.5-STABLE FreeBSD 4.5-STABLE #0: Fri Mar 29 15:08:39 PST 2002 I built a kernel for the machine referenced in previous messages with uname 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Mon Mar 25 14:07:06 PST 2002 (with appropriate conf) same result as before - on boot ar0 is not properly recognized, individual hdd are dropped from array, kernel panics, can't mount /, tries to sync buffers, gives up ... I notice that the below appended RCS file is now in the cvs repository .. Does anyone know if this would allow a stable build on a machine with HPT372/raid0(ar0:udma 6:80pin cables)? How can I ascertain the chiptype number referenced in the diff? [hpt372 is not a card] Abit KR7A-RAID w HPT372 Athlon XP 1900+ 1024 mgB Raid 0 with 2 x Maxtor 6L040J2 UDMA 6 hdd {ar0: ad4/ad5} =================================================================== RCS file: /c/ncvs/src/sys/dev/ata/ata-dma.c,v retrieving revision 1.35.2.20 retrieving revision 1.35.2.21 diff -u -p -r1.35.2.20 -r1.35.2.21 --- src/sys/dev/ata/ata-dma.c 2002/03/26 09:35:22 1.35.2.20 +++ src/sys/dev/ata/ata-dma.c 2002/03/31 13:44:37 1.35.2.21 @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $FreeBSD: /c/ncvs/src/sys/dev/ata/ata-dma.c,v 1.35.2.20 2002/03/26 09:35:22 sos Exp $ + * $FreeBSD: /c/ncvs/src/sys/dev/ata/ata-dma.c,v 1.35.2.21 2002/03/31 13:44:37 sos Exp $ */ #include <sys/param.h> @@ -946,7 +946,7 @@ via_82c586: } } if (!ATAPI_DEVICE(ch, device) && udmamode >= 5 && hpt_cable80(ch) && - ((ch->chiptype == 0x00041103 && pci_get_revid(parent) >= 0x05) || + ((ch->chiptype == 0x00041103 && pci_get_revid(parent) >= 0x03) || (ch->chiptype == 0x00051103 && pci_get_revid(parent) >= 0x01) || (ch->chiptype == 0x00081103 && pci_get_revid(parent) >= 0x07))) { error = ata_command(atadev, ATA_C_SETFEATURES, 0, To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006d01c1d9a9$e96fc040$2813933f>