You are not logged in.

#1 2014-10-23 16:06:20

vanquish
Member
Registered: 2013-12-28
Posts: 49

BTRFS: "Cannot allocate memory"

[root@localhost 1]$ ls -al
ls: Zugriff auf root-vanilla nicht möglich: Nicht genügend Hauptspeicher verfügbar
insgesamt 16
drwxr-xr-x 1 root root 118 23. Okt 16:30 .
drwxr-xr-x 1 root root 150 10. Okt 21:52 ..
drwxr-xr-x 1 root root 150 17. Okt 12:13 @
drwxr-xr-x 1 root root 150 17. Okt 12:13 root-fglrx
d????????? ? ?    ?      ?             ? root-vanilla
drwxr-xr-x 1 root root 150 17. Okt 12:13 rootrescue
[root@localhost 1]$
[root@localhost ~]# btrfs check /1/root-vanilla
check_mounted(): Could not open /1/root-vanilla
Could not check mount status: Cannot allocate memory
[root@llocalhost ~]#
[root@localhost ~]# btrfs check /dev/mapper/sde4 
Checking filesystem on /dev/mapper/sde4
UUID: 
checking extents
ref mismatch on [13107200 4096] extent item 2, found 1
Incorrect local backref count on 13107200 parent 476299264 owner 0 offset 0 found 0 wanted 1 back 0x167d0c0
Backref disk bytenr does not match extent record, bytenr=13107200, ref bytenr=812264215019520
backpointer mismatch on [13107200 4096]

... long repeating ...

ref mismatch on [29458432 16384] extent item 1, found 0
Backref 29458432 parent 38371328 not referenced back 0xc30510
Incorrect global backref count on 29458432 found 1 wanted 0
backpointer mismatch on [29458432 16384]
owner ref check failed [29458432 16384]

... very long repeating ...

ref mismatch on [12702302208 122880] extent item 3, found 2
Incorrect local backref count on 12702302208 root 290 owner 303353 offset 0 found 0 wanted 1 back 0x16594a0
Backref disk bytenr does not match extent record, bytenr=12702302208, ref bytenr=23500529
backpointer mismatch on [12702302208 122880]
Errors found in extent allocation tree or chunk allocation
checking free space cache
checking fs roots
parent transid verify failed on 55361536 wanted 4703 found 4750
parent transid verify failed on 55361536 wanted 4703 found 4750
parent transid verify failed on 55361536 wanted 4703 found 4750
parent transid verify failed on 55361536 wanted 4703 found 4750
Ignoring transid failure
root 290 root dir 256 not found

...

root 290 inode 76152832 errors 1, no inode item
root 290 inode 76169216 errors 1, no inode item
root 290 inode 76185600 errors 1, no inode item
warning line 2074
found 3424509215 bytes used err is 1
total csum bytes: 6651420
total tree bytes: 336986112
total fs tree bytes: 314130432
total extent tree bytes: 14368768
btree space waste bytes: 49022039
file data blocks allocated: 14794969088
 referenced 7383740416
Btrfs v3.16.1

... End

What can I do next and what should I do next.
I have a Backup of this files. Nothing is lost. But I want to try to fix this (you never know ...). And I want know why this was happen. Any help would be greatly appreciated.

Offline

#2 2014-10-23 20:16:37

nstgc
Member
Registered: 2014-03-17
Posts: 393

Re: BTRFS: "Cannot allocate memory"

Did you try "dmesg |grep btrfs"?

Offline

#3 2014-10-23 22:04:38

vanquish
Member
Registered: 2013-12-28
Posts: 49

Re: BTRFS: "Cannot allocate memory"

Hi,

I've missed c&p dmsg right after this problem occured. I remember there were some BTRFS related things. hmm

Now there are only things like this:

parent transid verify failed on 55361536 wanted 4703 found 4860

Nothing else. Even if I run a btrfs check.

What I've done before this was happen:

