public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: cifs causes BUG: soft lockup detected on CPU
@ 2007-04-01 19:38 Steve French (smfltc)
  0 siblings, 0 replies; 10+ messages in thread
From: Steve French (smfltc) @ 2007-04-01 19:38 UTC (permalink / raw)
  To: linux-kernel

"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 see no indication of lookup. You have two errors logged:
a) a missing entry in the kernel translation table for your default
codepage to UCS-16 (Unicode).
    "char2uni returned -22"  (EINVAL, presumably due to a missing character)
b) some access denied (-13) warnings on cifs_get_info_info (lookup).
This is probably harmless.

We could isolate the failing character by modifying the error log entry
but you may be able to guess at the problem by seeing which filenames
are requested with '?' in it ('?' is used when translation to Unicode
fails)

We could probably isolate the missing character by checking what
is logged to dmesag after this minor modification to the warning
message (we would also need to know which nls codepage
you are running).

diff --git a/fs/cifs/cifs_unicode.c b/fs/cifs/cifs_unicode.c
index d2a8b29..793c4b9 100644
--- a/fs/cifs/cifs_unicode.c
+++ b/fs/cifs/cifs_unicode.c
@@ -74,8 +74,8 @@ cifs_strtoUCS(__le16 * to, const char *f
         charlen = codepage->char2uni(from, len, &wchar_to[i]);
         if (charlen < 1) {
             cERROR(1,
-                   ("cifs_strtoUCS: char2uni returned %d",
-                charlen));
+                   ("strtoUCS: char2uni of %d returned %d",
+                (int)*from, charlen));
             /* A question mark */
             to[i] = cpu_to_le16(0x003f);
             charlen = 1;



 > Thanks in advance,
 >
 > Apr  1 04:23:49 UFR2 kernel:  CIFS VFS: cifs_strtoUCS: char2uni returned
 > -22
 > Apr  1 04:37:14 UFR2 last message repeated 30 times
 > Apr  1 04:38:53 UFR2 last message repeated 10 times
 > Apr  1 04:40:33 UFR2 last message repeated 10 times
 > Apr  1 04:45:31 UFR2 last message repeated 10 times
 > Apr  1 04:47:11 UFR2 last message repeated 10 times
 > Apr  1 05:00:32 UFR2 last message repeated 10 times
 > Apr  1 05:07:21 UFR2 last message repeated 10 times
 > Apr  1 05:21:50 UFR2 last message repeated 10 times
 > Apr  1 05:23:29 UFR2 last message repeated 10 times
 > Apr  1 05:29:07 UFR2 last message repeated 10 times
 > Apr  1 05:30:58 UFR2 last message repeated 10 times
 > Apr  1 05:30:58 UFR2 last message repeated 9 times
 > Apr  1 05:55:33 UFR2 kernel:  CIFS VFS: Error 0xfffffff3 on
 > cifs_get_inode_info in lookup of \nv322657
 > Apr  1 05:55:33 UFR2 kernel:  CIFS VFS: Error 0xfffffff3 on
 > cifs_get_inode_info in lookup of \nv322657
 > Apr  1 06:28:41 UFR2 kernel:  CIFS VFS: cifs_strtoUCS: char2uni returned
 > -22
 > Apr  1 07:24:36 UFR2 last message repeated 10 times
 > Apr  1 07:26:29 UFR2 last message repeated 10 times
 > Apr  1 07:28:17 UFR2 last message repeated 10 times
 > Apr  1 07:30:09 UFR2 last message repeated 10 times
 > Apr  1 07:35:45 UFR2 last message repeated 10 times
 > Apr  1 07:44:46 UFR2 last message repeated 10 times
 > Apr  1 08:23:10 UFR2 last message repeated 10 times
 > Apr  1 08:24:52 UFR2 last message repeated 10 times
 > Apr  1 10:04:37 UFR2 last message repeated 10 times
 > Apr  1 10:04:37 UFR2 last message repeated 8 times
 > Apr  1 10:36:17 UFR2 kernel:  CIFS VFS: Error 0xfffffff3 on
 > cifs_get_inode_info in lookup of \nv322657
 > Apr  1 10:36:18 UFR2 last message repeated 4 times
 > Apr  1 10:38:19 UFR2 kernel:  CIFS VFS: cifs_strtoUCS: char2uni returned
 > -22
 >
 >
 > Valentin Zaharov
 >
 > System Department
 >
 > NetVision Ltd.

^ permalink raw reply related	[flat|nested] 10+ messages in thread
* RE: cifs causes BUG: soft lockup detected on CPU
@ 2007-04-01  8:02 Valentin Zaharov
  0 siblings, 0 replies; 10+ messages in thread
From: Valentin Zaharov @ 2007-04-01  8:02 UTC (permalink / raw)
  To: Steven French, Andrew Morton; +Cc: linux-kernel

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.

Thanks in advance,

Apr  1 04:23:49 UFR2 kernel:  CIFS VFS: cifs_strtoUCS: char2uni returned
-22
Apr  1 04:37:14 UFR2 last message repeated 30 times
Apr  1 04:38:53 UFR2 last message repeated 10 times
Apr  1 04:40:33 UFR2 last message repeated 10 times
Apr  1 04:45:31 UFR2 last message repeated 10 times
Apr  1 04:47:11 UFR2 last message repeated 10 times
Apr  1 05:00:32 UFR2 last message repeated 10 times
Apr  1 05:07:21 UFR2 last message repeated 10 times
Apr  1 05:21:50 UFR2 last message repeated 10 times
Apr  1 05:23:29 UFR2 last message repeated 10 times
Apr  1 05:29:07 UFR2 last message repeated 10 times
Apr  1 05:30:58 UFR2 last message repeated 10 times
Apr  1 05:30:58 UFR2 last message repeated 9 times
Apr  1 05:55:33 UFR2 kernel:  CIFS VFS: Error 0xfffffff3 on
cifs_get_inode_info in lookup of \nv322657
Apr  1 05:55:33 UFR2 kernel:  CIFS VFS: Error 0xfffffff3 on
cifs_get_inode_info in lookup of \nv322657
Apr  1 06:28:41 UFR2 kernel:  CIFS VFS: cifs_strtoUCS: char2uni returned
-22
Apr  1 07:24:36 UFR2 last message repeated 10 times
Apr  1 07:26:29 UFR2 last message repeated 10 times
Apr  1 07:28:17 UFR2 last message repeated 10 times
Apr  1 07:30:09 UFR2 last message repeated 10 times
Apr  1 07:35:45 UFR2 last message repeated 10 times
Apr  1 07:44:46 UFR2 last message repeated 10 times
Apr  1 08:23:10 UFR2 last message repeated 10 times
Apr  1 08:24:52 UFR2 last message repeated 10 times
Apr  1 10:04:37 UFR2 last message repeated 10 times
Apr  1 10:04:37 UFR2 last message repeated 8 times
Apr  1 10:36:17 UFR2 kernel:  CIFS VFS: Error 0xfffffff3 on
cifs_get_inode_info in lookup of \nv322657
Apr  1 10:36:18 UFR2 last message repeated 4 times
Apr  1 10:38:19 UFR2 kernel:  CIFS VFS: cifs_strtoUCS: char2uni returned
-22 


Valentin Zaharov

System Department

NetVision Ltd.

_______________________________________________________________

Tel 04-8560350 Email  karlos_@netvision.net.il

NetVision Ltd. Omega Center, Matam Haifa 31905


-----Original Message-----
From: Steven French [mailto:sfrench@us.ibm.com] 
Sent: Thursday, March 29, 2007 5:06 PM
To: Andrew Morton
Cc: Valentin Zaharov; linux-kernel@vger.kernel.org
Subject: Re: cifs causes BUG: soft lockup detected on CPU

This should be fixed in 2.6.21 as of 2/26.  The fix was
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commi
t;h=3677db10a635a39f63ea509f8f0056d95589ff90


Steve French
Senior Software Engineer
Linux Technology Center - IBM Austin
phone: 512-838-2294
email: sfrench at-sign us dot ibm dot com

Andrew Morton <akpm@linux-foundation.org> wrote on 03/29/2007 03:54:57
AM:

> On Wed, 28 Mar 2007 20:35:55 +0200 "Valentin Zaharov" 
> <karlos_@netvision.net.il> wrote:
> 
> > Hi,
> > 
> > We have continous problem with server freezes. We are using cifs 
mounts
> > on apache powered web servers with content located on Win2k3 server.
> > Servers freeze from time to time, producing following error just 
before
> > freeze:
> > 
> > Mar 26 21:50:37 UFR2 kernel:  CIFS VFS: cifs_strtoUCS: char2uni 
returned
> > -22 Mar 26 21:51:45 UFR2 last message repeated 55 times Mar 26 
21:52:49
> > UFR2 last message repeated 30 times Mar 26 21:54:16 UFR2 last
message
> > repeated 10 times Mar 26 21:56:13 UFR2 last message repeated 20
times
> > Mar 26 21:58:34 UFR2 last message repeated 75 times Mar 26 21:59:43 
UFR2
> > last message repeated 30 times Mar 26 22:01:02 UFR2 last message
> > repeated 30 times Mar 26 22:02:04 UFR2 last message repeated 30
times
> > Mar 26 22:03:08 UFR2 last message repeated 50 times Mar 26 22:04:27 
UFR2
> > last message repeated 10 times Mar 26 22:05:59 UFR2 last message
> > repeated 20 times Mar 26 22:07:10 UFR2 last message repeated 20
times
> > Mar 26 22:29:00 UFR2 last message repeated 64 times Mar 27 00:47:40 
UFR2
> > last message repeated 15 times Mar 27 01:42:41 UFR2 last message
> > repeated 95 times Mar 27 02:15:57 UFR2 last message repeated 90
times
> > Mar 27 02:27:13 UFR2 last message repeated 45 times Mar 27 03:14:08 
UFR2
> > last message repeated 95 times Mar 27 04:26:10 UFR2 last message
> > repeated 2 times Mar 27 06:11:35 UFR2 last message repeated 45 times

Mar
> > 27 06:20:20 UFR2 last message repeated 15 times Mar 27 06:20:20 UFR2
> > last message repeated 12 times Mar 27 06:27:53 UFR2 kernel: BUG:
soft
> > lockup detected on CPU#3!
> > Mar 27 06:27:53 UFR2 kernel:  [<c0134b57>] softlockup_tick+0x9e/0xac

Mar
> > 27 06:27:53 UFR2 kernel:  [<c0121440>]
update_process_times+0x3b/0x5e
> > Mar 27 06:27:53 UFR2 kernel:  [<c010d885>]
> > smp_apic_timer_interrupt+0x6c/0x7a
> > Mar 27 06:27:53 UFR2 kernel:  [<c01032ec>]
> > apic_timer_interrupt+0x28/0x30 Mar 27 06:27:53 UFR2 kernel:
> > [<c0153d75>] generic_fillattr+0x75/0xa8 Mar 27 06:27:53 UFR2 kernel:
> > [<f8e78ed2>] cifs_getattr+0x1e/0x2b [cifs] Mar 27 06:27:53 UFR2 
kernel:
> > [<f8e78eb4>] cifs_getattr+0x0/0x2b [cifs] Mar 27 06:27:53 UFR2
kernel:
> > [<c0153dc9>] vfs_getattr+0x21/0x30 Mar 27 06:27:53 UFR2 kernel:
> > [<c0153e93>] vfs_fstat+0x22/0x31 Mar 27 06:27:53 UFR2 kernel:
> > [<c015443a>] sys_fstat64+0xf/0x23 Mar 27 06:27:53 UFR2 kernel:
> > [<c0150fc5>] sys_open+0x1a/0x1c Mar 27 06:27:53 UFR2 kernel:
> > [<c0102820>] sysenter_past_esp+0x5d/0x81 Mar 27 06:27:53 UFR2
kernel:
> > [<c0310033>] xdr_xcode_array2+0x307/0x506 Mar 27 06:27:53 UFR2
kernel:
> 
> You didn't tell us what kernel version you're running.
> 
> Hanging in generic_fillattr: i_size_read() got stuck.  This is because

CIFS
> doesn't correctly hold i_mutex across i_size_write().
> 
> Steve, where are we up to with the fixes for that?


^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: cifs causes BUG: soft lockup detected on CPU
@ 2007-03-29 15:42 Valentin Zaharov
  0 siblings, 0 replies; 10+ messages in thread
From: Valentin Zaharov @ 2007-03-29 15:42 UTC (permalink / raw)
  To: Steven French, Andrew Morton; +Cc: linux-kernel

Thanks a lot, I will try to update to latest kernel version and see if
it helps.


-----Original Message-----
From: Steven French [mailto:sfrench@us.ibm.com] 
Sent: Thursday, March 29, 2007 5:06 PM
To: Andrew Morton
Cc: Valentin Zaharov; linux-kernel@vger.kernel.org
Subject: Re: cifs causes BUG: soft lockup detected on CPU

This should be fixed in 2.6.21 as of 2/26.  The fix was
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commi
t;h=3677db10a635a39f63ea509f8f0056d95589ff90


Steve French
Senior Software Engineer
Linux Technology Center - IBM Austin
phone: 512-838-2294
email: sfrench at-sign us dot ibm dot com

Andrew Morton <akpm@linux-foundation.org> wrote on 03/29/2007 03:54:57
AM:

> On Wed, 28 Mar 2007 20:35:55 +0200 "Valentin Zaharov" 
> <karlos_@netvision.net.il> wrote:
> 
> > Hi,
> > 
> > We have continous problem with server freezes. We are using cifs 
mounts
> > on apache powered web servers with content located on Win2k3 server.
> > Servers freeze from time to time, producing following error just 
before
> > freeze:
> > 
> > Mar 26 21:50:37 UFR2 kernel:  CIFS VFS: cifs_strtoUCS: char2uni 
returned
> > -22 Mar 26 21:51:45 UFR2 last message repeated 55 times Mar 26 
21:52:49
> > UFR2 last message repeated 30 times Mar 26 21:54:16 UFR2 last
message
> > repeated 10 times Mar 26 21:56:13 UFR2 last message repeated 20
times
> > Mar 26 21:58:34 UFR2 last message repeated 75 times Mar 26 21:59:43 
UFR2
> > last message repeated 30 times Mar 26 22:01:02 UFR2 last message
> > repeated 30 times Mar 26 22:02:04 UFR2 last message repeated 30
times
> > Mar 26 22:03:08 UFR2 last message repeated 50 times Mar 26 22:04:27 
UFR2
> > last message repeated 10 times Mar 26 22:05:59 UFR2 last message
> > repeated 20 times Mar 26 22:07:10 UFR2 last message repeated 20
times
> > Mar 26 22:29:00 UFR2 last message repeated 64 times Mar 27 00:47:40 
UFR2
> > last message repeated 15 times Mar 27 01:42:41 UFR2 last message
> > repeated 95 times Mar 27 02:15:57 UFR2 last message repeated 90
times
> > Mar 27 02:27:13 UFR2 last message repeated 45 times Mar 27 03:14:08 
UFR2
> > last message repeated 95 times Mar 27 04:26:10 UFR2 last message
> > repeated 2 times Mar 27 06:11:35 UFR2 last message repeated 45 times

Mar
> > 27 06:20:20 UFR2 last message repeated 15 times Mar 27 06:20:20 UFR2
> > last message repeated 12 times Mar 27 06:27:53 UFR2 kernel: BUG:
soft
> > lockup detected on CPU#3!
> > Mar 27 06:27:53 UFR2 kernel:  [<c0134b57>] softlockup_tick+0x9e/0xac

Mar
> > 27 06:27:53 UFR2 kernel:  [<c0121440>]
update_process_times+0x3b/0x5e
> > Mar 27 06:27:53 UFR2 kernel:  [<c010d885>]
> > smp_apic_timer_interrupt+0x6c/0x7a
> > Mar 27 06:27:53 UFR2 kernel:  [<c01032ec>]
> > apic_timer_interrupt+0x28/0x30 Mar 27 06:27:53 UFR2 kernel:
> > [<c0153d75>] generic_fillattr+0x75/0xa8 Mar 27 06:27:53 UFR2 kernel:
> > [<f8e78ed2>] cifs_getattr+0x1e/0x2b [cifs] Mar 27 06:27:53 UFR2 
kernel:
> > [<f8e78eb4>] cifs_getattr+0x0/0x2b [cifs] Mar 27 06:27:53 UFR2
kernel:
> > [<c0153dc9>] vfs_getattr+0x21/0x30 Mar 27 06:27:53 UFR2 kernel:
> > [<c0153e93>] vfs_fstat+0x22/0x31 Mar 27 06:27:53 UFR2 kernel:
> > [<c015443a>] sys_fstat64+0xf/0x23 Mar 27 06:27:53 UFR2 kernel:
> > [<c0150fc5>] sys_open+0x1a/0x1c Mar 27 06:27:53 UFR2 kernel:
> > [<c0102820>] sysenter_past_esp+0x5d/0x81 Mar 27 06:27:53 UFR2
kernel:
> > [<c0310033>] xdr_xcode_array2+0x307/0x506 Mar 27 06:27:53 UFR2
kernel:
> 
> You didn't tell us what kernel version you're running.
> 
> Hanging in generic_fillattr: i_size_read() got stuck.  This is because

CIFS
> doesn't correctly hold i_mutex across i_size_write().
> 
> Steve, where are we up to with the fixes for that?


^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: cifs causes BUG: soft lockup detected on CPU
@ 2007-03-29  9:35 Valentin Zaharov
  0 siblings, 0 replies; 10+ messages in thread
From: Valentin Zaharov @ 2007-03-29  9:35 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Steven French

I get this error when try to apply the patch:

patch -p1 < cifs.patch
patching file include/linux/fs.h
patch: **** malformed patch at line 26: /*

Am I missing something or patch is bad?  

Thanks in advance

-----Original Message-----
From: Andrew Morton [mailto:akpm@linux-foundation.org] 
Sent: Thursday, March 29, 2007 11:22 AM
To: Valentin Zaharov
Cc: linux-kernel@vger.kernel.org; Steven French
Subject: Re: cifs causes BUG: soft lockup detected on CPU

On Thu, 29 Mar 2007 11:13:04 +0200 "Valentin Zaharov"
<karlos_@netvision.net.il> wrote:

> I've tried different kernel versions.
> Right now iam using generic 2.6.9-42 on one machine and 2.6.20.1 on 
> another one.
> I also tried various distributions ( Suse, CentOS, RHEL4 ) - not sure 
> it is relevant.
> Tried installing latest cifs modules, tried changing CIFSMaxBufSize to

> 15000,  without luck.
> Freezes are totally random - sometimes they happen 2-4 times a day, 
> sometimes it can take 2 weeks.

Yeah, it's a relatively recently known-bug, I'm afraid.

Probably this will keep you out of trouble until it gets fixed for real:

--- a/include/linux/fs.h~a
+++ a/include/linux/fs.h
@@ -627,25 +627,7 @@ extern void inode_double_unlock(struct i
  */
 static inline loff_t i_size_read(const struct inode *inode)  { -#if
BITS_PER_LONG==32 && defined(CONFIG_SMP)
-	loff_t i_size;
-	unsigned int seq;
-
-	do {
-		seq = read_seqcount_begin(&inode->i_size_seqcount);
-		i_size = inode->i_size;
-	} while (read_seqcount_retry(&inode->i_size_seqcount, seq));
-	return i_size;
-#elif BITS_PER_LONG==32 && defined(CONFIG_PREEMPT)
-	loff_t i_size;
-
-	preempt_disable();
-	i_size = inode->i_size;
-	preempt_enable();
-	return i_size;
-#else
 	return inode->i_size;
-#endif
 }
 
 /*
_


^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: cifs causes BUG: soft lockup detected on CPU
@ 2007-03-29  9:13 Valentin Zaharov
  2007-03-29  9:21 ` Andrew Morton
  0 siblings, 1 reply; 10+ messages in thread
From: Valentin Zaharov @ 2007-03-29  9:13 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel, Steven French

Thanks for your response!

I've tried different kernel versions.
Right now iam using generic 2.6.9-42 on one machine and 2.6.20.1 on
another one.
I also tried various distributions ( Suse, CentOS, RHEL4 ) - not sure it
is relevant.
Tried installing latest cifs modules, tried changing CIFSMaxBufSize to
15000,  without luck.
Freezes are totally random - sometimes they happen 2-4 times a day,
sometimes it can take 2 weeks.
Running cifs in debug mode gave following output right before crash (
should it come handy ):

Feb 16 22:12:16 UFR2 kernel:  fs/cifs/transport.c: Sending smb of length
178
Feb 16 22:12:16 UFR2 kernel:  fs/cifs/connect.c: rfc1002 length 0x6b)
Feb 16 22:12:16 UFR2 kernel:  fs/cifs/file.c: inode unchanged on server
Feb 16 22:12:16 UFR2 kernel:  fs/cifs/inode.c: Getting info on
\nv322600\www.newbyte.co.il\www\calculator.php
Feb 16 22:12:16 UFR2 kernel:  fs/cifs/inode.c: Old time 191743705
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/inode.c: New time 191743712
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/inode.c: File inode
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/file.c: Exclusive Oplock granted
on inode ec3d5830
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/file.c: CIFS VFS: leaving
cifs_open (xid = 199733193) rc = 0
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/file.c: CIFS VFS: in
cifs_user_read as Xid: 199733194 with uid: 501
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/cifssmb.c: Reading 8192 bytes on
fid 16426
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/transport.c: For smb_command 46
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/transport.c: Sending smb:
total_len 63
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/connect.c: rfc1002 length 0x203f)
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/file.c: CIFS VFS: leaving
cifs_user_read (xid = 199733194) rc = 0
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/file.c: CIFS VFS: in
cifs_user_read as Xid: 199733195 with uid: 501
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/cifssmb.c: Reading 8192 bytes on
fid 16426
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/transport.c: For smb_command 46
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/transport.c: Sending smb:
total_len 63
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/connect.c: rfc1002 length 0x203f)
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/file.c: CIFS VFS: leaving
cifs_user_read (xid = 199733195) rc = 0
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/file.c: CIFS VFS: in
cifs_user_read as Xid: 199733196 with uid: 501
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/cifssmb.c: Reading 8192 bytes on
fid 16426
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/transport.c: For smb_command 46
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/transport.c: Sending smb:
total_len 63
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/connect.c: rfc1002 length 0x42b)
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/cifssmb.c: Reading 7188 bytes on
fid 16426
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/transport.c: For smb_command 46
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/transport.c: Sending smb:
total_len 63
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/connect.c: rfc1002 length 0x3f)
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/misc.c: Null buffer passed
s/cifs/inode.c: CIFS VFS: in cifs_revalidate as Xid: 199733299 with uid:
501
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/inode.c: Revalidate:  inode
0xf5ecad2c count 1 dentry: 0xf5ec1f50 d_time 0 jiffies 191744725
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/inode.c: CIFS VFS: leaving
cifs_revalidate (xid = 199733299) rc = 0
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/inode.c: CIFS VFS: in
cifs_revalidate as Xid: 199733300 with uid: 501
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/inode.c: Revalidate: \nv9707 inode
0xee752060 count 1 dentry: 0xcb8f3604 d_time 191744714 jiffies 191744725
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/inode.c: CIFS VFS: leaving
cifs_revalidate (xid = 199733300) rc = 0
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/inode.c: CIFS VFS: in
cifs_revalidate as Xid: 199733301 with uid: 501
Feb 16 22:12:17 UFR2 kernel:  fs/cifs/inode.c: Revalidate: \nv9707 inode
0xee752060 count 1 dentry: 0xcb8f3604 d_time 191744714 jiffies 191744725

Let me know if you need more information

-----Original Message-----
From: Andrew Morton [mailto:akpm@linux-foundation.org] 
Sent: Thursday, March 29, 2007 10:55 AM
To: Valentin Zaharov
Cc: linux-kernel@vger.kernel.org; Steven French
Subject: Re: cifs causes BUG: soft lockup detected on CPU

On Wed, 28 Mar 2007 20:35:55 +0200 "Valentin Zaharov"
<karlos_@netvision.net.il> wrote:

> Hi,
>  
> We have continous problem with server freezes. We are using cifs 
> mounts on apache powered web servers with content located on Win2k3
server.
> Servers freeze from time to time, producing following error just 
> before
> freeze:
> 
> Mar 26 21:50:37 UFR2 kernel:  CIFS VFS: cifs_strtoUCS: char2uni 
> returned
> -22 Mar 26 21:51:45 UFR2 last message repeated 55 times Mar 26 
> 21:52:49
> UFR2 last message repeated 30 times Mar 26 21:54:16 UFR2 last message 
> repeated 10 times Mar 26 21:56:13 UFR2 last message repeated 20 times 
> Mar 26 21:58:34 UFR2 last message repeated 75 times Mar 26 21:59:43 
> UFR2 last message repeated 30 times Mar 26 22:01:02 UFR2 last message 
> repeated 30 times Mar 26 22:02:04 UFR2 last message repeated 30 times 
> Mar 26 22:03:08 UFR2 last message repeated 50 times Mar 26 22:04:27 
> UFR2 last message repeated 10 times Mar 26 22:05:59 UFR2 last message 
> repeated 20 times Mar 26 22:07:10 UFR2 last message repeated 20 times 
> Mar 26 22:29:00 UFR2 last message repeated 64 times Mar 27 00:47:40 
> UFR2 last message repeated 15 times Mar 27 01:42:41 UFR2 last message 
> repeated 95 times Mar 27 02:15:57 UFR2 last message repeated 90 times 
> Mar 27 02:27:13 UFR2 last message repeated 45 times Mar 27 03:14:08 
> UFR2 last message repeated 95 times Mar 27 04:26:10 UFR2 last message 
> repeated 2 times Mar 27 06:11:35 UFR2 last message repeated 45 times 
> Mar
> 27 06:20:20 UFR2 last message repeated 15 times Mar 27 06:20:20 UFR2 
> last message repeated 12 times Mar 27 06:27:53 UFR2 kernel: BUG: soft 
> lockup detected on CPU#3!
> Mar 27 06:27:53 UFR2 kernel:  [<c0134b57>] softlockup_tick+0x9e/0xac 
> Mar
> 27 06:27:53 UFR2 kernel:  [<c0121440>] update_process_times+0x3b/0x5e 
> Mar 27 06:27:53 UFR2 kernel:  [<c010d885>] 
> smp_apic_timer_interrupt+0x6c/0x7a
> Mar 27 06:27:53 UFR2 kernel:  [<c01032ec>] 
> apic_timer_interrupt+0x28/0x30 Mar 27 06:27:53 UFR2 kernel:
> [<c0153d75>] generic_fillattr+0x75/0xa8 Mar 27 06:27:53 UFR2 kernel:
> [<f8e78ed2>] cifs_getattr+0x1e/0x2b [cifs] Mar 27 06:27:53 UFR2
kernel:
> [<f8e78eb4>] cifs_getattr+0x0/0x2b [cifs] Mar 27 06:27:53 UFR2 kernel:
> [<c0153dc9>] vfs_getattr+0x21/0x30 Mar 27 06:27:53 UFR2 kernel:
> [<c0153e93>] vfs_fstat+0x22/0x31 Mar 27 06:27:53 UFR2 kernel:
> [<c015443a>] sys_fstat64+0xf/0x23 Mar 27 06:27:53 UFR2 kernel:
> [<c0150fc5>] sys_open+0x1a/0x1c Mar 27 06:27:53 UFR2 kernel:
> [<c0102820>] sysenter_past_esp+0x5d/0x81 Mar 27 06:27:53 UFR2 kernel:
> [<c0310033>] xdr_xcode_array2+0x307/0x506 Mar 27 06:27:53 UFR2 kernel:

You didn't tell us what kernel version you're running.

Hanging in generic_fillattr: i_size_read() got stuck.  This is because
CIFS doesn't correctly hold i_mutex across i_size_write().

Steve, where are we up to with the fixes for that?

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: cifs causes BUG: soft lockup detected on CPU
@ 2007-03-29  8:32 Valentin Zaharov
  0 siblings, 0 replies; 10+ messages in thread
From: Valentin Zaharov @ 2007-03-29  8:32 UTC (permalink / raw)
  To: linux-kernel

 
Anyone? I am new here, excuse me if format is wrong. Please assist with
this problem.

-----Original Message-----
From: linux-kernel-owner@vger.kernel.org
[mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of Valentin
Zaharov
Sent: Wednesday, March 28, 2007 8:36 PM
To: linux-kernel@vger.kernel.org
Subject: cifs causes BUG: soft lockup detected on CPU

Hi,
 
We have continous problem with server freezes. We are using cifs mounts
on apache powered web servers with content located on Win2k3 server.
Servers freeze from time to time, producing following error just before
freeze:

Mar 26 21:50:37 UFR2 kernel:  CIFS VFS: cifs_strtoUCS: char2uni returned
-22 Mar 26 21:51:45 UFR2 last message repeated 55 times Mar 26 21:52:49
UFR2 last message repeated 30 times Mar 26 21:54:16 UFR2 last message
repeated 10 times Mar 26 21:56:13 UFR2 last message repeated 20 times
Mar 26 21:58:34 UFR2 last message repeated 75 times Mar 26 21:59:43 UFR2
last message repeated 30 times Mar 26 22:01:02 UFR2 last message
repeated 30 times Mar 26 22:02:04 UFR2 last message repeated 30 times
Mar 26 22:03:08 UFR2 last message repeated 50 times Mar 26 22:04:27 UFR2
last message repeated 10 times Mar 26 22:05:59 UFR2 last message
repeated 20 times Mar 26 22:07:10 UFR2 last message repeated 20 times
Mar 26 22:29:00 UFR2 last message repeated 64 times Mar 27 00:47:40 UFR2
last message repeated 15 times Mar 27 01:42:41 UFR2 last message
repeated 95 times Mar 27 02:15:57 UFR2 last message repeated 90 times
Mar 27 02:27:13 UFR2 last message repeated 45 times Mar 27 03:14:08 UFR2
last message repeated 95 times Mar 27 04:26:10 UFR2 last message
repeated 2 times Mar 27 06:11:35 UFR2 last message repeated 45 times Mar
27 06:20:20 UFR2 last message repeated 15 times Mar 27 06:20:20 UFR2
last message repeated 12 times Mar 27 06:27:53 UFR2 kernel: BUG: soft
lockup detected on CPU#3!
Mar 27 06:27:53 UFR2 kernel:  [<c0134b57>] softlockup_tick+0x9e/0xac Mar
27 06:27:53 UFR2 kernel:  [<c0121440>] update_process_times+0x3b/0x5e
Mar 27 06:27:53 UFR2 kernel:  [<c010d885>]
smp_apic_timer_interrupt+0x6c/0x7a
Mar 27 06:27:53 UFR2 kernel:  [<c01032ec>]
apic_timer_interrupt+0x28/0x30 Mar 27 06:27:53 UFR2 kernel:
[<c0153d75>] generic_fillattr+0x75/0xa8 Mar 27 06:27:53 UFR2 kernel:
[<f8e78ed2>] cifs_getattr+0x1e/0x2b [cifs] Mar 27 06:27:53 UFR2 kernel:
[<f8e78eb4>] cifs_getattr+0x0/0x2b [cifs] Mar 27 06:27:53 UFR2 kernel:
[<c0153dc9>] vfs_getattr+0x21/0x30 Mar 27 06:27:53 UFR2 kernel:
[<c0153e93>] vfs_fstat+0x22/0x31 Mar 27 06:27:53 UFR2 kernel:
[<c015443a>] sys_fstat64+0xf/0x23 Mar 27 06:27:53 UFR2 kernel:
[<c0150fc5>] sys_open+0x1a/0x1c Mar 27 06:27:53 UFR2 kernel:
[<c0102820>] sysenter_past_esp+0x5d/0x81 Mar 27 06:27:53 UFR2 kernel:
[<c0310033>] xdr_xcode_array2+0x307/0x506 Mar 27 06:27:53 UFR2 kernel:
======================= Mar 27 06:27:54 UFR2 kernel: BUG: soft lockup
detected on CPU#0!
Mar 27 06:27:54 UFR2 kernel:  [<c0134b57>] softlockup_tick+0x9e/0xac Mar
27 06:27:54 UFR2 kernel:  [<c0121440>] update_process_times+0x3b/0x5e
Mar 27 06:27:54 UFR2 kernel:  [<c010d885>]
smp_apic_timer_interrupt+0x6c/0x7a
Mar 27 06:27:54 UFR2 kernel:  [<c01032ec>]
apic_timer_interrupt+0x28/0x30 Mar 27 06:27:54 UFR2 kernel:
[<c0153d69>] generic_fillattr+0x69/0xa8 Mar 27 06:27:54 UFR2 kernel:
[<f8e78ed2>] cifs_getattr+0x1e/0x2b [cifs] Mar 27 06:27:54 UFR2 kernel:
[<f8e78eb4>] cifs_getattr+0x0/0x2b [cifs] Mar 27 06:27:54 UFR2 kernel:
[<c0153dc9>] vfs_getattr+0x21/0x30 Mar 27 06:27:54 UFR2 kernel:
[<c0153e93>] vfs_fstat+0x22/0x31 Mar 27 06:27:54 UFR2 kernel:
[<c015443a>] sys_fstat64+0xf/0x23 Mar 27 06:27:54 UFR2 kernel:
[<c0150fc5>] sys_open+0x1a/0x1c Mar 27 06:27:54 UFR2 kernel:
[<c0102820>] sysenter_past_esp+0x5d/0x81 Mar 27 06:27:54 UFR2 kernel:
=======================

/etc/fstab
\\filer\sites /mnt/filer cifs
credentials=/root/domain.pass,domain=WEBDOM,port=139,rw,directio,nomapch
ars,noserverino,nobrl,ui
d=apache,gid=apache,iocharset=utf8,dir_mode=0755,file_mode=0755 0 0

Please advise,

Valentin Zaharov

System Department

NetVision Ltd.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel"
in the body of a message to majordomo@vger.kernel.org More majordomo
info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 10+ messages in thread
* cifs causes BUG: soft lockup detected on CPU
@ 2007-03-28 18:35 Valentin Zaharov
  2007-03-29  8:54 ` Andrew Morton
  0 siblings, 1 reply; 10+ messages in thread
From: Valentin Zaharov @ 2007-03-28 18:35 UTC (permalink / raw)
  To: linux-kernel

Hi,
 
We have continous problem with server freezes. We are using cifs mounts
on apache powered web servers with content located on Win2k3 server.
Servers freeze from time to time, producing following error just before
freeze:

Mar 26 21:50:37 UFR2 kernel:  CIFS VFS: cifs_strtoUCS: char2uni returned
-22 Mar 26 21:51:45 UFR2 last message repeated 55 times Mar 26 21:52:49
UFR2 last message repeated 30 times Mar 26 21:54:16 UFR2 last message
repeated 10 times Mar 26 21:56:13 UFR2 last message repeated 20 times
Mar 26 21:58:34 UFR2 last message repeated 75 times Mar 26 21:59:43 UFR2
last message repeated 30 times Mar 26 22:01:02 UFR2 last message
repeated 30 times Mar 26 22:02:04 UFR2 last message repeated 30 times
Mar 26 22:03:08 UFR2 last message repeated 50 times Mar 26 22:04:27 UFR2
last message repeated 10 times Mar 26 22:05:59 UFR2 last message
repeated 20 times Mar 26 22:07:10 UFR2 last message repeated 20 times
Mar 26 22:29:00 UFR2 last message repeated 64 times Mar 27 00:47:40 UFR2
last message repeated 15 times Mar 27 01:42:41 UFR2 last message
repeated 95 times Mar 27 02:15:57 UFR2 last message repeated 90 times
Mar 27 02:27:13 UFR2 last message repeated 45 times Mar 27 03:14:08 UFR2
last message repeated 95 times Mar 27 04:26:10 UFR2 last message
repeated 2 times Mar 27 06:11:35 UFR2 last message repeated 45 times Mar
27 06:20:20 UFR2 last message repeated 15 times Mar 27 06:20:20 UFR2
last message repeated 12 times Mar 27 06:27:53 UFR2 kernel: BUG: soft
lockup detected on CPU#3!
Mar 27 06:27:53 UFR2 kernel:  [<c0134b57>] softlockup_tick+0x9e/0xac Mar
27 06:27:53 UFR2 kernel:  [<c0121440>] update_process_times+0x3b/0x5e
Mar 27 06:27:53 UFR2 kernel:  [<c010d885>]
smp_apic_timer_interrupt+0x6c/0x7a
Mar 27 06:27:53 UFR2 kernel:  [<c01032ec>]
apic_timer_interrupt+0x28/0x30 Mar 27 06:27:53 UFR2 kernel:
[<c0153d75>] generic_fillattr+0x75/0xa8 Mar 27 06:27:53 UFR2 kernel:
[<f8e78ed2>] cifs_getattr+0x1e/0x2b [cifs] Mar 27 06:27:53 UFR2 kernel:
[<f8e78eb4>] cifs_getattr+0x0/0x2b [cifs] Mar 27 06:27:53 UFR2 kernel:
[<c0153dc9>] vfs_getattr+0x21/0x30 Mar 27 06:27:53 UFR2 kernel:
[<c0153e93>] vfs_fstat+0x22/0x31 Mar 27 06:27:53 UFR2 kernel:
[<c015443a>] sys_fstat64+0xf/0x23 Mar 27 06:27:53 UFR2 kernel:
[<c0150fc5>] sys_open+0x1a/0x1c Mar 27 06:27:53 UFR2 kernel:
[<c0102820>] sysenter_past_esp+0x5d/0x81 Mar 27 06:27:53 UFR2 kernel:
[<c0310033>] xdr_xcode_array2+0x307/0x506 Mar 27 06:27:53 UFR2 kernel:
======================= Mar 27 06:27:54 UFR2 kernel: BUG: soft lockup
detected on CPU#0!
Mar 27 06:27:54 UFR2 kernel:  [<c0134b57>] softlockup_tick+0x9e/0xac Mar
27 06:27:54 UFR2 kernel:  [<c0121440>] update_process_times+0x3b/0x5e
Mar 27 06:27:54 UFR2 kernel:  [<c010d885>]
smp_apic_timer_interrupt+0x6c/0x7a
Mar 27 06:27:54 UFR2 kernel:  [<c01032ec>]
apic_timer_interrupt+0x28/0x30 Mar 27 06:27:54 UFR2 kernel:
[<c0153d69>] generic_fillattr+0x69/0xa8 Mar 27 06:27:54 UFR2 kernel:
[<f8e78ed2>] cifs_getattr+0x1e/0x2b [cifs] Mar 27 06:27:54 UFR2 kernel:
[<f8e78eb4>] cifs_getattr+0x0/0x2b [cifs] Mar 27 06:27:54 UFR2 kernel:
[<c0153dc9>] vfs_getattr+0x21/0x30 Mar 27 06:27:54 UFR2 kernel:
[<c0153e93>] vfs_fstat+0x22/0x31 Mar 27 06:27:54 UFR2 kernel:
[<c015443a>] sys_fstat64+0xf/0x23 Mar 27 06:27:54 UFR2 kernel:
[<c0150fc5>] sys_open+0x1a/0x1c Mar 27 06:27:54 UFR2 kernel:
[<c0102820>] sysenter_past_esp+0x5d/0x81 Mar 27 06:27:54 UFR2 kernel:
=======================

/etc/fstab
\\filer\sites /mnt/filer cifs
credentials=/root/domain.pass,domain=WEBDOM,port=139,rw,directio,nomapch
ars,noserverino,nobrl,ui
d=apache,gid=apache,iocharset=utf8,dir_mode=0755,file_mode=0755 0 0

Please advise,

Valentin Zaharov

System Department

NetVision Ltd.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-04-01 19:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-01 19:38 cifs causes BUG: soft lockup detected on CPU Steve French (smfltc)
  -- strict thread matches above, loose matches on Subject: below --
2007-04-01  8:02 Valentin Zaharov
2007-03-29 15:42 Valentin Zaharov
2007-03-29  9:35 Valentin Zaharov
2007-03-29  9:13 Valentin Zaharov
2007-03-29  9:21 ` Andrew Morton
2007-03-29  8:32 Valentin Zaharov
2007-03-28 18:35 Valentin Zaharov
2007-03-29  8:54 ` Andrew Morton
2007-03-29 15:06   ` Steven French

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox