Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 1995 00:45:14 -0600 (CST)
From:      faulkner@mpd.tandem.com (Boyd Faulkner)
To:        current@freebsd.org
Subject:   rtelnet (socks) panics on connect
Message-ID:  <9511110645.AA02490@olympus>

next in thread | raw e-mail | index | archive | help
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
___sysctl(f0a03000,efbfff94,efbfff8c,808b060,efbfdc78) at ___sysctl+0xbe
_syscall(27,27,2,efbfdc78,efbfdc54) at _syscall+0x157
Bad user frame pointer: 0xefbfdc54
db> show all procs
  pid   proc     addr    uid  ppid  pgrp  flag stat wmesg   wchan   cmd
  331 f0a03000 f398d000    0   170   331 004106  2                  rtelnet
  312 f09fb300 f397d000    0   311   311 000086  3   netio f09fb030 rlogin
  311 f09fd300 f3977000    0   204   311 004186  3   ttyin f02045ec rlogin
  204 f09e4e00 f395f000    0     1   204 004086  3    wait f09e4e00 bash
  177 f09b6100 f398b000    0     1   177 000086  3  select f0206c94 pppd
  176 f09b6f00 f3989000    0     1   176 004086  3   ttyin f020c460 getty
  175 f09b5700 f3987000    0     1   175 004086  3   ttyin f020c384 getty
  174 f0924100 f3985000    0     1   174 004086  3   ttyin f020c2a8 getty
  173 f09b1600 f3983000    0     1   173 004086  3   ttyin f020c1cc getty
  172 f09b5100 f3981000    0     1   172 004086  3   ttyin f020c0f0 getty
  171 f09b5400 f397f000    0     1   171 004086  3   ttyin f020c014 getty
  170 f09b5600 f3961000    0     1   170 004086  3    wait f09b5600 bash
  165 f09b1d00 f397b000    0     1   165 000084  3  netcon f09b1122 httpd
  163 f09b1900 f3979000    0     1   163 000084  3  netcon f09b1b22 httpd
  118 f09aa500 f3975000    0     1   118 000084  3  netcon f09aa222 sendmail
  115 f09a6900 f3973000    0     1   115 000084  3  select f0206c94 lpd
  113 f09a6200 f3971000    0     1   113 000084  3   pause f3971148 cron
  106 f0965f00 f396f000    0     1   106 000084  3  select f0206c94 inetd
   97 f095f400 f396d000    1     1    97 000184  3  select f0206c94 portmap
   93 f095a600 f396b000    0     1    93 000084  3  select f0206c94 xntpd
   86 f095d000 f3969000    0     1    86 000084  3  select f0206c94 named
   83 f095a900 f3965000    0     1    83 000084  3  select f0206c94 syslogd
   66 f0952b00 f3967000    0     1    66 000084  3  select f0206c94 routed
   42 f0931400 f3963000    0     1    42 000084  3   pause f3963148 adjkerntz
    4 f08f1000 f395d000    0     0     0 000204  3  update f020e324 update
    3 f08f1200 f395b000    0     0     0 000204  3  psleep f0206e10 vmdaemon
    2 f08f1400 f3959000    0     0     0 000204  3  psleep f0207354 pagedaemon
    1 f08f1600 f3957000    0     0     1 004084  3    wait f08f1600 init
    0 f020d348 f022c000    0     0     0 000204  3   sched f020d348 swapper


Then 

db> call diediedie()
panic: because you said to!
 
dumping to dev 409, offset 0
dump 24 

I have FreeBSD on sd1 and the config file says dump on sd1

device 409 corresponds to 4,9 which is /dev/sd1b.  Why can't I dump?

Thanks,
Boyd

-- 
_______________________________________________________________________

 Boyd Faulkner - faulkner@isd.tandem.com - http://cactus.org/~faulkner
_______________________________________________________________________



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