Re: WARNING: at fs/btrfs/free-space-cache.c:1887 after hard shutdown.

2012-06-29 Thread Jordan Windsor
On Fri, Jun 29, 2012 at 10:34 PM, Josef Bacik  wrote:
> On Fri, Jun 29, 2012 at 12:35:01AM -0600, Jordan Windsor wrote:
>> On Fri, Jun 29, 2012 at 3:09 PM, Chris Samuel  wrote:
>> > On 29/06/12 15:36, Jordan Windsor wrote:
>> >
>> >> I get the same problem with linux-mainline from AUR (latest)
>> >
>> > What does uname -a say ?
>> >
>> > cheers!
>> > Chris
>> > --
>> >  Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC
>> >
>> >
>>
>> Hello,
>> It says:
>> Linux archpc 3.5.0-1-mainline #1 SMP PREEMPT Fri Jun 29 02:09:43 CST
>> 2012 x86_64 GNU/Linux
>>
>
> Oh crap I'm sorry I thought this was in mainline already but it's not, it's in
> btrfs-next, pull down this git tree and you should be good to go
>
> git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git
>
> Thanks,
>
> Josef

Hello,
I got it working now thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: WARNING: at fs/btrfs/free-space-cache.c:1887 after hard shutdown.

2012-06-29 Thread Josef Bacik
On Fri, Jun 29, 2012 at 12:35:01AM -0600, Jordan Windsor wrote:
> On Fri, Jun 29, 2012 at 3:09 PM, Chris Samuel  wrote:
> > On 29/06/12 15:36, Jordan Windsor wrote:
> >
> >> I get the same problem with linux-mainline from AUR (latest)
> >
> > What does uname -a say ?
> >
> > cheers!
> > Chris
> > --
> >  Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC
> >
> >
> 
> Hello,
> It says:
> Linux archpc 3.5.0-1-mainline #1 SMP PREEMPT Fri Jun 29 02:09:43 CST
> 2012 x86_64 GNU/Linux
> 

Oh crap I'm sorry I thought this was in mainline already but it's not, it's in
btrfs-next, pull down this git tree and you should be good to go

git://git.kernel.org/pub/scm/linux/kernel/git/josef/btrfs-next.git

Thanks,

Josef
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: WARNING: at fs/btrfs/free-space-cache.c:1887 after hard shutdown.

2012-06-28 Thread Jordan Windsor
On Fri, Jun 29, 2012 at 3:09 PM, Chris Samuel  wrote:
> On 29/06/12 15:36, Jordan Windsor wrote:
>
>> I get the same problem with linux-mainline from AUR (latest)
>
> What does uname -a say ?
>
> cheers!
> Chris
> --
>  Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC
>
>

Hello,
It says:
Linux archpc 3.5.0-1-mainline #1 SMP PREEMPT Fri Jun 29 02:09:43 CST
2012 x86_64 GNU/Linux

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: WARNING: at fs/btrfs/free-space-cache.c:1887 after hard shutdown.

2012-06-28 Thread Chris Samuel
On 29/06/12 15:36, Jordan Windsor wrote:

> I get the same problem with linux-mainline from AUR (latest)

What does uname -a say ?

cheers!
Chris
-- 
 Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC


--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: WARNING: at fs/btrfs/free-space-cache.c:1887 after hard shutdown.

2012-06-28 Thread Jordan Windsor
On Wed, Jun 27, 2012 at 11:18 PM, Josef Bacik  wrote:
> On Tue, Jun 26, 2012 at 09:46:44PM -0600, Jordan Windsor wrote:
>> Hello,
>> My computer locked up and I had to press the reset button.
>> Ever since then I can't mount the btrfs filesystem, here's the output:
>>
>
> Already fixed, go to the newest kernel you can get ahold of, 3.5-rc4 is the
> newest I think?  Thanks,
>
> Josef

Hello,
I get the same problem with linux-mainline from AUR (latest), When I
try mounting with "-o clear_cache" the process hangs and I can't c-Z
or c-C it also I can't kill it in another terminal either.
Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: WARNING: at fs/btrfs/free-space-cache.c:1887 after hard shutdown.

