All of lore.kernel.org
 help / color / mirror / Atom feed
* [OOPS] 3.0-rc1 cifs
@ 2011-06-09 20:15 Martijn Uffing
       [not found] ` <Pine.LNX.4.64.1106092211500.19687-dT/mdtNybfnOcQoxchNua+fsyHJTGBv43KldkOmuLK4@public.gmane.org>
  0 siblings, 1 reply; 34+ messages in thread
From: Martijn Uffing @ 2011-06-09 20:15 UTC (permalink / raw)
  To: linux-cifs; +Cc: linux-kernel


Ave People


I've got an oops with 3.0-rc1. (The same Oops also occurs with 3.0-rc2 and
the git snapshot of today linux-2.6-06e8684.)
The Oops occurs at boot time while the boot scripts try to automount a samba
share.

Last (tested)  working kernel	:	2.6.39
First (tested) oopsing kernel	:	3.0-rc1

I'm willing to try patches, and if it's needed, I can try to
git-bisect the kernel. However, I'm short on time and thought maybe somebody
already has some idea. I did a diff between 2.6.39/3.0-rc1 and there seems
to be a lot of code churn in cifs.

Details of client/server and the Oops attached. If there are any questions
please ask and CC: to my mail address. I'm not subscribed to
linux-cifs/linux-kernel

Martijn Uffing



CLIENT:

-Debian squeeze (64 bits)
-kernel vanilla 2.6.39 working   (core 2 duo)
-kernel vanilla 3.0-rc1 crashing (core 2 duo)
-fstab
  X.X.X.X/sysadmin /home/XXXX/docs_sysadmin	cifs	guest,uid=XXXX,gid=XXXX,users,auto,nounix,nobrl     0  0
-cat kernelconfig|grep CIFS
  CONFIG_CIFS=m
  CONFIG_CIFS_STATS=y
  # CONFIG_CIFS_STATS2 is not set
  CONFIG_CIFS_WEAK_PW_HASH=y
  CONFIG_CIFS_UPCALL=y
  # CONFIG_CIFS_XATTR is not set
  # CONFIG_CIFS_DEBUG2 is not set
  CONFIG_CIFS_DFS_UPCALL=y
  # CONFIG_CIFS_FSCACHE is not set
  CONFIG_CIFS_NFSD_EXPORT=y


SERVER:
-Debian etch (32 bits)
-kernel vanilla 2.6.27.59
-samba 3.0.24-6etch10
-samba share:
[sysadmin]
     path = /root/sysadmin/docs
     guest ok = yes
     guest only = yes
     force user = root
     writable = yes
     printable = no
     browseable = yes
     hosts deny = ALL
     hosts allow = X.X.X.X

OOPS:
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
svc: failed to register lockdv1 RPC service (errno 97).
Registering the dns_resolver key type
CIFS VFS: default security mechanism requested.  The default security mechanism will be upgraded from ntlm to ntlmv2 in kernel release 2.6.41
BUG: unable to handle kernel NULL pointer dereference at 00000000000000a0
IP: [<ffffffffa0413286>] CIFSTCon+0xf6/0x4d0 [cifs]
PGD 12a9a1067 PUD 1270ef067 PMD 0 
Oops: 0000 [#1] SMP 
CPU 1 
Modules linked in: des_generic ecb md4 hmac nls_utf8 cifs dns_resolver nfsd nfs lockd fscache sunrpc xfs fuse radeon ttm drm_kms_helper drm i2c_algo_bit cfbcopyarea cfbimgblt cfbfillrect loop sg asus_atk0110 sr_mod cdrom usbhid hid pata_marvell sky2 skge evdev snd_hda_codec_hdmi snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_seq_midi snd_rawmidi intel_agp intel_gtt snd_seq_midi_event snd_seq tpm_tis tpm snd_timer snd_seq_device i2c_i801 snd i2c_core uhci_hcd soundcore snd_page_alloc ehci_hcd tpm_bios pcspkr

Pid: 2065, comm: mount.cifs Not tainted 3.0.0-rc1 #1 System manufacturer P5Q-E/P5Q-E
RIP: 0010:[<ffffffffa0413286>]  [<ffffffffa0413286>] CIFSTCon+0xf6/0x4d0 [cifs]
RSP: 0018:ffff880127d17b48  EFLAGS: 00010282
RAX: ffff88012a905400 RBX: ffff880129dc4200 RCX: 0000000000000000
RDX: 0000000000000811 RSI: ffff88012a9055ea RDI: ffff88012a905578
RBP: ffff880127d17ba8 R08: 0000000000000005 R09: 0000000000000001
R10: ffff88012638d600 R11: ffffffffa00600c0 R12: ffff880128bd0140
R13: 0000000000000000 R14: ffff880128bd016f R15: 0000000000000000
FS:  00007f4cbf033700(0000) GS:ffff88012fd00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00000000000000a0 CR3: 000000012a9f1000 CR4: 00000000000406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process mount.cifs (pid: 2065, threadinfo ffff880127d16000, task ffff880127b26880)
Stack:
  ffff8801273a5900 ffff88012638d600 ffffffffa00600c0 0000000300000001
  ffff880127d17b78 ffff88012a905560 ffff880127d17ba8 ffff880127d17c74
  ffff880127d17c68 ffff880129dc4200 00000000fffffff4 ffff8801279b7f01
Call Trace:
  [<ffffffffa041479e>] get_dfs_path+0x11e/0x190 [cifs]
  [<ffffffffa041492c>] expand_dfs_referral+0x11c/0x220 [cifs]
  [<ffffffffa0425b55>] ? cifs_buf_release+0x15/0x20 [cifs]
  [<ffffffffa040d211>] ? CIFSSMBQFSAttributeInfo+0x1b1/0x260 [cifs]
  [<ffffffffa0415dc5>] cifs_mount+0x2c5/0x5d0 [cifs]
  [<ffffffff810b2c7d>] ? bdi_setup_and_register+0x7d/0xa0
  [<ffffffffa0408311>] cifs_do_mount+0x1f1/0x3b0 [cifs]
  [<ffffffff810db35b>] mount_fs+0x1b/0xd0
  [<ffffffff810f5c6e>] vfs_kern_mount+0x5e/0xd0
  [<ffffffff810f5d4d>] do_kern_mount+0x4d/0x110
  [<ffffffff810f732b>] do_mount+0x2cb/0x7d0
  [<ffffffff810f78c3>] sys_mount+0x93/0xe0
  [<ffffffff8138bdbb>] system_call_fastpath+0x16/0x1b
Code: b4 02 00 10 0f 84 e7 02 00 00 48 8b 73 40 8b be cc 01 00 00 85 ff 0f 84 de 02 00 00 4c 89 55 a8 4c 89 5d b0 48 81 c6 ea 01 00 00
  8b bd a0 00 00 00 4c 89 f2 e8 3b 37 01 00 4c 8b 5d b0 4c 8b 
RIP  [<ffffffffa0413286>] CIFSTCon+0xf6/0x4d0 [cifs]
  RSP <ffff880127d17b48>
CR2: 00000000000000a0
---[ end trace 64d92145e3df4829 ]---


-----------------------------------------
Ceterum censeo Carthaginem esse delendam

When it comes to procrastination, casting the first stone is definitely on
my TO DO list.

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

end of thread, other threads:[~2011-06-20 11:16 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-09 20:15 [OOPS] 3.0-rc1 cifs Martijn Uffing
     [not found] ` <Pine.LNX.4.64.1106092211500.19687-dT/mdtNybfnOcQoxchNua+fsyHJTGBv43KldkOmuLK4@public.gmane.org>
