Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2007 10:19:49 GMT
From:      Pavlyuk.Oleksiy@FreeBSD.org, Kovbasyuk Leonid <bi9bu9@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/119128: [smbfs] System reboot while umount smbfs
Message-ID:  <200712291019.lBTAJn4j096609@www.freebsd.org>
Resent-Message-ID: <200712291030.lBTAU0vV007356@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         119128
>Category:       kern
>Synopsis:       [smbfs] System reboot while umount smbfs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 29 10:30:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Pavlyuk Oleksiy, Kovbasyuk Leonid
>Release:        FreeBSD 6.2-RELEASE stable
>Organization:
Ukrtelecom
>Environment:
FreeBSD tmp_unix.xx.xxxxxx.net 6.2-RELEASE-p9 FreeBSD 6.2-RELEASE-p9 #3: Sat Dec 29 08:23:21 UTC 2007     root@tmp_unix.xx.xxxxxxxx.net:/usr/src/sys/i386/compile/CIT-ADM06  i386
>Description:
Foweword:
The similar bug was reported in "Current FreeBSD problem reports" section on Sun, 23 Oct 2005 04:46:52 GMT by YuHong <bsditer@gmail.com>, (kern/87859) for Release:5.4 Stable. I noticed the same OS behavior on my Release:6.2 box.
However it reveals only under certain circumstainces.

Description:
System will reboot while umount smbfs, but it will happen only if network connection for FreeBSD machine got lost for approximately 12-15 minutes exactly after mounted_smbfs share, and went back just before umount procedure is performed. If to umount just after network unplugged - everything goes fine. If to umount without plugging network cable back everything goes fine.

We atach file archive bug.zip that is renamed to bug.txt to send to you (rename it back to bug.zip and unpack to view). The package contains:
Kgdb utility information in debug.txt (kernel debug info)
Uname -a information in unamea.txt
Kernel config in kernel.conf.
Dmesg info in dmesg.txt

>How-To-Repeat:
We managed to repeat a problem under following circumstances:
1. mount_smbfs <smb resource>
2. Unplug network cable
3. Wait for 12-15 min 
4. Plug cable back,wait 5 sec
5. umount smb resource
6. System will reboot
>Fix:


Patch attached with submission follows:

PK
TseTM)ފqZyћw%yF[L^d-gPC.K)&gW8*灷_<J##oX,2,P&+qY85;`RbRi_x2΋yxk!Y,S-ɯ^!8fdQ]
6ӻB//NjjtUUe%B
T$nWbWJ.e,)QVeY
eL۪f%c4]QQQQQQ!ɐdH2$I}D{$((%ZZ7L渗BsugEb=;O{,>]~'EWOPKy.K{Z+KAEV'a'Rƺ&+}-abCc$eZ:~g;NKe[YFh.">]?L}_pr$"Z3钻y]]|r~>&xΝtFYD&諭3WhefwH$6RG77ε:^:*f_˯(Ao^/r·~Mf׿@2S]8cCݪch~Nb2ԋU
1XOcOrq6wq3;^VF1NAL\]%8jvDzu0++DDc-u,%DxzFn&'Ȱ!qj.h"&&ӗb7fyߞMr*V}%Uj'|,<N3O]4.$!~GG)Һv:L8
xdHi8װϑ:}>OT%	E"Ins@><~%LrIXj+iZ$&эfCX2H>,j>3a-|dR*kDTy%ϫv܍>O)Iv8MfqJQU$hòMz*iUq^V}K.w-J<ƻ1*%xx;x.y
Ix̏cXolհ3JͩEk_e^wUq:?JG-W!	qDso
`cQP40̊W=.ᵎ|bT>i|2O>Af>m1rn`#R~T|fC晟BqPGFPKA^n]ː6{mUyl1XE8L6Ge$||4Q"*%RJ3{:,ݪqM[/l!(A&txp+kg2Z,]3&8{K|]lutcLi~jh	wX$!x@"I cF'4p9N&C
KG)x}/IǶ`H(RTfy4,T$5xwؕo;"8נomXtn-~_Rn{zYh/I2Kh֣0p\|j ,f²$42T`yj@Qؚf@Tx9*sԧ̘Y&۬H7Rx_bC؏d͵McaP3TqˍS_#wH=RB@4]ZCߕ`2-a]@.%2ڙSfJ`|<V<q)ڮZ{bkxQ8ʽt(\Ḛ/áPpr>0- !!0Ca^y+UEB.ei7.f %$7:sn\{n5-<?yl5(#.Q]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