From owner-freebsd-geom@FreeBSD.ORG Wed Aug 19 21:59:06 2009 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 B36FA106568C for ; Wed, 19 Aug 2009 21:59:06 +0000 (UTC) (envelope-from lulf@freebsd.org) Received: from decibel.pvv.ntnu.no (decibel.pvv.ntnu.no [IPv6:2001:700:300:1900::1:2]) by mx1.freebsd.org (Postfix) with ESMTP id 711B58FC43 for ; Wed, 19 Aug 2009 21:59:06 +0000 (UTC) Received: from 147.80-202-26.nextgentel.com ([80.202.26.147] helo=[10.0.0.6]) by decibel.pvv.ntnu.no with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1MdtBP-0005ED-0W; Wed, 19 Aug 2009 23:59:05 +0200 Message-ID: <4A8C75A6.30401@freebsd.org> Date: Wed, 19 Aug 2009 23:59:02 +0200 From: Ulf Lilleengen User-Agent: Thunderbird 2.0.0.22 (X11/20090608) MIME-Version: 1.0 To: Lev Serebryakov References: <1226785293.20090818025941@serebryakov.spb.ru> In-Reply-To: <1226785293.20090818025941@serebryakov.spb.ru> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 0.2 (/) X-Spam-Report: Status=No hits=0.2 required=5.0 tests=ALL_TRUSTED, TVD_RCVD_IP version=3.2.4 Cc: freebsd-geom@freebsd.org Subject: Re: Difference between FreeBSD-7 and FreeBSD-8 in tasting? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Aug 2009 21:59:06 -0000 Lev Serebryakov wrote: > Hello, Freebsd-geom. > > I'm porting geom_raid5 to FreeBSD8, and have strange problem: when > module is loaded after system start (with kldload) it tastes its > consumers (configured early) and creates array. > > When it is loaded on boot time (with /boot/loader.conf), it doesn't > see array components at all, as if taste is not called... > > It works on FreeBSD7 flawless in both cases... > > I've changed only two things: > (1) allow root_mount_hold() tocken to be NULL > (2) change working thread creation from kthread_create() to kproc_kthread_add(). > > What are other differences in GEOM between 7 and 8? > > Just to mention: http://svn.freebsd.org/base/projects/geom_raid5/ In case you want a repo to submit patches against for people to test. I started to review it a while ago, but got bored too soon :) Nice to see someone works on getting this into the tree. -- Ulf Lilleengen