Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Aug 1999 14:25:26 +0800
From:      Stephen Hocking-Senior Programmer PGS Tensor Perth <shocking@prth.pgs.com>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        shocking@bandicoot.prth.tensor.pgs.com, current@freebsd.org
Subject:   Re: Interesting NFS hangs under current 
Message-ID:  <199908050625.OAA20277@ariadne.tensor.pgs.com>
In-Reply-To: Your message of "Wed, 04 Aug 1999 23:10:49 MST." <199908050610.XAA33711@apollo.backplane.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>     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 superviso=
r
>     mode in that call chain.
> =

No sooner received than done....

(kgdb) frame 18
#18 0xc01ef2d6 in mmap (p=3D0xc5e49020, uap=3D0xc5f45f80) at ../../vm/vm_=
mmap.c:330
330             error =3D vm_mmap(&p->p_vmspace->vm_map, &addr, size, pro=
t, maxprot,
(kgdb) print *p
$2 =3D {p_procq =3D {tqe_next =3D 0xc0290ed0, tqe_prev =3D 0x0}, p_list =3D=
 {
    le_next =3D 0xc5e492e0, le_prev =3D 0xc0290f60}, p_cred =3D 0xc0a42b2=
0, =

  p_fd =3D 0xc0a23c80, p_stats =3D 0xc5f44230, p_limit =3D 0xc099a600, =

  p_upages_obj =3D 0xc5ea59c4, p_procsig =3D 0xc0a3eaa0, p_flag =3D 16388=
, =

  p_stat =3D 2 '\002', p_pad1 =3D "\000\000", p_pid =3D 4672, p_hash =3D =
{
    le_next =3D 0xc5e4a8e0, le_prev =3D 0xc05ad780}, p_pglist =3D {le_nex=
t =3D 0x0, =

    le_prev =3D 0xc0a42ae8}, p_pptr =3D 0xc58c6ec0, p_sibling =3D {le_nex=
t =3D 0x0, =

    le_prev =3D 0xc58c6f10}, p_children =3D {lh_first =3D 0x0}, p_ithandl=
e =3D {
    callout =3D 0xc1b86108}, p_oppid =3D 0, p_dupfd =3D 0, p_vmspace =3D =
0xc5e4cec0, =

  p_estcpu =3D 1502, p_cpticks =3D 1247, p_pctcpu =3D 1791, p_wchan =3D 0=
x0, =

  p_wmesg =3D 0x0, p_swtime =3D 20, p_slptime =3D 0, p_realtimer =3D {it_=
interval =3D {
      tv_sec =3D 0, tv_usec =3D 0}, it_value =3D {tv_sec =3D 0, tv_usec =3D=
 0}}, =

  p_runtime =3D 10333, p_uticks =3D 0, p_sticks =3D 2437, p_iticks =3D 19=
91, =

  p_traceflag =3D 0, p_tracep =3D 0x0, p_siglist =3D 0, p_textvp =3D 0xc5=
dfbcc0, =

  p_lock =3D 0 '\000', p_oncpu =3D 0 '\000', p_lastcpu =3D 0 '\000', =

  p_pad2 =3D 0 '\000', p_locks =3D 0, p_simple_locks =3D 0, p_stops =3D 0=
, =

  p_stype =3D 0, p_step =3D 0 '\000', p_pfsflags =3D 0 '\000', p_pad3 =3D=
 "\000", =

  p_retval =3D {0, 6}, p_sigiolst =3D {slh_first =3D 0x0}, p_sigparent =3D=
 20, =

  p_oldsigmask =3D 0, p_sig =3D 0, p_code =3D 0, p_sigmask =3D 0, =

  p_priority =3D 127 '\177', p_usrpri =3D 127 '\177', p_nice =3D 0 '\000'=
, =

  p_comm =3D "rpc.rstatd\000\000\000\000\000\000", p_pgrp =3D 0xc0a42ae0,=
 =

  p_sysent =3D 0xc025bbc0, p_rtprio =3D {type =3D 1, prio =3D 0}, p_priso=
n =3D 0x0, =

  p_addr =3D 0xc5f44000, p_md =3D {md_regs =3D 0xc5f45fa8}, p_xstat =3D 0=
, =

---Type <return> to continue, or q <return> to quit---
  p_acflag =3D 2, p_ru =3D 0x0, p_nthreads =3D 0, p_aioinfo =3D 0x0, p_wa=
keup =3D 0, =

  p_peers =3D 0x0, p_leader =3D 0xc5e49020, p_asleep =3D {as_priority =3D=
 0, =

    as_timo =3D 0}, p_emuldata =3D 0x0}
(kgdb) print *uap
$3 =3D {addr =3D 0xc07a8180 "", addr_ =3D 0xc0a41744 "=C0\206z=C0\001", =

  len =3D 3229255360, len_ =3D 0xc0a41748 "\001", prot =3D 65537, =

  prot_ =3D 0xc0a4174c "\001", flags =3D 1, flags_ =3D 0xc0a41750 "\200>=A2=
=C0=C4#&=C0\002", =

  fd =3D -1063108992, fd_ =3D 0xc0a41754 "=C4#&=C0\002", pad =3D -1071242=
300, =

  pad_ =3D 0xc0a41758 "\002", pos =3D 17592186044418, pos_ =3D 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 COMMAN=
D
    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  (mysq=
ld)
    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  (squi=
d)
65534   307   289   0  -6  0   756    0 piperd I    #C1-   0:00.00  (unli=
nkd)
    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  (inst=
all)
 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  (syst=
at)
    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  (gett=
y)
 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  (swap=
per)
    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  (page=
daemon
    0     3     0   0  18  0     0    0 psleep DL    ??    0:00.00  (vmda=
emon)
    0     4     0   0 -18  0     0    0 -      RL    ??    0:00.00  (bufd=
aemon)
    0     5     0   0  18  0     0    0 -      RL    ??    0:00.00  (sync=
er)
    0    32     1   0  18  0   204    0 pause  Is    ??    0:00.00  (adjk=
erntz)
    0   127     1   0   2  0   828    0 -      Rs    ??    0:00.00  (sysl=
ogd)
    0   135     1   0   2  0  1528    0 select Is    ??    0:00.00  (name=
d)
    1   141     1   0   2  0   836    0 select Is    ??    0:00.00  (port=
map)
    0   144     1   0   2  0  1512    0 -      Rs    ??    0:00.00  (ypse=
rv)
    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  (ypbi=
nd)
    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  (moun=
td)
    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=
=2Estatd)
    0   182     1   0  -1  0   208    0 nfsrcv I     ??    0:00.00  (nfsi=
od)
    0   183     1   0   2  0   208    0 -      R     ??    0:00.00  (nfsi=
od)
    0   184     1   0  10  0   208    0 nfsidl I     ??    0:00.00  (nfsi=
od)
    0   185     1   0  10  0   208    0 nfsidl I     ??    0:00.00  (nfsi=
od)
    0   199     1  12   2  0   908    0 select Is    ??    0:00.00  (inet=
d)
    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  (send=
mail)
    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  (nntp=
cached
    0   292     1   0   2  0  1248    0 select Is    ??    0:00.00  (sshd=
1)
65534   319   289   5   2  0   992    0 sbwait I     ??    0:00.00  (dnss=
erver)
65534   320   289   5   2  0   992    0 sbwait I     ??    0:00.00  (dnss=
erver)
65534   321   289   5   2  0   992    0 sbwait I     ??    0:00.00  (dnss=
erver)
65534   322   289   5   2  0   992    0 sbwait I     ??    0:00.00  (dnss=
erver)
65534   323   289   5   2  0   992    0 sbwait I     ??    0:00.00  (dnss=
erver)
65534   324   289   5   2  0  1016    0 select Is    ??    0:00.00  (ftpg=
et)
    0   351     1   1  -6  0   476    0 vinum  Ds    ??    0:00.00  (vinu=
m)
    0  3424   292   0   2  0  1296    0 select I     ??    0:00.00  (sshd=
1)
    0  3433   292   0   2  0  1300    0 select I     ??    0:00.00  (sshd=
1)
    0  3486   292   0   2  0  1296    0 -      R     ??    0:00.00  (sshd=
1)
    0  4672   199 1502 105  0   868    0 -      Rs    ??    0:00.00  (rpc=
=2Erstatd
# =



-- =

  The views expressed above are not those of PGS Tensor.

    "We've heard that a million monkeys at a million keyboards could prod=
uce
     the Complete Works of Shakespeare; now, thanks to the Internet, we k=
now
     this is not true."            Robert Wilensky, University of Califor=
nia




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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