LINUX.ORG.RU

Xorg+xfce4+chromium ломают мою btrfs!

 , , , ,


0

1

Привет ЛОР, у меня проблемы с btrfs, помоги пожалуйста.

Я уже попытался починить «сам»

  • Загрузился с live образа арчика
  • Поставил/обновил btrfs-progs
  • Сделал btrfs check /dev/sdaX

    Но это не помогло.

    Вот логи из systemd -k

    Mar 04 15:57:31 m0x35-thinkpad kernel: WARNING: CPU: 0 PID: 105 at fs/btrfs/inode.c:2931 btrfs_finish_ordered_io+0x63a/0x650 [btrfs]()
    Mar 04 15:57:31 m0x35-thinkpad kernel: BTRFS: Transaction aborted (error -95)
    Mar 04 15:57:31 m0x35-thinkpad kernel: Modules linked in: mousedev snd_hda_codec_hdmi snd_hda_codec_conexant snd_hda_codec_generic intel_rapl iosf_mbi x86_pkg
    Mar 04 15:57:31 m0x35-thinkpad kernel:  snd soundcore rfkill battery ac fjes tpm_tis tpm video button processor cdc_mbim cdc_ncm usbnet cdc_wdm mii cdc_acm sc
    Mar 04 15:57:31 m0x35-thinkpad kernel: CPU: 0 PID: 105 Comm: kworker/u16:6 Not tainted 4.4.3-1-ARCH #1
    Mar 04 15:57:31 m0x35-thinkpad kernel: Hardware name: LENOVO 4180G73/4180G73, BIOS 83ET71WW (1.41 ) 07/23/2012
    Mar 04 15:57:31 m0x35-thinkpad kernel: Workqueue: btrfs-endio-write btrfs_endio_write_helper [btrfs]
    Mar 04 15:57:31 m0x35-thinkpad kernel:  0000000000000286 000000009032ad8c ffff8802137b3c78 ffffffff812cac81
    Mar 04 15:57:31 m0x35-thinkpad kernel:  ffff8802137b3cc0 ffffffffa0237e75 ffff8802137b3cb0 ffffffff810776e2
    Mar 04 15:57:31 m0x35-thinkpad kernel:  ffff8800cd342ca8 ffff88021342e000 ffff880207d94d00 ffff880213ec0be0
    Mar 04 15:57:31 m0x35-thinkpad kernel: Call Trace:
    Mar 04 15:57:31 m0x35-thinkpad kernel:  [<ffffffff812cac81>] dump_stack+0x63/0x82
    Mar 04 15:57:31 m0x35-thinkpad kernel:  [<ffffffff810776e2>] warn_slowpath_common+0x82/0xc0
    Mar 04 15:57:31 m0x35-thinkpad kernel:  [<ffffffff8107777c>] warn_slowpath_fmt+0x5c/0x80
    Mar 04 15:57:31 m0x35-thinkpad kernel:  [<ffffffffa01cd76c>] ? unpin_extent_cache+0x9c/0xe0 [btrfs]
    Mar 04 15:57:31 m0x35-thinkpad kernel:  [<ffffffffa018ab76>] ? btrfs_free_path+0x26/0x30 [btrfs]
    Mar 04 15:57:31 m0x35-thinkpad kernel:  [<ffffffffa01bf4fa>] btrfs_finish_ordered_io+0x63a/0x650 [btrfs]
    Mar 04 15:57:31 m0x35-thinkpad kernel:  [<ffffffffa01bf7d5>] finish_ordered_fn+0x15/0x20 [btrfs]
    Mar 04 15:57:31 m0x35-thinkpad kernel:  [<ffffffffa01e8067>] btrfs_scrubparity_helper+0x77/0x370 [btrfs]
    Mar 04 15:57:31 m0x35-thinkpad kernel:  [<ffffffffa01e83ee>] btrfs_endio_write_helper+0xe/0x10 [btrfs]
    Mar 04 15:57:31 m0x35-thinkpad kernel:  [<ffffffff8108f59b>] process_one_work+0x14b/0x480
    Mar 04 15:57:31 m0x35-thinkpad kernel:  [<ffffffff8108f918>] worker_thread+0x48/0x4a0
    Mar 04 15:57:31 m0x35-thinkpad kernel:  [<ffffffff8108f8d0>] ? process_one_work+0x480/0x480
    Mar 04 15:57:31 m0x35-thinkpad kernel:  [<ffffffff810953b8>] kthread+0xd8/0xf0
    Mar 04 15:57:31 m0x35-thinkpad kernel:  [<ffffffff810952e0>] ? kthread_worker_fn+0x170/0x170
    Mar 04 15:57:31 m0x35-thinkpad kernel:  [<ffffffff815961ff>] ret_from_fork+0x3f/0x70
    Mar 04 15:57:31 m0x35-thinkpad kernel:  [<ffffffff810952e0>] ? kthread_worker_fn+0x170/0x170
    Mar 04 15:57:31 m0x35-thinkpad kernel: ---[ end trace 26a97473480cafc1 ]---
    Mar 04 15:57:31 m0x35-thinkpad kernel: BTRFS: error (device sda2) in btrfs_finish_ordered_io:2931: errno=-95 unknown
    Mar 04 15:57:31 m0x35-thinkpad kernel: BTRFS info (device sda2): forced readonlyMar 04 15:57:31 m0x35-thinkpad kernel: pending csums is 1052672
    
    

    Как починить?

    Если это важно: у меня ssd

    Action             State after action
    startxfce          rw
    chromium           ro
    

    Chromium's output:

    chromium
    [547:564:0304/163524:ERROR:connection.cc(1906)] Shortcuts sqlite error 1034, errno 30: disk I/O error, sql: COMMIT
    [547:564:0304/163524:ERROR:connection.cc(1906)] Shortcuts sqlite error 778, errno 30: disk I/O error, sql: UPDATE omni_box_shortcuts SET type = 13 WHERE type = 9
    [547:564:0304/163524:ERROR:connection.cc(1906)] Shortcuts sqlite error 778, errno 30: disk I/O error, sql: SELECT id, text, fill_into_edit, url, contents, contents_class, description, description_class, transition, type, keyword, last_access_time, number_of_hits FROM omni_box_shortcuts
    [547:547:0304/163524:ERROR:logging.h(813)] Failed to call method: org.freedesktop.DBus.ObjectManager.GetManagedObjects: object_path= /: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
    [547:564:0304/163524:ERROR:connection.cc(1906)] Web sqlite error 778, errno 0: disk I/O error, sql: UPDATE keywords SET short_name=?, keyword=?, favicon_url=?, url=?, safe_for_autoreplace=?, originating_url=?, date_created=?, usage_count=?, input_encodings=?, show_in_default_list=?, suggest_url=?, prepopulate_id=?, created_by_policy=?, instant_url=?, last_modified=?, sync_guid=?, alternate_urls=?, search_terms_replacement_key=?, image_url=?, search_url_post_params=?, suggest_url_post_params=?, instant_url_post_params=?, image_url_post_params=?, new_tab_url=? WHERE id=?
    [547:547:0304/163524:ERROR:logging.h(813)] Failed to call method: org.freedesktop.DBus.ObjectManager.GetManagedObjects: object_path= /: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
    [547:569:0304/163524:ERROR:cache_util.cc(134)] Unable to move cache folder /home/m0x35/.config/chromium/ShaderCache/GPUCache to /home/m0x35/.config/chromium/ShaderCache/old_GPUCache_000
    [547:569:0304/163524:ERROR:cache_creator.cc(129)] Unable to create cache
    [547:569:0304/163524:ERROR:shader_disk_cache.cc(589)] Shader Cache Creation failed: -2
    [547:569:0304/163524:ERROR:cache_util.cc(134)] Unable to move cache folder /home/m0x35/.cache/chromium/Default/Cache to /home/m0x35/.cache/chromium/Default/old_Cache_000
    [547:569:0304/163524:ERROR:cache_creator.cc(129)] Unable to create cache
    [547:569:0304/163524:ERROR:cache_util.cc(134)] Unable to move cache folder /home/m0x35/.config/chromium/Default/GPUCache to /home/m0x35/.config/chromium/Default/old_GPUCache_000
    [547:569:0304/163524:ERROR:cache_creator.cc(129)] Unable to create cache
    [547:569:0304/163524:ERROR:shader_disk_cache.cc(589)] Shader Cache Creation failed: -2
    [547:569:0304/163526:ERROR:background_sync_manager.cc(379)] BackgroundSync failed to init due to backend failure.
    [547:569:0304/163526:ERROR:service_worker_storage.cc(1713)] Failed to delete the database: Database operation failed
    [547:563:0304/163526:ERROR:connection.cc(1906)] Cookie sqlite error 8, errno 0: attempt to write a readonly database, sql: DELETE FROM cookies WHERE persistent != 1
    [547:563:0304/163534:ERROR:connection.cc(1906)] Cookie sqlite error 8, errno 0: attempt to write a readonly database, sql: DELETE FROM cookies WHERE persistent != 1
    [547:582:0304/163556:ERROR:connection.cc(1906)] Cookie sqlite error 8, errno 0: attempt to write a readonly database, sql: DELETE FROM cookies WHERE creation_utc=?
    [547:582:0304/163556:ERROR:connection.cc(1906)] Cookie sqlite error 8, errno 0: attempt to write a readonly database, sql: UPDATE cookies SET last_access_utc=? WHERE creation_utc=?
    [547:582:0304/163556:ERROR:connection.cc(1906)] Cookie sqlite error 8, errno 0: attempt to write a readonly database, sql: UPDATE cookies SET last_access_utc=? WHERE creation_utc=?
    [547:565:0304/163610:ERROR:value_store_frontend.cc(65)] Error while writing pafkbggdmjlpgkdkcbjmhmfcdpncadgh.alarms to /home/m0x35/.config/chromium/Default/Extension State
    [547:584:0304/163624:ERROR:connection.cc(1906)] History sqlite error 778, errno 0: disk I/O error, sql: INSERT OR REPLACE INTO meta (key,value) VALUES (?,?)
    [547:564:0304/163714:ERROR:connection.cc(1906)] Predictor sqlite error 8, errno 0: attempt to write a readonly database, sql: INSERT INTO network_action_predictor (id, user_text, url, number_of_hits, number_of_misses) VALUES (?,?,?,?,?)
    Fontconfig error: Cannot load default config file
    [547:584:0304/163715:ERROR:connection.cc(1906)] History sqlite error 778, errno 0: disk I/O error, sql: UPDATE urls SET title=?,visit_count=?,typed_count=?,last_visit_time=?,hidden=?WHERE id=?
    [547:584:0304/163725:ERROR:connection.cc(1906)] History sqlite error 1, errno 0: cannot commit - no transaction is active, sql: COMMIT
    [547:582:0304/163744:ERROR:connection.cc(1906)] Cookie sqlite error 8, errno 0: attempt to write a readonly database, sql: UPDATE cookies SET last_access_utc=? WHERE creation_utc=?
    [547:582:0304/163744:ERROR:connection.cc(1906)] Cookie sqlite error 8, errno 0: attempt to write a readonly database, sql: UPDATE cookies SET last_access_utc=? WHERE creation_utc=?
    [547:582:0304/163744:ERROR:connection.cc(1906)] Cookie sqlite error 8, errno 0: attempt to write a readonly database, sql: UPDATE cookies SET last_access_utc=? WHERE creation_utc=?
    [547:584:0304/163750:ERROR:connection.cc(1906)] History sqlite error 778, errno 0: disk I/O error, sql: UPDATE urls SET title=?,visit_count=?,typed_count=?,last_visit_time=?,hidden=?WHERE id=?
    [547:584:0304/163750:ERROR:connection.cc(1906)] History sqlite error 778, errno 0: disk I/O error, sql: INSERT INTO visits (url, visit_time, from_visit, transition, segment_id, visit_duration) VALUES (?,?,?,?,?,?)
    [547:584:0304/163750:ERROR:connection.cc(1906)] History sqlite error 778, errno 0: disk I/O error, sql: UPDATE urls SET title=?,visit_count=?,typed_count=?,last_visit_time=?,hidden=?WHERE id=?
    [547:584:0304/163750:ERROR:connection.cc(1906)] History sqlite error 778, errno 0: disk I/O error, sql: INSERT INTO visits (url, visit_time, from_visit, transition, segment_id, visit_duration) VALUES (?,?,?,?,?,?)
    [547:584:0304/163750:ERROR:connection.cc(1906)] History sqlite error 778, errno 0: disk I/O error, sql: UPDATE urls SET title=?,visit_count=?,typed_count=?,last_visit_time=?,hidden=?WHERE id=?
    [547:584:0304/163750:ERROR:connection.cc(1906)] History sqlite error 778, errno 0: disk I/O error, sql: INSERT INTO visits (url, visit_time, from_visit, transition, segment_id, visit_duration) VALUES (?,?,?,?,?,?)
    

