>     Could you print out *p and *uap in frame 18?
> 
>       frame 18
>       print *p
>       print *uap
> 
>     Also, do:
> 
>       ps -axl -N /sys/compile/bleep/kernel.debug -M /var/crash/vmcore.2
> 
>     This is very odd. There is no way it should be looping in supervisor
>     mode in that call chain.
> 
No sooner received than done....

(kgdb) frame 18
#18 0xc01ef2d6 in mmap (p=0xc5e49020, uap=0xc5f45f80) at ../../vm/vm_mmap.c:330
330             error = vm_mmap(&p->p_vmspace->vm_map, &addr, size, prot, maxprot,
(kgdb) print *p
$2 = {p_procq = {tqe_next = 0xc0290ed0, tqe_prev = 0x0}, p_list = {
    le_next = 0xc5e492e0, le_prev = 0xc0290f60}, p_cred = 0xc0a42b20, 
  p_fd = 0xc0a23c80, p_stats = 0xc5f44230, p_limit = 0xc099a600, 
  p_upages_obj = 0xc5ea59c4, p_procsig = 0xc0a3eaa0, p_flag = 16388, 
  p_stat = 2 '\002', p_pad1 = "\000\000", p_pid = 4672, p_hash = {
    le_next = 0xc5e4a8e0, le_prev = 0xc05ad780}, p_pglist = {le_next = 0x0, 
    le_prev = 0xc0a42ae8}, p_pptr = 0xc58c6ec0, p_sibling = {le_next = 0x0, 
    le_prev = 0xc58c6f10}, p_children = {lh_first = 0x0}, p_ithandle = {
    callout = 0xc1b86108}, p_oppid = 0, p_dupfd = 0, p_vmspace = 0xc5e4cec0, 
  p_estcpu = 1502, p_cpticks = 1247, p_pctcpu = 1791, p_wchan = 0x0, 
  p_wmesg = 0x0, p_swtime = 20, p_slptime = 0, p_realtimer = {it_interval = {
      tv_sec = 0, tv_usec = 0}, it_value = {tv_sec = 0, tv_usec = 0}}, 
  p_runtime = 10333, p_uticks = 0, p_sticks = 2437, p_iticks = 1991, 
  p_traceflag = 0, p_tracep = 0x0, p_siglist = 0, p_textvp = 0xc5dfbcc0, 
  p_lock = 0 '\000', p_oncpu = 0 '\000', p_lastcpu = 0 '\000', 
  p_pad2 = 0 '\000', p_locks = 0, p_simple_locks = 0, p_stops = 0, 
  p_stype = 0, p_step = 0 '\000', p_pfsflags = 0 '\000', p_pad3 = "\000", 
  p_retval = {0, 6}, p_sigiolst = {slh_first = 0x0}, p_sigparent = 20, 
  p_oldsigmask = 0, p_sig = 0, p_code = 0, p_sigmask = 0, 
  p_priority = 127 '\177', p_usrpri = 127 '\177', p_nice = 0 '\000', 
  p_comm = "rpc.rstatd\000\000\000\000\000\000", p_pgrp = 0xc0a42ae0, 
  p_sysent = 0xc025bbc0, p_rtprio = {type = 1, prio = 0}, p_prison = 0x0, 
  p_addr = 0xc5f44000, p_md = {md_regs = 0xc5f45fa8}, p_xstat = 0, 
---Type <return> to continue, or q <return> to quit---
  p_acflag = 2, p_ru = 0x0, p_nthreads = 0, p_aioinfo = 0x0, p_wakeup = 0, 
  p_peers = 0x0, p_leader = 0xc5e49020, p_asleep = {as_priority = 0, 
    as_timo = 0}, p_emuldata = 0x0}
(kgdb) print *uap
$3 = {addr = 0xc07a8180 "", addr_ = 0xc0a41744 "À\206zÀ\001", 
  len = 3229255360, len_ = 0xc0a41748 "\001", prot = 65537, 
  prot_ = 0xc0a4174c "\001", flags = 1, flags_ = 0xc0a41750 "\200>¢ÀÄ#&À\002", 
  fd = -1063108992, fd_ = 0xc0a41754 "Ä#&À\002", pad = -1071242300, 
  pad_ = 0xc0a41758 "\002", pos = 17592186044418, pos_ = 0xc0a41760 ""}
(kgdb) 


# ps -axl -N /sys/compile/bleep/kernel.debug -M /var/crash/vmcore.2
  UID   PID  PPID CPU PRI NI   VSZ  RSS WCHAN  STAT  TT       TIME COMMAND
    0   259     1  32  10  0   508    0 wait   I    #C1-   0:00.00  (sh)
   88   276   259   0   2  0 11132    0 -      R    #C1-   0:00.00  (mysqld)
    0   282     1  32  10  0   512    0 wait   I    #C1-   0:00.00  (sh)
65534   289   282   0   2  0  3308    0 -      R    #C1-   0:00.00  (squid)
65534   307   289   0  -6  0   756    0 piperd I    #C1-   0:00.00  (unlinkd)
    0  3428  3424   0  10  0   608    0 wait   Is   #C1    0:00.00  (sh)
    0  3454  3428   4  10  0   928    0 wait   I+   #C1    0:00.00  (make)
    0  3457  3454   4  10  0   504    0 wait   I+   #C1    0:00.00  (sh)
    0  3458  3457   5  10  0   920    0 wait   I+   #C1    0:00.00  (make)
    0  3461  3458   5  10  0   504    0 wait   I+   #C1    0:00.00  (sh)
    0  3462  3461   5  10  0  1176    0 wait   I+   #C1    0:00.00  (make)
    0  3466  3462   5  10  0   508    0 wait   I+   #C1    0:00.00  (sh)
    0  3467  3466  49  10  0   628    0 wait   I+   #C1    0:00.00  (make)
    0  3534  3467  49  10  0   504    0 wait   I+   #C1    0:00.00  (sh)
    0  3535  3534  49  10  0   564    0 wait   I+   #C1    0:00.00  (make)
    0  3538  3535  51  10  0   508    0 wait   I+   #C1    0:00.00  (sh)
    0  3671  3538  54  10  0   392    0 wait   I+   #C1    0:00.00  (make)
    0  3676  3671  29  10  0   508    0 wait   I+   #C1    0:00.00  (sh)
    0  4659  3676  14  10  0  2712    0 wait   I+   #C1    0:00.00  (make)
    0  4667  4659  14  -2  0   340    0 getblk I+   #C1    0:00.00  (install)
 1000  3436  3433   6  10  0   608    0 wait   Is   #C1    0:00.00  (sh)
 1000  3442  3436   0   3  0  1292    0 -      R+   #C1    0:00.00  (systat)
    0  3491  3486   0   3  0   608    0 ttyin  Is+  #C1    0:00.00  (sh)
    0   325     1   0   3  0   604    0 ttyin  Is+  #C9    0:00.00  (sh)
    0   327     1   0   3  0   840    0 ttyin  Is+  #C2    0:00.00  (getty)
 1000   326     1   1  10  0   604    0 wait   Is   #C2    0:00.00  (sh)
    0   338   326   0   2  0  1576    0 select I+   #C2    0:00.00  (ssh1)
    0     0     0   0 -18  0     0    0 -      RLs   ??    0:00.00  (swapper)
    0     1     0   0  10  0   500    0 wait   ILs   ??    0:00.00  (init)
    0     2     0   0 -18  0     0    0 -      RL    ??    0:00.00  (pagedaemon
    0     3     0   0  18  0     0    0 psleep DL    ??    0:00.00  (vmdaemon)
    0     4     0   0 -18  0     0    0 -      RL    ??    0:00.00  (bufdaemon)
    0     5     0   0  18  0     0    0 -      RL    ??    0:00.00  (syncer)
    0    32     1   0  18  0   204    0 pause  Is    ??    0:00.00  (adjkerntz)
    0   127     1   0   2  0   828    0 -      Rs    ??    0:00.00  (syslogd)
    0   135     1   0   2  0  1528    0 select Is    ??    0:00.00  (named)
    1   141     1   0   2  0   836    0 select Is    ??    0:00.00  (portmap)
    0   144     1   0   2  0  1512    0 -      Rs    ??    0:00.00  (ypserv)
    0   147     1   0   2  0   832    0 select I     ??    0:00.00  (rpc.ypxfrd
    0   150     1   0   2  0   960    0 select Is    ??    0:00.00  (rpc.yppass
    0   153     1   0   2  0   812    0 select Is    ??    0:00.00  (ypbind)
    0   160     1   0   2  0   836    0 select Is    ??    0:00.00  (rpc.ypupda
    0   166     1   0   2  0   516    0 select Is    ??    0:00.00  (mountd)
    0   169     1   0   2  0   316    0 accept Is    ??    0:00.00  (nfsd)
    0   171   169   0   2  0   296    0 -      R     ??    0:00.00  (nfsd)
    0   172   169   0   2  0   296    0 -      R     ??    0:00.00  (nfsd)
    0   173   169   0   2  0   296    0 -      R     ??    0:00.00  (nfsd)
    0   174   169   0   2  0   296    0 -      R     ??    0:00.00  (nfsd)
    0   177     1   0   2  0 262976    0 select Is    ??    0:00.00  (rpc.statd)
    0   182     1   0  -1  0   208    0 nfsrcv I     ??    0:00.00  (nfsiod)
    0   183     1   0   2  0   208    0 -      R     ??    0:00.00  (nfsiod)
    0   184     1   0  10  0   208    0 nfsidl I     ??    0:00.00  (nfsiod)
    0   185     1   0  10  0   208    0 nfsidl I     ??    0:00.00  (nfsiod)
    0   199     1  12   2  0   908    0 select Is    ??    0:00.00  (inetd)
    0   202     1   0  10  0  1000    0 nanslp Is    ??    0:00.00  (cron)
    0   207     1   0   2  0  1300    0 select Is    ??    0:00.00  (sendmail)
    0   242     1   0   2  0  1452    0 -      Rs    ??    0:00.00  (ppp)
    8   277     1   1   2  0 17444    0 select Is    ??    0:00.00  (nntpcached
    0   292     1   0   2  0  1248    0 select Is    ??    0:00.00  (sshd1)
65534   319   289   5   2  0   992    0 sbwait I     ??    0:00.00  (dnsserver)
65534   320   289   5   2  0   992    0 sbwait I     ??    0:00.00  (dnsserver)
65534   321   289   5   2  0   992    0 sbwait I     ??    0:00.00  (dnsserver)
65534   322   289   5   2  0   992    0 sbwait I     ??    0:00.00  (dnsserver)
65534   323   289   5   2  0   992    0 sbwait I     ??    0:00.00  (dnsserver)
65534   324   289   5   2  0  1016    0 select Is    ??    0:00.00  (ftpget)
    0   351     1   1  -6  0   476    0 vinum  Ds    ??    0:00.00  (vinum)
    0  3424   292   0   2  0  1296    0 select I     ??    0:00.00  (sshd1)
    0  3433   292   0   2  0  1300    0 select I     ??    0:00.00  (sshd1)
    0  3486   292   0   2  0  1296    0 -      R     ??    0:00.00  (sshd1)
    0  4672   199 1502 105  0   868    0 -      Rs    ??    0:00.00  (rpc.rstatd
# 


-- 
  The views expressed above are not those of PGS Tensor.

    "We've heard that a million monkeys at a million keyboards could produce
     the Complete Works of Shakespeare; now, thanks to the Internet, we know
     this is not true."            Robert Wilensky, University of California




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to