netbsd-bugs@netbsd.org
[Top] [All Lists]

kern/42588: adjusting nmbclusters on netbsd 5.0.1

Subject: kern/42588: adjusting nmbclusters on netbsd 5.0.1
From:
Date: Wed, 06 Jan 2010 22:05:17 UTC
Newsgroups: fa.netbsd.bugs

>Number:         42588
>Category:       kern
>Synopsis:       adjusting nmbclusters on netbsd 5.0.1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 06 22:05:00 +0000 2010
>Originator:     Philip Christian
>Release:        5.0.1
>Organization:
>Environment:
NetBSD secjames.uk.tmo 5.0.1 NetBSD 5.0.1 (GENERIC) #0: Thu Jul 30 01:39:11 UTC 
2009  
builds@xxxxxxxxxxxxx:/home/builds/ab/netbsd-5-0-1-RELEASE/i386/200907292356Z-obj/home/builds/ab/netbsd-5-0-1-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386

>Description:
Followed instructions at
http://www.netbsd.org/docs/kernel/#mclpool-limit
to increase nmbclusters

GDB segfaults:-

secjames# gdb --write /netbsd

warning: offsetof (struct sigcontext, sc_pc) yields 92 instead of 44.
Please report this to <bug-gdb@xxxxxxx>.

warning: offsetof (struct sigcontext, sc_sp) yields 104 instead of 56.
Please report this to <bug-gdb@xxxxxxx>.
GNU gdb 6.2.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386--netbsdelf"...
(gdb) set nmbclusters=2048
(gdb) quit
[1]   Segmentation fault (core dumped) gdb --write /netbsd 

Also fails to read setting:-
secjames#  echo 'print nmbclusters' | gdb -q /netbsd

warning: offsetof (struct sigcontext, sc_pc) yields 92 instead of 44.
Please report this to <bug-gdb@xxxxxxx>.

warning: offsetof (struct sigcontext, sc_sp) yields 104 instead of 56.
Please report this to <bug-gdb@xxxxxxx>.
(gdb) Hangup detected on fd 0
error detected on stdin


>How-To-Repeat:
gdb --write /netbsd
(gdb) set nmbclusters=2048
(gdb) quit
>Fix:


<Prev in Thread] Current Thread [Next in Thread>