From owner-freebsd-current Fri Nov 10 23:09:22 1995 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA04512 for current-outgoing; Fri, 10 Nov 1995 23:09:22 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA04504 ; Fri, 10 Nov 1995 23:09:17 -0800 Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id XAA00565; Fri, 10 Nov 1995 23:09:16 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id XAA00732; Fri, 10 Nov 1995 23:04:15 -0800 Message-Id: <199511110704.XAA00732@corbin.Root.COM> To: faulkner@mpd.tandem.com (Boyd Faulkner) cc: current@freebsd.org, phk@freebsd.org Subject: Re: rtelnet (socks) panics on connect In-reply-to: Your message of "Sat, 11 Nov 95 00:45:14 CST." <9511110645.AA02490@olympus> From: David Greenman Reply-To: davidg@Root.COM Date: Fri, 10 Nov 1995 23:04:15 -0800 Sender: owner-current@freebsd.org Precedence: bulk >Argh! > >I am trying to run rtelnet, the socks 4 version of telnet. ON connect >I get a panic. I cannot get the box to dump. It starts but the >drive spins and it is not happy at all. > >First. From ddb > > >panic: kmem_malloc: kmem_map too small > >What does this mean? > >db> trace >_Debugger(f0114deb,f0114de0,f019f491,efbffe9c,f024c064) at _Debugger+0x2b >_panic(f019f491,f0210650,f0211dac,13,f09fe200) at _panic+0x3b >_kmem_malloc(f024c060,efbfe000,0,0,efbfff94) at _kmem_malloc+0xa8 >_malloc(efbfdc98,4a,0,efbfff94,f0a03000) at _malloc+0x21b ^^^^^^^^ It's trying to allocate about 4GB of memory. Yeah, the map is just a TINY bit too small for that. :-) >___sysctl(f0a03000,efbfff94,efbfff8c,808b060,efbfdc78) at ___sysctl+0xbe >_syscall(27,27,2,efbfdc78,efbfdc54) at _syscall+0x157 Looks like someone has broken sysctl. Sigh. -DG