LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* CIFS related seg fault (v2.6.37)
@ 2011-01-20  1:35 Peter Teoh
  2011-01-20  4:45 ` Suresh Jayaraman
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Teoh @ 2011-01-20  1:35 UTC (permalink / raw)
  To: LKML

Filed a bug today:

https://bugzilla.kernel.org/show_bug.cgi?id=27082

Version of kernel (linus git tree synced):   v2.6.37-3737-g0c21e3a

Output of dmesg summarized here:

[ 7273.369563] ------------[ cut here ]------------
[ 7273.369575] kernel BUG at fs/dcache.c:1358!
[ 7273.369582] invalid opcode: 0000 [#1] SMP
[ 7273.369590] last sysfs file:
/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/ieee80211/phy0/rfkill0/state
[ 7273.369598] Modules linked in: nls_cp437 cifs vga16fb vgastate
isofs udf crc_itu_t usbhid i915 binfmt_misc drm_kms_helper drm
i2c_algo_bit ppdev bridge stp bnep kvm_intel kvm xfs exportfs lp
parport snd_hda_codec_conexant arc4 snd_hda_intel snd_hda_codec iwlagn
snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy pcmcia iwlcore
snd_seq_oss snd_seq_midi video thinkpad_acpi mac80211 snd_rawmidi
tpm_tis yenta_socket pcmcia_rsrc pcmcia_core tpm tpm_bios nvram
psmouse snd_seq_midi_event intel_agp intel_gtt output serio_raw
snd_seq snd_timer snd_seq_device cfg80211 agpgart iTCO_wdt
iTCO_vendor_support snd pcspkr soundcore snd_page_alloc reiserfs
e1000e
[ 7273.369732]
[ 7273.369740] Pid: 12963, comm: unzip Not tainted 2.6.37+ #4 7440A82/7440A82
[ 7273.369748] EIP: 0060:[<c021e902>] EFLAGS: 00210286 CPU: 1
[ 7273.369763] EIP is at d_set_d_op+0x52/0x60
[ 7273.369769] EAX: f4ada400 EBX: 00000000 ECX: fcdfc5c0 EDX: fcdfc5c0
[ 7273.369775] ESI: cff344ac EDI: f2263a00 EBP: f10c7dbc ESP: f10c7dbc
[ 7273.369782]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[ 7273.369790] Process unzip (pid: 12963, ti=f10c6000 task=ce833f20
task.ti=f10c6000)
[ 7273.369795] Stack:
[ 7273.369799]  f10c7e64 fcde60ed f4540a00 00000109 f10c7e56 f10c7e56
f10c7e50 f22a9380
[ 7273.369816]  fce2ffe0 00000000 f10c7e56 000081a4 f4ada400 e4f1a62c
00000109 c0000000
[ 7273.369833]  f4540e00 f21ca000 f2263a00 f450a480 f22a9380 00000005
00000080 e4f1a62c
[ 7273.369849] Call Trace:
[ 7273.369870]  [<fcde60ed>] cifs_create+0x59d/0x800 [cifs]
[ 7273.369882]  [<c0216165>] ? generic_permission+0x25/0xc0
[ 7273.369895]  [<fcdd41b0>] ? cifs_permission+0x0/0x70 [cifs]
[ 7273.369907]  [<fcdd41f6>] ? cifs_permission+0x46/0x70 [cifs]
[ 7273.369919]  [<c0301940>] ? security_inode_permission+0x20/0x30
[ 7273.369929]  [<c0217202>] vfs_create+0x92/0xb0
[ 7273.369937]  [<c0218710>] do_last+0x240/0x2c0
[ 7273.369946]  [<c021a7a6>] do_filp_open+0x366/0x670
[ 7273.369959]  [<c020b14d>] do_sys_open+0x6d/0x110
[ 7273.369968]  [<c020b25e>] sys_open+0x2e/0x40
[ 7273.369976]  [<c010301c>] sysenter_do_call+0x12/0x28
[ 7273.369981] Code: 10 00 00 8b 4a 08 85 c9 74 06 81 08 00 20 00 00
8b 0a 85 c9 74 06 81 08 00 40 00 00 8b 52 0c 85 d2 74 06 81 08 00 80
00 00 5d c3 <0f> 0b eb fe 66 90 0f 0b eb fe 8d 74 26 00 55 89 e5 53 3e
8d 74
[ 7273.370075] EIP: [<c021e902>] d_set_d_op+0x52/0x60 SS:ESP 0068:f10c7dbc

Further info is in the bugzilla site.

Thanks.

--
Regards,
Peter Teoh

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

* Re: CIFS related seg fault (v2.6.37)
  2011-01-20  1:35 CIFS related seg fault (v2.6.37) Peter Teoh
@ 2011-01-20  4:45 ` Suresh Jayaraman
  2011-01-20  4:55   ` Steve French
  0 siblings, 1 reply; 6+ messages in thread
From: Suresh Jayaraman @ 2011-01-20  4:45 UTC (permalink / raw)
  To: Peter Teoh; +Cc: LKML, linux-cifs, Jeff Layton

(Cc linux-cifs@vger.kernel.org)

On 01/20/2011 07:05 AM, Peter Teoh wrote:
> Filed a bug today:
> 
> https://bugzilla.kernel.org/show_bug.cgi?id=27082
> 
> Version of kernel (linus git tree synced):   v2.6.37-3737-g0c21e3a
> 
> Output of dmesg summarized here:
> 
> [ 7273.369563] ------------[ cut here ]------------
> [ 7273.369575] kernel BUG at fs/dcache.c:1358!

Looks like the issue is already fixed in VFS (see discussion):
	http://thread.gmane.org/gmane.linux.kernel.cifs/2284

Jeff: Looks like the issue is reproducible with 2.6.37 too.. Any idea
which is the commit that fixes this problem and whether it has been
marked for -stable?

> [ 7273.369582] invalid opcode: 0000 [#1] SMP
> [ 7273.369590] last sysfs file:
> /sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0/ieee80211/phy0/rfkill0/state
> [ 7273.369598] Modules linked in: nls_cp437 cifs vga16fb vgastate
> isofs udf crc_itu_t usbhid i915 binfmt_misc drm_kms_helper drm
> i2c_algo_bit ppdev bridge stp bnep kvm_intel kvm xfs exportfs lp
> parport snd_hda_codec_conexant arc4 snd_hda_intel snd_hda_codec iwlagn
> snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy pcmcia iwlcore
> snd_seq_oss snd_seq_midi video thinkpad_acpi mac80211 snd_rawmidi
> tpm_tis yenta_socket pcmcia_rsrc pcmcia_core tpm tpm_bios nvram
> psmouse snd_seq_midi_event intel_agp intel_gtt output serio_raw
> snd_seq snd_timer snd_seq_device cfg80211 agpgart iTCO_wdt
> iTCO_vendor_support snd pcspkr soundcore snd_page_alloc reiserfs
> e1000e
> [ 7273.369732]
> [ 7273.369740] Pid: 12963, comm: unzip Not tainted 2.6.37+ #4 7440A82/7440A82
> [ 7273.369748] EIP: 0060:[<c021e902>] EFLAGS: 00210286 CPU: 1
> [ 7273.369763] EIP is at d_set_d_op+0x52/0x60
> [ 7273.369769] EAX: f4ada400 EBX: 00000000 ECX: fcdfc5c0 EDX: fcdfc5c0
> [ 7273.369775] ESI: cff344ac EDI: f2263a00 EBP: f10c7dbc ESP: f10c7dbc
> [ 7273.369782]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> [ 7273.369790] Process unzip (pid: 12963, ti=f10c6000 task=ce833f20
> task.ti=f10c6000)
> [ 7273.369795] Stack:
> [ 7273.369799]  f10c7e64 fcde60ed f4540a00 00000109 f10c7e56 f10c7e56
> f10c7e50 f22a9380
> [ 7273.369816]  fce2ffe0 00000000 f10c7e56 000081a4 f4ada400 e4f1a62c
> 00000109 c0000000
> [ 7273.369833]  f4540e00 f21ca000 f2263a00 f450a480 f22a9380 00000005
> 00000080 e4f1a62c
> [ 7273.369849] Call Trace:
> [ 7273.369870]  [<fcde60ed>] cifs_create+0x59d/0x800 [cifs]
> [ 7273.369882]  [<c0216165>] ? generic_permission+0x25/0xc0
> [ 7273.369895]  [<fcdd41b0>] ? cifs_permission+0x0/0x70 [cifs]
> [ 7273.369907]  [<fcdd41f6>] ? cifs_permission+0x46/0x70 [cifs]
> [ 7273.369919]  [<c0301940>] ? security_inode_permission+0x20/0x30
> [ 7273.369929]  [<c0217202>] vfs_create+0x92/0xb0
> [ 7273.369937]  [<c0218710>] do_last+0x240/0x2c0
> [ 7273.369946]  [<c021a7a6>] do_filp_open+0x366/0x670
> [ 7273.369959]  [<c020b14d>] do_sys_open+0x6d/0x110
> [ 7273.369968]  [<c020b25e>] sys_open+0x2e/0x40
> [ 7273.369976]  [<c010301c>] sysenter_do_call+0x12/0x28
> [ 7273.369981] Code: 10 00 00 8b 4a 08 85 c9 74 06 81 08 00 20 00 00
> 8b 0a 85 c9 74 06 81 08 00 40 00 00 8b 52 0c 85 d2 74 06 81 08 00 80
> 00 00 5d c3 <0f> 0b eb fe 66 90 0f 0b eb fe 8d 74 26 00 55 89 e5 53 3e
> 8d 74
> [ 7273.370075] EIP: [<c021e902>] d_set_d_op+0x52/0x60 SS:ESP 0068:f10c7dbc
> 
> Further info is in the bugzilla site.
> 
> Thanks.
> 
> --



-- 
Suresh Jayaraman

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

* Re: CIFS related seg fault (v2.6.37)
  2011-01-20  4:45 ` Suresh Jayaraman
