From owner-freebsd-bugs@FreeBSD.ORG Mon Oct 27 09:40:04 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 723C816A4BF for ; Mon, 27 Oct 2003 09:40:04 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 007EF43F85 for ; Mon, 27 Oct 2003 09:40:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h9RHe2FY048286 for ; Mon, 27 Oct 2003 09:40:02 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h9RHe2uN048285; Mon, 27 Oct 2003 09:40:02 -0800 (PST) (envelope-from gnats) Date: Mon, 27 Oct 2003 09:40:02 -0800 (PST) Message-Id: <200310271740.h9RHe2uN048285@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Alexander Haderer Subject: Re: kern/58391: Trap 12 with heavy disk load on ide vinum mirror X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Alexander Haderer List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2003 17:40:04 -0000 The following reply was made to PR kern/58391; it has been noted by GNATS. From: Alexander Haderer To: Greg 'groggy' Lehey Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/58391: Trap 12 with heavy disk load on ide vinum mirror Date: Mon, 27 Oct 2003 18:26:44 +0100 Update info: Meanwhile I did further tests, here are the results: 1. To exclude some broken hardware issues I did the test on another machine (Celeron 533/i81[05]) with a similar hw/sw setup (scsi to boot, ad0+ad2 for vinum-mirror). Again the kernel crashes, here we have a double pagefault, second one triggered by syncing disks as it seems to me. All dumps are save for later use. 2. Again I was unable to trigger a panic on the replacement hw without using vinum. It seems to be that vinum at least helps to trigger a panic when doing ide disk io. 3. Further investigations of the trap 18 div-by-zero dump gdb shows that (within a vinum function) parts of the drive->partinfo.disklab struct gets overwritten with zeros and the hostname. As a result, dev/vinum/vinumio.c, function driveio, computation of the block number bombs out because d_secsize is zero. 330: bp->b_blkno = offset / drive->partinfo.disklab->d_secsize (All with 4.8R source from CD) In the hope this is some useful information, Alexander