From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anisse Astier Subject: Re: [BUG] Oops while mkfs.ext3 in block/writeback Date: Fri, 24 Sep 2010 11:24:23 +0200 Message-ID: <20100924112423.5f781eea@destiny.ordissimo> References: <20100920174942.46b3ffc7@destiny.ordissimo> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE To: linux-fsdevel@vger.kernel.org Return-path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:36616 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755224Ab0IXJZA convert rfc822-to-8bit (ORCPT ); Fri, 24 Sep 2010 05:25:00 -0400 Received: by wwd20 with SMTP id 20so58623wwd.1 for ; Fri, 24 Sep 2010 02:24:59 -0700 (PDT) In-Reply-To: <20100920174942.46b3ffc7@destiny.ordissimo> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Mon, 20 Sep 2010 17:49:42 +0200, Anisse Astier wr= ote : > Hi, >=20 > (Please Cc: me since I'm not subscribed to fsdevel) >=20 > I had this oops on a Toshiba L670D laptop; I was able to reproduce wi= th > version 2.6.33.3 and 2.6.31.6 (I know these aren't up-to-date). > This happened while running "mkfs.ext3 -O dir_index -L home /dev/sda9= ". I had new traces: [ 955.035230] ------------[ cut here ]------------ [ 955.035238] WARNING: at fs/buffer.c:1682 __block_write_full_page+0x1= 36/0x2e0() [ 955.035241] Hardware name: Satellite L670D [ 955.035243] Modules linked in: ipv6 fuse snd_hda_codec_atihdmi snd_h= da_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep uvcvideo snd_pcm= videodev video usb_storage v4l1_compat output rtc_cmos snd_timer snd r= tc_core battery snd_page_alloc ac rtc_lib i2c_piix4 r8192se_pci i2c_cor= e button processor nfs lockd nfs_acl auth_rpcgss sunrpc smsc95xx usbnet= ohci_hcd ehci_hcd usbcore thermal thermal_sys [ 955.035270] Pid: 9689, comm: flush-8:0 Not tainted 2.6.35.4 #30 [ 955.035272] Call Trace: [ 955.035277] [] ? warn_slowpath_common+0x6a/0x7b [ 955.035281] [] ? __block_write_full_page+0x136/0x2e0 [ 955.035284] [] ? warn_slowpath_null+0xd/0x10 [ 955.035287] [] ? __block_write_full_page+0x136/0x2e0 [ 955.035291] [] ? blkdev_get_block+0x0/0xc9 [ 955.035294] [] ? block_write_full_page_endio+0xa6/0xaf [ 955.035298] [] ? end_buffer_async_write+0x0/0xd1 [ 955.035301] [] ? blkdev_get_block+0x0/0xc9 [ 955.035304] [] ? block_write_full_page+0xa/0xc [ 955.035307] [] ? end_buffer_async_write+0x0/0xd1 [ 955.035310] [] ? __writepage+0x8/0x1f [ 955.035314] [] ? write_cache_pages+0x1af/0x267 [ 955.035317] [] ? __writepage+0x0/0x1f [ 955.035320] [] ? generic_writepages+0x16/0x1d [ 955.035324] [] ? do_writepages+0x14/0x20 [ 955.035327] [] ? writeback_single_inode+0xb0/0x272 [ 955.035331] [] ? writeback_sb_inodes+0x128/0x1da [ 955.035334] [] ? writeback_inodes_wb+0xfa/0x10a [ 955.035337] [] ? wb_writeback+0x16c/0x1d2 [ 955.035341] [] ? wb_do_writeback+0x40/0x117 [ 955.035344] [] ? process_timeout+0x0/0x5 [ 955.035348] [] ? bdi_writeback_task+0x2f/0xe8 [ 955.035351] [] ? bdi_start_fn+0x52/0x9e [ 955.035354] [] ? bdi_start_fn+0x0/0x9e [ 955.035358] [] ? kthread+0x5f/0x64 [ 955.035361] [] ? kthread+0x0/0x64 [ 955.035364] [] ? kernel_thread_helper+0x6/0x10 [ 955.035366] ---[ end trace a0d09cf2717b5bad ]--- [ 1080.365094] flush-8:0 D 0009fdfb 0 9689 2 0x00000000 [ 1080.365099] c2d06440 00000046 f5b13bc0 0009fdfb c141a440 c141a440 0= 0000001 c1414000 [ 1080.365105] c141a440 0000000f f586dd49 00000000 00000001 00000001 c= 2d06440 f5b13bc0 [ 1080.365109] 00000000 c1452a04 c1297bb1 f586dd78 f586dd80 c108cb79 c= 12980b1 c108cb49 [ 1080.365114] Call Trace: [ 1080.365122] [] ? io_schedule+0x2a/0x3b [ 1080.365126] [] ? sync_buffer+0x30/0x33 [ 1080.365129] [] ? __wait_on_bit+0x31/0x56 [ 1080.365132] [] ? sync_buffer+0x0/0x33 [ 1080.365134] [] ? sync_buffer+0x0/0x33 [ 1080.365138] [] ? out_of_line_wait_on_bit+0x9b/0xa3 [ 1080.365142] [] ? wake_bit_function+0x0/0x30 [ 1080.365145] [] ? __wait_on_buffer+0x16/0x18 [ 1080.365148] [] ? unmap_underlying_metadata+0x42/0x54 [ 1080.365151] [] ? __block_write_full_page+0x16b/0x2e0 [ 1080.365155] [] ? blkdev_get_block+0x0/0xc9 [ 1080.365158] [] ? block_write_full_page_endio+0xa6/0xaf [ 1080.365161] [] ? end_buffer_async_write+0x0/0xd1 [ 1080.365164] [] ? blkdev_get_block+0x0/0xc9 [ 1080.365167] [] ? block_write_full_page+0xa/0xc [ 1080.365169] [] ? end_buffer_async_write+0x0/0xd1 [ 1080.365173] [] ? __writepage+0x8/0x1f [ 1080.365176] [] ? write_cache_pages+0x1af/0x267 [ 1080.365179] [] ? __writepage+0x0/0x1f [ 1080.365183] [] ? generic_writepages+0x16/0x1d [ 1080.365186] [] ? do_writepages+0x14/0x20 [ 1080.365190] [] ? writeback_single_inode+0xb0/0x272 [ 1080.365193] [] ? writeback_sb_inodes+0x128/0x1da [ 1080.365196] [] ? writeback_inodes_wb+0xfa/0x10a [ 1080.365200] [] ? wb_writeback+0x16c/0x1d2 [ 1080.365203] [] ? wb_do_writeback+0x40/0x117 [ 1080.365207] [] ? process_timeout+0x0/0x5 [ 1080.365210] [] ? bdi_writeback_task+0x2f/0xe8 [ 1080.365214] [] ? bdi_start_fn+0x52/0x9e [ 1080.365217] [] ? bdi_start_fn+0x0/0x9e [ 1080.365220] [] ? kthread+0x5f/0x64 [ 1080.365223] [] ? kthread+0x0/0x64 [ 1080.365226] [] ? kernel_thread_helper+0x6/0x10 [=E2=80=A6] A few more of those every two minutes, followed by an Oops: [ 2160.372199] INFO: task flush-8:0:9689 blocked for more than 120 seco= nds. [ 2160.372202] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disab= les this message. [ 2160.372205] flush-8:0 D 0009fdfb 0 9689 2 0x00000000 [ 2160.372210] c2d06440 00000046 f5b13bc0 0009fdfb c141a440 c141a440 0= 0000001 c1414000 [ 2160.372215] c141a440 0000000f f586dd49 00000000 00000001 00000001 c= 2d06440 f5b13bc0 [ 2160.372220] 00000000 c1452a04 c1297bb1 f586dd78 f586dd80 c108cb79 c= 12980b1 c108cb49 [ 2160.372225] Call Trace: [ 2160.372233] [] ? io_schedule+0x2a/0x3b [ 2160.372237] [] ? sync_buffer+0x30/0x33 [ 2160.372240] [] ? __wait_on_bit+0x31/0x56 [ 2160.372243] [] ? sync_buffer+0x0/0x33 [ 2160.372245] [] ? sync_buffer+0x0/0x33 [ 2160.372248] [] ? out_of_line_wait_on_bit+0x9b/0xa3 [ 2160.372253] [] ? wake_bit_function+0x0/0x30 [ 2160.372255] [] ? __wait_on_buffer+0x16/0x18 [ 2160.372258] [] ? unmap_underlying_metadata+0x42/0x54 [ 2160.372262] [] ? __block_write_full_page+0x16b/0x2e0 [ 2160.372265] [] ? blkdev_get_block+0x0/0xc9 [ 2160.372268] [] ? block_write_full_page_endio+0xa6/0xaf [ 2160.372271] [] ? end_buffer_async_write+0x0/0xd1 [ 2160.372274] [] ? blkdev_get_block+0x0/0xc9 [ 2160.372277] [] ? block_write_full_page+0xa/0xc [ 2160.372280] [] ? end_buffer_async_write+0x0/0xd1 [ 2160.372284] [] ? __writepage+0x8/0x1f [ 2160.372287] [] ? write_cache_pages+0x1af/0x267 [ 2160.372290] [] ? __writepage+0x0/0x1f [ 2160.372294] [] ? generic_writepages+0x16/0x1d [ 2160.372297] [] ? do_writepages+0x14/0x20 [ 2160.372300] [] ? writeback_single_inode+0xb0/0x272 [ 2160.372304] [] ? writeback_sb_inodes+0x128/0x1da [ 2160.372307] [] ? writeback_inodes_wb+0xfa/0x10a [ 2160.372310] [] ? wb_writeback+0x16c/0x1d2 [ 2160.372314] [] ? wb_do_writeback+0x40/0x117 [ 2160.372317] [] ? process_timeout+0x0/0x5 [ 2160.372320] [] ? bdi_writeback_task+0x2f/0xe8 [ 2160.372324] [] ? bdi_start_fn+0x52/0x9e [ 2160.372327] [] ? bdi_start_fn+0x0/0x9e [ 2160.372330] [] ? kthread+0x5f/0x64 [ 2160.372333] [] ? kthread+0x0/0x64 [ 2160.372336] [] ? kernel_thread_helper+0x6/0x10 [ 2447.742681] ------------[ cut here ]------------ [ 2447.742688] WARNING: at fs/buffer.c:1189 __brelse+0x20/0x24() [ 2447.742699] Hardware name: Satellite L670D [ 2447.742700] VFS: brelse: Trying to free free buffer [ 2447.742702] Modules linked in: ipv6 fuse snd_hda_codec_atihdmi snd_h= da_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep uvcvideo snd_pcm= videodev video usb_storage v4l1_compat output rtc_cmos snd_timer snd r= tc_core battery snd_page_alloc ac rtc_lib i2c_piix4 r8192se_pci i2c_cor= e button processor nfs lockd nfs_acl auth_rpcgss sunrpc smsc95xx usbnet= ohci_hcd ehci_hcd usbcore thermal thermal_sys [ 2447.742724] Pid: 9689, comm: flush-8:0 Tainted: G W 2.6.35.= 4 #30 [ 2447.742726] Call Trace: [ 2447.742731] [] ? warn_slowpath_common+0x6a/0x7b [ 2447.742735] [] ? __brelse+0x20/0x24 [ 2447.742738] [] ? warn_slowpath_fmt+0x28/0x2c [ 2447.742741] [] ? __brelse+0x20/0x24 [ 2447.742744] [] ? __block_write_full_page+0x16b/0x2e0 [ 2447.742747] [] ? blkdev_get_block+0x0/0xc9 [ 2447.742750] [] ? block_write_full_page_endio+0xa6/0xaf [ 2447.742753] [] ? end_buffer_async_write+0x0/0xd1 [ 2447.742756] [] ? blkdev_get_block+0x0/0xc9 [ 2447.742759] [] ? block_write_full_page+0xa/0xc [ 2447.742761] [] ? end_buffer_async_write+0x0/0xd1 [ 2447.742765] [] ? __writepage+0x8/0x1f [ 2447.742768] [] ? write_cache_pages+0x1af/0x267 [ 2447.742771] [] ? __writepage+0x0/0x1f [ 2447.742774] [] ? generic_writepages+0x16/0x1d [ 2447.742777] [] ? do_writepages+0x14/0x20 [ 2447.742780] [] ? writeback_single_inode+0xb0/0x272 [ 2447.742783] [] ? writeback_sb_inodes+0x128/0x1da [ 2447.742787] [] ? writeback_inodes_wb+0xfa/0x10a [ 2447.742790] [] ? wb_writeback+0x16c/0x1d2 [ 2447.742793] [] ? wb_do_writeback+0x40/0x117 [ 2447.742797] [] ? process_timeout+0x0/0x5 [ 2447.742800] [] ? bdi_writeback_task+0x2f/0xe8 [ 2447.742803] [] ? bdi_start_fn+0x52/0x9e [ 2447.742805] [] ? bdi_start_fn+0x0/0x9e [ 2447.742808] [] ? kthread+0x5f/0x64 [ 2447.742811] [] ? kthread+0x0/0x64 [ 2447.742814] [] ? kernel_thread_helper+0x6/0x10 [ 2447.742816] ---[ end trace a0d09cf2717b5bae ]--- [ 2447.742822] BUG: unable to handle kernel NULL pointer dereference at= (null) [ 2447.742824] IP: [] __block_write_full_page+0x10f/0x2e0 [ 2447.742828] *pde =3D 00000000=20 [ 2447.742830] Oops: 0000 [#1] SMP=20 [ 2447.742832] last sysfs file: /sys/devices/pci0000:00/0000:00:11.0/ho= st0/target0:0:0/0:0:0:0/block/sda/removable [ 2447.742835] Modules linked in: ipv6 fuse snd_hda_codec_atihdmi snd_h= da_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep uvcvideo snd_pcm= videodev video usb_storage v4l1_compat output rtc_cmos snd_timer snd r= tc_core battery snd_page_alloc ac rtc_lib i2c_piix4 r8192se_pci i2c_cor= e button processor nfs lockd nfs_acl auth_rpcgss sunrpc smsc95xx usbnet= ohci_hcd ehci_hcd usbcore thermal thermal_sys [ 2447.742850]=20 [ 2447.742853] Pid: 9689, comm: flush-8:0 Tainted: G W 2.6.35.= 4 #30 NALAE/Satellite L670D [ 2447.742855] EIP: 0060:[] EFLAGS: 00010283 CPU: 1 [ 2447.742858] EIP is at __block_write_full_page+0x10f/0x2e0 [ 2447.742860] EAX: 00000000 EBX: 05a8091f ECX: f586dd78 EDX: c108c01d [ 2447.742862] ESI: 00000000 EDI: 00000000 EBP: c14731a0 ESP: f586ddc0 [ 2447.742864] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 [ 2447.742867] Process flush-8:0 (pid: 9689, ti=3Df586c000 task=3Df5b13= bc0 task.ti=3Df586c000) [ 2447.742869] Stack: [ 2447.742870] c009cf98 00000001 db6d983c 00000200 19f0a312 00000000 c= 10900bf c14731a0 [ 2447.742873] <0> db6d983c e1462600 00000033 c108e1ca f586df10 c108ccd= b c10900bf f586df10 [ 2447.742877] <0> db6d98ec f586df10 00000000 00000000 c108e1dd c108ccd= b c1056a67 c14731a0 [ 2447.742880] Call Trace: [ 2447.742884] [] ? blkdev_get_block+0x0/0xc9 [ 2447.742887] [] ? block_write_full_page_endio+0xa6/0xaf [ 2447.742889] [] ? end_buffer_async_write+0x0/0xd1 [ 2447.742892] [] ? blkdev_get_block+0x0/0xc9 [ 2447.742895] [] ? block_write_full_page+0xa/0xc [ 2447.742897] [] ? end_buffer_async_write+0x0/0xd1 [ 2447.742900] [] ? __writepage+0x8/0x1f [ 2447.742903] [] ? write_cache_pages+0x1af/0x267 [ 2447.742906] [] ? __writepage+0x0/0x1f [ 2447.742909] [] ? generic_writepages+0x16/0x1d [ 2447.742912] [] ? do_writepages+0x14/0x20 [ 2447.742915] [] ? writeback_single_inode+0xb0/0x272 [ 2447.742918] [] ? writeback_sb_inodes+0x128/0x1da [ 2447.742921] [] ? writeback_inodes_wb+0xfa/0x10a [ 2447.742924] [] ? wb_writeback+0x16c/0x1d2 [ 2447.742927] [] ? wb_do_writeback+0x40/0x117 [ 2447.742930] [] ? process_timeout+0x0/0x5 [ 2447.742933] [] ? bdi_writeback_task+0x2f/0xe8 [ 2447.742936] [] ? bdi_start_fn+0x52/0x9e [ 2447.742938] [] ? bdi_start_fn+0x0/0x9e [ 2447.742941] [] ? kthread+0x5f/0x64 [ 2447.742944] [] ? kthread+0x0/0x64 [ 2447.742946] [] ? kernel_thread_helper+0x6/0x10 [ 2447.742948] Code: d3 e3 f6 c1 20 74 04 89 de 31 db 8b 45 0c 89 04 24= 89 c7 3b 74 24 14 72 12 77 06 3b 5c 24 10 76 0a f0 80 27 fd f0 80 0f 0= 1 eb 5c <8b> 07 a8 20 74 05 f6 c4 02 74 51 a8 02 74 4d 8b 54 24 0c 39 5= 7=20 [ 2447.742964] EIP: [] __block_write_full_page+0x10f/0x2e0 SS= :ESP 0068:f586ddc0 [ 2447.742968] CR2: 0000000000000000 [ 2447.742984] ---[ end trace a0d09cf2717b5baf ]--- -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html