@ 2011-01-20  4:55   ` Steve French
  2011-01-20  4:56     ` Suresh Jayaraman
  2011-01-20  5:01     ` Suresh Jayaraman
  0 siblings, 2 replies; 6+ messages in thread
From: Steve French @ 2011-01-20  4:55 UTC (permalink / raw)
  To: Suresh Jayaraman; +Cc: Peter Teoh, LKML, linux-cifs, Jeff Layton

On Wed, Jan 19, 2011 at 10:45 PM, Suresh Jayaraman <sjayaraman@suse.de> wrote:
> (Cc linux-cifs@vger.kernel.org)
>
> On 01/20/2011 07:05 AM, Peter Teoh wrote:
>> Filed a bug today:
>>
>> https://bugzilla.kernel.org/show_bug.cgi?id=27082
>>
>> Version of kernel (linus git tree synced):   v2.6.37-3737-g0c21e3a
>>
>> Output of dmesg summarized here:
>>
>> [ 7273.369563] ------------[ cut here ]------------
>> [ 7273.369575] kernel BUG at fs/dcache.c:1358!
>
> Looks like the issue is already fixed in VFS (see discussion):
>        http://thread.gmane.org/gmane.linux.kernel.cifs/2284
>
> Jeff: Looks like the issue is reproducible with 2.6.37 too.. Any idea
> which is the commit that fixes this problem and whether it has been
> marked for -stable?

So Jeff's change referenced (to fs/cifs/dir.c) above is not needed due
to a vfs change?



-- 
Thanks,

Steve

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

* Re: CIFS related seg fault (v2.6.37)
  2011-01-20  4:55   ` Steve French
@ 2011-01-20  4:56     ` Suresh Jayaraman
  2011-01-20  5:01     ` Suresh Jayaraman
  1 sibling, 0 replies; 6+ messages in thread
From: Suresh Jayaraman @ 2011-01-20  4:56 UTC (permalink / raw)
  To: Steve French; +Cc: Peter Teoh, LKML, linux-cifs, Jeff Layton

On 01/20/2011 10:25 AM, Steve French wrote:
> On Wed, Jan 19, 2011 at 10:45 PM, Suresh Jayaraman <sjayaraman@suse.de> wrote:
>> (Cc linux-cifs@vger.kernel.org)
>>
>> On 01/20/2011 07:05 AM, Peter Teoh wrote:
>>> Filed a bug today:
>>>
>>> https://bugzilla.kernel.org/show_bug.cgi?id=27082
>>>
>>> Version of kernel (linus git tree synced):   v2.6.37-3737-g0c21e3a
>>>
>>> Output of dmesg summarized here:
>>>
>>> [ 7273.369563] ------------[ cut here ]------------
>>> [ 7273.369575] kernel BUG at fs/dcache.c:1358!
>>
>> Looks like the issue is already fixed in VFS (see discussion):
>>        http://thread.gmane.org/gmane.linux.kernel.cifs/2284
>>
>> Jeff: Looks like the issue is reproducible with 2.6.37 too.. Any idea
>> which is the commit that fixes this problem and whether it has been
>> marked for -stable?
> 
> So Jeff's change referenced (to fs/cifs/dir.c) above is not needed due
> to a vfs change?
> 

