kernel BUG on fs/nfs/write.c:252

Bug #390960 reported by Rich
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Intrepid by Rich
Nominated for Jaunty by Rich

Bug Description

[234689.262792] kernel BUG at /build/buildd/linux-2.6.28/fs/nfs/write.c:252!
[234689.262795] invalid opcode: 0000 [#1] SMP
[234689.262798] last sysfs file: /sys/devices/pci0000:00/0000:00:10.2/usb4/4-2/serial
[234689.262802] Dumping ftrace buffer:
[234689.262804] (ftrace buffer empty)
[234689.262806] Modules linked in: autofs4 binfmt_misc bridge stp bnep kqemu input_polldev video output nfsd auth_rpcgss exportfs nfs lockd nfs_acl sunrpc lp snd_emu10k1_synth snd_emux_synth snd_seq_virmidi snd_seq_midi_emul snd_emu10k1 snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_util_mem snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device nvidia(P) emu10k1_gp k8temp snd psmouse amd64_agp agpgart gameport soundcore shpchp ppdev pcspkr i2c_viapro serio_raw usblp parport_pc parport usb_storage usbhid ohci1394 ieee1394 r8169 mii tg3 floppy fbcon tileblit font bitblit softcursor
[234689.262842]
[234689.262845] Pid: 21375, comm: pdflush Tainted: P (2.6.28-11-generic #42-Ubuntu) MS-6702
[234689.262848] EIP: 0060:[<f8c9ec0e>] EFLAGS: 00010202 CPU: 0
[234689.262875] EIP is at nfs_page_async_flush+0x7e/0x110 [nfs]
[234689.262877] EAX: e698e69c EBX: c179c1e0 ECX: 00000015 EDX: 00600020
[234689.262880] ESI: e254e440 EDI: e698e69c EBP: f68c3d9c ESP: f68c3d88
[234689.262882] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[234689.262885] Process pdflush (pid: 21375, ti=f68c2000 task=e67057f0 task.ti=f68c2000)
[234689.262887] Stack:
[234689.262888] c179c1e0 f68c3e5c c179c1e0 f68c3e5c 00027b03 f68c3dac f8c9ed03 c179c1e0
[234689.262894] c179c1e0 f68c3dbc f8c9ee04 c179c1e0 00000000 f68c3e48 c0196013 00000000
[234689.262899] 0000000e f8c9edf0 f68c3f50 e698e6d4 f607a624 00000000 00000001 00027b04
[234689.262904] Call Trace:
[234689.262907] [<f8c9ed03>] ? nfs_do_writepage+0x63/0x70 [nfs]
[234689.262921] [<f8c9ee04>] ? nfs_writepages_callback+0x14/0x30 [nfs]
[234689.262935] [<c0196013>] ? write_cache_pages+0x1a3/0x380
[234689.262943] [<f8c9edf0>] ? nfs_writepages_callback+0x0/0x30 [nfs]
[234689.262958] [<f8c9e5bb>] ? nfs_writepages+0x8b/0xe0 [nfs]
[234689.262972] [<f8c9e7b0>] ? nfs_flush_one+0x0/0xd0 [nfs]
[234689.262985] [<f8c9e530>] ? nfs_writepages+0x0/0xe0 [nfs]
[234689.262999] [<c019624e>] ? do_writepages+0x2e/0x50
[234689.263002] [<c01d8a6f>] ? __sync_single_inode+0x5f/0x2a0
[234689.263006] [<c01d8cf5>] ? __writeback_single_inode+0x45/0x160
[234689.263009] [<c019538a>] ? determine_dirtyable_memory+0x1a/0xb0
[234689.263013] [<c01d91d6>] ? generic_sync_sb_inodes+0x2a6/0x430
[234689.263016] [<c019d070>] ? congestion_wait+0x60/0x70
[234689.263019] [<c01d951d>] ? writeback_inodes+0x4d/0xe0
[234689.263022] [<c01957ef>] ? background_writeout+0x9f/0xc0
[234689.263025] [<c0196943>] ? __pdflush+0x103/0x1e0
[234689.263028] [<c0196a20>] ? pdflush+0x0/0x40
[234689.263031] [<c0196a59>] ? pdflush+0x39/0x40
[234689.263034] [<c0195750>] ? background_writeout+0x0/0xc0
[234689.263037] [<c014e90c>] ? kthread+0x3c/0x70
[234689.263042] [<c014e8d0>] ? kthread+0x0/0x70
[234689.263045] [<c0105477>] ? kernel_thread_helper+0x7/0x10
[234689.263049] Code: ff 85 c0 89 c6 75 c6 89 f8 e8 8f 40 48 c7 90 31 db 83 c4 08 89 d8 5b 5e 5f 5d c3 66 90 f6 46 28 02 74 0c 89 f8 e8 73 40 48 c7 90 <0f> 0b eb fe 8b 45 ec e8 f6 77 4f c7 85 c0 75 67 8b 55 ec 8b 42
[234689.263073] EIP: [<f8c9ec0e>] nfs_page_async_flush+0x7e/0x110 [nfs] SS:ESP 0068:f68c3d88
[234689.263189] ---[ end trace 60b40ca40acb38ab ]---

Three other machines on same network running same Ubuntu version attached to same NFS server had no such bug.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: linux-image-2.6.28-11-generic 2.6.28-11.42
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linux
Uname: Linux 2.6.28-11-generic i686

Revision history for this message
Rich (rincebrain) wrote :
Revision history for this message
Ronald van Engelen (ronalde) wrote :
Download full text (4.0 KiB)

Same bug here, system was dist-upgraded from intrepid:

[825695.371723] ------------[ cut here ]------------
[825695.371766] kernel BUG at /build/buildd/linux-2.6.28/fs/nfs/write.c:252!
[825695.371795] invalid opcode: 0000 [#1] SMP
[825695.371823] last sysfs file: /sys/module/ppdev/initstate
[825695.371850] Dumping ftrace buffer:
[825695.371875] (ftrace buffer empty)
[825695.371898] CPU 4
[825695.371919] Modules linked in: iptable_filter ip_tables x_tables nfs lockd nfs_acl sunrpc ppdev video output input_polldev aoe 8021q garp stp bonding lp parport psmouse pcspkr iTCO_wdt serio_raw i5100_edac iTCO_vendor_support edac_core joydev xfs usbhid usb_storage e1000e raid10 raid456 async_xor async_memcpy async_tx xor raid1 raid0 multipath linear fbcon tileblit font bitblit softcursor
[825695.372133] Pid: 30470, comm: smbd Not tainted 2.6.28-13-server #45-Ubuntu
[825695.372161] RIP: 0010:[<ffffffffa02b1771>] [<ffffffffa02b1771>] nfs_page_async_flush+0xa1/0x140 [nfs]
[825695.372225] RSP: 0018:ffff880484e29aa8 EFLAGS: 00010206
[825695.372251] RAX: 0000000000000001 RBX: ffffe200064cdd40 RCX: 0000000000000015
[825695.372294] RDX: 0000000000000000 RSI: 0000000000600020 RDI: ffff8802327a7e5c
[825695.372337] RBP: ffff880484e29ad8 R08: ffff8803e15c1c58 R09: ffff880498c87b80
[825695.372380] R10: 0000000000000000 R11: 0000000000000000 R12: ffff880498c87b80
[825695.372423] R13: ffff8802327a7e5c R14: ffffe200064cdd40 R15: ffff880484e29c48
[825695.372466] FS: 00007f9ac4826710(0000) GS:ffff88061efa2700(0000) knlGS:0000000000000000
[825695.372511] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[825695.372538] CR2: 00007f9abfe481e4 CR3: 000000028c4c1000 CR4: 00000000000006a0
[825695.372581] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[825695.372624] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[825695.372667] Process smbd (pid: 30470, threadinfo ffff880484e28000, task ffff88061cd15980)
[825695.372711] Stack:
[825695.372731] 0007ffffffffffff ffffe200064cdd40 ffff880484e29c48 ffff880484e29b90
[825695.372766] 0007ffffffffffff 0000000000000001 ffff880484e29af8 ffffffffa02b1897
[825695.372816] ffffe200064cdd40 ffffe200064cdd40 ffff880484e29b18 ffffffffa02b19c9
[825695.372883] Call Trace:
[825695.372905] [<ffffffffa02b1897>] nfs_do_writepage+0x87/0x90 [nfs]
[825695.372942] [<ffffffffa02b19c9>] nfs_writepages_callback+0x19/0x30 [nfs]
[825695.372981] [<ffffffff802b8a28>] write_cache_pages+0x228/0x480
[825695.373013] [<ffffffffa02b19b0>] ? nfs_writepages_callback+0x0/0x30 [nfs]
[825695.373053] [<ffffffff80226910>] ? native_flush_tlb_others+0xd0/0xf0
[825695.373085] [<ffffffff802d26be>] ? free_pages_and_swap_cache+0x7e/0xa0
[825695.373116] [<ffffffffa02b1053>] nfs_writepages+0xa3/0xf0 [nfs]
[825695.373154] [<ffffffffa02b1260>] ? nfs_flush_one+0x0/0xf0 [nfs]
[825695.373191] [<ffffffff802bf31f>] ? vma_prio_tree_next+0x3f/0x60
[825695.373220] [<ffffffff802b8cd8>] do_writepages+0x28/0x50
[825695.373248] [<ffffffff802b0c61>] __filemap_fdatawrite_range+0x51/0x60
[825695.373279] [<ffffffff802b0caa>] filemap_fdatawrite+0x1a/0x20
[825695.373307] [<ffffffff802b11b5>] filemap_write_and_wait+0x35/0x50
[825695.373336] ...

Read more...

Revision history for this message
Ronald van Engelen (ronalde) wrote :
Revision history for this message
Rich (rincebrain) wrote :

Hm, that bug's author seems strangely familiar... :)

Can we get this into mainline for all affected kernels (Intrepid+, I suppose...)?

Revision history for this message
Rich (rincebrain) wrote :

Sorry, I'm slightly sleepy, just Jaunty (Karmic's vanilla series already has the patch, conveniently).

Revision history for this message
Rich (rincebrain) wrote :

Wow, I'm far too tired to be reading bugs right now - I originally filed that bug on k.o against 2.6.27-series, so Intrepid should be included too.

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Rich,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 390960

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Rich (rincebrain) wrote :

Not a problem in Karmic, as far as I've seen.

bing (ingrambj)
Changed in linux (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.