DragonFly kernel List (threaded) for 2007-07
DragonFly BSD
DragonFly kernel List (threaded) for 2007-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: add error message for vkernel started with vm.vkernel_enable=0


From: Joe Talbott <josepht@xxxxxxxxxx>
Date: Thu, 19 Jul 2007 15:50:34 -0400
Mail-followup-to: Matthew Dillon <dillon@apollo.backplane.com>, kernel@crater.dragonflybsd.org

On Thu, Jul 19, 2007 at 10:15:43AM -0700, Matthew Dillon wrote:
> :I'd like to add something like the attached patch to the vkernel to
> :let the user know that vm.vkernel_enable = 0.  I spent quite a while
> :today chasing down why mmap() was failing before remembering that I
> :needed to turn vm.vkernel_enable on.
> :
> :Joe
> 
>     That's fine, but adjust the sysctl to only read the variable, not
>     set it also (pass NULL for the newp argument to sysctlbyname).
> 

That's newlen that's 0.

Joe



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]