linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* btrfs oops with kernel 3.5-rc4
@ 2012-06-26 20:09 Nathan A. Mourey II
  2012-06-26 20:19 ` Josef Bacik
  0 siblings, 1 reply; 4+ messages in thread
From: Nathan A. Mourey II @ 2012-06-26 20:09 UTC (permalink / raw)
  To: linux-btrfs

Oops with kernel v3.5-rc4.  This error produced while:

emerge --sync &&  emerge --update --newuse --deep --with-bdeps=y @world && emerge --depclean && revdep-rebuild
and 
stress --cpu 1 --io 8 -d 8  --vm 4  -t 8h

ver_linux.sh was ran on stable v3.4.4 system.  

Linux peach.example.com 3.4.4 #2 SMP Sun Jun 24 20:38:42 EDT 2012 i686
Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux

 Gnu C                  4.5.3
 Gnu make               3.82
 binutils               2.21.1
 util-linux             ./ver_linux: line 23: fdformat: command not found
 mount                  support
 module-init-tools      found
 quota-tools            3.17.
 Linux C Library        2.14.1
 Dynamic linker (ldd)   2.14.1
 Procps                 3.2.8
 Kbd                    1.15.3wip
 Sh-utils               8.14
 Modules Loaded         ext3 jbd ehci_hcd

---- Oops ----


Jun 25 21:49:35 peach klogd: [15110.648485] BUG: unable to handle kernel paging request at fffffedc
Jun 25 21:49:35 peach klogd: [15110.648527] IP: [<c1234292>] btrfs_finish_ordered_io+0x22/0x470
Jun 25 21:49:35 peach klogd: [15110.648545] *pde = 018b0067 *pte = 00000000
Jun 25 21:49:35 peach klogd: [15110.648558] Oops: 0000 [#1] SMP
Jun 25 21:49:35 peach klogd: [15110.648571] Modules linked in: ext3 jbd ehci_hcd
Jun 25 21:49:35 peach klogd: [15110.648584]
Jun 25 21:49:35 peach klogd: [15110.648596] Pid: 28814, comm: btrfs-endio-wri Not tainted 3.5.0-rc4 #3 HP Pavilion 061 DM170A-ABA A350N/'P4SD-LA'
Jun 25 21:49:35 peach klogd: [15110.648618] EIP: 0060:[<c1234292>] EFLAGS: 00010293 CPU: 1
Jun 25 21:49:35 peach klogd: [15110.648633] EIP is at btrfs_finish_ordered_io+0x22/0x470
Jun 25 21:49:35 peach klogd: [15110.648646] EAX: fffffedc EBX: f027ce40 ECX: f027ceb4 EDX: 00000000
Jun 25 21:49:35 peach klogd: [15110.648661] ESI: f027cea0 EDI: db42624c EBP: db42626c ESP: f057ff08
Jun 25 21:49:35 peach klogd: [15110.648676]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
Jun 25 21:49:35 peach klogd: [15110.648690] CR0: 8005003b CR2: fffffedc CR3: 0458b000 CR4: 000007d0
Jun 25 21:49:35 peach klogd: [15110.648706] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
Jun 25 21:49:35 peach klogd: [15110.648721] DR6: ffff0ff0 DR7: 00000400
Jun 25 21:49:35 peach klogd: [15110.648733] Process btrfs-endio-wri (pid: 28814, ti=f057e000 task=ca0bf2a0 task.ti=f057e000)
Jun 25 21:49:35 peach klogd: [15110.648750] Stack:
Jun 25 21:49:35 peach klogd: [15110.648764]  f057ff3c 00000286 c103a54c 00000286 f057ff3c 00e1fe18 f057ff3c c103a5b1
Jun 25 21:49:35 peach klogd: [15110.648787]  f7078000 c164c7b4 00000000 00000001 00000000 00000000 00200200 00e3d2d8
Jun 25 21:49:35 peach klogd: [15110.648810]  fffffedc c10399a0 010bf2a0 ffffffff 00000286 db426240 f027cea0 db42624c
Jun 25 21:49:35 peach klogd: [15110.648826] Call Trace: Jun 25 21:49:35 peach klogd: [15110.648841]  [<c103a54c>] ?  try_to_del_timer_sync+0x5c/0xa0
Jun 25 21:49:35 peach klogd: [15110.648857]  [<c103a5b1>] ?  del_timer_sync+0x21/0x40
Jun 25 21:49:35 peach klogd: [15110.648874]  [<c164c7b4>] ?  schedule_timeout+0x124/0x220
Jun 25 21:49:35 peach klogd: [15110.648890]  [<c10399a0>] ? cascade+0x70/0x70
Jun 25 21:49:35 peach klogd: [15110.648904]  [<c12641ce>] ?  worker_loop+0x7e/0x440
Jun 25 21:49:35 peach klogd: [15110.648921]  [<c1264150>] ?  btrfs_queue_worker+0x2b0/0x2b0
Jun 25 21:49:35 peach klogd: [15110.648937]  [<c104984c>] ? kthread+0x7c/0x90
Jun 25 21:49:35 peach klogd: [15110.648950]  [<c10497d0>] ?  kthread_worker_fn+0x100/0x100
Jun 25 21:49:35 peach klogd: [15110.648966]  [<c164f5b6>] ?  kernel_thread_helper+0x6/0xd
Jun 25 21:49:35 peach klogd: [15110.649032] Code: ff ff 8d b4 26 00 00 00 00 55 57 56 53 89 c3 83 ec 54 8b 40 34 c6 44 24 4b 01 89 44 24 30 8b 54 24 30 2d 24 01 00 00 89 44 24 40 <8b> b2 dc fe ff ff 81 ea 04 01 00 00 89 54 24 4c c7 44 24 50 00
Jun 25 21:49:35 peach klogd: [15110.649087] EIP: [<c1234292>] btrfs_finish_ordered_io+0x22/0x470 SS:ESP 0068:f057ff08
Jun 25 21:49:35 peach klogd: [15110.649121] CR2: 00000000fffffedc
Jun 25 21:49:35 peach klogd: [15110.649169] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
Jun 25 21:49:35 peach klogd: [15110.666447] [drm] nouveau 0000:01:00.0: Setting dpms mode 0 on vga encoder (output 0)
Jun 25 21:49:35 peach klogd: [15110.666447] [drm] nouveau 0000:01:00.0: Output VGA-1 is running on CRTC 0 using output A
Jun 25 21:49:35 peach klogd: [15110.666447] ---[ end trace 676eca54f3265f4d ]---
Jun 25 21:57:58 peach klogd: [15614.172223] [drm] nouveau 0000:01:00.0: Setting dpms mode 3 on vga encoder (output 0)
Jun 25 22:51:57 peach klogd: klogd 1.4.1, log source = /proc/kmsg started.
Jun 25 22:51:57 peach klogd: Cannot find map file.

                                                                 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: btrfs oops with kernel 3.5-rc4
  2012-06-26 20:09 btrfs oops with kernel 3.5-rc4 Nathan A. Mourey II
@ 2012-06-26 20:19 ` Josef Bacik
  2012-06-27 18:57   ` Nathan A. Mourey II
  0 siblings, 1 reply; 4+ messages in thread
From: Josef Bacik @ 2012-06-26 20:19 UTC (permalink / raw)
  To: Nathan A. Mourey II; +Cc: linux-btrfs@vger.kernel.org

On Tue, Jun 26, 2012 at 02:09:19PM -0600, Nathan A. Mourey II wrote:
> Oops with kernel v3.5-rc4.  This error produced while:
> 
> emerge --sync &&  emerge --update --newuse --deep --with-bdeps=y @world && emerge --depclean && revdep-rebuild
> and 
> stress --cpu 1 --io 8 -d 8  --vm 4  -t 8h
> 
> ver_linux.sh was ran on stable v3.4.4 system.  
> 
> Linux peach.example.com 3.4.4 #2 SMP Sun Jun 24 20:38:42 EDT 2012 i686
> Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux
> 
>  Gnu C                  4.5.3
>  Gnu make               3.82
>  binutils               2.21.1
>  util-linux             ./ver_linux: line 23: fdformat: command not found
>  mount                  support
>  module-init-tools      found
>  quota-tools            3.17.
>  Linux C Library        2.14.1
>  Dynamic linker (ldd)   2.14.1
>  Procps                 3.2.8
>  Kbd                    1.15.3wip
>  Sh-utils               8.14
>  Modules Loaded         ext3 jbd ehci_hcd
> 

Can you gdb btrfs.ko and do 

list *(btrfs_finish_ordered_io+0x22)

please?  And are you running compression by chance?  Thanks,

Josef

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: btrfs oops with kernel 3.5-rc4
  2012-06-26 20:19 ` Josef Bacik