2012-06-27 Thread Josef Bacik
On Tue, Jun 26, 2012 at 09:46:44PM -0600, Jordan Windsor wrote:
> Hello,
> My computer locked up and I had to press the reset button.
> Ever since then I can't mount the btrfs filesystem, here's the output:
> 

Already fixed, go to the newest kernel you can get ahold of, 3.5-rc4 is the
newest I think?  Thanks,

Josef
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: WARNING: at fs/btrfs/free-space-cache.c:1887 after hard shutdown.

2012-06-27 Thread Duncan
Jordan Windsor posted on Wed, 27 Jun 2012 13:16:44 +0930 as excerpted:

> My computer locked up and I had to press the reset button.
> Ever since then I can't mount the btrfs filesystem, here's the output:

Are you aware of the btrfs wiki and have you read up on btrfs there, yet?

https://btrfs.wiki.kernel.org/index.php/Main_Page

In particular, check the mount options listed there.  I had a similar 
problem when I was testing here (during the 3.4 kernel dev cycle, I 
decided btrfs was still too experimental for my current needs so am back 
on more reliable reiserfs for now), which turned out to be a corrupted 
space-cache.  Mounting with the listed nospace_cache option allowed the 
filesystem to mount and self-repair, after which I could mount it 
normally again.

https://btrfs.wiki.kernel.org/index.php/Mount_options

-- 
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

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


WARNING: at fs/btrfs/free-space-cache.c:1887 after hard shutdown.

2012-06-26 Thread Jordan Windsor
Hello,
My computer locked up and I had to press the reset button.
Ever since then I can't mount the btrfs filesystem, here's the output:

