From owner-freebsd-geom@FreeBSD.ORG Sun Nov 30 21:24:11 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F54B106564A for ; Sun, 30 Nov 2008 21:24:11 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from bene2.itea.ntnu.no (bene2.itea.ntnu.no [IPv6:2001:700:300:3::57]) by mx1.freebsd.org (Postfix) with ESMTP id 387568FC17 for ; Sun, 30 Nov 2008 21:24:09 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from localhost (localhost [127.0.0.1]) by bene2.itea.ntnu.no (Postfix) with ESMTP id 52F7E90003; Sun, 30 Nov 2008 22:24:07 +0100 (CET) Received: from carrot.studby.ntnu.no (unknown [IPv6:2001:700:300:3::184]) by bene2.itea.ntnu.no (Postfix) with ESMTP id D99ED90002; Sun, 30 Nov 2008 22:24:06 +0100 (CET) Date: Sun, 30 Nov 2008 23:24:46 +0100 From: Ulf Lilleengen To: Hilko Meyer Message-ID: <20081130222445.GA1528@carrot.studby.ntnu.no> References: <20081130153558.GA2120@nobby.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Debian amavisd-new at bene2.itea.ntnu.no Cc: adnan@hochpass.uni-hannover.de, freebsd-geom@freebsd.org Subject: Re: System freeze with gvinum X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "..."@carrot.studby.ntnu.no List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2008 21:24:11 -0000 On søn, nov 30, 2008 at 09:18:24pm +0100, Hilko Meyer wrote: > Ulf Lilleengen schrieb: > >On Sat, Nov 29, 2008 at 11:47:59PM +0100, Hilko Meyer wrote: > >> > >> I've tried to set up a raid-5 over three disks with gvinum today with this > >> gvinum.conf: > >> > >> drive sata1 device /dev/ad4 > >> drive sata2 device /dev/ad5 > >> drive sata3 device /dev/ad6 > >> > >> volume homes_raid5 > >> plex org raid5 512k > >> sd length 238465m drive sata1 > >> sd length 238465m drive sata2 > >> sd length 238465m drive sata3 > >> volume dump_raid5 > >> plex org raid5 512k > >> sd length 238465m drive sata1 > >> sd length 238465m drive sata2 > >> sd length 238465m drive sata3 > >> > >> Every time I tried to run newfs on one of the volumes it stucked and the > >> complete system freezed, so I cannot provide a coredump. The system runs > >> 6.4-RELEASE that was compiled today. What can I do to debug this problem? > >> > >Hmm, do you have any console output before the freeze? Such as g_* messages? > > Unfortunately nothing. > > >This might be a gvinum bug, but can also be a problem with the sata driver. > > How can I test the sata driver? After writing the mail yesterday we > used dump|restore to copy several gigabytes to ad4s1a and no problems > occured in this test. Hmm, ok. Are you willing to try a patch to bring it up to 7.x gvinum? There are a few issues in 6.x that may be the cause of your problems. > > >> Involved hardware: > >> atapci0: > >> ad4: 476940MB at ata2-master UDMA33 > >> ad5: 476940MB at ata2-slave UDMA33 > >> ad6: 476940MB at ata3-master UDMA33 > >> > >> BTW: That are SATA-disks. Why they are reported as UDMA33? > >Seems weird. Maybe there are some bios settings turning of AHCI-mode? > > Ah, I think I know were to look for that. I'll try tomorrow. > > bye, > Hilko > -- Ulf Lilleengen