Re: [linux-cifs-client] Re: BUG: scheduling while atomic - linux 2.6.22

2007-08-29 Thread Steve French (smfltc)
Dave Kleikamp wrote: On Tue, 2007-08-28 at 07:11 +0800, Michael Deegan wrote: Hi, On Tue Aug 7 16:00:19 GMT 2007, Martin Koegler wrote: A vanilla 2.6.22 kernel (SMP PREEMPT i686) produced the following messages, while working with a CIFS mount point: Aug 27 22:33:08 wibble

Re: [linux-cifs-client] Re: BUG: scheduling while atomic - linux 2.6.22

2007-08-29 Thread Steve French (smfltc)
Dave Kleikamp wrote: On Tue, 2007-08-28 at 07:11 +0800, Michael Deegan wrote: Hi, On Tue Aug 7 16:00:19 GMT 2007, Martin Koegler wrote: A vanilla 2.6.22 kernel (SMP PREEMPT i686) produced the following messages, while working with a CIFS mount point: Aug 27 22:33:08 wibble

Re: [linux-cifs-client] Re: [PATCH] CIFS: make sec=none force an anonymous mount

2007-05-05 Thread Steve French (smfltc)
Shirish S Pargaonkar wrote: When a session setup request is sent as an anonymous user (NUL user), should/could there be password associated with that? Right now, sec=none option, will prompt you for a password. And when we add code to retry session setup as anonymous user if the first

Re: [linux-cifs-client] Re: [PATCH] CIFS: make sec=none force an anonymous mount

2007-05-05 Thread Steve French (smfltc)
Shirish S Pargaonkar wrote: When a session setup request is sent as an anonymous user (NUL user), should/could there be password associated with that? Right now, sec=none option, will prompt you for a password. And when we add code to retry session setup as anonymous user if the first

Re: [PATCH] CIFS: make sec=none force an anonymous mount

2007-05-04 Thread Steve French (smfltc)
Jeff Layton wrote: On Fri, May 04, 2007 at 10:26:29AM -0500, Steve French (smfltc) wrote: Jeff Layton wrote: We had a customer report that attempting to make CIFS mount with a null username (i.e. doing an anonymous mount) doesn't work. Looking through the code, it looks like CIFS

Re: [PATCH] CIFS: make sec=none force an anonymous mount

2007-05-04 Thread Steve French (smfltc)
Jeff Layton wrote: We had a customer report that attempting to make CIFS mount with a null username (i.e. doing an anonymous mount) doesn't work. Looking through the code, it looks like CIFS expects a NULL username from userspace in order to trigger an anonymous mount. The mount.cifs code

Re: [PATCH] CIFS: make sec=none force an anonymous mount

2007-05-04 Thread Steve French (smfltc)
Jeff Layton wrote: We had a customer report that attempting to make CIFS mount with a null username (i.e. doing an anonymous mount) doesn't work. Looking through the code, it looks like CIFS expects a NULL username from userspace in order to trigger an anonymous mount. The mount.cifs code

Re: [PATCH] CIFS: make sec=none force an anonymous mount

2007-05-04 Thread Steve French (smfltc)
Jeff Layton wrote: On Fri, May 04, 2007 at 10:26:29AM -0500, Steve French (smfltc) wrote: Jeff Layton wrote: We had a customer report that attempting to make CIFS mount with a null username (i.e. doing an anonymous mount) doesn't work. Looking through the code, it looks like CIFS

Re: linux-cifs-client Digest, Vol 42, Issue 1

2007-05-01 Thread Steve French (smfltc)
what also puzzles me... almost every filesystem that's not at revision 1 anymore (ext2/3/4, reiser4, smb2) does not have the usually omnipresent "fs" suffix anymore (cf. reiserfs, smbfs). Maybe it's time to drop all the "fs" suffixes? :) For the case of cifs (and nfs and afs) the "fs" is part

Re: linux-cifs-client Digest, Vol 42, Issue 1

2007-05-01 Thread Steve French (smfltc)
what also puzzles me... almost every filesystem that's not at revision 1 anymore (ext2/3/4, reiser4, smb2) does not have the usually omnipresent fs suffix anymore (cf. reiserfs, smbfs). Maybe it's time to drop all the fs suffixes? :) For the case of cifs (and nfs and afs) the fs is part of

Re: Samba, inotify on a Windows share

2007-04-07 Thread Steve French (smfltc)
Here's what I try to do. I want to monitor from a Linux Gentoo machine with inotify enabled on a directory for new files hosted by a windows share(Windows server, not Samba). Samba now uses inotify if available on the server side to support the Directory Change Notification requested by

Re: Samba, inotify on a Windows share

2007-04-07 Thread Steve French (smfltc)
Here's what I try to do. I want to monitor from a Linux Gentoo machine with inotify enabled on a directory for new files hosted by a windows share(Windows server, not Samba). Samba now uses inotify if available on the server side to support the Directory Change Notification requested by

Re: cifs and kthread_run / kernel_thread

