Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Oct 2006 13:18:54 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        freebsd-current@freebsd.org
Subject:   unkillable mount_smbfs processes
Message-ID:  <453C88FE.8010901@yandex.ru>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------050808010202030501040901
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

My system is CURRENT (~15.10.2006).
When I try mounting a smbfs from windows server then
mount_smbfs command is don't finished. And i can't
interrupt or kill these processes.

ps, top and trace output from ddb attached.

-- 
WBR, Andrey V. Elsukov

--------------050808010202030501040901
Content-Type: text/plain;
 name="trace.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="trace.txt"

last pid:  2146;  load averages:  0.00,  0.00,  0.00    up 0+05:28:50  13:07:20
32 processes:  1 running, 31 sleeping
CPU states:     % user,     % nice,     % system,     % interrupt,     % idle
Mem: 25M Active, 269M Inact, 73M Wired, 23M Cache, 53M Buf, 36M Free
Swap: 1024M Total, 16K Used, 1024M Free
 
  PID USERNAME    THR PRI NICE   SIZE    RES STATE    TIME   WCPU COMMAND
  859 root          1  -8    0  6120K  1528K devdrn   0:00  0.00% mount_smbfs
  946 root          1  -8    0  6120K  1000K devdrn   0:00  0.00% mount_smbfs

[btr-nb butcher]> ps ax | grep mount
 1984  p1- DE     0:00,01 mount_smbfs -I 172.21.81.225 -E koi8-r:cp866 //butche
  859  p2- DE     0:00,26 mount_smbfs -E koi8-r:cp866 -I 172.21.81.225 //elsuko
  946  p4- DE     0:00,14 mount_smbfs -I 172.21.81.225 -E koi8-r:cp866 //elsuko

[btr-nb butcher]> KDB: enter: manual escape to debugger
[thread pid 19 tid 100026 ]
Stopped at      kdb_enter+0x2b: nop
db> ps
  pid  ppid  pgrp   uid   state   wmesg     wchan    cmd
 2038   752  2038  1001  S+      ttyin    0xc27acc10 csh
 1984     1  1984     0  SE+     devdrn   0xd3ac89d8 mount_smbfs
 1950   635   635   125  S       select   0xc07555b4 pickup
  946     1   946     0  SE+     devdrn   0xd5c409d8 mount_smbfs
  859     1   859     0  SE+     devdrn   0xd3af89d8 mount_smbfs
  759   751   759  1001  S+      ttyin    0xc27b2410 csh
  758     1   758     0  Ss+     ttyin    0xc27b6010 getty
  757     1   757     0  Ss+     ttyin    0xc27b6410 getty
  756     1   756     0  Ss+     ttyin    0xc27b6810 getty
  755     1   755     0  Ss+     ttyin    0xc27b6c10 getty
  754     1   754     0  Ss+     ttyin    0xc27b7010 getty
  753     1   753     0  Ss+     ttyin    0xc27b7410 getty
  752     1   752     0  Ss+     wait     0xc28da468 login
  751     1   751     0  Ss+     wait     0xc28d869c login
  711     1   711     0  Ss      select   0xc07555b4 moused
  679     1   679     0  Ss      nanslp   0xc0751364 cron
  658   635   635   125  S       select   0xc07555b4 qmgr
  635     1   635     0  Ss      select   0xc07555b4 master
  607   576   576    80  S       accept   0xc298803a httpd
