Giter VIP home page Giter VIP logo

Comments (4)

stintel avatar stintel commented on June 12, 2024

System hung when trying to reboot after that, did a reset and after that I'm seeing this:

[  157.567065] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: bch2_extent_merge_inline+0x2d2/0x2e0 [bcachefs]
[  157.579137] CPU: 0 PID: 32 Comm: kworker/0:2 Tainted: G                T 5.0.16-00437-g961e9523f23d #1
[  157.588433] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./E3C224D4I-14S, BIOS P3.20 05/29/2015
[  157.598349] Workqueue: bcachefs bch2_write_index [bcachefs]
[  157.603922] Call Trace:
[  157.606376]  dump_stack+0x46/0x68
[  157.609693]  panic+0xf6/0x283
[  157.612666]  ? bch2_extent_merge_inline+0x2d2/0x2e0 [bcachefs]
[  157.618505]  ? bch2_extent_mark_replicas_cached+0x700/0x700 [bcachefs]
[  157.625034]  __stack_chk_fail+0x10/0x10
[  157.628871]  bch2_extent_merge_inline+0x2d2/0x2e0 [bcachefs]
[  157.634540]  ? bch2_migrate_index_update+0x6b5/0x9d0 [bcachefs]
[  157.640466]  ? bch2_migrate_index_update+0xab/0x9d0 [bcachefs]
[  157.646309]  ? __bch2_write_index+0x158/0x320 [bcachefs]
[  157.651628]  ? bch2_write_index+0x11/0x90 [bcachefs]
[  157.656590]  ? process_one_work+0x172/0x310
[  157.660776]  ? process_one_work+0x310/0x310
[  157.664959]  ? worker_thread+0x2b/0x380
[  157.668790]  ? process_one_work+0x310/0x310
[  157.672967]  ? kthread+0x10a/0x120
[  157.676365]  ? kthread_park+0x80/0x80
[  157.680024]  ? ret_from_fork+0x35/0x40
[  157.683771] Kernel Offset: 0x29000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[  157.696410] ---[ end Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: bch2_extent_merge_inline+0x2d2/0x2e0 [bcachefs] ]---
[  157.709714] ------------[ cut here ]------------
[  157.714332] sched: Unexpected reschedule of offline CPU#1!
[  157.719817] WARNING: CPU: 0 PID: 32 at arch/x86/kernel/smp.c:128 native_smp_send_reschedule+0x35/0x40
[  157.729031] Modules linked in: veth xt_nat xt_tcpudp ipt_MASQUERADE nf_conntrack_netlink nfnetlink xfrm_user xfrm_algo iptable_nat nf_nat_ipv4 xt_addrtype iptable_filter ip_tables bpfilter xt_conntrack x_tables nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 br_netfilter bridge stp llc sha1_ssse3 sha1_generic sctp bcachefs lz4_compress crc64 bonding sch_fq_codel binfmt_misc nct6775 hwmon_vid jc42 joydev hid_generic usbhid hid uas usb_storage intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp kvm_intel kvm irqbypass iTCO_wdt iTCO_vendor_support crct10dif_pclmul evdev crc32_pclmul crc32c_intel ast ttm ghash_clmulni_intel drm_kms_helper cryptd intel_cstate intel_uncore drm intel_rapl_perf efi_pstore drm_panel_orientation_quirks efivars syscopyarea sysfillrect lpc_ich igb sysimgblt fb_sys_fops i2c_algo_bit mfd_core i2c_i801 dca thermal fan ehci_pci xhci_pci ehci_hcd xhci_hcd mpt3sas raid_class usbcore acpi_pad scsi_transport_sas button usb_common mei_me efivarfs
[  157.814537] CPU: 0 PID: 32 Comm: kworker/0:2 Tainted: G                T 5.0.16-00437-g961e9523f23d #1
[  157.823826] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./E3C224D4I-14S, BIOS P3.20 05/29/2015
[  157.833739] Workqueue: bcachefs bch2_write_index [bcachefs]
[  157.839309] RIP: 0010:native_smp_send_reschedule+0x35/0x40
[  157.844785] Code: 05 01 73 18 48 8b 05 8a b2 dc 00 89 df be fd 00 00 00 5b 48 8b 40 30 e9 29 f6 9c 00 89 de 48 c7 c7 b8 43 d9 aa e8 50 34 02 00 <0f> 0b 5b c3 0f 1f 80 00 00 00 00 41 54 55 89 fd 53 8b 05 a4 d3 4d
[  157.863520] RSP: 0018:ffff8ef44fa03c58 EFLAGS: 00010082
[  157.868737] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000006
[  157.875863] RDX: 0000000000000007 RSI: 0000000000000092 RDI: ffff8ef44fa15590
[  157.882986] RBP: ffff8ef3cd371e00 R08: 000000000000035e R09: 000000000000003d
[  157.890111] R10: 0000000000000000 R11: 0000000000000030 R12: ffff8ef44fb20000
[  157.897233] R13: ffff8ef3a65e5700 R14: ffff8ef3fbbd0000 R15: 0000000000000001
[  157.904358] FS:  0000000000000000(0000) GS:ffff8ef44fa00000(0000) knlGS:0000000000000000
[  157.912436] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  157.918174] CR2: 000000c4200c8030 CR3: 00000002f35a0002 CR4: 00000000000606f0
[  157.925295] Call Trace:
[  157.927741]  <IRQ>
[  157.929753]  check_preempt_wakeup+0x1a9/0x260
[  157.934105]  check_preempt_curr+0x7a/0xa0
[  157.938115]  ttwu_do_wakeup.isra.5+0x20/0x100
[  157.942465]  try_to_wake_up+0x248/0x490
[  157.946296]  __wake_up_common+0x6f/0x170
[  157.950214]  ep_poll_callback+0xf9/0x300
[  157.954131]  __wake_up_common+0x6f/0x170
[  157.958049]  __wake_up_common_lock+0x76/0xb0
[  157.962313]  irq_work_run_list+0x4e/0x70
[  157.966231]  update_process_times+0x45/0x60
[  157.970407]  tick_sched_timer+0x36/0x70
[  157.974239]  ? tick_sched_handle.isra.6+0x50/0x50
[  157.978934]  __hrtimer_run_queues+0x103/0x1b0
[  157.983288]  hrtimer_interrupt+0xf2/0x210
[  157.987291]  smp_apic_timer_interrupt+0x5f/0xa0
[  157.991815]  apic_timer_interrupt+0xf/0x20
[  157.995903]  </IRQ>
[  157.998003] RIP: 0010:panic+0x23f/0x283
[  158.001832] Code: 48 83 c3 64 eb a6 83 3d 87 8f 4b 01 00 74 05 e8 70 19 02 00 48 c7 c6 80 de 50 ab 48 c7 c7 98 a5 d9 aa e8 3b 60 05 00 fb 31 db <e8> a5 a8 0a 00 4c 39 eb 7c 1d 41 83 f4 01 48 8b 05 45 8f 4b 01 44
[  158.020569] RSP: 0018:ffff9fcf819cf410 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
[  158.028125] RAX: 0000000000000088 RBX: 0000000000000000 RCX: 0000000000000006
[  158.035252] RDX: 0000000000000000 RSI: 0000000000000086 RDI: ffff8ef44fa15590
[  158.042374] RBP: ffff9fcf819cf480 R08: 000000000000035c R09: 0000000000000097
[  158.049497] R10: 0000000000000000 R11: 0000000000000030 R12: 0000000000000000
[  158.056622] R13: 0000000000000000 R14: ffff8ef413724538 R15: 0000000000000000
[  158.063756]  ? bch2_extent_merge_inline+0x2d2/0x2e0 [bcachefs]
[  158.069587]  ? bch2_extent_mark_replicas_cached+0x700/0x700 [bcachefs]
[  158.076106]  __stack_chk_fail+0x10/0x10
[  158.079943]  bch2_extent_merge_inline+0x2d2/0x2e0 [bcachefs]
[  158.085612]  ? bch2_migrate_index_update+0x6b5/0x9d0 [bcachefs]
[  158.091540]  ? bch2_migrate_index_update+0xab/0x9d0 [bcachefs]
[  158.097381]  ? __bch2_write_index+0x158/0x320 [bcachefs]
[  158.102701]  ? bch2_write_index+0x11/0x90 [bcachefs]
[  158.107669]  ? process_one_work+0x172/0x310
[  158.111847]  ? process_one_work+0x310/0x310
[  158.116024]  ? worker_thread+0x2b/0x380
[  158.119855]  ? process_one_work+0x310/0x310
[  158.124033]  ? kthread+0x10a/0x120
[  158.127430]  ? kthread_park+0x80/0x80
[  158.131088]  ? ret_from_fork+0x35/0x40
[  158.134830] ---[ end trace 3a937f89051eb867 ]---

from bcachefs.

stintel avatar stintel commented on June 12, 2024

After ./bcachefs fsck -f -p /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sda3 /dev/sdf3, which corrected a bunch of errors, I keep getting the Kernel stack is corrupted in: bch2_extent_merge_inline+0x2d2/0x2e0 [bcachefs]. It is triggered by starting a Windows 10 VM in KVM, which has its virtual disk exported via iSCSI with tgtd.

from bcachefs.

koverstreet avatar koverstreet commented on June 12, 2024

Can you try with current master?

from bcachefs.

stintel avatar stintel commented on June 12, 2024

That seems to work. Thanks for the quick fix!

from bcachefs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.