Upd: до запуска иксов система в rw!

matrixd ()

Как починить?

Отправить багрепорт, очевидно же.

anonymous ()
Ответ на: комментарий от anonymous

Сейчас память закончу тестить и буду оформлять наверное.

А куда его кидать? Ни разу этим не занимался. Он же к модулю ядра относится?

matrixd ()
Ответ на: комментарий от matrixd

Начал оформлять багрепорт, пока файлова система было в ro, firefox просто вылетел. Пока чинил фс, решил заодно убить хромоговно всякое типо ~/.config/chromium и т.д. Пока живет, еще раз поймаю буду писать с новыми силами.

matrixd ()

Похоже на то, что места не осталось. Снапшоты не пользуешь ?

Deleted ()
Ответ на: комментарий от Deleted

Я btrfs делал из ext4, вангую от него где-то остался снапшот. Сейчас how-to найду. Алсо

> df -h | grep " /$"
/dev/sda2        70G  7.8G   42G  16% /

matrixd ()
Ответ на: комментарий от matrixd
> sudo btrfs subvolume list -a /
ID 256 gen 10 top level 5 path ext2_saved
> sudo btrfs subvol delete ext2_saved 
ERROR: cannot access subvolume ext2_saved: No such file or directory

Буду гуглить, спасибо за наводку.

matrixd ()
Ответ на: комментарий от Deleted

Все умерло окончательно, btrfs check сегфолтиться походу. Ну все это нафиг.

matrixd ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.