2007-04-02 Thread Steve French (smfltc)
Wilhelm Meier wrote: m Montag, 2. April 2007 schrieb Wilhelm Meier: It seems to me that I rewrote cifs_demultiplex_thread to use kthread_run in DFS patch. o.k., I found the patch on the list. Will do some testing with it. o.k., the patch seems to be fine for linux-vserver.

Re: [linux-cifs-client] Re: cifs and kthread_run / kernel_thread

2007-04-02 Thread Steve French (smfltc)
Q (Igor Mammedov) wrote: Steve French (smfltc) wrote: No - IIRC the original patch (for the switch of cifs from kernel_thread to kthread) had a minor implementation problem in handling the cifs_demultiplex thread, so this one small area was left with the old style. iii) Is it difficult

Re: [linux-cifs-client] Re: cifs and kthread_run / kernel_thread

2007-04-02 Thread Steve French (smfltc)
Q (Igor Mammedov) wrote: Steve French (smfltc) wrote: No - IIRC the original patch (for the switch of cifs from kernel_thread to kthread) had a minor implementation problem in handling the cifs_demultiplex thread, so this one small area was left with the old style. iii) Is it difficult

Re: cifs and kthread_run / kernel_thread

2007-04-02 Thread Steve French (smfltc)
Wilhelm Meier wrote: m Montag, 2. April 2007 schrieb Wilhelm Meier: It seems to me that I rewrote cifs_demultiplex_thread to use kthread_run in DFS patch. o.k., I found the patch on the list. Will do some testing with it. o.k., the patch seems to be fine for linux-vserver.

RE: cifs causes BUG: soft lockup detected on CPU

2007-04-01 Thread Steve French (smfltc)
"Valentin Zaharov" wrote on 04/01/2007 03:02:07 AM: > Hi again, > > After applying changes manually to 2.6.20.4 according to the link that > Steven sent I still get those errors (attached below) but no crash so > far. > I am wondering if its ok or having errors still will cause freezes. It is ok

Re: cifs and kthread_run / kernel_thread

2007-04-01 Thread Steve French (smfltc)
Hi all, I would like to use cifs inside linux-vserver guests. Discussion this with the vserver people, we found that cifs is using the new kthread_run and the old kernel_thread interface for starting kernel-threads. The old-style interface renders cifs unusable inside a vserver-guest :-(

Re: cifs and kthread_run / kernel_thread

2007-04-01 Thread Steve French (smfltc)
Hi all, I would like to use cifs inside linux-vserver guests. Discussion this with the vserver people, we found that cifs is using the new kthread_run and the old kernel_thread interface for starting kernel-threads. The old-style interface renders cifs unusable inside a vserver-guest :-(

RE: cifs causes BUG: soft lockup detected on CPU

2007-04-01 Thread Steve French (smfltc)
Valentin Zaharov wrote on 04/01/2007 03:02:07 AM: Hi again, After applying changes manually to 2.6.20.4 according to the link that Steven sent I still get those errors (attached below) but no crash so far. I am wondering if its ok or having errors still will cause freezes. It is ok and I

Re: Can't mount NAS device

2007-03-29 Thread Steve French (smfltc)
strace did show something useful mount(...) = -1 ENOTDIR (Not a directory) and then that led me to spotting the obvious bug which is on your NAS device (server). The server is returning a malformed (illegal) response. The Linux cifs client was getting a 22 byte response to a level

Re: Can't mount NAS device

2007-03-29 Thread Steve French (smfltc)
strace did show something useful mount(...) = -1 ENOTDIR (Not a directory) and then that led me to spotting the obvious bug which is on your NAS device (server). The server is returning a malformed (illegal) response. The Linux cifs client was getting a 22 byte response to a level

Re: [Fwd: [PATCH] consolidate generic_writepages and mpage_writepages]

2007-02-16 Thread Steve French (smfltc)
From: Miklos Szeredi <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] consolidate generic_writepages and mpage_writepages Date: Fri, 16 Feb 2007 17:23:25 +0100 From: Miklos Szeredi <[EMAIL PROTECTED]> Clean up massive

Re: [Fwd: [PATCH] consolidate generic_writepages and mpage_writepages]

2007-02-16 Thread Steve French (smfltc)
From: Miklos Szeredi [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] consolidate generic_writepages and mpage_writepages Date: Fri, 16 Feb 2007 17:23:25 +0100 From: Miklos Szeredi [EMAIL PROTECTED] Clean up massive

Re: How many people are using 2.6.16?

2007-01-31 Thread Steve French (smfltc)
David Chinner wrote: On Wed, Jan 31, 2007 at 08:02:37AM +0100, Adrian Bunk wrote: On Tue, Jan 30, 2007 at 06:36:48PM -0800, Linus Torvalds wrote: The issue was somewhat confused by people certainly *reporting* it for older kernels. Also, as part of the dirty bit cleanups and sanity

Re: How many people are using 2.6.16?

2007-01-31 Thread Steve French (smfltc)
David Chinner wrote: On Wed, Jan 31, 2007 at 08:02:37AM +0100, Adrian Bunk wrote: On Tue, Jan 30, 2007 at 06:36:48PM -0800, Linus Torvalds wrote: The issue was somewhat confused by people certainly *reporting* it for older kernels. Also, as part of the dirty bit cleanups and sanity