Bug 7405 - kernel oops after unmount
Summary: kernel oops after unmount
Status: RESOLVED DUPLICATE of bug 7407
Alias: None
Product: CifsVFS
Classification: Unclassified
Component: kernel fs (show other bugs)
Version: 2.6
Hardware: x64 Linux
: P3 major
Target Milestone: ---
Assignee: Steve French
QA Contact:
URL: http://bugs.debian.org/575727
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-03 08:49 UTC by Rutger ter Borg
Modified: 2010-05-04 11:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rutger ter Borg 2010-05-03 08:49:34 UTC
kernel crashes after unmounting a cifs share:

$mount.cifs //some/share /target/path -o user_name
$umount /target/path

will lead to a kernel oops, I've pasted the syslog dump and system info
below. 

Mar 28 21:44:48 gonzo kernel: [11826.437106] BUG: Dentry 
ffff8800bf5cea80{i=80,n=/} still in use (1) [unmount of cifs cifs]
Mar 28 21:44:48 gonzo kernel: [11826.437133] ------------[ cut here 
]------------
Mar 28 21:44:48 gonzo kernel: [11826.437134] kernel BUG at /build/mattems-
linux-2.6_2.6.32-9-amd64-
NYTFdD/linux-2.6-2.6.32-9/debian/build/source_amd64_none/fs/dcache.c:670!
Mar 28 21:44:48 gonzo kernel: [11826.437137] invalid opcode: 0000 [#1] SMP
Mar 28 21:44:48 gonzo kernel: [11826.437140] last sysfs file: 
/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0/charge_full
Mar 28 21:44:48 gonzo kernel: [11826.437142] CPU 1
Mar 28 21:44:48 gonzo kernel: [11826.437143] Modules linked in: nls_utf8 cifs 
usb_storage cryptd aes_x86_64 aes_generic ppdev lp parport sco bridge stp bnep 
rfcomm l2cap crc16 fuse ext3 jbd mbcache loop snd_hda_codec_nvhdmi 
snd_hda_codec_realtek snd_hda_intel snd_hda_codec btusb bluetooth snd_hwdep 
snd_pcm_oss snd_mixer_oss arc4 snd_pcm ecb snd_seq_midi snd_rawmidi 
dvb_usb_af9015 dvb_usb iwlagn joydev snd_seq_midi_event uvcvideo videodev 
v4l1_compat iwlcore snd_seq i2c_i801 acer_wmi v4l2_compat_ioctl32 pcspkr 
dvb_core nvidia(P) psmouse led_class ac snd_timer serio_raw snd_seq_device 
mac80211 processor i2c_core battery snd wmi evdev soundcore snd_page_alloc 
cfg80211 rfkill usbhid hid xfs exportfs sg sr_mod sd_mod crc_t10dif cdrom 
uhci_hcd ahci libata video output atl1e intel_agp ehci_hcd button scsi_mod 
usbcore nls_base thermal fan thermal_sys [last unloaded: scsi_wait_scan]
Mar 28 21:44:48 gonzo kernel: [11826.437196] Pid: 6174, comm: umount Tainted: 
P           2.6.32-3-amd64 #1 Aspire 6935
Mar 28 21:44:48 gonzo kernel: [11826.437198] RIP: 0010:[<ffffffff810fc7c2>]  
[<ffffffff810fc7c2>] shrink_dcache_for_umount_subtree+0x185/0x251
Mar 28 21:44:48 gonzo kernel: [11826.437206] RSP: 0018:ffff880119fe9e78  EFLAGS: 
00010292
Mar 28 21:44:48 gonzo kernel: [11826.437208] RAX: 0000000000000064 RBX: 
ffff8800bf5cea80 RCX: 000000000000e9f4
Mar 28 21:44:48 gonzo kernel: [11826.437210] RDX: 0000000000000000 RSI: 
0000000000000092 RDI: 0000000000000246
Mar 28 21:44:48 gonzo kernel: [11826.437212] RBP: ffff8800bf5cea80 R08: 
0000000000000002 R09: ffffffff81399d7f
Mar 28 21:44:48 gonzo kernel: [11826.437214] R10: 0000000000000000 R11: 
00000000000186a0 R12: 0000000000010bd0
Mar 28 21:44:48 gonzo kernel: [11826.437215] R13: ffff8800bf5ced20 R14: 
0000000000000000 R15: 0000000000000000
Mar 28 21:44:48 gonzo kernel: [11826.437218] FS:  00007f8f8aeb1730(0000) 
GS:ffff880005280000(0000) knlGS:0000000000000000
Mar 28 21:44:48 gonzo kernel: [11826.437220] CS:  0010 DS: 0000 ES: 0000 CR0: 
000000008005003b
Mar 28 21:44:48 gonzo kernel: [11826.437222] CR2: 00000000006d8fa8 CR3: 
000000010214b000 CR4: 00000000000006e0
Mar 28 21:44:48 gonzo kernel: [11826.437224] DR0: 0000000000000000 DR1: 
0000000000000000 DR2: 0000000000000000
Mar 28 21:44:48 gonzo kernel: [11826.437226] DR3: 0000000000000000 DR6: 
00000000ffff0ff0 DR7: 0000000000000400
Mar 28 21:44:48 gonzo kernel: [11826.437228] Process umount (pid: 6174, 
threadinfo ffff880119fe8000, task ffff8800bdffaa60)
Mar 28 21:44:48 gonzo kernel: [11826.437229] Stack:
Mar 28 21:44:48 gonzo kernel: [11826.437230]  ffff88012f29ca60 ffff88012f29c800 
ffffffffa0d2ef30 ffff880101dd2a30
Mar 28 21:44:48 gonzo kernel: [11826.437233] <0> ffff880101dd2a00 ffffffff810fc8bd 
ffff88012f29c800 ffffffff810ef30a
Mar 28 21:44:48 gonzo kernel: [11826.437237] <0> ffffffffa0d49720 0000000000000013 
ffffffffa0d49720 ffffffff810ef422
Mar 28 21:44:48 gonzo kernel: [11826.437240] Call Trace:
Mar 28 21:44:48 gonzo kernel: [11826.437244]  [<ffffffff810fc8bd>] ? 
shrink_dcache_for_umount+0x2f/0x3d
Mar 28 21:44:48 gonzo kernel: [11826.437247]  [<ffffffff810ef30a>] ? 
generic_shutdown_super+0x19/0xee
Mar 28 21:44:48 gonzo kernel: [11826.437250]  [<ffffffff810ef422>] ? 
kill_anon_super+0x9/0x40
Mar 28 21:44:48 gonzo kernel: [11826.437252]  [<ffffffff810efad2>] ? 
deactivate_super+0x60/0x7a
Mar 28 21:44:48 gonzo kernel: [11826.437256]  [<ffffffff81102127>] ? 
sys_umount+0x2c3/0x2f2
Mar 28 21:44:48 gonzo kernel: [11826.437260]  [<ffffffff81010b42>] ? 
system_call_fastpath+0x16/0x1b
Mar 28 21:44:48 gonzo kernel: [11826.437261] Code: 8b 08 48 8b 45 10 48 85 c0 
74 04 48 8b 50 40 48 8d 86 60 02 00 00 48 c7 c7 87 e6 3a 81 48 89 ee 48 89 04 
24 31 c0 e8 42 0c 1f 00 <0f> 0b eb fe 48 8b 5d 28 48 39 dd 75 04 31 db eb 03 
f0 ff 0b 48
Mar 28 21:44:48 gonzo kernel: [11826.437285] RIP  [<ffffffff810fc7c2>] 
shrink_dcache_for_umount_subtree+0x185/0x251
Mar 28 21:44:48 gonzo kernel: [11826.437288]  RSP <ffff880119fe9e78>
Mar 28 21:44:48 gonzo kernel: [11826.437290] ---[ end trace c5440e8e073c604d 
]---


--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.32-3-amd64

Debian Release: squeeze/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        ftp.nl.debian.org 
  500 stable          deb.opera.com 

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.
Comment 1 Jeff Layton 2010-05-04 11:16:36 UTC

*** This bug has been marked as a duplicate of bug 7407 ***