[Samba] Re: process hang when accessing a mounted smbfs (details)

Gregoire Pichon gregoire.pichon at bull.net
Mon Sep 6 11:44:47 GMT 2004


Here are some traces from the /var/log/messages file, logged when I 
perform the mount of a smbfs. The error is transparent to the user, 
that's why I thought mount was successful, but actually this explain why 
following accesses to the mount point fail and why smbumount fails.

Again, any comment would be very helpful,
thanks,
Grégoire.

from /var/log/messages:
Sep  6 09:29:06 cb000731 kernel: smb_lookup: find //.Trash-pichong 
failed, error=-5
Sep  6 09:29:06 cb000731 kernel: Unable to handle kernel NULL pointer 
dereference at virtual address 00000000
Sep  6 09:29:06 cb000731 kernel:  printing eip:
Sep  6 09:29:06 cb000731 kernel: 00000000
Sep  6 09:29:06 cb000731 kernel: *pde = 00000000
Sep  6 09:29:06 cb000731 kernel: Oops: 0000 [#1]
Sep  6 09:29:06 cb000731 kernel: CPU:    0
Sep  6 09:29:06 cb000731 kernel: EIP:    0060:[<00000000>]    Not tainted
Sep  6 09:29:06 cb000731 kernel: EFLAGS: 00210246   (2.6.5-1.358)
Sep  6 09:29:06 cb000731 kernel: EIP is at 0x0
Sep  6 09:29:06 cb000731 kernel: eax: 0b0eda80   ebx: 1227e290   ecx: 
0214edcd   edx: 165a9fa0
Sep  6 09:29:06 cb000731 kernel: esi: 303a783a   edi: 03127d80   ebp: 
0b0eda80   esp: 165a9f14
Sep  6 09:29:06 cb000731 kernel: ds: 007b   es: 007b   ss: 0068
Sep  6 09:29:06 cb000731 kernel: Process nautilus (pid: 2717, 
threadinfo=165a9000 task=20300cb0)
Sep  6 09:29:06 cb000731 kernel: Stack: 2256f976 165a9f38 00000000 
0b3ec000 12269254 0abf1e18 1c068080 0214edcd
Sep  6 09:29:06 cb000731 kernel:        165a9fa0 746f6f72 00136131 
723a303a 00000000 00000000 0b3ec000 00000002
Sep  6 09:29:06 cb000731 kernel:        00000000 00000000 00000001 
00000004 00200246 22577020 0abf1e80 0b0eda80
Sep  6 09:29:06 cb000731 kernel: Call Trace:
Sep  6 09:29:06 cb000731 kernel:  [<2256f976>] smb_readdir+0x346/0x3f1 
[smbfs]
Sep  6 09:29:06 cb000731 kernel:  [<0214edcd>] filldir64+0x0/0x12e
Sep  6 09:29:06 cb000731 kernel:  [<0214eaba>] vfs_readdir+0x7a/0x9b
Sep  6 09:29:06 cb000731 kernel:  [<0214edcd>] filldir64+0x0/0x12e
Sep  6 09:29:06 cb000731 kernel:  [<0214ef60>] sys_getdents64+0x65/0xaa
Sep  6 09:29:06 cb000731 kernel:  [<0214e26c>] generic_file_fcntl+0xd7/0x140
Sep  6 09:29:06 cb000731 kernel:
Sep  6 09:29:06 cb000731 kernel: Code:  Bad EIP value.


Gregoire Pichon wrote:

> Hi all,
>
> I installed the samba 3.0.3 on a Fedora Core 2 and then samba 3.0.6-1 
> and still have the following problem.
>
> When I mount a smbfs, it sucesses but processes hang when they access 
> the mount point and smbumount returns "Device busy". Since even system 
> halt fails unmounting the filesystem, I have to switch off the machine.
>
> I tested either with smbmount command, or /etc/fstab entry and mount 
> command, as root or common user, with a Linux or Windows server, but 
> the problem still occurs.
>
> Note that is happens only with the first smbfs mount of the system. 
> Applications that access another smbfs mount point mounted after the 
> first one work very well.
>
> Thanks for any help or advice,
> Grégoire.
>
>



More information about the samba mailing list