[Kernel-packages] [Bug 1878749] Re: Kernel bug when running btrfs balance
[Expired for linux (Ubuntu) because there has been no activity for 60 days.] ** Changed in: linux (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1878749 Title: Kernel bug when running btrfs balance Status in linux package in Ubuntu: Expired Bug description: syslog extract: May 15 00:38:28 rpi4 kernel: [ 1464.345380] kernel BUG at /build/linux-raspi2-5.3-5IVhed/linux-raspi2-5.3-5.3.0/fs/btrfs/relocation.c:4729! May 15 00:38:28 rpi4 kernel: [ 1464.355281] Internal error: Oops - BUG: 0 [#1] SMP May 15 00:38:28 rpi4 kernel: [ 1464.360141] Modules linked in: xt_nat iptable_nat dm_crypt nls_ascii algif_skcipher af_alg ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt ipt_REJECT nf_reject_ipv4 xt_comment btsdio nf_log_ipv4 nf_log_common bluetooth bcm2835_v4l2(CE) xt_LOG ecdh_generic bcm2835_mmal_vchiq(CE) ecc vc_sm_cma(CE) xt_multiport v4l2_common xt_recent videobuf2_vmalloc videobuf2_memops brcmfmac videobuf2_v4l2 brcmutil videobuf2_common cfg80211 videodev xt_limit xt_tcpudp raspberrypi_hwmon mc xt_addrtype rpivid_mem spidev uio_pdrv_genirq uio xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack nf_defrag_ipv6 sch_fq_codel nf_defrag_ipv4 iptable_filter bpfilter iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 multipath linear broadcom bcm_phy_lib hid_generic May 15 00:38:28 rpi4 kernel: [ 1464.360198] usbhid mdio_bcm_unimac crct10dif_ce sdhci_iproc genet gpio_regulator phy_generic fixed uas usb_storage aes_neon_bs aes_neon_blk crypto_simd cryptd aes_arm64 May 15 00:38:28 rpi4 kernel: [ 1464.464074] CPU: 0 PID: 8225 Comm: btrfs-balance Tainted: G C E 5.3.0-1023-raspi2 #25~18.04.1-Ubuntu May 15 00:38:28 rpi4 kernel: [ 1464.474482] Hardware name: Raspberry Pi 4 Model B Rev 1.2 (DT) May 15 00:38:28 rpi4 kernel: [ 1464.480395] pstate: 2045 (nzCv daif +PAN -UAO) May 15 00:38:28 rpi4 kernel: [ 1464.485330] pc : btrfs_reloc_cow_block+0x34c/0x3a0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.490928] lr : __btrfs_cow_block+0x368/0x600 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.496133] sp : 13b437b0 May 15 00:38:28 rpi4 kernel: [ 1464.499487] x29: 13b437b0 x28: May 15 00:38:28 rpi4 kernel: [ 1464.504870] x27: 0001 x26: 0001 May 15 00:38:28 rpi4 kernel: [ 1464.510253] x25: 9c0ac32c4a80 x24: 9c0bb321c618 May 15 00:38:28 rpi4 kernel: [ 1464.515634] x23: 0001 x22: 9c0b63242a50 May 15 00:38:28 rpi4 kernel: [ 1464.521016] x21: 9c0b23e51ef0 x20: 9c0b4f111000 May 15 00:38:28 rpi4 kernel: [ 1464.526399] x19: 9c0b74bb5000 x18: May 15 00:38:28 rpi4 kernel: [ 1464.531780] x17: x16: 40af26f8be78 May 15 00:38:28 rpi4 kernel: [ 1464.537163] x15: x14: May 15 00:38:28 rpi4 kernel: [ 1464.542545] x13: x12: May 15 00:38:28 rpi4 kernel: [ 1464.547926] x11: x10: 9c0b10e83a40 May 15 00:38:28 rpi4 kernel: [ 1464.553308] x9 : 9c0aca004750 x8 : 40af2775b9e7 May 15 00:38:28 rpi4 kernel: [ 1464.558690] x7 : 9c0b578814e1 x6 : 9c0b578814e0 May 15 00:38:28 rpi4 kernel: [ 1464.564071] x5 : 9c0b552b59c0 x4 : 9c0b552b59c0 May 15 00:38:28 rpi4 kernel: [ 1464.569452] x3 : 9c0b63242a50 x2 : 00096be7 May 15 00:38:28 rpi4 kernel: [ 1464.574833] x1 : x0 : 012e979b4000 May 15 00:38:28 rpi4 kernel: [ 1464.580216] Call trace: May 15 00:38:28 rpi4 kernel: [ 1464.582735] btrfs_reloc_cow_block+0x34c/0x3a0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.587979] __btrfs_cow_block+0x368/0x600 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.592869] btrfs_cow_block+0x100/0x218 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.597583] btrfs_search_slot+0x560/0x930 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.602475] do_relocation+0x408/0x5b8 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.607014] relocate_tree_blocks+0x4f8/0x5c0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.612170] relocate_block_group+0x3dc/0x638 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.617325] btrfs_relocate_block_group+0x18c/0x2d8 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.623009] btrfs_relocate_chunk+0x48/0xe0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.627988] __btrfs_balance+0x864/0xa38 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.632703] btrfs_balance+0x434/0x748 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.637301] balance_kthread+0x38/0x70 [btrfs] May 15 00:38:28 rp
[Kernel-packages] [Bug 1878749] Re: Kernel bug when running btrfs balance
The drive failing balance is not rootfs. It is a different multi device btrfs volume (no RAID). This is my main local server. I will try with 20.04 when the upgrade is available. rootfs as btrfs: - format HDD to btrfs - copy sdcard content to HDD - update UUID and rootfstype in /boot/firmware/nobtcmd.txt - /boot/firmware remains on sdcard - update fstab - reboot -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1878749 Title: Kernel bug when running btrfs balance Status in linux package in Ubuntu: Incomplete Bug description: syslog extract: May 15 00:38:28 rpi4 kernel: [ 1464.345380] kernel BUG at /build/linux-raspi2-5.3-5IVhed/linux-raspi2-5.3-5.3.0/fs/btrfs/relocation.c:4729! May 15 00:38:28 rpi4 kernel: [ 1464.355281] Internal error: Oops - BUG: 0 [#1] SMP May 15 00:38:28 rpi4 kernel: [ 1464.360141] Modules linked in: xt_nat iptable_nat dm_crypt nls_ascii algif_skcipher af_alg ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt ipt_REJECT nf_reject_ipv4 xt_comment btsdio nf_log_ipv4 nf_log_common bluetooth bcm2835_v4l2(CE) xt_LOG ecdh_generic bcm2835_mmal_vchiq(CE) ecc vc_sm_cma(CE) xt_multiport v4l2_common xt_recent videobuf2_vmalloc videobuf2_memops brcmfmac videobuf2_v4l2 brcmutil videobuf2_common cfg80211 videodev xt_limit xt_tcpudp raspberrypi_hwmon mc xt_addrtype rpivid_mem spidev uio_pdrv_genirq uio xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack nf_defrag_ipv6 sch_fq_codel nf_defrag_ipv4 iptable_filter bpfilter iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 multipath linear broadcom bcm_phy_lib hid_generic May 15 00:38:28 rpi4 kernel: [ 1464.360198] usbhid mdio_bcm_unimac crct10dif_ce sdhci_iproc genet gpio_regulator phy_generic fixed uas usb_storage aes_neon_bs aes_neon_blk crypto_simd cryptd aes_arm64 May 15 00:38:28 rpi4 kernel: [ 1464.464074] CPU: 0 PID: 8225 Comm: btrfs-balance Tainted: G C E 5.3.0-1023-raspi2 #25~18.04.1-Ubuntu May 15 00:38:28 rpi4 kernel: [ 1464.474482] Hardware name: Raspberry Pi 4 Model B Rev 1.2 (DT) May 15 00:38:28 rpi4 kernel: [ 1464.480395] pstate: 2045 (nzCv daif +PAN -UAO) May 15 00:38:28 rpi4 kernel: [ 1464.485330] pc : btrfs_reloc_cow_block+0x34c/0x3a0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.490928] lr : __btrfs_cow_block+0x368/0x600 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.496133] sp : 13b437b0 May 15 00:38:28 rpi4 kernel: [ 1464.499487] x29: 13b437b0 x28: May 15 00:38:28 rpi4 kernel: [ 1464.504870] x27: 0001 x26: 0001 May 15 00:38:28 rpi4 kernel: [ 1464.510253] x25: 9c0ac32c4a80 x24: 9c0bb321c618 May 15 00:38:28 rpi4 kernel: [ 1464.515634] x23: 0001 x22: 9c0b63242a50 May 15 00:38:28 rpi4 kernel: [ 1464.521016] x21: 9c0b23e51ef0 x20: 9c0b4f111000 May 15 00:38:28 rpi4 kernel: [ 1464.526399] x19: 9c0b74bb5000 x18: May 15 00:38:28 rpi4 kernel: [ 1464.531780] x17: x16: 40af26f8be78 May 15 00:38:28 rpi4 kernel: [ 1464.537163] x15: x14: May 15 00:38:28 rpi4 kernel: [ 1464.542545] x13: x12: May 15 00:38:28 rpi4 kernel: [ 1464.547926] x11: x10: 9c0b10e83a40 May 15 00:38:28 rpi4 kernel: [ 1464.553308] x9 : 9c0aca004750 x8 : 40af2775b9e7 May 15 00:38:28 rpi4 kernel: [ 1464.558690] x7 : 9c0b578814e1 x6 : 9c0b578814e0 May 15 00:38:28 rpi4 kernel: [ 1464.564071] x5 : 9c0b552b59c0 x4 : 9c0b552b59c0 May 15 00:38:28 rpi4 kernel: [ 1464.569452] x3 : 9c0b63242a50 x2 : 00096be7 May 15 00:38:28 rpi4 kernel: [ 1464.574833] x1 : x0 : 012e979b4000 May 15 00:38:28 rpi4 kernel: [ 1464.580216] Call trace: May 15 00:38:28 rpi4 kernel: [ 1464.582735] btrfs_reloc_cow_block+0x34c/0x3a0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.587979] __btrfs_cow_block+0x368/0x600 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.592869] btrfs_cow_block+0x100/0x218 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.597583] btrfs_search_slot+0x560/0x930 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.602475] do_relocation+0x408/0x5b8 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.607014] relocate_tree_blocks+0x4f8/0x5c0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.612170] relocate_block_group+0x3dc/0x638 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.617325] btrfs_relocate_block_group+0x18c/0x2d8 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.623009] btrfs_relocate_chunk+0x48/0xe0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.
[Kernel-packages] [Bug 1878749] Re: Kernel bug when running btrfs balance
Hmm, could you please try 20.04? I wonder how you made rootfs Btrfs? ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1878749 Title: Kernel bug when running btrfs balance Status in linux package in Ubuntu: Incomplete Bug description: syslog extract: May 15 00:38:28 rpi4 kernel: [ 1464.345380] kernel BUG at /build/linux-raspi2-5.3-5IVhed/linux-raspi2-5.3-5.3.0/fs/btrfs/relocation.c:4729! May 15 00:38:28 rpi4 kernel: [ 1464.355281] Internal error: Oops - BUG: 0 [#1] SMP May 15 00:38:28 rpi4 kernel: [ 1464.360141] Modules linked in: xt_nat iptable_nat dm_crypt nls_ascii algif_skcipher af_alg ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt ipt_REJECT nf_reject_ipv4 xt_comment btsdio nf_log_ipv4 nf_log_common bluetooth bcm2835_v4l2(CE) xt_LOG ecdh_generic bcm2835_mmal_vchiq(CE) ecc vc_sm_cma(CE) xt_multiport v4l2_common xt_recent videobuf2_vmalloc videobuf2_memops brcmfmac videobuf2_v4l2 brcmutil videobuf2_common cfg80211 videodev xt_limit xt_tcpudp raspberrypi_hwmon mc xt_addrtype rpivid_mem spidev uio_pdrv_genirq uio xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack nf_defrag_ipv6 sch_fq_codel nf_defrag_ipv4 iptable_filter bpfilter iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 multipath linear broadcom bcm_phy_lib hid_generic May 15 00:38:28 rpi4 kernel: [ 1464.360198] usbhid mdio_bcm_unimac crct10dif_ce sdhci_iproc genet gpio_regulator phy_generic fixed uas usb_storage aes_neon_bs aes_neon_blk crypto_simd cryptd aes_arm64 May 15 00:38:28 rpi4 kernel: [ 1464.464074] CPU: 0 PID: 8225 Comm: btrfs-balance Tainted: G C E 5.3.0-1023-raspi2 #25~18.04.1-Ubuntu May 15 00:38:28 rpi4 kernel: [ 1464.474482] Hardware name: Raspberry Pi 4 Model B Rev 1.2 (DT) May 15 00:38:28 rpi4 kernel: [ 1464.480395] pstate: 2045 (nzCv daif +PAN -UAO) May 15 00:38:28 rpi4 kernel: [ 1464.485330] pc : btrfs_reloc_cow_block+0x34c/0x3a0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.490928] lr : __btrfs_cow_block+0x368/0x600 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.496133] sp : 13b437b0 May 15 00:38:28 rpi4 kernel: [ 1464.499487] x29: 13b437b0 x28: May 15 00:38:28 rpi4 kernel: [ 1464.504870] x27: 0001 x26: 0001 May 15 00:38:28 rpi4 kernel: [ 1464.510253] x25: 9c0ac32c4a80 x24: 9c0bb321c618 May 15 00:38:28 rpi4 kernel: [ 1464.515634] x23: 0001 x22: 9c0b63242a50 May 15 00:38:28 rpi4 kernel: [ 1464.521016] x21: 9c0b23e51ef0 x20: 9c0b4f111000 May 15 00:38:28 rpi4 kernel: [ 1464.526399] x19: 9c0b74bb5000 x18: May 15 00:38:28 rpi4 kernel: [ 1464.531780] x17: x16: 40af26f8be78 May 15 00:38:28 rpi4 kernel: [ 1464.537163] x15: x14: May 15 00:38:28 rpi4 kernel: [ 1464.542545] x13: x12: May 15 00:38:28 rpi4 kernel: [ 1464.547926] x11: x10: 9c0b10e83a40 May 15 00:38:28 rpi4 kernel: [ 1464.553308] x9 : 9c0aca004750 x8 : 40af2775b9e7 May 15 00:38:28 rpi4 kernel: [ 1464.558690] x7 : 9c0b578814e1 x6 : 9c0b578814e0 May 15 00:38:28 rpi4 kernel: [ 1464.564071] x5 : 9c0b552b59c0 x4 : 9c0b552b59c0 May 15 00:38:28 rpi4 kernel: [ 1464.569452] x3 : 9c0b63242a50 x2 : 00096be7 May 15 00:38:28 rpi4 kernel: [ 1464.574833] x1 : x0 : 012e979b4000 May 15 00:38:28 rpi4 kernel: [ 1464.580216] Call trace: May 15 00:38:28 rpi4 kernel: [ 1464.582735] btrfs_reloc_cow_block+0x34c/0x3a0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.587979] __btrfs_cow_block+0x368/0x600 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.592869] btrfs_cow_block+0x100/0x218 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.597583] btrfs_search_slot+0x560/0x930 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.602475] do_relocation+0x408/0x5b8 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.607014] relocate_tree_blocks+0x4f8/0x5c0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.612170] relocate_block_group+0x3dc/0x638 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.617325] btrfs_relocate_block_group+0x18c/0x2d8 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.623009] btrfs_relocate_chunk+0x48/0xe0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.627988] __btrfs_balance+0x864/0xa38 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.632703] btrfs_balance+0x434/0x748 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.637301] balance_kthread+0x38/0x70 [btrfs] May 15 00:38:28 rpi4
[Kernel-packages] [Bug 1878749] Re: Kernel bug when running btrfs balance
apport information ** Tags added: apport-collected bionic uec-images ** Description changed: syslog extract: May 15 00:38:28 rpi4 kernel: [ 1464.345380] kernel BUG at /build/linux-raspi2-5.3-5IVhed/linux-raspi2-5.3-5.3.0/fs/btrfs/relocation.c:4729! May 15 00:38:28 rpi4 kernel: [ 1464.355281] Internal error: Oops - BUG: 0 [#1] SMP May 15 00:38:28 rpi4 kernel: [ 1464.360141] Modules linked in: xt_nat iptable_nat dm_crypt nls_ascii algif_skcipher af_alg ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt ipt_REJECT nf_reject_ipv4 xt_comment btsdio nf_log_ipv4 nf_log_common bluetooth bcm2835_v4l2(CE) xt_LOG ecdh_generic bcm2835_mmal_vchiq(CE) ecc vc_sm_cma(CE) xt_multiport v4l2_common xt_recent videobuf2_vmalloc videobuf2_memops brcmfmac videobuf2_v4l2 brcmutil videobuf2_common cfg80211 videodev xt_limit xt_tcpudp raspberrypi_hwmon mc xt_addrtype rpivid_mem spidev uio_pdrv_genirq uio xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack nf_defrag_ipv6 sch_fq_codel nf_defrag_ipv4 iptable_filter bpfilter iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 multipath linear broadcom bcm_phy_lib hid_generic May 15 00:38:28 rpi4 kernel: [ 1464.360198] usbhid mdio_bcm_unimac crct10dif_ce sdhci_iproc genet gpio_regulator phy_generic fixed uas usb_storage aes_neon_bs aes_neon_blk crypto_simd cryptd aes_arm64 May 15 00:38:28 rpi4 kernel: [ 1464.464074] CPU: 0 PID: 8225 Comm: btrfs-balance Tainted: G C E 5.3.0-1023-raspi2 #25~18.04.1-Ubuntu May 15 00:38:28 rpi4 kernel: [ 1464.474482] Hardware name: Raspberry Pi 4 Model B Rev 1.2 (DT) May 15 00:38:28 rpi4 kernel: [ 1464.480395] pstate: 2045 (nzCv daif +PAN -UAO) May 15 00:38:28 rpi4 kernel: [ 1464.485330] pc : btrfs_reloc_cow_block+0x34c/0x3a0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.490928] lr : __btrfs_cow_block+0x368/0x600 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.496133] sp : 13b437b0 May 15 00:38:28 rpi4 kernel: [ 1464.499487] x29: 13b437b0 x28: May 15 00:38:28 rpi4 kernel: [ 1464.504870] x27: 0001 x26: 0001 May 15 00:38:28 rpi4 kernel: [ 1464.510253] x25: 9c0ac32c4a80 x24: 9c0bb321c618 May 15 00:38:28 rpi4 kernel: [ 1464.515634] x23: 0001 x22: 9c0b63242a50 May 15 00:38:28 rpi4 kernel: [ 1464.521016] x21: 9c0b23e51ef0 x20: 9c0b4f111000 May 15 00:38:28 rpi4 kernel: [ 1464.526399] x19: 9c0b74bb5000 x18: May 15 00:38:28 rpi4 kernel: [ 1464.531780] x17: x16: 40af26f8be78 May 15 00:38:28 rpi4 kernel: [ 1464.537163] x15: x14: May 15 00:38:28 rpi4 kernel: [ 1464.542545] x13: x12: May 15 00:38:28 rpi4 kernel: [ 1464.547926] x11: x10: 9c0b10e83a40 May 15 00:38:28 rpi4 kernel: [ 1464.553308] x9 : 9c0aca004750 x8 : 40af2775b9e7 May 15 00:38:28 rpi4 kernel: [ 1464.558690] x7 : 9c0b578814e1 x6 : 9c0b578814e0 May 15 00:38:28 rpi4 kernel: [ 1464.564071] x5 : 9c0b552b59c0 x4 : 9c0b552b59c0 May 15 00:38:28 rpi4 kernel: [ 1464.569452] x3 : 9c0b63242a50 x2 : 00096be7 May 15 00:38:28 rpi4 kernel: [ 1464.574833] x1 : x0 : 012e979b4000 May 15 00:38:28 rpi4 kernel: [ 1464.580216] Call trace: May 15 00:38:28 rpi4 kernel: [ 1464.582735] btrfs_reloc_cow_block+0x34c/0x3a0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.587979] __btrfs_cow_block+0x368/0x600 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.592869] btrfs_cow_block+0x100/0x218 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.597583] btrfs_search_slot+0x560/0x930 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.602475] do_relocation+0x408/0x5b8 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.607014] relocate_tree_blocks+0x4f8/0x5c0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.612170] relocate_block_group+0x3dc/0x638 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.617325] btrfs_relocate_block_group+0x18c/0x2d8 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.623009] btrfs_relocate_chunk+0x48/0xe0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.627988] __btrfs_balance+0x864/0xa38 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.632703] btrfs_balance+0x434/0x748 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.637301] balance_kthread+0x38/0x70 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.641811] kthread+0x124/0x128 May 15 00:38:28 rpi4 kernel: [ 1464.645081] ret_from_fork+0x10/0x1c May 15 00:38:28 rpi4 kernel: [ 1464.648706] Code: f9401321 eb01001f 54fff020 f9002fbc (d421) May 15 00:38:28 rpi4 kernel: [ 1464.654884] ---[ end trace 01ad7c5a4a25131c ]--- May 15 00:38:28 rpi
[Kernel-packages] [Bug 1878749] Re: Kernel bug when running btrfs balance
btrfs balance hangs and never complete after this bug trace appears in syslog -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1878749 Title: Kernel bug when running btrfs balance Status in linux package in Ubuntu: Incomplete Bug description: syslog extract: May 15 00:38:28 rpi4 kernel: [ 1464.345380] kernel BUG at /build/linux-raspi2-5.3-5IVhed/linux-raspi2-5.3-5.3.0/fs/btrfs/relocation.c:4729! May 15 00:38:28 rpi4 kernel: [ 1464.355281] Internal error: Oops - BUG: 0 [#1] SMP May 15 00:38:28 rpi4 kernel: [ 1464.360141] Modules linked in: xt_nat iptable_nat dm_crypt nls_ascii algif_skcipher af_alg ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt ipt_REJECT nf_reject_ipv4 xt_comment btsdio nf_log_ipv4 nf_log_common bluetooth bcm2835_v4l2(CE) xt_LOG ecdh_generic bcm2835_mmal_vchiq(CE) ecc vc_sm_cma(CE) xt_multiport v4l2_common xt_recent videobuf2_vmalloc videobuf2_memops brcmfmac videobuf2_v4l2 brcmutil videobuf2_common cfg80211 videodev xt_limit xt_tcpudp raspberrypi_hwmon mc xt_addrtype rpivid_mem spidev uio_pdrv_genirq uio xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack nf_defrag_ipv6 sch_fq_codel nf_defrag_ipv4 iptable_filter bpfilter iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 multipath linear broadcom bcm_phy_lib hid_generic May 15 00:38:28 rpi4 kernel: [ 1464.360198] usbhid mdio_bcm_unimac crct10dif_ce sdhci_iproc genet gpio_regulator phy_generic fixed uas usb_storage aes_neon_bs aes_neon_blk crypto_simd cryptd aes_arm64 May 15 00:38:28 rpi4 kernel: [ 1464.464074] CPU: 0 PID: 8225 Comm: btrfs-balance Tainted: G C E 5.3.0-1023-raspi2 #25~18.04.1-Ubuntu May 15 00:38:28 rpi4 kernel: [ 1464.474482] Hardware name: Raspberry Pi 4 Model B Rev 1.2 (DT) May 15 00:38:28 rpi4 kernel: [ 1464.480395] pstate: 2045 (nzCv daif +PAN -UAO) May 15 00:38:28 rpi4 kernel: [ 1464.485330] pc : btrfs_reloc_cow_block+0x34c/0x3a0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.490928] lr : __btrfs_cow_block+0x368/0x600 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.496133] sp : 13b437b0 May 15 00:38:28 rpi4 kernel: [ 1464.499487] x29: 13b437b0 x28: May 15 00:38:28 rpi4 kernel: [ 1464.504870] x27: 0001 x26: 0001 May 15 00:38:28 rpi4 kernel: [ 1464.510253] x25: 9c0ac32c4a80 x24: 9c0bb321c618 May 15 00:38:28 rpi4 kernel: [ 1464.515634] x23: 0001 x22: 9c0b63242a50 May 15 00:38:28 rpi4 kernel: [ 1464.521016] x21: 9c0b23e51ef0 x20: 9c0b4f111000 May 15 00:38:28 rpi4 kernel: [ 1464.526399] x19: 9c0b74bb5000 x18: May 15 00:38:28 rpi4 kernel: [ 1464.531780] x17: x16: 40af26f8be78 May 15 00:38:28 rpi4 kernel: [ 1464.537163] x15: x14: May 15 00:38:28 rpi4 kernel: [ 1464.542545] x13: x12: May 15 00:38:28 rpi4 kernel: [ 1464.547926] x11: x10: 9c0b10e83a40 May 15 00:38:28 rpi4 kernel: [ 1464.553308] x9 : 9c0aca004750 x8 : 40af2775b9e7 May 15 00:38:28 rpi4 kernel: [ 1464.558690] x7 : 9c0b578814e1 x6 : 9c0b578814e0 May 15 00:38:28 rpi4 kernel: [ 1464.564071] x5 : 9c0b552b59c0 x4 : 9c0b552b59c0 May 15 00:38:28 rpi4 kernel: [ 1464.569452] x3 : 9c0b63242a50 x2 : 00096be7 May 15 00:38:28 rpi4 kernel: [ 1464.574833] x1 : x0 : 012e979b4000 May 15 00:38:28 rpi4 kernel: [ 1464.580216] Call trace: May 15 00:38:28 rpi4 kernel: [ 1464.582735] btrfs_reloc_cow_block+0x34c/0x3a0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.587979] __btrfs_cow_block+0x368/0x600 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.592869] btrfs_cow_block+0x100/0x218 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.597583] btrfs_search_slot+0x560/0x930 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.602475] do_relocation+0x408/0x5b8 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.607014] relocate_tree_blocks+0x4f8/0x5c0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.612170] relocate_block_group+0x3dc/0x638 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.617325] btrfs_relocate_block_group+0x18c/0x2d8 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.623009] btrfs_relocate_chunk+0x48/0xe0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.627988] __btrfs_balance+0x864/0xa38 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.632703] btrfs_balance+0x434/0x748 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.637301] balance_kthread+0x38/0x70 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.641811] kthread+0x124/0x128 May 15 00:38:28
[Kernel-packages] [Bug 1878749] Re: Kernel bug when running btrfs balance
** Attachment added: "output" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1878749/+attachment/5371862/+files/apport.linux-image-5.3.0-1023-raspi2.ygdw1r54.apport -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1878749 Title: Kernel bug when running btrfs balance Status in linux package in Ubuntu: Incomplete Bug description: syslog extract: May 15 00:38:28 rpi4 kernel: [ 1464.345380] kernel BUG at /build/linux-raspi2-5.3-5IVhed/linux-raspi2-5.3-5.3.0/fs/btrfs/relocation.c:4729! May 15 00:38:28 rpi4 kernel: [ 1464.355281] Internal error: Oops - BUG: 0 [#1] SMP May 15 00:38:28 rpi4 kernel: [ 1464.360141] Modules linked in: xt_nat iptable_nat dm_crypt nls_ascii algif_skcipher af_alg ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 xt_hl ip6t_rt ipt_REJECT nf_reject_ipv4 xt_comment btsdio nf_log_ipv4 nf_log_common bluetooth bcm2835_v4l2(CE) xt_LOG ecdh_generic bcm2835_mmal_vchiq(CE) ecc vc_sm_cma(CE) xt_multiport v4l2_common xt_recent videobuf2_vmalloc videobuf2_memops brcmfmac videobuf2_v4l2 brcmutil videobuf2_common cfg80211 videodev xt_limit xt_tcpudp raspberrypi_hwmon mc xt_addrtype rpivid_mem spidev uio_pdrv_genirq uio xt_conntrack ip6table_filter ip6_tables nf_conntrack_netbios_ns nf_conntrack_broadcast nf_nat_ftp nf_nat nf_conntrack_ftp nf_conntrack nf_defrag_ipv6 sch_fq_codel nf_defrag_ipv4 iptable_filter bpfilter iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi ip_tables x_tables autofs4 btrfs zstd_compress raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0 multipath linear broadcom bcm_phy_lib hid_generic May 15 00:38:28 rpi4 kernel: [ 1464.360198] usbhid mdio_bcm_unimac crct10dif_ce sdhci_iproc genet gpio_regulator phy_generic fixed uas usb_storage aes_neon_bs aes_neon_blk crypto_simd cryptd aes_arm64 May 15 00:38:28 rpi4 kernel: [ 1464.464074] CPU: 0 PID: 8225 Comm: btrfs-balance Tainted: G C E 5.3.0-1023-raspi2 #25~18.04.1-Ubuntu May 15 00:38:28 rpi4 kernel: [ 1464.474482] Hardware name: Raspberry Pi 4 Model B Rev 1.2 (DT) May 15 00:38:28 rpi4 kernel: [ 1464.480395] pstate: 2045 (nzCv daif +PAN -UAO) May 15 00:38:28 rpi4 kernel: [ 1464.485330] pc : btrfs_reloc_cow_block+0x34c/0x3a0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.490928] lr : __btrfs_cow_block+0x368/0x600 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.496133] sp : 13b437b0 May 15 00:38:28 rpi4 kernel: [ 1464.499487] x29: 13b437b0 x28: May 15 00:38:28 rpi4 kernel: [ 1464.504870] x27: 0001 x26: 0001 May 15 00:38:28 rpi4 kernel: [ 1464.510253] x25: 9c0ac32c4a80 x24: 9c0bb321c618 May 15 00:38:28 rpi4 kernel: [ 1464.515634] x23: 0001 x22: 9c0b63242a50 May 15 00:38:28 rpi4 kernel: [ 1464.521016] x21: 9c0b23e51ef0 x20: 9c0b4f111000 May 15 00:38:28 rpi4 kernel: [ 1464.526399] x19: 9c0b74bb5000 x18: May 15 00:38:28 rpi4 kernel: [ 1464.531780] x17: x16: 40af26f8be78 May 15 00:38:28 rpi4 kernel: [ 1464.537163] x15: x14: May 15 00:38:28 rpi4 kernel: [ 1464.542545] x13: x12: May 15 00:38:28 rpi4 kernel: [ 1464.547926] x11: x10: 9c0b10e83a40 May 15 00:38:28 rpi4 kernel: [ 1464.553308] x9 : 9c0aca004750 x8 : 40af2775b9e7 May 15 00:38:28 rpi4 kernel: [ 1464.558690] x7 : 9c0b578814e1 x6 : 9c0b578814e0 May 15 00:38:28 rpi4 kernel: [ 1464.564071] x5 : 9c0b552b59c0 x4 : 9c0b552b59c0 May 15 00:38:28 rpi4 kernel: [ 1464.569452] x3 : 9c0b63242a50 x2 : 00096be7 May 15 00:38:28 rpi4 kernel: [ 1464.574833] x1 : x0 : 012e979b4000 May 15 00:38:28 rpi4 kernel: [ 1464.580216] Call trace: May 15 00:38:28 rpi4 kernel: [ 1464.582735] btrfs_reloc_cow_block+0x34c/0x3a0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.587979] __btrfs_cow_block+0x368/0x600 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.592869] btrfs_cow_block+0x100/0x218 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.597583] btrfs_search_slot+0x560/0x930 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.602475] do_relocation+0x408/0x5b8 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.607014] relocate_tree_blocks+0x4f8/0x5c0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.612170] relocate_block_group+0x3dc/0x638 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.617325] btrfs_relocate_block_group+0x18c/0x2d8 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.623009] btrfs_relocate_chunk+0x48/0xe0 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.627988] __btrfs_balance+0x864/0xa38 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.632703] btrfs_balance+0x434/0x748 [btrfs] May 15 00:38:28 rpi4 kernel: [ 1464.637301] balance_kthread+0x38/