Yes. He asked to ignore his patch here:
	http://thread.gmane.org/gmane.linux.kernel.cifs/2284


-- 
Suresh Jayaraman

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

* Re: CIFS related seg fault (v2.6.37)
  2011-01-20  4:55   ` Steve French
  2011-01-20  4:56     ` Suresh Jayaraman
@ 2011-01-20  5:01     ` Suresh Jayaraman
  2011-01-20  5:18       ` Al Viro
  1 sibling, 1 reply; 6+ messages in thread
From: Suresh Jayaraman @ 2011-01-20  5:01 UTC (permalink / raw)
  To: Steve French; +Cc: Peter Teoh, LKML, linux-cifs, Jeff Layton

On 01/20/2011 10:25 AM, Steve French wrote:
> On Wed, Jan 19, 2011 at 10:45 PM, Suresh Jayaraman <sjayaraman@suse.de> wrote:
>> (Cc linux-cifs@vger.kernel.org)
>>
>> On 01/20/2011 07:05 AM, Peter Teoh wrote:
>>> Filed a bug today:
>>>
>>> https://bugzilla.kernel.org/show_bug.cgi?id=27082
>>>
>>> Version of kernel (linus git tree synced):   v2.6.37-3737-g0c21e3a
>>>
>>> Output of dmesg summarized here:
>>>
>>> [ 7273.369563] ------------[ cut here ]------------
>>> [ 7273.369575] kernel BUG at fs/dcache.c:1358!
>>
>> Looks like the issue is already fixed in VFS (see discussion):
>>        http://thread.gmane.org/gmane.linux.kernel.cifs/2284
>>
>> Jeff: Looks like the issue is reproducible with 2.6.37 too.. Any idea
>> which is the commit that fixes this problem and whether it has been
>> marked for -stable?
> 
> So Jeff's change referenced (to fs/cifs/dir.c) above is not needed due
> to a vfs change?
> 

Sorry it was not a VFS fix but a fix from Al Viro that fixed this
problem. IIUC, the commit has made it to cifs-2.6.git but not upstream.

commit 1c929cfe6d8f2087a337a868fbf6c38d56bb4889
Author: Al Viro <viro@zeniv.linux.org.uk>
Date:   Sat Dec 18 11:43:51 2010 -0500

    switch cifs



-- 
Suresh Jayaraman

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

* Re: CIFS related seg fault (v2.6.37)
  2011-01-20  5:01     ` Suresh Jayaraman
@ 2011-01-20  5:18       ` Al Viro
  0 siblings, 0 replies; 6+ messages in thread
From: Al Viro @ 2011-01-20  5:18 UTC (permalink / raw)
  To: Suresh Jayaraman; +Cc: Steve French, Peter Teoh, LKML, linux-cifs, Jeff Layton

On Thu, Jan 20, 2011 at 10:31:34AM +0530, Suresh Jayaraman wrote:

> Sorry it was not a VFS fix but a fix from Al Viro that fixed this
> problem. IIUC, the commit has made it to cifs-2.6.git but not upstream.
> 
> commit 1c929cfe6d8f2087a337a868fbf6c38d56bb4889
> Author: Al Viro <viro@zeniv.linux.org.uk>
> Date:   Sat Dec 18 11:43:51 2010 -0500
> 
>     switch cifs

It is in the mainline.  And there's no way anybody could've seen such
trace on .37 or earlier, since d_set_d_op() didn't exist before that.

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

end of thread, other threads:[~2011-01-20  5:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-20  1:35 CIFS related seg fault (v2.6.37) Peter Teoh
2011-01-20  4:45 ` Suresh Jayaraman
2011-01-20  4:55   ` Steve French
2011-01-20  4:56     ` Suresh Jayaraman
2011-01-20  5:01     ` Suresh Jayaraman
2011-01-20  5:18       ` Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).