From owner-freebsd-bugs@FreeBSD.ORG Mon Apr 27 22:40:02 2009 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D48D01065674 for ; Mon, 27 Apr 2009 22:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AF6BE8FC20 for ; Mon, 27 Apr 2009 22:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n3RMe29k036516 for ; Mon, 27 Apr 2009 22:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n3RMe29w036509; Mon, 27 Apr 2009 22:40:02 GMT (envelope-from gnats) Resent-Date: Mon, 27 Apr 2009 22:40:02 GMT Resent-Message-Id: <200904272240.n3RMe29w036509@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Alexander V. Chernikov" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B235C106564A for ; Mon, 27 Apr 2009 22:37:53 +0000 (UTC) (envelope-from melifaro@ws.ipfw.ru) Received: from ws.ipfw.ru (secured.by.ipfw.ru [81.200.11.182]) by mx1.freebsd.org (Postfix) with ESMTP id 34C8A8FC12 for ; Mon, 27 Apr 2009 22:37:52 +0000 (UTC) (envelope-from melifaro@ws.ipfw.ru) Received: from ws.ipfw.ru (localhost [127.0.0.1]) by ws.ipfw.ru (8.14.3/8.14.3) with ESMTP id n3QNlTSO046584 for ; Mon, 27 Apr 2009 03:47:29 +0400 (MSD) (envelope-from melifaro@ws.ipfw.ru) Received: (from melifaro@localhost) by ws.ipfw.ru (8.14.3/8.14.3/Submit) id n3QNlTgh046583; Mon, 27 Apr 2009 03:47:29 +0400 (MSD) (envelope-from melifaro) Message-Id: <200904262347.n3QNlTgh046583@ws.ipfw.ru> Date: Mon, 27 Apr 2009 03:47:29 +0400 (MSD) From: "Alexander V. Chernikov" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/134054: ataraid(4) traps kernel on boot if raid is degraded X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Alexander V. Chernikov" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Apr 2009 22:40:03 -0000 >Number: 134054 >Category: kern >Synopsis: ataraid(4) traps kernel on boot if raid is degraded >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 27 22:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Alexander V. Chernikov >Release: FreeBSD 7.1-RELEASE-p5 i386 >Organization: >Environment: FreeBSD beryllium.megaon.ru 7.1-RELEASE-p5 FreeBSD 7.1-RELEASE-p5 #0: Mon Apr 27 00:20:24 MSD 2009 root@beryllium.megaon.ru:/usr/obj/usr/src/sys/BERY i386 >Description: We've got several Intel S3210SH-based servers with onboard Intel MatrixRAID configured as raid1. Machines are running 7.0-7.1 i386. After one server's csup & reboot I've found that according to bios tools raid is degraded, but bootable. FreeBSD begins to panic (fatal trap 12) on boot. Booting kernel.old doesn't help. Panic occurs immediately after line ad8: '476940MB at ata4-master SATA150' Moreover, inserting hdd from this machine on other machine running with 'device ataraid' in kernel causes those machines to panic with same 'fatal trap 12'. Clearing last 3 sectors from this disk with dd (e.g. destroing raid config) seems to help. >How-To-Repeat: Write 3 512-byte sectors from attached file onto last sectors of your disk and try to boot with ataraid >Fix: Unknown begin 644 iraid M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M``````````````````````!);G1E;"!286ED($E332!#9F<@4VEG+B`Q+C$N M,#```,A%';#@`0``JK#T248`````````````@`(!```````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````````````````````````````````````````````````````` M```````````Z,3HQ`$$U.``@("`U44TQ`$@X.O____\&```````````````` M```````````````U44TQ0C%,4@`@("`U44TQ,&`X.@```P`Z!0`````````` M``````````````````!6;VQU;64P`#$``````````$@X.@`````,```````` M```````````````````````````````````````````````````````````` M``````````````````````````````````````````````````````!(.#I( M.#H`@``"`0("``$``````````````````````````````````````````0$` M`````````````````````````````````````````````-X1WA%"H8'Z3%-) M("`@(""`ABDE`````````````!0D,#$N,#`N,#`````*-:4[)````?______ M_____________________________________________________P`````Z M-\!``````#HW(%``____``!_K````````"`C``\`#P`(``(`$/__________ M____________________________________________________________ M_P````$````!`````@````(````$`````@````8````2````&`````$````9 M````"````"$````"````(P``(`#_________________________________ M____________________________________________________________ M____________________________________________________________ M____________________________________________________________ M____________________________________________________________ M____________________________________________________________ &________ ` end >Release-Note: >Audit-Trail: >Unformatted: