RE: cifs causes BUG: soft lockup detected on CPU

Valentin Zaharov
2007-04-01T08:02:13Z

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?