Linux CIFS filesystem development
 help / color / mirror / Atom feed
From: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
To: Kjell Rune Skaaraas <kjella79-eZNTXLQAfP4@public.gmane.org>
Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Kernel oops: NULL pointer dereference in cifs_ioctl on 2.6.37-rc1
Date: Sun, 7 Nov 2010 21:12:02 -0500	[thread overview]
Message-ID: <20101107211202.3b3468dd@corrin.poochiereds.net> (raw)
In-Reply-To: <484246.91210.qm-ZxlQ8pIuIvXGRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org>

On Sun, 7 Nov 2010 16:44:46 +0000 (GMT)
Kjell Rune Skaaraas <kjella79-eZNTXLQAfP4@public.gmane.org> wrote:

> After upgrading from 2.6.36 for other reasons, starting certain apps like wine utorrent.exe will cause a kernel oops. I run the x86_64 version of Ubuntu 10.10 with various modified packages all around and the 2.6.37-rc1 kernel from the kernel PPA team. I experienced the same with a kernel I tried compiling myself too.
> 
> Nov  7 17:25:50 wodan kernel: [77498.450787] BUG: unable to handle kernel NULL pointer dereference at 0000000000000040
> Nov  7 17:25:50 wodan kernel: [77498.450883] IP: [<ffffffffa0395729>] cifs_ioctl+0x39/0x2f0 [cifs]
> Nov  7 17:25:50 wodan kernel: [77498.450987] PGD 1836a067 PUD 5bfac067 PMD 17d2b067 PTE 0
> Nov  7 17:25:50 wodan kernel: [77498.451234] CPU 4 
> Nov  7 17:25:50 wodan kernel: [77498.451264] Modules linked in: binfmt_misc vboxnetadp vboxnetflt vboxdrv snd_hda_codec_hdmi snd_hda_codec_realtek nls_cp437 cifs snd_hda_intel snd_hda_codec snd_seq_midi snd_rawmidi snd_hwdep snd_pcm snd_seq_midi_event snd_seq snd_timer snd_seq_device ppdev lp parport_pc serio_raw snd shpchp soundcore parport joydev snd_page_alloc sha256_generic cryptd aes_x86_64 aes_generic dm_crypt radeon ttm usbhid ahci hid drm_kms_helper r8169 libahci pata_jmicron drm mii floppy i2c_algo_bit
> Nov  7 17:25:50 wodan kernel: [77498.451845] 
> Nov  7 17:25:50 wodan kernel: [77498.451865] Pid: 4386, comm: utorrent.exe Not tainted 2.6.37-020637rc1-generic #201011020905 P55-UD3R/P55-UD3R
> Nov  7 17:25:50 wodan kernel: [77498.451971] RIP: 0010:[<ffffffffa0395729>]  [<ffffffffa0395729>] cifs_ioctl+0x39/0x2f0 [cifs]
> Nov  7 17:25:50 wodan kernel: [77498.452074] RSP: 0018:ffff880018899e98  EFLAGS: 00010282
> Nov  7 17:25:50 wodan kernel: [77498.452131] RAX: ffff880207a08300 RBX: ffff88005c884780 RCX: 0000000000222000
> Nov  7 17:25:50 wodan kernel: [77498.452207] RDX: 0000000000222000 RSI: 0000000082187201 RDI: ffff88005c884780
> Nov  7 17:25:50 wodan kernel: [77498.452282] RBP: ffff880018899ee8 R08: 000000000000001c R09: 00000000007bf700
> Nov  7 17:25:50 wodan kernel: [77498.452358] R10: ffff880018898000 R11: 0000000000000000 R12: 0000000082187201
> Nov  7 17:25:50 wodan kernel: [77498.452433] R13: 0000000000000000 R14: 0000000000222000 R15: ffff880207a4c2c0
> Nov  7 17:25:50 wodan kernel: [77498.452510] FS:  000000007ffd8000(0063) GS:ffff8800df900000(006b) knlGS:00000000f74426c0
> Nov  7 17:25:50 wodan kernel: [77498.452595] CS:  0010 DS: 002b ES: 002b CR0: 000000008005003b
> Nov  7 17:25:50 wodan kernel: [77498.452656] CR2: 0000000000000040 CR3: 000000005b77e000 CR4: 00000000000026e0
> Nov  7 17:25:50 wodan kernel: [77498.452732] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> Nov  7 17:25:50 wodan kernel: [77498.452808] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> Nov  7 17:25:50 wodan kernel: [77498.452884] Process utorrent.exe (pid: 4386, threadinfo ffff880018898000, task ffff8800188bdb00)
> Nov  7 17:25:50 wodan kernel: [77498.452999]  00000000fffffff7 ffff880018899ef8 0000000000000000 0000000000000000
> Nov  7 17:25:50 wodan kernel: [77498.453084]  ffff880018899ee8 0000000000000000 0000000000222000 ffff88005c884780
> Nov  7 17:25:50 wodan kernel: [77498.453169]  0000000000222000 000000000000001c ffff880018899ef8 ffffffff8116e94d
> Nov  7 17:25:50 wodan kernel: [77498.453287]  [<ffffffff8116e94d>] vfs_ioctl+0x1d/0x50
> Nov  7 17:25:50 wodan kernel: [77498.453343]  [<ffffffff8116f52d>] do_vfs_ioctl+0x7d/0x1f0
> Nov  7 17:25:50 wodan kernel: [77498.453405]  [<ffffffff811a5c62>] compat_sys_ioctl+0x122/0x200
> Nov  7 17:25:50 wodan kernel: [77498.453470]  [<ffffffff81048560>] sysenter_dispatch+0x7/0x2e
> Nov  7 17:25:50 wodan kernel: [77498.454010]  RSP <ffff880018899e98>
> Nov  7 17:25:50 wodan kernel: [77498.478707] ---[ end trace 4e689dcb8ba02a93 ]---
> 
> Hopefully this makes more sense to someone than it does to me :)
> 