- SysUpgrade Kernel 3.16.3-1 --> 3.17.1-1
- I've forgotten to integrate intel-ucode.img before I've rebooted. Right after Reboot I've taken this snapshot.
- After this I've installed the ati fglrx driver, took another snapshot and realised the strange directory entry. No chance to cd into this snapshot.

...

I've found sth. in my logs:

Oct 23 18:37:35 localhost kernel: INFO: task kworker/u8:3:1603 blocked for more than 120 seconds.
Oct 23 18:37:35 localhost kernel:       Tainted: P           O   3.17.1-1-ARCH #1
Oct 23 18:37:35 localhost kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Oct 23 18:37:35 localhost kernel: kworker/u8:3    D 0000000000000000     0  1603      2 0x00000000
Oct 23 18:37:35 localhost kernel: Workqueue: btrfs-endio-write btrfs_endio_write_helper [btrfs]
Oct 23 18:37:35 localhost kernel:  ffff8800bb3ebc58 0000000000000046 ffff8803d8af2840 00000000000145c0
Oct 23 18:37:35 localhost kernel:  ffff8800bb3ebfd8 00000000000145c0 ffffffff8181b500 ffff8803d8af2840
Oct 23 18:37:35 localhost kernel:  0000000000000050 ffff8800bb3ebbc8 ffffffffa008f7f6 ffff8804104565b0
Oct 23 18:37:35 localhost kernel: Call Trace:
Oct 23 18:37:35 localhost kernel:  [<ffffffffa008f7f6>] ? split_state+0xd6/0x130 [btrfs]
Oct 23 18:37:35 localhost kernel:  [<ffffffffa008e70e>] ? set_state_bits+0x3e/0x80 [btrfs]
Oct 23 18:37:35 localhost kernel:  [<ffffffffa008fffb>] ? __set_extent_bit+0x36b/0x550 [btrfs]
Oct 23 18:37:35 localhost kernel:  [<ffffffff815381f9>] schedule+0x29/0x70
Oct 23 18:37:35 localhost kernel:  [<ffffffffa007207f>] wait_current_trans.isra.17+0xcf/0x120 [btrfs]
Oct 23 18:37:35 localhost kernel:  [<ffffffff810af6a0>] ? __wake_up_sync+0x20/0x20
Oct 23 18:37:35 localhost kernel:  [<ffffffffa00737a0>] start_transaction+0x300/0x5c0 [btrfs]
Oct 23 18:37:35 localhost kernel:  [<ffffffffa0073ab7>] btrfs_join_transaction+0x17/0x20 [btrfs]
Oct 23 18:37:35 localhost kernel:  [<ffffffffa007c055>] btrfs_finish_ordered_io+0x275/0x650 [btrfs]
Oct 23 18:37:35 localhost kernel:  [<ffffffff81537b50>] ? __schedule+0x3e0/0xa60
Oct 23 18:37:35 localhost kernel:  [<ffffffffa007c6c5>] finish_ordered_fn+0x15/0x20 [btrfs]
Oct 23 18:37:35 localhost kernel:  [<ffffffffa00a39d3>] normal_work_helper+0x73/0x350 [btrfs]
Oct 23 18:37:35 localhost kernel:  [<ffffffffa00a3fc2>] btrfs_endio_write_helper+0x12/0x20 [btrfs]
Oct 23 18:37:35 localhost kernel:  [<ffffffff81088b85>] process_one_work+0x145/0x400
Oct 23 18:37:35 localhost kernel:  [<ffffffff8108914b>] worker_thread+0x6b/0x4a0
Oct 23 18:37:35 localhost kernel:  [<ffffffff810890e0>] ? init_pwq.part.22+0x10/0x10
Oct 23 18:37:35 localhost kernel:  [<ffffffff8108e06a>] kthread+0xea/0x100
Oct 23 18:37:35 localhost kernel:  [<ffffffff8108df80>] ? kthread_create_on_node+0x1b0/0x1b0
Oct 23 18:37:35 localhost kernel:  [<ffffffff8153c77c>] ret_from_fork+0x7c/0xb0
Oct 23 18:37:35 localhost kernel:  [<ffffffff8108df80>] ? kthread_create_on_node+0x1b0/0x1b0
Oct 23 18:42:47 localhost kernel: parent transid verify failed on 55361536 wanted 4703 found 4817
Oct 23 18:42:47 localhost kernel: parent transid verify failed on 55361536 wanted 4703 found 4817
Oct 23 18:42:47 localhost kernel: parent transid verify failed on 55361536 wanted 4703 found 4817
Oct 23 18:42:49 localhost kernel: parent transid verify failed on 55361536 wanted 4703 found 4817
Oct 23 18:42:49 localhost kernel: parent transid verify failed on 55361536 wanted 4703 found 4817 ... 

Last edited by vanquish (2014-10-23 22:05:20)

Offline

#4 2014-10-24 09:52:04

vanquish
Member
Registered: 2013-12-28
Posts: 49

Re: BTRFS: "Cannot allocate memory"

I had to purge the whole filesystem after trying the following "repair" options:

- mount with recovery,nospace_cache,nospace_cache ...

[ 2028.595197] BTRFS: open_ctree failed
[ 2044.879900] BTRFS info (device dm-4): enabling auto recovery
[ 2044.879913] BTRFS info (device dm-4): disabling disk space caching
[ 2044.879919] BTRFS info (device dm-4): force clearing of disk cache
[ 2044.892107] BTRFS: detected SSD devices, enabling SSD mode

- btrfs check --repair ... nothing changed

- btrfs-zero-log device ... nothing changed

- btrfs check init-csum-tree ...

Creating a new CRC tree
Checking filesystem on /dev/root
UUID: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Reinit crc root
checking extents
cmds-check.c:2274: check_owner_ref: Assertion `rec->is_root` failed.
btrfs[0x4176ca]
btrfs[0x41b794]
btrfs[0x41c2ac]
btrfs[0x41da41]
btrfs[0x406962]
/usr/lib/libc.so.6(__libc_start_main+0xf0)[0x7f760ad82040]
btrfs[0x406a64]

After this action I was not able to mount the filesystem again. big_smile

- btrfs check --init-extent-tree ... nothing changed ... RIP ... hmm

I assume that this was a fatal concatenation of unfortunate circumstances. oO

I'm using BTRFS about two years on all my systems. First time I had problems with it.

________


BTW: Is it possible to change the UUID of a newly created btrfs filesystem? Google says no! ... I can't beleive that. oO

Offline

#5 2014-10-24 10:36:26

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,488

Re: BTRFS: "Cannot allocate memory"

Ich habe auch btrfs als root Partition auf ssd... Klopf auf Holz. Kannst Du ausschliessen, dass dein letzer Snapshot die Platte hat vollaufen lassen?

http://marc.merlins.org/perso/btrfs/pos … blems.html


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#6 2014-10-24 11:15:45

vanquish
Member
Registered: 2013-12-28
Posts: 49

Re: BTRFS: "Cannot allocate memory"

I didn't checked this. hmm But:

1.) I've transfered this installation a few weeks ago to a new SSD.
2.) My /home partition and their usage is in good state (only ~ 5% +).
3.) There were four filesystems/snapshots on the root partition. Only one failed.
@ = current (working without any issues) ... ref. to root-fglrx
rootrescue =  snapshot (working without any issue) ... ref. to root-fglrx
root-fglrx = snapshot (working without any issue) ... ref. to root-vanilla
root-vanilla = snapshot (not working, no access, dead) ... basis

But it make sense if its full the first snapshot will be overwritten. Hmm ...

_____

If we look closer into this balance thing:

btrfs balance start -dusage=55 /mnt/btrfs_pool1 &

Is it right that I have to calculate the dusage-value by myself?

e. g.

Label: 'home'  uuid:
Total devices 1 FS bytes used 35.42GiB
devid    1 size 70 GiB used 40.04GiB path /dev/mapper/home

-->

btrfs balance start -dusage=50 /mnt/btrfs_pool1 &

Is this value a circa? So I should give a cache e. g. 51% or 55%?

Offline

#7 2014-10-24 12:36:17

vanquish
Member
Registered: 2013-12-28
Posts: 49

Re: BTRFS: "Cannot allocate memory"

I've updated my system risides on a normal HDD. Same issue here.

I think its a "read-only-snapshot" problem and it's kernel related.
The snapshots who became not accessable are all read-only ...

I'll test a bit and downgrade the kernel and report back.

Offline

#8 2014-10-24 12:54:30

nstgc
Member
Registered: 2014-03-17
Posts: 393

Re: BTRFS: "Cannot allocate memory"

Yeah, I remember seeing yesterday someone mentioned that there was a nasty btrfs bug in 3.17.1. I saw that after I saw this post. I myself will be holding off updating because my entire system uses btrfs. I have back ups, and I'm ready to use them, but that doesn't mean I want to use them.

Good luck getting things put back together!

Offline

#9 2014-10-24 12:58:35

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,493
Website

Re: BTRFS: "Cannot allocate memory"

I can't help personally, but you might want to see this topic on the btrfs mailing list regarding the corruption you have experienced: http://www.mail-archive.com/linux-btrfs … 38039.html

Regarding your balance query, please see 'man btrfs-balance'.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#10 2014-10-24 16:47:29

vanquish
Member
Registered: 2013-12-28
Posts: 49

Re: BTRFS: "Cannot allocate memory"

That is not a good news. hmm

So I got self-pwned. ... Only a downgrade doesn't work. If I downgrade the kernel (3.16) and cd into it the filesystem it is still not accessable. But the state now changes: sometimes it is accessable, somtimes it is not. this happen to me know to all snapshots. During working on the desktop suddenly the whole rootfs became write-protected. After a few seconds it was accessable again. yikes

What I observed as far:

- If the roottree/basis of the following snapshots is read-only. The error occurs to the ro-fs. If it's not roottree connected it is possible not affected (as I can rate).
- Boot-partition and Home-partition are not affected so far. This could be because there was written fewer.

Hopefully there will be a patch soon. Thanks for your help guys. smile


EDIT (just for the record):

