Bluehost.com Web Hosting $6.95

[Samba] Notification changes sometimes works, sometimes no

This is a discussion on [Samba] Notification changes sometimes works, sometimes no within the Samba forums, part of the Networking and Network Related category; Hi. I have compiled samba 3.0.28 and 3.0.30 under both ARM and x86. I have enabled ...


Go Back   Usenet Forums > Networking and Network Related > Samba

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-16-2008
Paolo Minazzi
 
Posts: n/a
Default [Samba] Notification changes sometimes works, sometimes no

Hi.
I have compiled samba 3.0.28 and 3.0.30 under both ARM and x86.
I have enabled inotify into the kernel.
I use kernel 2.6.20.4 for both ARM and x86.
I see a strange problem about notification changes. Sometimes
automatic notify works,
sometimes not.

Now I will show who reproduce the error I see.
I have installed SAMBA on 10.0.0.61.

*******
PHASE 1
*******
I open an explorer window and I insert "\\10.0.0.61".
A window with USER and PASSWORD appears.
I insert user and password, and my share called "RootDisk" apperars.
A click on "RootDisk", and I can use my share. It works OK, and also the
notification is OK. I can create files and remove then, and I have the
automatic update.

*******
PHASE 2
*******
Now I close my explorer window.
I open a new explorer windows.
I enter "\\10.0.0.61".
I click on "RootDisk".
Now, If I create or remove files, then notification does NOT works !
I have to press F5 key.

*******
PHASE 3
*******
Now I close the explorer window.
I open a new explorer window.
I enter "\\10.0.0.61\RootDisk".
Now I create and remove files, and the notification works OK.

------------------------------------------------------------------

I underline that I exec PHASE1, then PHASE2, then PHASE3 in this order.
PHASE1 and PHASE3 works OK, PHASE2 does not work OK.

I have tried to insert some debug messages in source/smbd/notify_inotify.c but
I have not understood the difference when notification works OK and
when there is the notification problem.
Inotify support is OK (I have added debug messages and I see them). I
think there is something strange in the communication
client-server.

I think my smbd.conf is very simple.

I have tried to add some config option
-> socket options = TCP_NODELAY
but this does not solve my problem.

Is this a known error ? or do I make some error ? or is my config incomplete ?

Thanks in advance
Paolo Minazzi

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
  #2 (permalink)  
Old 06-16-2008
Volker Lendecke
 
Posts: n/a
Default Re: [Samba] Notification changes sometimes works, sometimes no

On Mon, Jun 16, 2008 at 11:44:12AM +0200, Paolo Minazzi wrote:
> Hi.
> I have compiled samba 3.0.28 and 3.0.30 under both ARM and x86.
> I have enabled inotify into the kernel.
> I use kernel 2.6.20.4 for both ARM and x86.
> I see a strange problem about notification changes. Sometimes
> automatic notify works,
> sometimes not.
>
> Now I will show who reproduce the error I see.
> I have installed SAMBA on 10.0.0.61.
>
> *******
> PHASE 1
> *******
> I open an explorer window and I insert "\\10.0.0.61".
> A window with USER and PASSWORD appears.
> I insert user and password, and my share called "RootDisk" apperars.
> A click on "RootDisk", and I can use my share. It works OK, and also the
> notification is OK. I can create files and remove then, and I have the
> automatic update.
>
> *******
> PHASE 2
> *******
> Now I close my explorer window.
> I open a new explorer windows.
> I enter "\\10.0.0.61".
> I click on "RootDisk".
> Now, If I create or remove files, then notification does NOT works !
> I have to press F5 key.


Please file a bug at https://bugzilla.samba.org and upload
your smb.conf and a debug level 10 log of smbd.

Volker

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFIVjpMUzqjrWwMRl0RAoOsAJ4iHZAsGjrXg0XyylVvoX XhP7Z2VgCdGuBy
BMVWvlR9TUR+WqQwyDFP1Zs=
=EsVW
-----END PGP SIGNATURE-----

Reply With Quote
  #3 (permalink)  
Old 06-16-2008
Paolo Minazzi
 
Posts: n/a
Default Re: [Samba] Notification changes sometimes works, sometimes no

Hi Volker,
thanks for your fast replay.

I have the log. It is large.
zipped is 160KB, unzipped more than 3MB
Where can I post it ? I don't think the mailing list is the right
place .... it is too big !

I already insert the bug in https://bugzilla.samba.org

Some details :
CLIENT arch = WIN XP
SERVER arch = LINUX ARM 2.6.20.4

I attach
-smb.conf
-configure parameter

Thanks
Paolo



On Mon, Jun 16, 2008 at 12:02 PM, Volker Lendecke
<Volker.Lendecke@sernet.de> wrote:
> On Mon, Jun 16, 2008 at 11:44:12AM +0200, Paolo Minazzi wrote:
>> Hi.
>> I have compiled samba 3.0.28 and 3.0.30 under both ARM and x86.
>> I have enabled inotify into the kernel.
>> I use kernel 2.6.20.4 for both ARM and x86.
>> I see a strange problem about notification changes. Sometimes
>> automatic notify works,
>> sometimes not.
>>
>> Now I will show who reproduce the error I see.
>> I have installed SAMBA on 10.0.0.61.
>>
>> *******
>> PHASE 1
>> *******
>> I open an explorer window and I insert "\\10.0.0.61".
>> A window with USER and PASSWORD appears.
>> I insert user and password, and my share called "RootDisk" apperars.
>> A click on "RootDisk", and I can use my share. It works OK, and also the
>> notification is OK. I can create files and remove then, and I have the
>> automatic update.
>>
>> *******
>> PHASE 2
>> *******
>> Now I close my explorer window.
>> I open a new explorer windows.
>> I enter "\\10.0.0.61".
>> I click on "RootDisk".
>> Now, If I create or remove files, then notification does NOT works !
>> I have to press F5 key.

>
> Please file a bug at https://bugzilla.samba.org and upload
> your smb.conf and a debug level 10 log of smbd.
>
> Volker
>


--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
Reply With Quote
  #4 (permalink)  
Old 06-16-2008
Volker Lendecke
 
Posts: n/a
Default Re: [Samba] Notification changes sometimes works, sometimes no

On Mon, Jun 16, 2008 at 02:08:32PM +0200, Paolo Minazzi wrote:
> Hi Volker,
> thanks for your fast replay.
>
> I have the log. It is large.
> zipped is 160KB, unzipped more than 3MB


160kb okay to just send it to me :-)

> Where can I post it ? I don't think the mailing list is the right
> place .... it is too big !
>
> I already insert the bug in https://bugzilla.samba.org


Oh, which bug number?

Volker

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFIVlk0UzqjrWwMRl0RAsuCAKCeI72Taa52F8edqe1F/E8yr8PYTQCgh2Nz
QigdlefUTJHxjALGG/kjcww=
=NP4i
-----END PGP SIGNATURE-----

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 01:38 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0