Re: ccd bugs (was: Kernel hacker tasks seek interested hackers)

1999-08-18 Thread Greg Lehey
On Wednesday, 18 August 1999 at 9:50:54 -0400, Mark J. Taylor wrote: > 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 (c

Re: ccd bugs (was: Kernel hacker tasks seek interested hackers)

1999-08-18 Thread Andrew Gallatin
Matthew Dillon writes: > This is very odd. I use several multi-disk ccd stripes, including one at > BEST across three 18G drives (one 54G partition!). I've never had a > problem. > > I believe that at some point in the past 'newfs' and 'fsck' had overflow > problems,

Re: ccd bugs (was: Kernel hacker tasks seek interested hackers)

1999-08-18 Thread Matthew Dillon
: :> 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?

Re: ccd bugs (was: Kernel hacker tasks seek interested hackers)

1999-08-18 Thread Matthew Dillon
: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 talki

Re: ccd bugs (was: Kernel hacker tasks seek interested hackers)

1999-08-18 Thread Mark J. Taylor
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 a

Re: ccd bugs (was: Kernel hacker tasks seek interested hackers)

1999-08-18 Thread Sheldon Hearn
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 st

Re: ccd bugs (was: Kernel hacker tasks seek interested hackers)

1999-08-18 Thread Mark J. Taylor
This may be related: 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. I haven't gotten around, because of the NetMAX for Linux project, to comitting things like this t

Re: ccd bugs (was: Kernel hacker tasks seek interested hackers)

1999-08-18 Thread Sheldon Hearn
On Wed, 18 Aug 1999 08:39:35 +0930, Greg Lehey wrote: > Why did you take this one? Because I thought it was a simple problem with dd. :-) Ciao, Sheldon. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message

ccd bugs (was: Kernel hacker tasks seek interested hackers)

1999-08-17 Thread Greg Lehey
On Tuesday, 17 August 1999 at 10:28:34 +0200, Sheldon Hearn wrote: > > > On Sun, 15 Aug 1999 12:27:57 +0200, Poul-Henning Kamp wrote: > >> 4. [not quite easy] The CCD device ditto. >> Earn brownie points: Make ccdconfig use sysctl instead of >> libkvm to read back configuration. >