From owner-freebsd-current Wed Aug 18 6:52:25 1999 Delivered-To: freebsd-current@freebsd.org Received: from gateway.cybernet.com (gateway.cybernet.com [192.245.33.1]) by hub.freebsd.org (Postfix) with ESMTP id C66931585D for ; Wed, 18 Aug 1999 06:52:22 -0700 (PDT) (envelope-from mtaylor@cybernet.com) Received: from gateway.cybernet.com (gateway.cybernet.com [192.245.33.1]) by gateway.cybernet.com (8.8.8/8.8.8) with SMTP id JAA14295; Wed, 18 Aug 1999 09:50:55 -0400 (EDT) (envelope-from mtaylor@cybernet.com) Date: Wed, 18 Aug 1999 09:50:54 -0400 (EDT) From: "Mark J. Taylor" To: Sheldon Hearn Cc: Greg Lehey , Poul-Henning Kamp , current@FreeBSD.ORG Subject: Re: ccd bugs (was: Kernel hacker tasks seek interested hackers) In-Reply-To: <1717.934983012@axl.noc.iafrica.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG We didn't go as far as modifying the structure definition, just the few "bcount" variables in the ccd.c code. The problem was that we were seeing bcount go "negative". I believe that "newfs" of the ccd would panic the kernel, reliably. Even on "smaller" ccds (1 Gbyte), I believe. I'm talking about ccds configured as in: ccdconfig -c ccd0 0 0 /dev/da0s1c I know, this is fairly worthless as it stands, but it is done so we can later "upgrade" the ccd to a mirror. RSN, we will be moving to vinum. Hi Greg! Linux, BTW, does s/w RAID5. But, it seems you can't operate in degraded mode, and the RAID5 reconstruction happens at boot time. We've got a 130 GB RAID5 volume under Linux that takes about 10 hours to "ckraid". I hope that this box never panics! -Mark Taylor NetMAX Developer mtaylor@cybernet.com http://www.netmax.com/ On Wed, 18 Aug 1999, Sheldon Hearn wrote: > > > On Wed, 18 Aug 1999 09:19:20 -0400, "Mark J. Taylor" wrote: > > > There is a long as a parameter to ccdbuffer that needs to be a u_long. > > Otherwise, you'll get panics (can't remember where). > > Basically, bcount needs to be a u_long in all cases. > > Que? Are you sure? That means you want to change struct buf, where > b_bcount is declared as long, as well? > > Ciao, > Sheldon. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message