NetBSD-Bugs archive

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

kern/42588: adjusting nmbclusters on netbsd 5.0.1



>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%b8.netbsd.org@localhost:/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%gnu.org@localhost>.

warning: offsetof (struct sigcontext, sc_sp) yields 104 instead of 56.
Please report this to <bug-gdb%gnu.org@localhost>.
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%gnu.org@localhost>.

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


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



Home | Main Index | Thread Index | Old Index