db> trace 1984
Tracing pid 1984 tid 100088 td 0xc2995870
sched_switch(c2995870,0,1) at sched_switch+0x157
mi_switch(1,0,c2995870,d3ac8994,c05517b2,...) at mi_switch+0x1d4
sleepq_switch(d3ac89d8,c2995870,d3ac89b4,c0533c65,d3ac89d8,...) at sleepq_switch
+0x8a
sleepq_timedwait(d3ac89d8) at sleepq_timedwait+0x36
msleep(d3ac89d8,c074f7c4,4c,c06e9aa6,64) at msleep+0x21d
destroy_devl(c322e700,d3ac8a18,c31edb35,c322e700,c32464e0,...) at destroy_devl+0
x155
destroy_dev(c322e700,c32464e0,c31ff180,c2995870,c31df300,...) at destroy_dev+0x1
0
nsmb_dev_close(c322e700,3,2000,c2995870) at nsmb_dev_close+0x69
giant_close(c322e700,3,2000,c2995870) at giant_close+0x4b
devfs_close(d3ac8a80) at devfs_close+0x357
VOP_CLOSE_APV(c071c1c0,d3ac8a80) at VOP_CLOSE_APV+0x38
vn_close(c29ab71c,3,c31df300,c2995870) at vn_close+0x5a
vn_closefile(c2a46ab0,c2995870,d3ac8b38,c050d630,c2a46ab0,...) at vn_closefile+0
xea
devfs_close_f(c2a46ab0,c2995870) at devfs_close_f+0xf
fdrop_locked(c2a46ab0,c2995870,c322e800,d3ac8bb8,c050bbaf,...) at fdrop_locked+0
xa8
fdrop(c2a46ab0,c2995870,d3ac8b94,c058d3d9,0,...) at fdrop+0x41
closef(c2a46ab0,c2995870) at closef+0x41f
fdfree(c2995870) at fdfree+0x593
exit1(c2995870,100,d3ac8d30,c06a841e,c2995870,...) at exit1+0x4dc
exit1(c2995870,d3ac8d04) at exit1
syscall(3b,3b,3b,0,bfbfec84,...) at syscall+0x2ae
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (1, FreeBSD ELF32, sys_exit), eip = 0x280eb413, esp = 0xbfbfe4fc, eb
p = 0xbfbfe518 ---

db> trace 946
Tracing pid 946 tid 100094 td 0xc31606c0
sched_switch(c31606c0,0,1) at sched_switch+0x157
mi_switch(1,0,c31606c0,d5c40994,c05517b2,...) at mi_switch+0x1d4
sleepq_switch(d5c409d8,c31606c0,d5c409b4,c0533c65,d5c409d8,...) at sleepq_switch
+0x8a
sleepq_timedwait(d5c409d8) at sleepq_timedwait+0x36
msleep(d5c409d8,c074f7c4,4c,c06e9aa6,64) at msleep+0x21d
destroy_devl(c3264500,d5c40a18,c31edb35,c3264500,c2996dc0,...) at destroy_devl+0
x155
destroy_dev(c3264500,c2996dc0,c31ff180,c31606c0,c3239180,...) at destroy_dev+0x1
0
nsmb_dev_close(c3264500,3,2000,c31606c0) at nsmb_dev_close+0x69
giant_close(c3264500,3,2000,c31606c0) at giant_close+0x4b
devfs_close(d5c40a80) at devfs_close+0x357
VOP_CLOSE_APV(c071c1c0,d5c40a80) at VOP_CLOSE_APV+0x38
vn_close(c323e000,3,c3239180,c31606c0) at vn_close+0x5a
vn_closefile(c2a3be58,c31606c0,d5c40b38,c050d630,c2a3be58,...) at vn_closefile+0
xea
devfs_close_f(c2a3be58,c31606c0) at devfs_close_f+0xf
fdrop_locked(c2a3be58,c31606c0,c322ed00,d5c40bb8,c050bbaf,...) at fdrop_locked+0
xa8
fdrop(c2a3be58,c31606c0,d5c40b94,c058d3d9,0,...) at fdrop+0x41
closef(c2a3be58,c31606c0) at closef+0x41f
fdfree(c31606c0) at fdfree+0x593
exit1(c31606c0,0,d5c40d30,c06a841e,c31606c0,...) at exit1+0x4dc
exit1(c31606c0,d5c40d04) at exit1
syscall(3b,3b,3b,2805088c,bfbfeb20,...) at syscall+0x2ae
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (1, FreeBSD ELF32, sys_exit), eip = 0x280eb413, esp = 0xbfbfeaac, eb
p = 0xbfbfeac8 ---
db> cont
 
[btr-nb butcher]>

--------------050808010202030501040901--



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