[Kernel-packages] [Bug 1890951] Re: btrfs not writable when mounted without "skip_balance"

2020-08-31 Thread Johannes Rohr
today's kernel update seems to have fixed it, as expected.

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

Title:
  btrfs not writable when mounted without "skip_balance"

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
  with the btrfs volume it is installed on. The system hung when
  launching a btrfs balance and on next boot, it hung indefinitely, when
  trying to created the volatile files and dirs.

  Booting from a Debian buster rescue system, I noticed that I was
  unable to create or delete any files and I noticed the following in
  dmesg:

  [Sun Aug  9 12:21:35 2020] [ cut here ]
  [Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
  [Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
  [Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G
   O  5.4.47 #1
  [Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
  [Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  [Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
  [Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

  [Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
  [Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
  [Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
  [Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
  [Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
  [Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
  [Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
  [Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

  [Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
  [Sun Aug  9 12:21:35 2020] Call Trace:
  [Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
  [Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
  [Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
  [Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
  [Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
  [Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
  [Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
  [Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45

  So this is obviously a btrfs bug that got introduced by the newer btrfs code 
in the newer kernel, although, booting an older kernel didn't fix it. 
Apparently something about the fs is messed up now and no balance can be run. 
The only temporary remedy I found was to add the skip_balance mount option to 
/etc/fstab, but of course, this is a crutch, and when you can't run balance, 
then the fs is bound to run out of space at some 

[Kernel-packages] [Bug 1889669] Re: Focal update: v5.4.54 upstream stable release

2020-08-31 Thread Johannes Rohr
Isn't this due to be released today (31 August), according to
https://kernel.ubuntu.com/?

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

Title:
  Focal update: v5.4.54 upstream stable release

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Focal:
  Fix Committed

Bug description:
  SRU Justification

  Impact:
     The upstream process for stable tree updates is quite similar
     in scope to the Ubuntu SRU process, e.g., each patch has to
     demonstrably fix a bug, and each patch is vetted by upstream
     by originating either directly from a mainline/stable Linux tree or
     a minimally backported form of that patch. The following upstream
     stable patches should be included in the Ubuntu kernel:

     v5.4.54 upstream stable release
     from git://git.kernel.org/

  soc: qcom: rpmh: Dirt can only make you dirtier, not cleaner
  gpio: arizona: handle pm_runtime_get_sync failure case
  gpio: arizona: put pm_runtime in case of failure
  pinctrl: amd: fix npins for uart0 in kerncz_groups
  mac80211: allow rx of mesh eapol frames with default rx key
  scsi: scsi_transport_spi: Fix function pointer check
  xtensa: fix __sync_fetch_and_{and,or}_4 declarations
  xtensa: update *pos in cpuinfo_op.next
  scsi: mpt3sas: Fix unlock imbalance
  drivers/net/wan/lapbether: Fixed the value of hard_header_len
  ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
  net: sky2: initialize return of gm_phy_read
  drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
  scsi: mpt3sas: Fix error returns in BRM_status_show
  scsi: dh: Add Fujitsu device to devinfo and dh lists
  dm: use bio_uninit instead of bio_disassociate_blkg
  drivers/firmware/psci: Fix memory leakage in alloc_init_cpu_groups()
  fuse: fix weird page warning
  irqdomain/treewide: Keep firmware node unconditionally allocated
  ARM: dts: imx6qdl-gw551x: Do not use 'simple-audio-card,dai-link'
  ARM: dts: imx6qdl-gw551x: fix audio SSI
  dmabuf: use spinlock to access dmabuf->name
  drm/amd/display: Check DMCU Exists Before Loading
  SUNRPC reverting d03727b248d0 ("NFSv4 fix CLOSE not waiting for direct IO 
compeletion")
  btrfs: reloc: fix reloc root leak and NULL pointer dereference
  btrfs: reloc: clear DEAD_RELOC_TREE bit for orphan roots to prevent runaway 
balance
  uprobes: Change handle_swbp() to send SIGTRAP with si_code=SI_KERNEL, to fix 
GDB regression
  ALSA: hda/realtek: Fixed ALC298 sound bug by adding quirk for Samsung 
Notebook Pen S
  ALSA: info: Drop WARN_ON() from buffer NULL sanity check
  ASoC: rt5670: Correct RT5670_LDO_SEL_MASK
  btrfs: fix double free on ulist after backref resolution failure
  btrfs: fix mount failure caused by race with umount
  btrfs: fix page leaks after failure to lock page for delalloc
  bnxt_en: Fix race when modifying pause settings.
  bnxt_en: Fix completion ring sizing with TPA enabled.
  fpga: dfl: pci: reduce the scope of variable 'ret'
  fpga: dfl: fix bug in port reset handshake
  hippi: Fix a size used in a 'pci_free_consistent()' in an error handling path
  vsock/virtio: annotate 'the_virtio_vsock' RCU pointer
  ax88172a: fix ax88172a_unbind() failures
  RDMA/mlx5: Use xa_lock_irq when access to SRQ table
  ASoC: Intel: bytcht_es8316: Add missed put_device()
  net: dp83640: fix SIOCSHWTSTAMP to update the struct with actual configuration
  ieee802154: fix one possible memleak in adf7242_probe
  drm: sun4i: hdmi: Fix inverted HPD result
  net: smc91x: Fix possible memory leak in smc_drv_probe()
  bonding: check error value of register_netdevice() immediately
  mlxsw: destroy workqueue when trap_register in mlxsw_emad_init
  ionic: use offset for ethtool regs data
  ionic: fix up filter locks and debug msgs
  net: ag71xx: add missed clk_disable_unprepare in error path of probe
  net: hns3: fix error handling for desc filling
  net: dsa: microchip: call phy_remove_link_mode during probe
  netdevsim: fix unbalaced locking in nsim_create()
  qed: suppress "don't support RoCE & iWARP" flooding on HW init
  qed: suppress false-positives interrupt error messages on HW init
  ipvs: fix the connection sync failed in some cases
  net: ethernet: ave: Fix error returns in ave_init
  Revert "PCI/PM: Assume ports without DLL Link Active train links in 100 ms"
  nfsd4: fix NULL dereference in nfsd/clients display code
  enetc: Remove the mdio bus on PF probe bailout
  i2c: rcar: always clear ICSAR to avoid side effects
  i2c: i2c-qcom-geni: Fix DMA transfer race
  bonding: check return value of register_netdevice() in bond_newlink()
  geneve: fix an uninitialized value in geneve_changelink()
  serial: exar: Fix GPIO configuration for Sealevel cards based on XR17V35X
  scripts/decode_stacktrace: strip basepath from all paths
  scripts/gdb: fix lx-symbols 'gdb.error' while loading modules
  HID: 

[Kernel-packages] [Bug 1889669] Re: Focal update: v5.4.54 upstream stable release

2020-08-11 Thread Johannes Rohr
So when is the package going to be available? Asking because with the
current kernel, btrfs balance fails and the updated one has the fix, see
https://lore.kernel.org/linux-btrfs/feffe90f-de6b-0f53-c54d-
0df135c49...@gmail.com/T/#t

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

Title:
  Focal update: v5.4.54 upstream stable release

Status in linux package in Ubuntu:
  Confirmed
Status in linux source package in Focal:
  Fix Committed

Bug description:
  SRU Justification

  Impact:
     The upstream process for stable tree updates is quite similar
     in scope to the Ubuntu SRU process, e.g., each patch has to
     demonstrably fix a bug, and each patch is vetted by upstream
     by originating either directly from a mainline/stable Linux tree or
     a minimally backported form of that patch. The following upstream
     stable patches should be included in the Ubuntu kernel:

     v5.4.54 upstream stable release
     from git://git.kernel.org/

  soc: qcom: rpmh: Dirt can only make you dirtier, not cleaner
  gpio: arizona: handle pm_runtime_get_sync failure case
  gpio: arizona: put pm_runtime in case of failure
  pinctrl: amd: fix npins for uart0 in kerncz_groups
  mac80211: allow rx of mesh eapol frames with default rx key
  scsi: scsi_transport_spi: Fix function pointer check
  xtensa: fix __sync_fetch_and_{and,or}_4 declarations
  xtensa: update *pos in cpuinfo_op.next
  scsi: mpt3sas: Fix unlock imbalance
  drivers/net/wan/lapbether: Fixed the value of hard_header_len
  ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
  net: sky2: initialize return of gm_phy_read
  drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
  scsi: mpt3sas: Fix error returns in BRM_status_show
  scsi: dh: Add Fujitsu device to devinfo and dh lists
  dm: use bio_uninit instead of bio_disassociate_blkg
  drivers/firmware/psci: Fix memory leakage in alloc_init_cpu_groups()
  fuse: fix weird page warning
  irqdomain/treewide: Keep firmware node unconditionally allocated
  ARM: dts: imx6qdl-gw551x: Do not use 'simple-audio-card,dai-link'
  ARM: dts: imx6qdl-gw551x: fix audio SSI
  dmabuf: use spinlock to access dmabuf->name
  drm/amd/display: Check DMCU Exists Before Loading
  SUNRPC reverting d03727b248d0 ("NFSv4 fix CLOSE not waiting for direct IO 
compeletion")
  btrfs: reloc: fix reloc root leak and NULL pointer dereference
  btrfs: reloc: clear DEAD_RELOC_TREE bit for orphan roots to prevent runaway 
balance
  uprobes: Change handle_swbp() to send SIGTRAP with si_code=SI_KERNEL, to fix 
GDB regression
  ALSA: hda/realtek: Fixed ALC298 sound bug by adding quirk for Samsung 
Notebook Pen S
  ALSA: info: Drop WARN_ON() from buffer NULL sanity check
  ASoC: rt5670: Correct RT5670_LDO_SEL_MASK
  btrfs: fix double free on ulist after backref resolution failure
  btrfs: fix mount failure caused by race with umount
  btrfs: fix page leaks after failure to lock page for delalloc
  bnxt_en: Fix race when modifying pause settings.
  bnxt_en: Fix completion ring sizing with TPA enabled.
  fpga: dfl: pci: reduce the scope of variable 'ret'
  fpga: dfl: fix bug in port reset handshake
  hippi: Fix a size used in a 'pci_free_consistent()' in an error handling path
  vsock/virtio: annotate 'the_virtio_vsock' RCU pointer
  ax88172a: fix ax88172a_unbind() failures
  RDMA/mlx5: Use xa_lock_irq when access to SRQ table
  ASoC: Intel: bytcht_es8316: Add missed put_device()
  net: dp83640: fix SIOCSHWTSTAMP to update the struct with actual configuration
  ieee802154: fix one possible memleak in adf7242_probe
  drm: sun4i: hdmi: Fix inverted HPD result
  net: smc91x: Fix possible memory leak in smc_drv_probe()
  bonding: check error value of register_netdevice() immediately
  mlxsw: destroy workqueue when trap_register in mlxsw_emad_init
  ionic: use offset for ethtool regs data
  ionic: fix up filter locks and debug msgs
  net: ag71xx: add missed clk_disable_unprepare in error path of probe
  net: hns3: fix error handling for desc filling
  net: dsa: microchip: call phy_remove_link_mode during probe
  netdevsim: fix unbalaced locking in nsim_create()
  qed: suppress "don't support RoCE & iWARP" flooding on HW init
  qed: suppress false-positives interrupt error messages on HW init
  ipvs: fix the connection sync failed in some cases
  net: ethernet: ave: Fix error returns in ave_init
  Revert "PCI/PM: Assume ports without DLL Link Active train links in 100 ms"
  nfsd4: fix NULL dereference in nfsd/clients display code
  enetc: Remove the mdio bus on PF probe bailout
  i2c: rcar: always clear ICSAR to avoid side effects
  i2c: i2c-qcom-geni: Fix DMA transfer race
  bonding: check return value of register_netdevice() in bond_newlink()
  geneve: fix an uninitialized value in geneve_changelink()
  serial: exar: Fix GPIO configuration for Sealevel cards based on 

[Kernel-packages] [Bug 1890951] Re: btrfs not writable when mounted without "skip_balance"

2020-08-10 Thread Johannes Rohr
** No longer affects: linux

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

Title:
  btrfs not writable when mounted without "skip_balance"

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
  with the btrfs volume it is installed on. The system hung when
  launching a btrfs balance and on next boot, it hung indefinitely, when
  trying to created the volatile files and dirs.

  Booting from a Debian buster rescue system, I noticed that I was
  unable to create or delete any files and I noticed the following in
  dmesg:

  [Sun Aug  9 12:21:35 2020] [ cut here ]
  [Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
  [Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
  [Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G
   O  5.4.47 #1
  [Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
  [Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  [Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
  [Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

  [Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
  [Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
  [Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
  [Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
  [Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
  [Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
  [Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
  [Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

  [Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
  [Sun Aug  9 12:21:35 2020] Call Trace:
  [Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
  [Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
  [Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
  [Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
  [Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
  [Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
  [Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
  [Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45

  So this is obviously a btrfs bug that got introduced by the newer btrfs code 
in the newer kernel, although, booting an older kernel didn't fix it. 
Apparently something about the fs is messed up now and no balance can be run. 
The only temporary remedy I found was to add the skip_balance mount option to 
/etc/fstab, but of course, this is a crutch, and when you can't run balance, 
then the fs is bound to run out of space at some point.
  --- 
  ProblemType: Bug
  

[Kernel-packages] [Bug 1890951] Re: btrfs not writable when mounted without "skip_balance"

2020-08-10 Thread Johannes Rohr
apparently fixed in kernel 5.4.56 
https://lore.kernel.org/linux-btrfs/8a3370fd-7cda-78d2-b036-8350c5a3e...@gmx.com/T/#r52f03985dd7982c8f92c8a65089583f01c62020b
 
Will it become available for Ubuntu?

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

Title:
  btrfs not writable when mounted without "skip_balance"

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
  with the btrfs volume it is installed on. The system hung when
  launching a btrfs balance and on next boot, it hung indefinitely, when
  trying to created the volatile files and dirs.

  Booting from a Debian buster rescue system, I noticed that I was
  unable to create or delete any files and I noticed the following in
  dmesg:

  [Sun Aug  9 12:21:35 2020] [ cut here ]
  [Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
  [Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
  [Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G
   O  5.4.47 #1
  [Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
  [Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  [Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
  [Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

  [Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
  [Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
  [Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
  [Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
  [Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
  [Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
  [Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
  [Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

  [Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
  [Sun Aug  9 12:21:35 2020] Call Trace:
  [Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
  [Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
  [Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
  [Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
  [Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
  [Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
  [Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
  [Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45

  So this is obviously a btrfs bug that got introduced by the newer btrfs code 
in the newer kernel, although, booting an older kernel didn't fix it. 
Apparently something about the fs is messed up now and no balance can be run. 
The only temporary remedy I found was to add the skip_balance mount 

[Kernel-packages] [Bug 1890951] Re: btrfs not writable when mounted without "skip_balance"

2020-08-10 Thread Johannes Rohr
Apparently this is (probably) fixed in kernels from 5.4.54
https://lore.kernel.org/linux-btrfs/8a3370fd-7cda-
78d2-b036-8350c5a3e...@gmx.com/T/#r52f03985dd7982c8f92c8a65089583f01c62020b
so I hope it becomes available in Ubuntu soon.

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

Title:
  btrfs not writable when mounted without "skip_balance"

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
  with the btrfs volume it is installed on. The system hung when
  launching a btrfs balance and on next boot, it hung indefinitely, when
  trying to created the volatile files and dirs.

  Booting from a Debian buster rescue system, I noticed that I was
  unable to create or delete any files and I noticed the following in
  dmesg:

  [Sun Aug  9 12:21:35 2020] [ cut here ]
  [Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
  [Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
  [Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G
   O  5.4.47 #1
  [Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
  [Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  [Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
  [Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

  [Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
  [Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
  [Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
  [Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
  [Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
  [Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
  [Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
  [Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

  [Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
  [Sun Aug  9 12:21:35 2020] Call Trace:
  [Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
  [Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
  [Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
  [Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
  [Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
  [Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
  [Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
  [Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45

  So this is obviously a btrfs bug that got introduced by the newer btrfs code 
in the newer kernel, although, booting an older kernel didn't fix it. 
Apparently something about the fs is messed up now and no balance can be run. 
The only temporary remedy I found 

[Kernel-packages] [Bug 1890951] Re: btrfs not writable when mounted without "skip_balance"

2020-08-09 Thread Johannes Rohr
** Bug watch added: Linux Kernel Bug Tracker #203405
   https://bugzilla.kernel.org/show_bug.cgi?id=203405

** Also affects: linux via
   https://bugzilla.kernel.org/show_bug.cgi?id=203405
   Importance: Unknown
   Status: Unknown

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

Title:
  btrfs not writable when mounted without "skip_balance"

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
  with the btrfs volume it is installed on. The system hung when
  launching a btrfs balance and on next boot, it hung indefinitely, when
  trying to created the volatile files and dirs.

  Booting from a Debian buster rescue system, I noticed that I was
  unable to create or delete any files and I noticed the following in
  dmesg:

  [Sun Aug  9 12:21:35 2020] [ cut here ]
  [Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
  [Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
  [Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G
   O  5.4.47 #1
  [Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
  [Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  [Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
  [Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

  [Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
  [Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
  [Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
  [Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
  [Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
  [Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
  [Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
  [Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

  [Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
  [Sun Aug  9 12:21:35 2020] Call Trace:
  [Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
  [Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
  [Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
  [Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
  [Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
  [Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
  [Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
  [Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45

  So this is obviously a btrfs bug that got introduced by the newer btrfs code 
in the newer kernel, although, booting an older kernel didn't fix it. 
Apparently something about the fs is messed up now and no balance can be run. 
The 

[Kernel-packages] [Bug 1890951] ProcModules.txt

2020-08-09 Thread Johannes Rohr
apport information

** Attachment added: "ProcModules.txt"
   
https://bugs.launchpad.net/bugs/1890951/+attachment/5400189/+files/ProcModules.txt

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

Title:
  btrfs not writable when mounted without "skip_balance"

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
  with the btrfs volume it is installed on. The system hung when
  launching a btrfs balance and on next boot, it hung indefinitely, when
  trying to created the volatile files and dirs.

  Booting from a Debian buster rescue system, I noticed that I was
  unable to create or delete any files and I noticed the following in
  dmesg:

  [Sun Aug  9 12:21:35 2020] [ cut here ]
  [Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
  [Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
  [Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G
   O  5.4.47 #1
  [Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
  [Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  [Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
  [Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

  [Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
  [Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
  [Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
  [Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
  [Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
  [Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
  [Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
  [Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

  [Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
  [Sun Aug  9 12:21:35 2020] Call Trace:
  [Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
  [Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
  [Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
  [Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
  [Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
  [Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
  [Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
  [Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45

  So this is obviously a btrfs bug that got introduced by the newer btrfs code 
in the newer kernel, although, booting an older kernel didn't fix it. 
Apparently something about the fs is messed up now and no balance can be run. 
The only temporary remedy I found was to add the skip_balance mount option to 
/etc/fstab, but 

[Kernel-packages] [Bug 1890951] ProcInterrupts.txt

2020-08-09 Thread Johannes Rohr
apport information

** Attachment added: "ProcInterrupts.txt"
   
https://bugs.launchpad.net/bugs/1890951/+attachment/5400188/+files/ProcInterrupts.txt

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

Title:
  btrfs not writable when mounted without "skip_balance"

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
  with the btrfs volume it is installed on. The system hung when
  launching a btrfs balance and on next boot, it hung indefinitely, when
  trying to created the volatile files and dirs.

  Booting from a Debian buster rescue system, I noticed that I was
  unable to create or delete any files and I noticed the following in
  dmesg:

  [Sun Aug  9 12:21:35 2020] [ cut here ]
  [Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
  [Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
  [Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G
   O  5.4.47 #1
  [Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
  [Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  [Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
  [Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

  [Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
  [Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
  [Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
  [Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
  [Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
  [Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
  [Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
  [Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

  [Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
  [Sun Aug  9 12:21:35 2020] Call Trace:
  [Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
  [Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
  [Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
  [Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
  [Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
  [Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
  [Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
  [Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45

  So this is obviously a btrfs bug that got introduced by the newer btrfs code 
in the newer kernel, although, booting an older kernel didn't fix it. 
Apparently something about the fs is messed up now and no balance can be run. 
The only temporary remedy I found was to add the skip_balance mount option to 
/etc/fstab, 

[Kernel-packages] [Bug 1890951] ProcCpuinfo.txt

2020-08-09 Thread Johannes Rohr
apport information

** Attachment added: "ProcCpuinfo.txt"
   
https://bugs.launchpad.net/bugs/1890951/+attachment/5400186/+files/ProcCpuinfo.txt

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

Title:
  btrfs not writable when mounted without "skip_balance"

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
  with the btrfs volume it is installed on. The system hung when
  launching a btrfs balance and on next boot, it hung indefinitely, when
  trying to created the volatile files and dirs.

  Booting from a Debian buster rescue system, I noticed that I was
  unable to create or delete any files and I noticed the following in
  dmesg:

  [Sun Aug  9 12:21:35 2020] [ cut here ]
  [Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
  [Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
  [Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G
   O  5.4.47 #1
  [Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
  [Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  [Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
  [Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

  [Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
  [Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
  [Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
  [Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
  [Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
  [Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
  [Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
  [Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

  [Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
  [Sun Aug  9 12:21:35 2020] Call Trace:
  [Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
  [Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
  [Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
  [Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
  [Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
  [Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
  [Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
  [Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45

  So this is obviously a btrfs bug that got introduced by the newer btrfs code 
in the newer kernel, although, booting an older kernel didn't fix it. 
Apparently something about the fs is messed up now and no balance can be run. 
The only temporary remedy I found was to add the skip_balance mount option to 
/etc/fstab, but 

[Kernel-packages] [Bug 1890951] UdevDb.txt

2020-08-09 Thread Johannes Rohr
apport information

** Attachment added: "UdevDb.txt"
   https://bugs.launchpad.net/bugs/1890951/+attachment/5400190/+files/UdevDb.txt

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

Title:
  btrfs not writable when mounted without "skip_balance"

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
  with the btrfs volume it is installed on. The system hung when
  launching a btrfs balance and on next boot, it hung indefinitely, when
  trying to created the volatile files and dirs.

  Booting from a Debian buster rescue system, I noticed that I was
  unable to create or delete any files and I noticed the following in
  dmesg:

  [Sun Aug  9 12:21:35 2020] [ cut here ]
  [Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
  [Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
  [Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G
   O  5.4.47 #1
  [Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
  [Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  [Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
  [Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

  [Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
  [Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
  [Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
  [Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
  [Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
  [Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
  [Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
  [Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

  [Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
  [Sun Aug  9 12:21:35 2020] Call Trace:
  [Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
  [Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
  [Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
  [Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
  [Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
  [Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
  [Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
  [Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45

  So this is obviously a btrfs bug that got introduced by the newer btrfs code 
in the newer kernel, although, booting an older kernel didn't fix it. 
Apparently something about the fs is messed up now and no balance can be run. 
The only temporary remedy I found was to add the skip_balance mount option to 
/etc/fstab, but of course, 

[Kernel-packages] [Bug 1890951] CurrentDmesg.txt

2020-08-09 Thread Johannes Rohr
apport information

** Attachment added: "CurrentDmesg.txt"
   
https://bugs.launchpad.net/bugs/1890951/+attachment/5400183/+files/CurrentDmesg.txt

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

Title:
  btrfs not writable when mounted without "skip_balance"

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
  with the btrfs volume it is installed on. The system hung when
  launching a btrfs balance and on next boot, it hung indefinitely, when
  trying to created the volatile files and dirs.

  Booting from a Debian buster rescue system, I noticed that I was
  unable to create or delete any files and I noticed the following in
  dmesg:

  [Sun Aug  9 12:21:35 2020] [ cut here ]
  [Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
  [Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
  [Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G
   O  5.4.47 #1
  [Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
  [Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  [Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
  [Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

  [Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
  [Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
  [Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
  [Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
  [Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
  [Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
  [Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
  [Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

  [Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
  [Sun Aug  9 12:21:35 2020] Call Trace:
  [Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
  [Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
  [Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
  [Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
  [Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
  [Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
  [Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
  [Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45

  So this is obviously a btrfs bug that got introduced by the newer btrfs code 
in the newer kernel, although, booting an older kernel didn't fix it. 
Apparently something about the fs is messed up now and no balance can be run. 
The only temporary remedy I found was to add the skip_balance mount option to 
/etc/fstab, but 

[Kernel-packages] [Bug 1890951] ProcCpuinfoMinimal.txt

2020-08-09 Thread Johannes Rohr
apport information

** Attachment added: "ProcCpuinfoMinimal.txt"
   
https://bugs.launchpad.net/bugs/1890951/+attachment/5400187/+files/ProcCpuinfoMinimal.txt

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

Title:
  btrfs not writable when mounted without "skip_balance"

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
  with the btrfs volume it is installed on. The system hung when
  launching a btrfs balance and on next boot, it hung indefinitely, when
  trying to created the volatile files and dirs.

  Booting from a Debian buster rescue system, I noticed that I was
  unable to create or delete any files and I noticed the following in
  dmesg:

  [Sun Aug  9 12:21:35 2020] [ cut here ]
  [Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
  [Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
  [Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G
   O  5.4.47 #1
  [Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
  [Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  [Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
  [Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

  [Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
  [Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
  [Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
  [Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
  [Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
  [Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
  [Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
  [Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

  [Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
  [Sun Aug  9 12:21:35 2020] Call Trace:
  [Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
  [Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
  [Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
  [Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
  [Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
  [Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
  [Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
  [Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45

  So this is obviously a btrfs bug that got introduced by the newer btrfs code 
in the newer kernel, although, booting an older kernel didn't fix it. 
Apparently something about the fs is messed up now and no balance can be run. 
The only temporary remedy I found was to add the skip_balance mount option to 

[Kernel-packages] [Bug 1890951] Lspci-vt.txt

2020-08-09 Thread Johannes Rohr
apport information

** Attachment added: "Lspci-vt.txt"
   
https://bugs.launchpad.net/bugs/1890951/+attachment/5400185/+files/Lspci-vt.txt

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

Title:
  btrfs not writable when mounted without "skip_balance"

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
  with the btrfs volume it is installed on. The system hung when
  launching a btrfs balance and on next boot, it hung indefinitely, when
  trying to created the volatile files and dirs.

  Booting from a Debian buster rescue system, I noticed that I was
  unable to create or delete any files and I noticed the following in
  dmesg:

  [Sun Aug  9 12:21:35 2020] [ cut here ]
  [Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
  [Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
  [Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G
   O  5.4.47 #1
  [Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
  [Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  [Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
  [Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

  [Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
  [Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
  [Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
  [Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
  [Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
  [Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
  [Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
  [Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

  [Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
  [Sun Aug  9 12:21:35 2020] Call Trace:
  [Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
  [Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
  [Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
  [Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
  [Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
  [Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
  [Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
  [Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45

  So this is obviously a btrfs bug that got introduced by the newer btrfs code 
in the newer kernel, although, booting an older kernel didn't fix it. 
Apparently something about the fs is messed up now and no balance can be run. 
The only temporary remedy I found was to add the skip_balance mount option to 
/etc/fstab, but of 

[Kernel-packages] [Bug 1890951] WifiSyslog.txt

2020-08-09 Thread Johannes Rohr
apport information

** Attachment added: "WifiSyslog.txt"
   
https://bugs.launchpad.net/bugs/1890951/+attachment/5400191/+files/WifiSyslog.txt

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

Title:
  btrfs not writable when mounted without "skip_balance"

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
  with the btrfs volume it is installed on. The system hung when
  launching a btrfs balance and on next boot, it hung indefinitely, when
  trying to created the volatile files and dirs.

  Booting from a Debian buster rescue system, I noticed that I was
  unable to create or delete any files and I noticed the following in
  dmesg:

  [Sun Aug  9 12:21:35 2020] [ cut here ]
  [Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
  [Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
  [Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G
   O  5.4.47 #1
  [Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
  [Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  [Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
  [Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

  [Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
  [Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
  [Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
  [Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
  [Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
  [Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
  [Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
  [Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

  [Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
  [Sun Aug  9 12:21:35 2020] Call Trace:
  [Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
  [Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
  [Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
  [Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
  [Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
  [Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
  [Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
  [Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45

  So this is obviously a btrfs bug that got introduced by the newer btrfs code 
in the newer kernel, although, booting an older kernel didn't fix it. 
Apparently something about the fs is messed up now and no balance can be run. 
The only temporary remedy I found was to add the skip_balance mount option to 
/etc/fstab, but of 

[Kernel-packages] [Bug 1890951] Lspci.txt

2020-08-09 Thread Johannes Rohr
apport information

** Attachment added: "Lspci.txt"
   https://bugs.launchpad.net/bugs/1890951/+attachment/5400184/+files/Lspci.txt

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

Title:
  btrfs not writable when mounted without "skip_balance"

Status in Linux:
  Unknown
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
  with the btrfs volume it is installed on. The system hung when
  launching a btrfs balance and on next boot, it hung indefinitely, when
  trying to created the volatile files and dirs.

  Booting from a Debian buster rescue system, I noticed that I was
  unable to create or delete any files and I noticed the following in
  dmesg:

  [Sun Aug  9 12:21:35 2020] [ cut here ]
  [Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
  [Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
  [Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G
   O  5.4.47 #1
  [Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
  [Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  [Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
  [Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

  [Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
  [Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
  [Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
  [Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
  [Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
  [Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
  [Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
  [Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

  [Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
  [Sun Aug  9 12:21:35 2020] Call Trace:
  [Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
  [Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
  [Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
  [Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
  [Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
  [Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
  [Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
  [Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45

  So this is obviously a btrfs bug that got introduced by the newer btrfs code 
in the newer kernel, although, booting an older kernel didn't fix it. 
Apparently something about the fs is messed up now and no balance can be run. 
The only temporary remedy I found was to add the skip_balance mount option to 
/etc/fstab, but of course, 

[Kernel-packages] [Bug 1890951] Re: btrfs not writable when mounted without "skip_balance"

2020-08-09 Thread Johannes Rohr
apport information

** Changed in: linux (Ubuntu)
   Status: Incomplete => New

** Tags added: apport-collected focal

** Description changed:

  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
  with the btrfs volume it is installed on. The system hung when launching
  a btrfs balance and on next boot, it hung indefinitely, when trying to
  created the volatile files and dirs.
  
  Booting from a Debian buster rescue system, I noticed that I was unable
  to create or delete any files and I noticed the following in dmesg:
  
  [Sun Aug  9 12:21:35 2020] [ cut here ]
  [Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
  [Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
  [Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G
   O  5.4.47 #1
  [Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
  [Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  [Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
  [Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

  [Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
  [Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
  [Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
  [Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
  [Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
  [Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
  [Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
  [Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

  [Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
  [Sun Aug  9 12:21:35 2020] Call Trace:
  [Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
  [Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
  [Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
  [Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
  [Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
  [Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
  [Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
  [Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  
- So this is obviously a btrfs bug that got introduced by the newer btrfs
- code in the newer kernel, although, booting an older kernel didn't fix
- it. Apparently something about the fs is messed up now and no balance
- can be run. The only temporary remedy I found was to add the
- skip_balance mount option to /etc/fstab, but of course, this is a
- crutch, and when you can't run balance, then the fs is bound to run out
- of space at some point.
+ So this is obviously a btrfs bug that got introduced by the newer btrfs code 
in the newer kernel, although, booting an older kernel didn't fix it. 
Apparently something about the fs is 

[Kernel-packages] [Bug 1890951] Re: btrfs not writable when mounted without "skip_balance"

2020-08-09 Thread Johannes Rohr
Unfortunately, producing the logs apart from the backtrace above isn't
really possible. As soon as I reproduce the bug, the FS becomes
unwritable, so that no logs can be obtained. That's a catch22

** Changed in: linux (Ubuntu)
   Status: Incomplete => New

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

Title:
  btrfs not writable when mounted without "skip_balance"

Status in linux package in Ubuntu:
  New

Bug description:
  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
  with the btrfs volume it is installed on. The system hung when
  launching a btrfs balance and on next boot, it hung indefinitely, when
  trying to created the volatile files and dirs.

  Booting from a Debian buster rescue system, I noticed that I was
  unable to create or delete any files and I noticed the following in
  dmesg:

  [Sun Aug  9 12:21:35 2020] [ cut here ]
  [Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
  [Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
  [Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G
   O  5.4.47 #1
  [Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
  [Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
  [Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
  [Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

  [Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
  [Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
  [Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
  [Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
  [Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
  [Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
  [Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
  [Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

  [Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
  [Sun Aug  9 12:21:35 2020] Call Trace:
  [Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
  [Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
  [Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
  [Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
  [Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
  [Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
  [Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
  [Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
  [Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
  [Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
  [Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
  [Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45

  So this is obviously a btrfs bug that got introduced by the newer
  btrfs code in the newer kernel, although, booting an older kernel
  didn't fix it. Apparently something about the fs is messed up now and
  no balance can be run. The only 

[Kernel-packages] [Bug 1890951] [NEW] btrfs not writable when mounted without "skip_balance"

2020-08-09 Thread Johannes Rohr
Public bug reported:

Yesterday, I upgraded to Ubuntu 20.04, since  when there is a problem
with the btrfs volume it is installed on. The system hung when launching
a btrfs balance and on next boot, it hung indefinitely, when trying to
created the volatile files and dirs.

Booting from a Debian buster rescue system, I noticed that I was unable
to create or delete any files and I noticed the following in dmesg:

[Sun Aug  9 12:21:35 2020] [ cut here ]
[Sun Aug  9 12:21:35 2020] kernel BUG at fs/btrfs/relocation.c:2626!
[Sun Aug  9 12:21:35 2020] invalid opcode:  [#1] SMP PTI
[Sun Aug  9 12:21:35 2020] CPU: 1 PID: 4537 Comm: btrfs-balance Tainted: G  
 O  5.4.47 #1
[Sun Aug  9 12:21:35 2020] Hardware name: FUJITSU D3401-H1/D3401-H1, BIOS 
V5.0.0.11 R1.14.0 for D3401-H1x06/09/2016
[Sun Aug  9 12:21:35 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
[Sun Aug  9 12:21:35 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45
[Sun Aug  9 12:21:35 2020] RSP: 0018:8887e0b0bb20 EFLAGS: 00010246
[Sun Aug  9 12:21:35 2020] RAX: 8887dfab5280 RBX:  RCX: 

[Sun Aug  9 12:21:35 2020] RDX: 8887e0b0bb24 RSI: 8887e0b0bc10 RDI: 
8887dfab52c0
[Sun Aug  9 12:21:35 2020] RBP: 8887dfab5280 R08: 8887dfab52c0 R09: 
a0491e7e
[Sun Aug  9 12:21:35 2020] R10: 8887f4ba7e70 R11: 090ed158 R12: 
8887dfab5280
[Sun Aug  9 12:21:35 2020] R13: 8887fd330800 R14: 8887e0b0bc10 R15: 
8887e7fa66e8
[Sun Aug  9 12:21:35 2020] FS:  () 
GS:0e24() knlGS:
[Sun Aug  9 12:21:35 2020] CS:  0010 DS:  ES:  CR0: 80050033
[Sun Aug  9 12:21:35 2020] CR2: 55b4d5b7cfe0 CR3: 0200a004 CR4: 
003606e0
[Sun Aug  9 12:21:35 2020] DR0:  DR1:  DR2: 

[Sun Aug  9 12:21:35 2020] DR3:  DR6: fffe0ff0 DR7: 
0400
[Sun Aug  9 12:21:35 2020] Call Trace:
[Sun Aug  9 12:21:35 2020]  do_relocation+0xb6/0x4c2 [btrfs]
[Sun Aug  9 12:21:35 2020]  ? 
calcu_metadata_size.isra.36.constprop.42+0x9e/0xc4 [btrfs]
[Sun Aug  9 12:21:35 2020]  ? do_raw_spin_lock+0x2f/0x5a
[Sun Aug  9 12:21:35 2020]  ? btrfs_block_rsv_refill+0x4b/0x8b [btrfs]
[Sun Aug  9 12:21:35 2020]  relocate_tree_blocks+0x301/0x427 [btrfs]
[Sun Aug  9 12:21:35 2020]  ? tree_insert+0x49/0x4e [btrfs]
[Sun Aug  9 12:21:35 2020]  ? add_tree_block.isra.38+0x11e/0x144 [btrfs]
[Sun Aug  9 12:21:35 2020]  relocate_block_group+0x279/0x49e [btrfs]
[Sun Aug  9 12:21:35 2020]  btrfs_relocate_block_group+0x15e/0x23d [btrfs]
[Sun Aug  9 12:21:35 2020]  btrfs_relocate_chunk+0x25/0x8c [btrfs]
[Sun Aug  9 12:21:35 2020]  btrfs_balance+0xaf0/0xd45 [btrfs]
[Sun Aug  9 12:21:35 2020]  ? btrfs_balance+0xd45/0xd45 [btrfs]
[Sun Aug  9 12:21:35 2020]  balance_kthread+0x32/0x46 [btrfs]
[Sun Aug  9 12:21:35 2020]  kthread+0xf5/0xfa
[Sun Aug  9 12:21:35 2020]  ? kthread_associate_blkcg+0x86/0x86
[Sun Aug  9 12:21:35 2020]  ret_from_fork+0x3a/0x50
[Sun Aug  9 12:21:35 2020] Modules linked in: btrfs xor zstd_decompress 
zstd_compress lzo_compress lzo_decompress zlib_deflate raid6_pq libcrc32c 
sd_mod ipmi_devintf ipmi_msghandler sg x86_pkg_temp_thermal intel_powerclamp 
kvm_intel kvm irqbypass crc32_pclmul crc32c_intel iTCO_wdt ghash_clmulni_intel 
aesni_intel crypto_simd psmouse ahci cryptd libahci i2c_i801 serio_raw 
glue_helper intel_pch_thermal evdev video thermal acpi_pad button fan jc42 
ftsteutates nct6775 hwmon_vid coretemp ip_tables x_tables autofs4 e1000e
[Sun Aug  9 12:21:36 2020] ---[ end trace 442b443de6cecc6e ]---
[Sun Aug  9 12:21:36 2020] RIP: 0010:select_reloc_root+0x5b/0x19f [btrfs]
[Sun Aug  9 12:21:36 2020] Code: c0 c7 44 24 04 00 00 00 00 e8 8b 9d 17 e1 48 
89 df 4c 89 f6 48 8d 54 24 04 e8 9c e6 ff ff 48 8b 58 60 48 89 c5 48 85 db 75 
02 <0f> 0b 48 8b 43 20 a8 02 75 02 0f 0b 48 83 bb df 01 00 00 f8 75 45

So this is obviously a btrfs bug that got introduced by the newer btrfs
code in the newer kernel, although, booting an older kernel didn't fix
it. Apparently something about the fs is messed up now and no balance
can be run. The only temporary remedy I found was to add the
skip_balance mount option to /etc/fstab, but of course, this is a
crutch, and when you can't run balance, then the fs is bound to run out
of space at some point.

** Affects: linux (Ubuntu)
 Importance: Undecided
 Status: New

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

Title:
  btrfs not writable when mounted without "skip_balance"

Status in linux package in Ubuntu:
  New

Bug description:
  Yesterday, I upgraded to Ubuntu 20.04, since  when there is a