@ 2012-06-27 18:57   ` Nathan A. Mourey II
  2012-06-27 21:16     ` Josef Bacik
  0 siblings, 1 reply; 4+ messages in thread
From: Nathan A. Mourey II @ 2012-06-27 18:57 UTC (permalink / raw)
  To: Josef Bacik; +Cc: linux-btrfs@vger.kernel.org

On Tue, 2012-06-26 at 16:19 -0400, Josef Bacik wrote:
> list *(btrfs_finish_ordered_io+0x22)

Reading symbols from /home/nmoureyii/kernel/linux-3.5-rc4/vmlinux...done.
(gdb) list *(btrfs_finish_ordered_io+0x22)
0xc1237552 is in btrfs_finish_ordered_io (fs/btrfs/inode.c:1864).
1859	 * fully written.
1860	 */
1861	static int btrfs_finish_ordered_io(struct btrfs_ordered_extent *ordered_extent)
1862	{
1863		struct inode *inode = ordered_extent->inode;
1864		struct btrfs_root *root = BTRFS_I(inode)->root;
1865		struct btrfs_trans_handle *trans = NULL;
1866		struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree;
1867		struct extent_state *cached_state = NULL;
1868		int compress_type = 0;
(gdb) 


And no compression.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: btrfs oops with kernel 3.5-rc4
  2012-06-27 18:57   ` Nathan A. Mourey II
@ 2012-06-27 21:16     ` Josef Bacik
  0 siblings, 0 replies; 4+ messages in thread
From: Josef Bacik @ 2012-06-27 21:16 UTC (permalink / raw)
  To: Nathan A. Mourey II; +Cc: Josef Bacik, linux-btrfs@vger.kernel.org

On Wed, Jun 27, 2012 at 12:57:52PM -0600, Nathan A. Mourey II wrote:
> On Tue, 2012-06-26 at 16:19 -0400, Josef Bacik wrote:
> > list *(btrfs_finish_ordered_io+0x22)
> 
> Reading symbols from /home/nmoureyii/kernel/linux-3.5-rc4/vmlinux...done.
> (gdb) list *(btrfs_finish_ordered_io+0x22)
> 0xc1237552 is in btrfs_finish_ordered_io (fs/btrfs/inode.c:1864).
> 1859	 * fully written.
> 1860	 */
> 1861	static int btrfs_finish_ordered_io(struct btrfs_ordered_extent *ordered_extent)
> 1862	{
> 1863		struct inode *inode = ordered_extent->inode;
> 1864		struct btrfs_root *root = BTRFS_I(inode)->root;
> 1865		struct btrfs_trans_handle *trans = NULL;
> 1866		struct extent_io_tree *io_tree = &BTRFS_I(inode)->io_tree;
> 1867		struct extent_state *cached_state = NULL;
> 1868		int compress_type = 0;
> (gdb) 
> 
> 

Just sent a patch to the list, please test it and verify it works, the subject
is

Btrfs: hold a ref on the inode during writepages

Thanks,

Josef

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-06-27 21:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-26 20:09 btrfs oops with kernel 3.5-rc4 Nathan A. Mourey II
2012-06-26 20:19 ` Josef Bacik
2012-06-27 18:57   ` Nathan A. Mourey II
2012-06-27 21:16     ` Josef Bacik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).