[  564.072077] WARNING: CPU: 2 PID: 1193 at fs/btrfs/extent-tree.c:876 btrfs_lookup_extent_info+0x471/0x4c0 [btrfs]()
[  564.072079] Modules linked in: nvram led_class cfg80211 rfkill snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device joydev mousedev ip6t_REJECT xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT xt_LOG xt_limit xt_tcpudp xt_addrtype nls_iso8859_1 nf_conntrack_ipv4 nls_cp437 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables coretemp hwmon intel_rapl x86_pkg_temp_thermal intel_powerclamp mxm_wmi kvm_intel i915 snd_hda_codec_realtek iTCO_wdt iTCO_vendor_support ppdev kvm snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel evdev drm_kms_helper mac_hid pcspkr snd_hda_controller snd_hda_codec alx microcode serio_raw i2c_i801 mdio drm intel_gtt wmi i2c_algo_bit
[  564.072104]  i2c_core thermal parport_pc parport shpchp tpm_infineon tpm_tis tpm mei_me mei lpc_ich snd_hwdep snd_pcm snd_timer snd fan soundcore battery video nfs lockd sunrpc processor fscache fglrx(PO) amd_iommu_v2 button algif_skcipher af_alg hid_logitech_dj dm_crypt hid_generic usbhid hid sd_mod crc_t10dif atkbd libps2 crct10dif_pclmul crct10dif_common crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ahci xhci_hcd libahci libata ehci_pci ehci_hcd scsi_mod usbcore usb_common i8042 serio vfat fat crc32c_generic crc32c_intel btrfs xor raid6_pq dm_mod
[  564.072130] CPU: 2 PID: 1193 Comm: ls Tainted: P           O  3.16.3-1-ARCH #1
[  564.072131] Hardware name: MSI MS-7816/H87-G43 GAMING (MS-7816), BIOS V11.6 07/18/2014
[  564.072133]  0000000000000000 000000008daba611 ffff8800bedeb6a8 ffffffff8152b3bc
[  564.072135]  0000000000000000 ffff8800bedeb6e0 ffffffff8106e45d ffff8800caaae480
[  564.072137]  ffff88040f90d800 000000002af00000 ffff880417b0a320 0000000000000000
[  564.072139] Call Trace:
[  564.072144]  [<ffffffff8152b3bc>] dump_stack+0x4d/0x6f
[  564.072147]  [<ffffffff8106e45d>] warn_slowpath_common+0x7d/0xa0
[  564.072150]  [<ffffffff8106e58a>] warn_slowpath_null+0x1a/0x20
[  564.072160]  [<ffffffffa0058a71>] btrfs_lookup_extent_info+0x471/0x4c0 [btrfs]
[  564.072170]  [<ffffffffa005f8c1>] ? btrfs_alloc_free_block+0x3b1/0x480 [btrfs]
[  564.072179]  [<ffffffffa0049264>] update_ref_for_cow+0x194/0x3a0 [btrfs]
[  564.072190]  [<ffffffffa0096e40>] ? copy_extent_buffer+0xb0/0x110 [btrfs]
[  564.072199]  [<ffffffffa004969c>] __btrfs_cow_block+0x22c/0x530 [btrfs]
[  564.072207]  [<ffffffffa0049b36>] btrfs_cow_block+0x116/0x1e0 [btrfs]
[  564.072215]  [<ffffffffa004d923>] btrfs_search_slot+0x1e3/0xa70 [btrfs]
[  564.072226]  [<ffffffffa007c58f>] btrfs_truncate_inode_items+0x12f/0xa60 [btrfs]
[  564.072229]  [<ffffffff811c4808>] ? __sb_start_write+0x58/0x110
[  564.072240]  [<ffffffffa007e0c6>] btrfs_evict_inode+0x3b6/0x520 [btrfs]
[  564.072242]  [<ffffffff810b6b80>] ? autoremove_wake_function+0x40/0x40
[  564.072249]  [<ffffffff811dd054>] evict+0xb4/0x1a0
[  564.072251]  [<ffffffff811dd8e5>] iput+0xf5/0x1a0
[  564.072260]  [<ffffffffa007ecd8>] btrfs_orphan_cleanup+0x208/0x440 [btrfs]
[  564.072269]  [<ffffffffa007f2b8>] btrfs_lookup_dentry+0x3a8/0x560 [btrfs]
[  564.072278]  [<ffffffffa007f482>] btrfs_lookup+0x12/0x40 [btrfs]
[  564.072281]  [<ffffffff811cb6ed>] lookup_real+0x1d/0x70
[  564.072283]  [<ffffffff811cc3c2>] __lookup_hash+0x42/0x60
[  564.072285]  [<ffffffff811cce73>] lookup_slow+0x43/0xc0
[  564.072287]  [<ffffffff811cefe3>] path_lookupat+0x723/0x880
[  564.072298]  [<ffffffffa00ac807>] ? btrfs_set_lock_blocking_rw+0x57/0xd0 [btrfs]
[  564.072301]  [<ffffffff811cd1cc>] ? getname_flags+0x2c/0x130
[  564.072303]  [<ffffffff811cf166>] filename_lookup.isra.30+0x26/0x80
[  564.072305]  [<ffffffff811d2447>] user_path_at_empty+0x67/0xd0
[  564.072313]  [<ffffffffa0048a66>] ? btrfs_free_path+0x26/0x30 [btrfs]
[  564.072323]  [<ffffffffa00740a8>] ? btrfs_getattr+0x68/0xa0 [btrfs]
[  564.072325]  [<ffffffff811c70a1>] ? cp_new_stat+0x121/0x150
[  564.072328]  [<ffffffff811d24c1>] user_path_at+0x11/0x20
[  564.072329]  [<ffffffff811c6eda>] vfs_fstatat+0x6a/0xd0
[  564.072331]  [<ffffffff811c6f7e>] vfs_lstat+0x1e/0x20
[  564.072333]  [<ffffffff811c7599>] SyS_newlstat+0x29/0x60
[  564.072336]  [<ffffffff81531129>] system_call_fastpath+0x16/0x1b
[  564.072337] ---[ end trace 4e0f6cbbc5aef8b4 ]---
[  564.072339] BTRFS: error (device dm-0) in update_ref_for_cow:1018: errno=-30 Readonly filesystem
[  564.072341] BTRFS info (device dm-0): forced readonly
[  564.072342] ------------[ cut here ]------------
[  564.072348] WARNING: CPU: 2 PID: 1193 at fs/btrfs/super.c:259 __btrfs_abort_transaction+0x50/0x110 [btrfs]()
[  564.072349] BTRFS: Transaction aborted (error -30)
[  564.072350] Modules linked in: nvram led_class cfg80211 rfkill snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device joydev mousedev ip6t_REJECT xt_hl ip6t_rt nf_conntrack_ipv6 nf_defrag_ipv6 ipt_REJECT xt_LOG xt_limit xt_tcpudp xt_addrtype nls_iso8859_1 nf_conntrack_ipv4 nls_cp437 nf_defrag_ipv4 xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack iptable_filter ip_tables x_tables coretemp hwmon intel_rapl x86_pkg_temp_thermal intel_powerclamp mxm_wmi kvm_intel i915 snd_hda_codec_realtek iTCO_wdt iTCO_vendor_support ppdev kvm snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel evdev drm_kms_helper mac_hid pcspkr snd_hda_controller snd_hda_codec alx microcode serio_raw i2c_i801 mdio drm intel_gtt wmi i2c_algo_bit
[  564.072373]  i2c_core thermal parport_pc parport shpchp tpm_infineon tpm_tis tpm mei_me mei lpc_ich snd_hwdep snd_pcm snd_timer snd fan soundcore battery video nfs lockd sunrpc processor fscache fglrx(PO) amd_iommu_v2 button algif_skcipher af_alg hid_logitech_dj dm_crypt hid_generic usbhid hid sd_mod crc_t10dif atkbd libps2 crct10dif_pclmul crct10dif_common crc32_pclmul ghash_clmulni_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd ahci xhci_hcd libahci libata ehci_pci ehci_hcd scsi_mod usbcore usb_common i8042 serio vfat fat crc32c_generic crc32c_intel btrfs xor raid6_pq dm_mod
[  564.072396] CPU: 2 PID: 1193 Comm: ls Tainted: P        W  O  3.16.3-1-ARCH #1
[  564.072397] Hardware name: MSI MS-7816/H87-G43 GAMING (MS-7816), BIOS V11.6 07/18/2014
[  564.072398]  0000000000000000 000000008daba611 ffff8800bedeb728 ffffffff8152b3bc
[  564.072400]  ffff8800bedeb770 ffff8800bedeb760 ffffffff8106e45d 00000000ffffffe2
[  564.072402]  ffff880417b0a320 ffff88040f90d800 ffffffffa00ef220 0000000000000488
[  564.072404] Call Trace:
[  564.072406]  [<ffffffff8152b3bc>] dump_stack+0x4d/0x6f
[  564.072408]  [<ffffffff8106e45d>] warn_slowpath_common+0x7d/0xa0
[  564.072412]  [<ffffffff8106e4dc>] warn_slowpath_fmt+0x5c/0x80
[  564.072421]  [<ffffffffa0049451>] ? update_ref_for_cow+0x381/0x3a0 [btrfs]
[  564.072428]  [<ffffffffa0043cd0>] __btrfs_abort_transaction+0x50/0x110 [btrfs]
[  564.072436]  [<ffffffffa004988d>] __btrfs_cow_block+0x41d/0x530 [btrfs]
[  564.072444]  [<ffffffffa0049b36>] btrfs_cow_block+0x116/0x1e0 [btrfs]
[  564.072452]  [<ffffffffa004d923>] btrfs_search_slot+0x1e3/0xa70 [btrfs]
[  564.072461]  [<ffffffffa007c58f>] btrfs_truncate_inode_items+0x12f/0xa60 [btrfs]
[  564.072464]  [<ffffffff811c4808>] ? __sb_start_write+0x58/0x110
[  564.072473]  [<ffffffffa007e0c6>] btrfs_evict_inode+0x3b6/0x520 [btrfs]
[  564.072475]  [<ffffffff810b6b80>] ? autoremove_wake_function+0x40/0x40
[  564.072481]  [<ffffffff811dd054>] evict+0xb4/0x1a0
[  564.072483]  [<ffffffff811dd8e5>] iput+0xf5/0x1a0
[  564.072491]  [<ffffffffa007ecd8>] btrfs_orphan_cleanup+0x208/0x440 [btrfs]
[  564.072500]  [<ffffffffa007f2b8>] btrfs_lookup_dentry+0x3a8/0x560 [btrfs]
[  564.072508]  [<ffffffffa007f482>] btrfs_lookup+0x12/0x40 [btrfs]
[  564.072510]  [<ffffffff811cb6ed>] lookup_real+0x1d/0x70
[  564.072513]  [<ffffffff811cc3c2>] __lookup_hash+0x42/0x60
[  564.072515]  [<ffffffff811cce73>] lookup_slow+0x43/0xc0
[  564.072517]  [<ffffffff811cefe3>] path_lookupat+0x723/0x880
[  564.072527]  [<ffffffffa00ac807>] ? btrfs_set_lock_blocking_rw+0x57/0xd0 [btrfs]
[  564.072530]  [<ffffffff811cd1cc>] ? getname_flags+0x2c/0x130
[  564.072532]  [<ffffffff811cf166>] filename_lookup.isra.30+0x26/0x80
[  564.072534]  [<ffffffff811d2447>] user_path_at_empty+0x67/0xd0
[  564.072542]  [<ffffffffa0048a66>] ? btrfs_free_path+0x26/0x30 [btrfs]
[  564.072552]  [<ffffffffa00740a8>] ? btrfs_getattr+0x68/0xa0 [btrfs]
[  564.072553]  [<ffffffff811c70a1>] ? cp_new_stat+0x121/0x150
[  564.072556]  [<ffffffff811d24c1>] user_path_at+0x11/0x20
[  564.072557]  [<ffffffff811c6eda>] vfs_fstatat+0x6a/0xd0
[  564.072559]  [<ffffffff811c6f7e>] vfs_lstat+0x1e/0x20
[  564.072561]  [<ffffffff811c7599>] SyS_newlstat+0x29/0x60
[  564.072563]  [<ffffffff81531129>] system_call_fastpath+0x16/0x1b
[  564.072564] ---[ end trace 4e0f6cbbc5aef8b5 ]---
[  564.072575] BTRFS error (device dm-0): Error removing orphan entry, stopping orphan cleanup
[  564.072576] BTRFS critical (device dm-0): could not do orphan cleanup -22
[  564.074445] systemd-journald[224]: Failed to truncate file to its own size: Read-only file system
[  564.074488] systemd-journald[224]: Failed to truncate file to its own size: Read-only file system
[  564.075022] systemd-journald[224]: Failed to truncate file to its own size: Read-only file system
[  564.075770] systemd-journald[224]: Failed to truncate file to its own size: Read-only file system ... repeated 100-times ... and other fail/error messeges

Last edited by vanquish (2014-10-24 17:15:48)

Offline

#11 2014-11-11 14:58:02

Spider.007
Member
Registered: 2004-06-20
Posts: 1,175

Re: BTRFS: "Cannot allocate memory"

FYI, this explains it pretty well: http://permalink.gmane.org/gmane.comp.f … trfs/40053

Offline

Board footer

Powered by FluxBB