[   37.645583] [ cut here ]
[   37.645598] WARNING: at fs/btrfs/free-space-cache.c:1887
btrfs_remove_free_space+0x329/0x350 [btrfs]()
[   37.645600] Modules linked in: btrfs zlib_deflate libcrc32c ext4
jbd2 mbcache crc16 snd_hda_codec_realtek rc_dib0700_rc5 mt2266
dvb_usb_dib0700 dib3000mc dib8000 dib0070 dib7000m dib7000p
dibx000_common dib0090 dvb_usb dvb_core rc_core microcode joydev
usb_storage uas coretemp acpi_cpufreq mperf ppdev nvidia(PO) 8139too
8139cp mii iTCO_wdt i2c_i801 i2c_core iTCO_vendor_support serio_raw
i7core_edac edac_core evdev pcspkr processor parport_pc parport
snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_timer
snd soundcore button reiserfs aes_x86_64 cryptd aes_generic xts
gf128mul dm_crypt dm_mod usbhid hid sr_mod sd_mod cdrom pata_jmicron
pata_acpi uhci_hcd ata_piix ata_generic ahci libahci libata ehci_hcd
crc32c_intel usbcore scsi_mod usb_common floppy
[   37.645651] Pid: 304, comm: mount Tainted: P   O 3.4.4-2-ck #1
[   37.645653] Call Trace:
[   37.645659]  [] warn_slowpath_common+0x7f/0xc0
[   37.645662]  [] warn_slowpath_null+0x1a/0x20
[   37.645670]  [] btrfs_remove_free_space+0x329/0x350 [btrfs]
[   37.645674]  [] ? abort_exclusive_wait+0xb0/0xb0
[   37.645682]  []
btrfs_alloc_logged_file_extent+0x1bf/0x1e0 [btrfs]
[   37.645688]  [] ? btrfs_free_path+0x2a/0x40 [btrfs]
[   37.645697]  [] replay_one_extent+0x5be/0x620 [btrfs]
[   37.645701]  [] ? iput+0x105/0x210
[   37.645710]  [] replay_one_buffer+0x27b/0x350 [btrfs]
[   37.645719]  [] ? alloc_extent_buffer+0x9d/0x5c0 [btrfs]
[   37.645728]  [] walk_down_log_tree+0x202/0x3c0 [btrfs]
[   37.645736]  [] walk_log_tree+0x9d/0x1f0 [btrfs]
[   37.645745]  [] btrfs_recover_log_trees+0x21b/0x3a0 [btrfs]
[   37.645754]  [] ? replay_one_dir_item+0xe0/0xe0 [btrfs]
[   37.645763]  [] open_ctree+0x14ed/0x1ac0 [btrfs]
[   37.645767]  [] ? disk_name+0x61/0xc0
[   37.645773]  [] btrfs_mount+0x5b6/0x6a0 [btrfs]
[   37.645776]  [] ? alloc_pages_current+0xb0/0x120
[   37.645780]  [] mount_fs+0x43/0x1b0
[   37.645783]  [] vfs_kern_mount+0x70/0x100
[   37.645786]  [] do_kern_mount+0x54/0x110
[   37.645788]  [] do_mount+0x26a/0x850
[   37.645791]  [] ? __get_free_pages+0xe/0x50
[   37.645794]  [] ? copy_mount_options+0x3a/0x180
[   37.645797]  [] sys_mount+0x8d/0xe0
[   37.645801]  [] system_call_fastpath+0x16/0x1b
[   37.645802] ---[ end trace 98bf42a1cdef3f88 ]---
[   37.645812] [ cut here ]
[   37.646716] kernel BUG at fs/btrfs/extent-tree.c:6107!
[   37.647722] invalid opcode:  [#1] PREEMPT SMP
[   37.648763] CPU 1
[   37.649156] Modules linked in: btrfs zlib_deflate libcrc32c ext4
jbd2 mbcache crc16 snd_hda_codec_realtek rc_dib0700_rc5 mt2266
dvb_usb_dib0700 dib3000mc dib8000 dib0070 dib7000m dib7000p
dibx000_common dib0090 dvb_usb dvb_core rc_core microcode joydev
usb_storage uas coretemp acpi_cpufreq mperf ppdev nvidia(PO) 8139too
8139cp mii iTCO_wdt i2c_i801 i2c_core iTCO_vendor_support serio_raw
i7core_edac edac_core evdev pcspkr processor parport_pc parport
snd_hda_intel snd_hda_codec snd_hwdep snd_pcm snd_page_alloc snd_timer
snd soundcore button reiserfs aes_x86_64 cryptd aes_generic xts
gf128mul dm_crypt dm_mod usbhid hid sr_mod sd_mod cdrom pata_jmicron
pata_acpi uhci_hcd ata_piix ata_generic ahci libahci libata ehci_hcd
crc32c_intel usbcore scsi_mod usb_common floppy
[   37.665300]
[   37.665591] Pid: 304, comm: mount Tainted: PW  O 3.4.4-2-ck #1
[   37.666973] RIP: 0010:[]  []
btrfs_alloc_logged_file_extent+0x1c7/0x1e0 [btrfs]
[   37.669058] RSP: 0018:880118649748  EFLAGS: 00010282
[   37.670098] RAX: ffea RBX: 88010ff1a000 RCX: 000e
[   37.671495] RDX:  RSI: 0046 RDI: 88010fef6840
[   37.672892] RBP: 8801186497c8 R08:  R09: 
[   37.674289] R10:  R11:  R12: 880118649883
[   37.675687] R13:  R14: 0019cf4be000 R15: 88010fc95800
[   37.731396] FS:  7fb10edfb740() GS:88011fc4()
knlGS:
[   37.788242] CS:  0010 DS:  ES:  CR0: 8005003b
[   37.788243] CR2: 7f5b18c9c15c CR3: 000110a7d000 CR4: 07e0
[   37.788245] DR0:  DR1:  DR2: 
[   37.788247] DR3:  DR6: 0ff0 DR7: 0400
[   37.788249] Process mount (pid: 304, threadinfo 880118648000,
task 880118a8d620)
[   37.788250] Stack:
[   37.788251]  0001 00015000 880118649778
a0ee7bfa
[   37.788253]  2ee71000 0013ffbd 0005
8801149dc000
[   37.788256]  00015000 00ff880114ac62f0 a80019cf4be0
88010fc95800
[   37.788258] Call Trace:
[   37.788264]  [] ? btrfs_free_path+0x2a/0x40