Hi Mark,

 

Could you fill a bug report on https://bugzilla.opensuse.org and Cc me, please?

 

Thanks,

Guillaume

 

 

From: Mark Petersen <mark.petersen@markofall.com>
Sent: 01 December 2021 06:33
To: arm@lists.opensuse.org
Subject: BTRFS Broke in 20211127 or 28 ?

 

I've had my rock64 running Tumbleweed for quite some time, but one of the two latest snapshots has rendered it unbootable.

 

U-Boot TPL 2020.10 (Oct 14 2020 - 09:48:25)

LPDDR3, 800MHz                         

BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB

Trying to boot from BOOTROM            

Returning to bo...                     

                                       

U-Boot SPL 2020.10 (Oct 14 2020 - 09:48:25 +0000)

Trying to boot from MMC1               

Card did not respond to voltage select!

spl: mmc init failed with error: -95   

Trying to boot from MMC2               

NOTICE:  BL31: v2.3():

NOTICE:  BL31: Built : 01:03:28, Oct 17 2020

E Tumbleweed'

 

Loading Linux 5.15.3-1-default ...

Loading initial ramdisk ...

EFI stub: Booting Linux Kernel...

EFI stub: EFI_RNG_PROTOCOL unavailable

EFI stub: Using DTB from configuration table

EFI stub: Exiting boot services...

 

Welcome to openSUSE Tumbleweed dracut-055+suse.142.g7d8c3ce3-1.1 (Initramfs)!

 

[  OK  ] Reached target Initrd /usr File Sys.

[  OK  ] Reached target Local File Systems  OK  ] Reached target Slice Units.

[  OK  ] Reached target Swaps.

[  OK  ] Reached target Timer Units.

[  OK  ] Listening on Journal Socket (/dev/log).

[  OK  ] Listening on Journal Socket.

[  OK  ] Listening on ol Socket.

[  OK  ] Listening on udev K[  OK  ] Reached targ[  OK  ] Started Entropy Daemon based on theEGE algorithm.

         Starting Create List of Static Device Nodes        Starting Journal Service...

         Starting Load Kernel Modules...

         Starting Setup Virtual Console...

[  OK  ] Finished Create List of Static Devi         Starting Create Static Device Nodes in /dev...

[FAILED] Failed to start Setup Virtual ConSee 'systemctl status systemd-vconsole-setup.service' for details.

[DEPEND] Dependency failed for drac.|additional cmdline parametm.

[  OK  ] Finished Load Kernel Modules.

[  OK  ] Started Journal Service.

[  OK  ] Finished Create Static Device Nodesin /dev.

         Starting dracut cmdline hook...

         Starting Apply Kernel Variables...

         Starting Create Volatile Files and Directories[  OK  ] Finished Apply Kernel Variables.

[  OK  ] Finished Create Volatile Files and Directories.

[  OK  ] Finished dracut cmdline hook.

         Starting dracut pre-udev hook...

[  OK  ] Finished dracut pre-udev hook.

         Starting Rule-based Manage.|for Device Events[  OK  ] Started Rule-based Manager for Devi

                                                                                                            Starting Coldplug All udev Devices...

[  OK  ] Finished Coldplug All udev Devices.

[  OK  ] Reached target System Initializatio         Starting dracut initqueue hook...

[  OK  ] Started Dispatch Password ������.|ts to  Watch.

[  OK  ] Reached target Path Units.

[  OK  ] Reached target Basic System.

[  167.506005] dracut-initqueue[301]: Warning: dracut-initqueue: still waiting for following initqueue hooks:

[  167.530945] dracut-initqueue[301]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x-D441.sh: "[ -e "/dev/disk/by-uuid/056C-D441" ]"

[  167.570515] dracut-initqueue[301]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fdisk\x2fby-uuid\x2f4e0b4d23-0e9b-4d86-9ce8-fd17dc2332d8-fs-pre.target /run/systemd/generator/systemd-cryptsetup@*.service n

[  167.600514] dracut-initqueue[301]:     [ -e "/dev/disk/by-uui23-0e9b-4d86-9ce8-fd17dc2332d8" ]

[  167.640483] dracut-initqueue[301]: fi"

[  167.641538] dracut-initqueue[301]: Warning: dracutting timeout scripts

[  168.272519] dracut-initqueue[301]: Warning: dracut-initqueue:ting for following initqueue hooks:

[  168.300779] dracut-initqueue[301]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\xfdisk\x2fby-uuid\x2f056C-D441.sh: "[ -e "/dev/disk/by-uuid/056C-]"

[  168.340582] dracut-initqueue[301]: Warning: /lib/dracut/hooks/finished/devexists-\x2fdev\x2fdisk\x2fby-uuid\x2f4e0b4d23-0e9b-4d86-9ce8-fd17dc2332d8.sh: "if !pre.target /run/systemd/generator/systemd-cryptsetup@*.service 2>/dn

