Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Oct 2009 20:28:42 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r198451 - head/sys/ia64/include
Message-ID:  <200910242028.n9OKSg2u010197@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Sat Oct 24 20:28:42 2009
New Revision: 198451
URL: http://svn.freebsd.org/changeset/base/198451

Log:
  A 32KB kernel stack is not quite enough. The new USB stack is a bit
  more stack hungry as compared to the old one that my RX2660 gets
  a machine check and spontaneously reboots at the time the USB DVD
  drive is found and attached to CAM as a mass storage device. This
  doesn't happen always, but definitely varies per kernel build.
  Likewise when using a 128-byte printf buffer. The additional 128
  bytes that printf needs seems to be enough to have the memory stack
  and register stack collide and causing a machine check.
  
  Thus: Bump KSTACK_PAGES from 4 to 5.

Modified:
  head/sys/ia64/include/param.h

Modified: head/sys/ia64/include/param.h
==============================================================================
--- head/sys/ia64/include/param.h	Sat Oct 24 20:07:17 2009	(r198450)
+++ head/sys/ia64/include/param.h	Sat Oct 24 20:28:42 2009	(r198451)
@@ -92,7 +92,7 @@
 #define	MAXPAGESIZES	1		/* maximum number of supported page sizes */
 
 #ifndef	KSTACK_PAGES
-#define	KSTACK_PAGES	4		/* pages of kernel stack */
+#define	KSTACK_PAGES	5		/* pages of kernel stack */
 #endif
 #define	KSTACK_GUARD_PAGES 0		/* pages of kstack guard; 0 disables */
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910242028.n9OKSg2u010197>