Trond Endrestøl
2015-Jul-31  21:21 UTC
KSTACK_PAGES stuck at 2 despite options KSTACK_PAGES=4
stable/10, i386, r286139, 4 GiB RAM, custom kernel loudly claims: ZFS NOTICE: KSTACK_PAGES is 2 which could result in stack overflow panic! Please consider adding 'options KSTACK_PAGES=4' to your kernel config Well, my custom kernel config does contain: options KSTACK_PAGES=4 and options ZFS sysctl kern.conftxt backs up my story: kern.conftxt: options CONFIG_AUTOGENERATED ident VBOX machine i386 cpu I686_CPU cpu I586_CPU cpu I486_CPU makeoptions WITH_CTF=1 makeoptions DEBUG=-g options ZFS options KSTACK_PAGES=4 <---- !!!!!! options FDESCFS ... What more does it want? -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrest?l, | Trond Endrest?l, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gj?vik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+
Steven Hartland
2015-Aug-03  08:55 UTC
KSTACK_PAGES stuck at 2 despite options KSTACK_PAGES=4
Thanks for the report Trond, I've reproduced this and am investigating. On 31/07/2015 22:21, Trond Endrest?l wrote:> stable/10, i386, r286139, 4 GiB RAM, custom kernel loudly claims: > > ZFS NOTICE: KSTACK_PAGES is 2 which could result in stack overflow panic! > Please consider adding 'options KSTACK_PAGES=4' to your kernel config > > Well, my custom kernel config does contain: > > options KSTACK_PAGES=4 > > and > > options ZFS > > sysctl kern.conftxt backs up my story: > > kern.conftxt: options CONFIG_AUTOGENERATED > ident VBOX > machine i386 > cpu I686_CPU > cpu I586_CPU > cpu I486_CPU > makeoptions WITH_CTF=1 > makeoptions DEBUG=-g > options ZFS > options KSTACK_PAGES=4 <---- !!!!!! > options FDESCFS > ... > > What more does it want? >
Steven Hartland
2015-Aug-03  09:36 UTC
KSTACK_PAGES stuck at 2 despite options KSTACK_PAGES=4
This should be fixed by r286223 in HEAD.
I'll MFC to stable/10 after the relevant time-out.
Thanks again for the report :)
     Regards
     Steve
On 31/07/2015 22:21, Trond Endrest?l wrote:> stable/10, i386, r286139, 4 GiB RAM, custom kernel loudly claims:
>
> ZFS NOTICE: KSTACK_PAGES is 2 which could result in stack overflow panic!
> Please consider adding 'options KSTACK_PAGES=4' to your kernel
config
>
> Well, my custom kernel config does contain:
>
> options KSTACK_PAGES=4
>
> and
>
> options ZFS
>
> sysctl kern.conftxt backs up my story:
>
> kern.conftxt: options  CONFIG_AUTOGENERATED
> ident   VBOX
> machine i386
> cpu     I686_CPU
> cpu     I586_CPU
> cpu     I486_CPU
> makeoptions     WITH_CTF=1
> makeoptions     DEBUG=-g
> options ZFS
> options KSTACK_PAGES=4 <---- !!!!!!
> options FDESCFS
> ...
>
> What more does it want?
>