2011-06-09 22:30   ` Jeff Layton
2011-06-09 22:30     ` Jeff Layton
     [not found]     ` <20110609183045.01f6f9fc-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2011-06-09 22:50       ` Connor Hansen
2011-06-09 22:50         ` Connor Hansen
     [not found]         ` <BANLkTimPqmkNJMaJE2_C5zD8ESFOEM3=hg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-06-09 22:53           ` Connor Hansen
2011-06-09 22:53             ` Connor Hansen
2011-06-10  0:57           ` Martijn Uffing
2011-06-10  0:57             ` Martijn Uffing
     [not found]             ` <Pine.LNX.4.64.1106100243370.2168-dT/mdtNybfnOcQoxchNua+fsyHJTGBv43KldkOmuLK4@public.gmane.org>
2011-06-10 11:37               ` Jeff Layton
2011-06-10 11:37                 ` Jeff Layton
     [not found]                 ` <20110610073702.061bc014-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2011-06-10 12:03                   ` Connor Hansen
2011-06-10 12:03                     ` Connor Hansen
2011-06-10 12:14                     ` Suresh Jayaraman
     [not found]                       ` <4DF20A97.8010405-l3A5Bk7waGM@public.gmane.org>
2011-06-10 12:49                         ` Connor Hansen
2011-06-10 12:49                           ` Connor Hansen
     [not found]                           ` <BANLkTimAauVsqX1JZucG1cg3-MAtqCrZFQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2011-06-11 11:41                             ` Jeff Layton
2011-06-11 11:41                               ` Jeff Layton
2011-06-11 16:25                               ` Connor Hansen
     [not found]                               ` <20110611074113.5a05f919-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2011-06-11 22:31                                 ` Martijn Uffing
2011-06-11 22:31                                   ` Martijn Uffing
2011-06-12  1:17                                   ` Jeff Layton
     [not found]                                   ` <Pine.LNX.4.64.1106112356500.12565-dT/mdtNybfnOcQoxchNua+fsyHJTGBv43KldkOmuLK4@public.gmane.org>
2011-06-13 15:48                                     ` Jeff Layton
2011-06-13 15:48                                       ` Jeff Layton
     [not found]                                       ` <20110613114831.37c90109-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2011-06-14  2:59                                         ` Pavel Shilovsky
2011-06-14  2:59                                           ` Pavel Shilovsky
2011-06-14 21:11                                         ` Martijn Uffing
2011-06-14 21:11                                           ` Martijn Uffing
2011-06-10 22:03                   ` Martijn Uffing
2011-06-10 22:03                     ` Martijn Uffing
2011-06-15 19:55   ` Maciej Rutecki
2011-06-15 19:55     ` Maciej Rutecki
     [not found]     ` <201106152155.48167.maciej.rutecki-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-06-20  8:33       ` Pavel Shilovsky
     [not found]         ` <1308558796-2693-1-git-send-email-piastryyy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2011-06-20 11:16           ` Jeff Layton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.