[  168.380456] dracut-initqueue[301]:     [ -e "/dev/disk/by-uui17dc2332d8" ]

[  168.420491] dracut-initqueue[301]: fi"

[  168.421442] dracut-initqueue[301]: Warning: dracut-initqueue: starting timeout scr[  168.940531] dracut-initqueue[301]: Warning: dracut-initqueue:owing initqueue hooks:

[  168.970749] dracut-initqueue[301]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fdisk\x2fby-uuid\x2f056C-D441.sh: "[ -e "/dev/disk/by-uu[  169.000609] dracut-initqueue[301]: Warning: /lib/dracut/hooksxisn

[  169.030557] dracut-initqueue[301]:     [ -e "/dev/disk/by-uui-fd17dc2332d8" ]

[  169.070558] dracut-initqueue[301]: fi"

[  169.071672] dracut-initqueue[301]: Warning: dracutout scripts

[  169.603972] dracut-initqueue[301]: Warning: dracut-initqueue: timeout, still waiting for follnitqueue hooks:

[  169.630778] dracut-initqueue[301]: Warning: /lib/dracut/hooksqueue/finished/devexists-\x2fdev\x2fdisk\x2fby-uuid\x2f056C-D441.sh: "[ -e "/dev/disk/by-uuid/05[  169.660532] dracut-initqueue[301]: Warning: /lib/dracut/hooks/inn

[  169.700438] dracut-initqueue[301]:     [ -e "/dev/disk/by-uuid/4e0b4d23-0e9b-4d86-9ce8-fd17dc[  169.730528] dracut-initqueue[301]: fi"

[  169.731577] dracut-initqueue[301]: Warning: dracut-initqueue: starting timeout scr[  170.313527] dracut-initqueue[301]: Warning: dracut-initqueue: timeout, still waiting for foll[  170.350647] dracut-initqueue[301]: Warning:"

[  170.380590] dracut-initqueue[301]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\xx2fby-uuid\x2f4e0b4d23-0e9b-4d86-9ce8-fd17dc2332d8.sh: "if ! grep -q After=remote-fs-pre.target ystemd-cryptsetup@*.service 2>/dev/n

[  170.410534] dracut-initqueue[301]:     [ -e "/dev/disk/by-uuid/4e0b4d23-0e9b-4d86-9ce8-fd17dc[  170.450475] dracut-initqueue[301]: fi"

[  170.451540] dracut-initqueue[301]: Warning: dracut-initqueue: starting timeout scripts

[  171.003295] dracut-initqueue[301]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:

[  171.030668] dracut-initqueue[301]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fby-uuid\x2f056C-D441.sh: "[ -e "/dev/disk/by-uuid/056C-D441" ]"

[  171.070465] dracut-initqueue[301]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2fdisk\x2fby-uuid\x2f4e0be9b-4d86-9ce8-fd17dc2332d8.sh: "if ! grep -q After=remote-fs-pre.target /run/systemd/generator/se 2n

[  171.100503] dracut-initqueue[301]:     [ -e "/dev/disk/by-uuid/4e0b4d23-0e9b-4d86-9ce8-fd17dc2332d8" ]

[  171.140500] dracut-initqueue[301]: fi"

[  171.141531] dracut-initqueue[301]: Warning: dracut starting timeout scripts

[  171.743631] dracut-initqueue[301]: Warning: dracut-initqueue: timeout, still waiting for foll[  171.770731] dracut-initqueue[301]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\xd\x2f056C-D441.sh: "[ -e "/dev/disk"

[  171.800539] dracut-initqueue[301]: Warning: /lib/dracut/hooksqueue/finished/devexists-\x2fdev\x2fdisk\x2fby-uuid\x2f4e0b4d23-86-9ce8-fd17dc2332d8.sh: "if ! grep -q After=remote-fs-pre.target /run/systemd/generator/systemdev/n

[  171.830554] dracut-initqueue[301]:     [ -e "/dev/disk/by-uui4e0b4d23-0e9b-4d86-9ce8-fd17dc2332d8" ]

[  171.860674] dracut-initqueue[301]: fi"

[  171.890542] dracut-initqueue[301]: Warning: dracut-initqueue:ting timeout scripts

[  172.408438] dracut-initqueue[301]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:

 

When I chroot into the rootfs with qemu-linux-user, I get this:

 

# btrfs subvol list /
ERROR: can't perform the search: Function not implemented

When I attempt a repair of grub, I get:

 

# grub2-mkconfig  
Generating grub configuration file ...
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

--------snip--------------

 

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
 source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
 source $prefix/custom.cfg
fi
### END /etc/grub.d/41_custom ###

### BEGIN /etc/grub.d/80_suse_btrfs_snapshot ###
ioctl(BTRFS_IOC_TREE_SEARCH, subvol_id 257) ret=-1, error: Function not implemented
ERROR: resolving subvolid 257 error -1

 

When I do a btrfs scrub from outside the chroot, no errors found.

 

Thanks.

 

Mark

 

 

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.