All of lore.kernel.org
 help / color / mirror / Atom feed
* btrfs-error
@ 2013-09-10 17:04 David O'Riley
  0 siblings, 0 replies; 2+ messages in thread
From: David O'Riley @ 2013-09-10 17:04 UTC (permalink / raw)
  To: linux-btrfs

Hi,

I have been using ubuntu-gnome 13.04 for a couple of week with no
issue. After a power failure my system fails to boot, error in rootfs.

If I boot from a live CD and try to mount /dev/sda6 the system crashed.

I have also tried btrfsck /dev/sda6 which gives the below error,

root@eeePC:/# btrfsck /dev/sda6
checking extents
checking fs roots
checking root refs
*** Error in `btrfsck': double free or corruption (!prev): 0x09bd1a00 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x767e2)[0xb762d7e2]
/lib/i386-linux-gnu/libc.so.6(+0x77530)[0xb762e530]
btrfsck[0x8054c83]
btrfsck[0x80499b3]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0xb75d0935]
btrfsck[0x8049ac5]
======= Memory map: ========
08048000-08074000 r-xp 00000000 08:11 766828     /sbin/btrfsck
08074000-08075000 r--p 0002b000 08:11 766828     /sbin/btrfsck
08075000-08076000 rw-p 0002c000 08:11 766828     /sbin/btrfsck
09bc0000-2914e000 rw-p 00000000 00:00 0          [heap]
b7585000-b75a0000 r-xp 00000000 08:11 256588
/lib/i386-linux-gnu/libgcc_s.so.1
b75a0000-b75a1000 r--p 0001a000 08:11 256588
/lib/i386-linux-gnu/libgcc_s.so.1
b75a1000-b75a2000 rw-p 0001b000 08:11 256588
/lib/i386-linux-gnu/libgcc_s.so.1
b75b5000-b75b7000 rw-p 00000000 00:00 0
b75b7000-b7764000 r-xp 00000000 08:11 256574
/lib/i386-linux-gnu/libc-2.17.so
b7764000-b7766000 r--p 001ad000 08:11 256574
/lib/i386-linux-gnu/libc-2.17.so
b7766000-b7767000 rw-p 001af000 08:11 256574
/lib/i386-linux-gnu/libc-2.17.so
b7767000-b776a000 rw-p 00000000 00:00 0
b776a000-b776e000 r-xp 00000000 08:11 256653
/lib/i386-linux-gnu/libuuid.so.1.3.0
b776e000-b776f000 r--p 00003000 08:11 256653
/lib/i386-linux-gnu/libuuid.so.1.3.0
b776f000-b7770000 rw-p 00004000 08:11 256653
/lib/i386-linux-gnu/libuuid.so.1.3.0
b7782000-b7785000 rw-p 00000000 00:00 0
b7785000-b7786000 r-xp 00000000 00:00 0          [vdso]
b7786000-b77a6000 r-xp 00000000 08:11 256563     /lib/i386-linux-gnu/ld-2.17.so
b77a6000-b77a7000 r--p 0001f000 08:11 256563     /lib/i386-linux-gnu/ld-2.17.so
b77a7000-b77a8000 rw-p 00020000 08:11 256563     /lib/i386-linux-gnu/ld-2.17.so
bfbb6000-bfbd7000 rw-p 00000000 00:00 0          [stack]
Aborted (core dumped)

Is there anything you would advise to try next?

Dave.

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

* Re: btrfs-error
       [not found] <CAGt=4JxkC0Y0wue6iHHVMhRc7ZNPK0EMBoxfddqpFmi4Z94Aig@mail.gmail. com>
@ 2013-09-11  5:32 ` Duncan
  0 siblings, 0 replies; 2+ messages in thread
From: Duncan @ 2013-09-11  5:32 UTC (permalink / raw)
  To: linux-btrfs

David O'Riley posted on Tue, 10 Sep 2013 18:04:20 +0100 as excerpted:

> I have been using ubuntu-gnome 13.04 for a couple of week with no issue.
> After a power failure my system fails to boot, error in rootfs.
> 
> If I boot from a live CD and try to mount /dev/sda6 the system crashed.
> 
> I have also tried btrfsck /dev/sda6 which gives the below error,
> 
> [...] *** Error in `btrfsck': double free or corruption [...]
> 
> Is there anything you would advise to try next?

Just a user and list regular, here, with a generic answer as I don't 
claim to read backtraces, etc...

The below link is to an archived post with the general btrfs repair steps 
and the recommended order in which to try them.  (This should be added to 
the wiki as well, but I haven't checked to see if it has been.)

http://permalink.gmane.org/gmane.comp.file-systems.btrfs/27999

However, before that, please do try with a current kernel and btrfs-tools 
-- I don't know how old the ubuntu kernel and tools are, but btrfs is 
still under heavy development and labeled experimental, which means 
anyone running it is choosing to be a tester, and each new kernel series 
brings bug fixes.  That means, if you're more than a single kernel stable 
series behind mainline you really ARE missing potentially critical 
bugfixes and really ARE unnecessarily risking your data, in addition to 
being able to provide rather less useful information when things do go 
wrong with your testing, than you could provide with a current kernel.

3.11 was recently released and we're in the pre-3.12-rc1 feature-commit 
phase, so ideally you'll be running 3.11 by now.  And I know for sure 
there were bug fixes in 3.11 that have helped people who were running 
earlier kernels so I'd definitely try it.  However, you should DEFINITELY 
be running at LEAST 3.10 series by now if you're testing btrfs, and if 
you're not prepared to do that, you should really reconsider whether  
running a developmental filesystem such as btrfs is appropriate for you 
at this point in the first place.

Same with btrfs-tools.  The latest full release is 0.19, but that's VERY 
old now.  There's a 0.20-rc1 out too, but even that's now old (from 2012 
I believe, and 358 commits behind).  For testing btrfs, you should really 
be running a reasonably new (definitely post 0.20-rc1) git snapshot (the 
latest commit seems to be from July 5, v0.20-rc1-358-g194aa4a, so ideally 
that commit or a snapshot dated after that), as development occurs on 
other branches and is merged to master only when it's ready, so current 
btrfs-tools git-master should always be the best version available.

Meanwhile, if you weren't aware of it yet, here's the wiki.  It's full of 
information (particularly the documentation section) you will almost 
certainly find rather useful as a btrfs tester! =:^)

https://btrfs.wiki.kernel.org 

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


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

end of thread, other threads:[~2013-09-11  5:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-10 17:04 btrfs-error David O'Riley
     [not found] <CAGt=4JxkC0Y0wue6iHHVMhRc7ZNPK0EMBoxfddqpFmi4Z94Aig@mail.gmail. com>
2013-09-11  5:32 ` btrfs-error Duncan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.