Bug 3400 - smbmount hang
Summary: smbmount hang
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: smbmount (unmaintained) (show other bugs)
Version: 3.0.21a
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-12 19:07 UTC by trainee
Modified: 2006-01-25 08:33 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description trainee 2006-01-12 19:07:14 UTC
OS: REDHAT LINUX 9.0 (BOTH CLIENT AND SERVER)
VER: samba 3.0.21a or 2.2.7a

  smbmount is hang , but server 's share has been mount.
----------------------------------------------------------
[mybak]$smbmount //dell/mybak mnt -o username=mybak,password=12345,
ip=192.168.1.200,debug=20

added interface ip=192.168.10.2 bcast=192.168.10.255 nmask=255.255.255.0
added interface ip=192.168.1.201 bcast=192.168.1.255 nmask=255.255.255.0
added interface ip=192.168.5.201 bcast=192.168.5.255 nmask=255.255.255.0
added interface ip=192.168.6.201 bcast=192.168.6.255 nmask=255.255.255.0
Connecting to 192.168.1.200 at port 445
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 1
socket option TCP_KEEPCNT = 9
socket option TCP_KEEPIDLE = 7200
socket option TCP_KEEPINTVL = 75
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_SNDBUF = 16384
socket option SO_RCVBUF = 16384
socket option SO_SNDLOWAT = 1
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
9370: session request ok
write_socket(3,183)
write_socket(3,183) wrote 183
got smb length of 97
size=97
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=49153
smb_tid=0
smb_pid=9370
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[ 0]=    7 (0x7)
smb_vwv[ 1]=12803 (0x3203)
smb_vwv[ 2]=  256 (0x100)
smb_vwv[ 3]= 1024 (0x400)
smb_vwv[ 4]=   65 (0x41)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  256 (0x100)
smb_vwv[ 7]= 9472 (0x2500)
smb_vwv[ 8]=   59 (0x3B)
smb_vwv[ 9]=64768 (0xFD00)
smb_vwv[10]=32995 (0x80E3)
smb_vwv[11]=32768 (0x8000)
smb_vwv[12]=58347 (0xE3EB)
smb_vwv[13]=58173 (0xE33D)
smb_vwv[14]=50711 (0xC617)
smb_vwv[15]= 8193 (0x2001)
smb_vwv[16]= 2302 (0x8FE)
smb_bcc=28
[000] C8 C2 09 65 72 3D A2 C2  57 00 4F 00 52 00 4B 00  ...er=.. W.O.R.K.
[010] 47 00 52 00 4F 00 55 00  50 00 00 00              G.R.O.U. P...
size=97
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=49153
smb_tid=0
smb_pid=9370
smb_uid=0
smb_mid=1
smt_wct=17
smb_vwv[ 0]=    7 (0x7)
smb_vwv[ 1]=12803 (0x3203)
smb_vwv[ 2]=  256 (0x100)
smb_vwv[ 3]= 1024 (0x400)
smb_vwv[ 4]=   65 (0x41)
smb_vwv[ 5]=    0 (0x0)
smb_vwv[ 6]=  256 (0x100)
smb_vwv[ 7]= 9472 (0x2500)
smb_vwv[ 8]=   59 (0x3B)
smb_vwv[ 9]=64768 (0xFD00)
smb_vwv[10]=32995 (0x80E3)
smb_vwv[11]=32768 (0x8000)
smb_vwv[12]=58347 (0xE3EB)
smb_vwv[13]=58173 (0xE33D)
smb_vwv[14]=50711 (0xC617)
smb_vwv[15]= 8193 (0x2001)
smb_vwv[16]= 2302 (0x8FE)
smb_bcc=28
[000] C8 C2 09 65 72 3D A2 C2  57 00 4F 00 52 00 4B 00  ...er=.. W.O.R.K.
[010] 47 00 52 00 4F 00 55 00  50 00 00 00              G.R.O.U. P...
write_socket(3,138)
write_socket(3,138) wrote 138
got smb length of 70
size=70
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=16385
smb_tid=0
smb_pid=9370
smb_uid=100
smb_mid=2
smt_wct=3
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    0 (0x0)
smb_bcc=29
[000] 55 6E 69 78 00 53 61 6D  62 61 20 33 2E 30 2E 32  Unix.Sam ba 3.0.2
[010] 31 61 00 57 4F 52 4B 47  52 4F 55 50 00           1a.WORKG ROUP.
9370: session setup ok
write_socket(3,67)
write_socket(3,67) wrote 67
got smb length of 49
size=49
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=1
smb_pid=9370
smb_uid=100
smb_mid=3
smt_wct=3
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=    0 (0x0)
smb_vwv[ 2]=    1 (0x1)
smb_bcc=8
[000] 41 3A 00 4E 54 46 53 00                           A:.NTFS.
9370: tconx ok
------------------------------------------------------------------
It is Hang. So I enter "CTRL+C" interrupt it. I find //dell/mybak has been mounted. 
Sometime it is not Hang.
I down't hnow Why?
Comment 1 Gerald (Jerry) Carter (dead mail address) 2006-01-25 08:33:10 UTC
pleae talke to the smbfs kernel folks.