Could you follow the directions here and send along the output? That
will tell us where it's panicing:

http://wiki.samba.org/index.php/LinuxCIFS_troubleshooting#Oopses

Many Thanks,
-- 
Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>

  parent reply	other threads:[~2010-11-08  2:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-07 16:44 Kernel oops: NULL pointer dereference in cifs_ioctl on 2.6.37-rc1 Kjell Rune Skaaraas
     [not found] ` <484246.91210.qm-ZxlQ8pIuIvXGRxTy+Q50vsz6deESKz/lQQ4Iyu8u01E@public.gmane.org>
2010-11-08  2:12   ` Jeff Layton [this message]
     [not found]     ` <20101107211202.3b3468dd-4QP7MXygkU+dMjc06nkz3ljfA9RmPOcC@public.gmane.org>
2010-11-08  4:51       ` Steve French
     [not found]         ` <AANLkTikzTztJUP5-zHCKr4nzuG=bSzmZ+ga7dU0r3QPU-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-11-08  8:35           ` Suresh Jayaraman
     [not found]             ` <4CD7B637.1070004-l3A5Bk7waGM@public.gmane.org>
2010-11-08 11:12               ` Jeff Layton
     [not found]                 ` <20101108061227.051706ff-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2010-11-08 11:21                   ` Suresh Jayaraman
     [not found]                     ` <4CD7DD1E.3030601-l3A5Bk7waGM@public.gmane.org>
2010-11-08 11:30                       ` Jeff Layton
2010-11-08 13:08   ` Jeff Layton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101107211202.3b3468dd@corrin.poochiereds.net \
    --to=jlayton-eunubhrolfbytjvyw6ydsg@public.gmane.org \
    --cc=kjella79-eZNTXLQAfP4@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox