Bug 28962

Summary: invalid opcode: 0000 [#1] SMP
Product: File System Reporter: njin (marconifabio)
Component: VFSAssignee: fs_vfs
Status: CLOSED CODE_FIX    
Severity: high CC: akpm, florian, herton, maciej.rutecki, rjw
Priority: P1    
Hardware: All   
OS: Linux   
URL: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/713769
Kernel Version: 2.6.38-3.30 Subsystem:
Regression: Yes Bisected commit-id:
Bug Depends on:    
Bug Blocks: 27352    

Description njin 2011-02-12 16:12:24 UTC
running ubuntu-bug linux, after collect data , gdm crash and switch to unusable console (no cursor, only mouse pointer) that show the below 'cut here', i was able to restore this session only hitting many times ctrl+alt+f7.
As apport still running i can send this.

Feb  5 18:55:09 ubuntu kernel: [  484.329356] ------------[ cut here ]------------
Feb  5 18:55:09 ubuntu kernel: [  484.329382] kernel BUG at /build/buildd/linux-2.6.38/fs/namei.c:406!
Feb  5 18:55:09 ubuntu kernel: [  484.329395] invalid opcode: 0000 [#1] SMP 
Feb  5 18:55:09 ubuntu kernel: [  484.329405] last sysfs file: /sys/devices/pci0000:00/0000:00:05.0/drm/card0/card0-VGA-1/status
Feb  5 18:55:09 ubuntu kernel: [  484.329419] CPU 0 
Feb  5 18:55:09 ubuntu kernel: [  484.329423] Modules linked in: dm_crypt lp snd_intel8x0 snd_ac97_codec ac97_bus snd_pcm ppdev binfmt_misc snd_seq_midi snd_rawmidi arc4 snd_seq_midi_event rtl8180 snd_seq mac80211 psmouse snd_timer snd_seq_device serio_raw eeprom_93cx6 cfg80211 parport_pc edac_core ns558 snd gameport k8temp edac_mce_amd parport soundcore nv_tco snd_page_alloc i2c_nforce2 squashfs aufs nls_iso8859_1 nls_cp437 vfat fat dm_raid45 xor btrfs lzo_compress zlib_deflate libcrc32c nouveau ttm drm_kms_helper usb_storage uas drm sata_nv pata_amd forcedeth floppy i2c_algo_bit video
Feb  5 18:55:09 ubuntu kernel: [  484.329578] 
Feb  5 18:55:09 ubuntu kernel: [  484.329592] Pid: 3957, comm: fuser Not tainted 2.6.38-1-generic #28-Ubuntu K8NF4G-SATA2/K8NF4G-SATA2
Feb  5 18:55:09 ubuntu kernel: [  484.329610] RIP: 0010:[<ffffffff81169bf7>]  [<ffffffff81169bf7>] nameidata_drop_rcu+0x127/0x130
Feb  5 18:55:09 ubuntu kernel: [  484.329645] RSP: 0018:ffff880039387c68  EFLAGS: 00010246
Feb  5 18:55:09 ubuntu kernel: [  484.329655] RAX: ffff8800150ec440 RBX: ffff880039387dc8 RCX: ffff880037578b00
Feb  5 18:55:09 ubuntu kernel: [  484.329669] RDX: 0000000000000001 RSI: 0000000000000002 RDI: ffff880039387dc8
Feb  5 18:55:09 ubuntu kernel: [  484.329681] RBP: ffff880039387ca8 R08: 0000000000000000 R09: 0000000000000000
Feb  5 18:55:09 ubuntu kernel: [  484.329693] R10: 0000000000000001 R11: 0000000000000246 R12: ffff8800375593c0
Feb  5 18:55:09 ubuntu kernel: [  484.329704] R13: ffff880037a55c40 R14: ffff880039387d28 R15: ffff8800150ec440
Feb  5 18:55:09 ubuntu kernel: [  484.329720] FS:  00007f8a8eac6720(0000) GS:ffff88003b000000(0000) knlGS:0000000000000000
Feb  5 18:55:09 ubuntu kernel: [  484.329733] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Feb  5 18:55:09 ubuntu kernel: [  484.329744] CR2: 00000000025d91a8 CR3: 000000000307c000 CR4: 00000000000006f0
Feb  5 18:55:09 ubuntu kernel: [  484.329757] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Feb  5 18:55:09 ubuntu kernel: [  484.329769] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Feb  5 18:55:09 ubuntu kernel: [  484.329781] Process fuser (pid: 3957, threadinfo ffff880039386000, task ffff8800150ec440)
Feb  5 18:55:09 ubuntu kernel: [  484.329794] Stack:
Feb  5 18:55:09 ubuntu kernel: [  484.329799]  ffff880039387d28 ffff8800150ec440 ffff880039387ca8 ffff8800375593c0
Feb  5 18:55:09 ubuntu kernel: [  484.329815]  ffff880039387dc8 0000000000000000 ffff880039387d28 ffff8800150ec440
Feb  5 18:55:09 ubuntu kernel: [  484.329830]  ffff880039387cc8 ffffffff8116a1b5 ffff880039387dc8 0000000000000000
Feb  5 18:55:09 ubuntu kernel: [  484.329845] Call Trace:
Feb  5 18:55:09 ubuntu kernel: [  484.329859]  [<ffffffff8116a1b5>] force_reval_path.clone.16+0x55/0x70
Feb  5 18:55:09 ubuntu kernel: [  484.329874]  [<ffffffff8116b662>] link_path_walk+0xac2/0xba0
Feb  5 18:55:09 ubuntu kernel: [  484.329894]  [<ffffffff81272911>] ? security_inode_alloc+0x21/0x30
Feb  5 18:55:09 ubuntu kernel: [  484.329912]  [<ffffffff81176768>] ? inode_init_always+0x118/0x1d0
Feb  5 18:55:09 ubuntu kernel: [  484.329926]  [<ffffffff8116ba3b>] do_path_lookup+0x5b/0x160
Feb  5 18:55:09 ubuntu kernel: [  484.329938]  [<ffffffff8116bf67>] user_path_at+0x57/0xa0
Feb  5 18:55:09 ubuntu kernel: [  484.329998]  [<ffffffffa025fc49>] ? au_refresh_iattr+0xd9/0xf0 [aufs]
Feb  5 18:55:09 ubuntu kernel: [  484.330015]  [<ffffffff81162288>] ? cp_new_stat+0xf8/0x110
Feb  5 18:55:09 ubuntu kernel: [  484.330022]  [<ffffffff81162549>] vfs_fstatat+0x39/0x70
Feb  5 18:55:09 ubuntu kernel: [  484.330022]  [<ffffffff811625bb>] vfs_stat+0x1b/0x20
Feb  5 18:55:09 ubuntu kernel: [  484.330022]  [<ffffffff811627fa>] sys_newstat+0x1a/0x40
Feb  5 18:55:09 ubuntu kernel: [  484.330022]  [<ffffffff8100c002>] system_call_fastpath+0x16/0x1b
Feb  5 18:55:09 ubuntu kernel: [  484.330022] Code: c3 4c 89 f7 e8 6b ef ec ff 66 90 48 8b 43 20 0f 1f 44 00 00 48 85 c0 bb f6 ff ff ff 74 cb 49 8d 7d 04 e8 4d ef ec ff 66 90 eb be <0f> 0b 0f 0b 0f 0b 0f 1f 00 55 48 89 e5 48 83 ec 50 48 89 5d d8 
Feb  5 18:55:09 ubuntu kernel: [  484.330022] RIP  [<ffffffff81169bf7>] nameidata_drop_rcu+0x127/0x130
Feb  5 18:55:09 ubuntu kernel: [  484.330022]  RSP <ffff880039387c68>
Feb  5 18:55:09 ubuntu kernel: [  484.345384] ---[ end trace ec6078a9d8064c5f ]---
Feb  5 18:55:09 ubuntu kernel: [  484.801391] ACPI Warning: Incorrect checksum in table [OEMB] - 0x0A, should be 0xFC (20110112/tbutils-314)
Feb  5 18:55:09 ubuntu kernel: [  484.801783] ACPI Warning: Incorrect checksum in table [OEMB] - 0x0A, should be 0xFC (20110112/tbutils-314)
Feb  5 18:56:57 ubuntu acpid: client connected from 1578[0:0]
Feb  5 18:56:57 ubuntu acpid: 1 client rule loaded
Comment 1 Andrew Morton 2011-02-14 23:25:40 UTC
We have been fixing a few bug in this area - can you please retest -rc5 when it is released and update this report?

Also, please use bugzilla attachments for the oops reports - that wordwrapping makes things really hard to read.

Thanks.
Comment 2 Herton Ronaldo Krzesinski 2011-02-15 21:10:17 UTC
I was able to reproduce this with today Linus tree. If there isn't a fix yet, I proposed a change on LKML: https://lkml.org/lkml/2011/2/15/292
Comment 3 Herton Ronaldo Krzesinski 2011-02-15 21:19:38 UTC
(In reply to comment #2)
> I was able to reproduce this with today Linus tree. If there isn't a fix yet,
> I
> proposed a change on LKML: https://lkml.org/lkml/2011/2/15/292

Ok ignore this, was already fixed later today with commit 844a391 ("nothing in do_follow_link() is going to see RCU")