From owner-freebsd-bugs@FreeBSD.ORG Thu Aug 23 20:10:12 2007 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 76D8516A41B for ; Thu, 23 Aug 2007 20:10:12 +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 45DEF13C4A6 for ; Thu, 23 Aug 2007 20:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l7NKABsA014542 for ; Thu, 23 Aug 2007 20:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l7NKAB4f014541; Thu, 23 Aug 2007 20:10:11 GMT (envelope-from gnats) Date: Thu, 23 Aug 2007 20:10:11 GMT Message-Id: <200708232010.l7NKAB4f014541@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Frank de Bot Cc: Subject: Re: kern/109762: [hang] deadlock in g_down -> ahd_action -> contigmalloc X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank de Bot List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Aug 2007 20:10:12 -0000 The following reply was made to PR kern/109762; it has been noted by GNATS. From: Frank de Bot To: bug-followup@FreeBSD.org, andrew+pr2@supernews.net Cc: Subject: Re: kern/109762: [hang] deadlock in g_down -> ahd_action -> contigmalloc Date: Thu, 23 Aug 2007 21:34:51 +0200 I think I've stumbled on the same bug. I've managed to reproduce this problem. Although I have not been able to extract a dump. Basic hardware information: 2x2.8ghz Prestiona Xeon, 2x256Mb DDR REG ECC Ram, IO-Controller: Supermicro AOC-SAT2-MV8 The System runs FreeBSD-6.2, compiled with most recent FreeBSD-6.2-STABLE sources, world as well as kernel. Kernel is GENERIC with SMP option enabled in it. The way I reproduce it: With gvinum a raid5 is created with the following definition: .-- drive drive1 device /dev/ad6 drive drive2 device /dev/ad8 drive drive3 device /dev/ad10 drive drive4 device /dev/ad12 drive drive5 device /dev/ad14 drive drive6 device /dev/ad16 drive drive7 device /dev/ad18 volume raid5_vol plex org raid5 512k sd length 476939m drive drive1 sd length 476939m drive drive2 sd length 476939m drive drive3 sd length 476939m drive drive4 sd length 476939m drive drive5 sd length 476939m drive drive6 sd length 476939m drive drive7 .-- Ran the command newfs /dev/gvinum/raid5_vol , no options selected. After this I've ran iozone, with the following parameters: iozone -r 8 -r 64 -r 4096 -r 16384 -i 0 -i 1 -i 2 -Ra -g 4G > iozonerun.txt Ran in the newly created FS. I've ran iozone 3 times with the output redirected to a file on the same FS, 3 times the system went rebooting. The last time I tried to enable the creation of a kernel dump. The following screen appeared: .-- Fatal trap 12: page fault while in kernel mod cpuid = 0; apic id = 00 fault virtual address = 0x0 fault code = supervisor write, page not present instruction point = 0x28:0x58089e8 stack pointer = 0x28:0xd44c2cdc frame pointer = 0x28:0xd44c2ce8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 4 (g_down) trap number = 12 panic: page fault cpuid = 0 Uptime: 21h9m55s Dumper 511 MB (2 chunks) swap_pager: indefinite wait in buffer: bufobj: 0, blkno: 62, size: 4096 swap_pager: indefinite wait in buffer: bufobj: 0, blkno: 62, size: 4096 swap_pager: indefinite wait in buffer: bufobj: 0, blkno: 62, size: 4096 swap_pager: indefinite wait in buffer: bufobj: 0, blkno: 62, size: 4096 swap_pager: indefinite wait in buffer: bufobj: 0, blkno: 62, size: 4096 .-- Last lime continued until system was turned off manually Between the 3 runs I had a run where I redirected the output to the root-FS. The crash DID NOT occured. Regards, Frank de Bot