Bug 1081427 - openSUSE-Tumbleweed-ARM-JeOS-efi.armv7l-2018.02.14: mount: /fs-resize: unknown filesystem type 'btrfs'
openSUSE-Tumbleweed-ARM-JeOS-efi.armv7l-2018.02.14: mount: /fs-resize: unknow...
Status: RESOLVED WONTFIX
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Kernel
Current
armv7 Other
: P5 - None : Normal (vote)
: ---
Assigned To: E-mail List
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-17 08:34 UTC by Matwey Kornilov
Modified: 2018-06-15 09:10 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matwey Kornilov 2018-02-17 08:34:25 UTC
Hello,

I am trying to run openSUSE-Tumbleweed-ARM-JeOS-efi.armv7l-2018.02.14 image with QEMU + OVMF and see the following KIWI issue at the first boot:

+ Echo 'Filesystem of OEM system is: btrfs -> /dev/sda3'
+ local 'IFS= 	
'
+ '[' 0 = 0 ']'
+ set +x
+ echo '[1518652828.830137] Filesystem of OEM system is: btrfs -> /dev/sda3'
+ '[' 0 = 0 ']'
+ set +x
+ '[' no = no ']'
+ deviceResize=/dev/sda3
+ fstypeRootFS=btrfs
+ '[' '!' -z ']'
+ isFSTypeReadOnly
+ local 'IFS= 	
'
+ '[' btrfs = squashfs ']'
+ '[' btrfs = clicfs ']'
+ return 1
+ '[' '' = yes ']'
+ '[' '!' -z /dev/sda3 ']'
+ partitionSize /dev/sda3
+ '[' '!' -z '' ']'
+ '[' -z '' ']'
+ resizeFilesystem /dev/sda3
+ local 'IFS= 	
'
+ local deviceResize=/dev/sda3
+ local callme=
+ local ramdisk=0
+ local resize_fs
+ local check
+ local mpoint=/fs-resize
+ udevPending
+ local 'IFS= 	
'
+ local umountProc=0
+ '[' '!' -e /proc/cmdline ']'
+ local timeout=30
++ lookup udevadm
+ local udevadmExec=/sbin/udevadm
+ '[' -x /sbin/udevadm ']'
+ /sbin/udevadm settle --timeout=30
+ '[' 0 -eq 1 ']'
+ mkdir -p /fs-resize
+ echo /dev/sda3
+ grep -qi /dev/ram
+ '[' -z btrfs ']'
+ '[' btrfs = reiserfs ']'
+ '[' btrfs = ext2 ']'
+ '[' btrfs = ext3 ']'
+ '[' btrfs = ext4 ']'
+ '[' btrfs = btrfs ']'
+ resize_fs='mount /dev/sda3 /fs-resize &&'
+ lookup btrfs
+ resize_fs='mount /dev/sda3 /fs-resize && btrfs filesystem resize max /fs-resize'
+ resize_fs='mount /dev/sda3 /fs-resize && btrfs filesystem resize max /fs-resize;umount /fs-resize'
+ '[' -z '' ']'
+ '[' 0 -eq 0 ']'
+ Echo 'Checking btrfs filesystem on /dev/sda3...'
+ local 'IFS= 	
'
+ '[' 0 = 0 ']'
+ set +x
+ echo '[1518652829.273920] Checking btrfs filesystem on /dev/sda3...'
+ '[' 0 = 0 ']'
+ set +x
+ checkFilesystem /dev/sda3
+ local device=/dev/sda3
+ local FSTYPE_SAVE=
+ '[' -z btrfs ']'
+ '[' btrfs = reiserfs ']'
+ '[' btrfs = ext2 ']'
+ '[' btrfs = ext3 ']'
+ '[' btrfs = ext4 ']'
+ '[' btrfs = btrfs ']'
+ btrfsck /dev/sda3
checking extents
checking free space cache
checking fs roots
checking csums
checking root refs
+ FSTYPE=
+ Echo 'Resizing  filesystem on /dev/sda3...'
+ local 'IFS= 	
'
+ '[' 0 = 0 ']'
+ set +x
+ echo '[1518652835.242755] Resizing  filesystem on /dev/sda3...'
+ '[' 0 = 0 ']'
+ set +x
+ eval mount /dev/sda3 /fs-resize '&&' btrfs filesystem resize max '/fs-resize;umount' /fs-resize
++ mount /dev/sda3 /fs-resize
mount: /fs-resize: unknown filesystem type 'btrfs'.
++ umount /fs-resize
umount: /fs-resize: not mounted.
+ '[' '!' 32 = 0 ']'
+ systemException 'Failed to resize/check filesystem' reboot
+ local 'IFS= 	
'
+ set +x
+ echo -e '[1518652836.065719] Failed to resize/check filesystem'
+ '[' 0 = 0 ']'
+ set +x
+ case "$what" in
+ cat /var/log/boot.kiwi
[1518652836.412452] rebootException: reboot in 120 sec...

Probably, btrfs kernel module is missed from initrd for some reason or not loaded?
Comment 1 Matwey Kornilov 2018-02-17 08:39:24 UTC
(none):/lib/modules/4.14.15-2-default/kernel/fs/btrfs # modprobe btrfs
modprobe: ERROR: ctx=0x1d46150 path=/lib/modules/4.14.15-2-default/kernel/crypto/xor.ko error=No such file or directory
modprobe: ERROR: ctx=0x1d46150 path=/lib/modules/4.14.15-2-default/kernel/crypto/xor.ko error=No such file or directory
modprobe: ERROR: could not insert 'btrfs': Unknown symbol in module, or unknown parameter (see dmesg)

btrfs module is present but has missed dependency.
Comment 2 Matwey Kornilov 2018-02-17 08:41:43 UTC
Related part of dmesg:

[   90.972315] btrfs: Unknown symbol raid6_2data_recov (err 0)
[   90.973387] btrfs: Unknown symbol zlib_deflateEnd (err 0)
[   90.976018] btrfs: Unknown symbol zlib_deflate (err 0)
[   90.976923] btrfs: Unknown symbol ZSTD_CStreamWorkspaceBound (err 0)
[   90.977476] btrfs: Unknown symbol raid6_datap_recov (err 0)
[   90.978328] btrfs: Unknown symbol zlib_deflate_workspacesize (err 0)
[   90.979493] btrfs: Unknown symbol ZSTD_compressStream (err 0)
[   90.981254] btrfs: Unknown symbol zlib_deflateInit2 (err 0)
[   90.983435] btrfs: Unknown symbol xor_blocks (err 0)
[   90.983645] btrfs: Unknown symbol raid6_call (err 0)
[   90.985562] btrfs: Unknown symbol ZSTD_endStream (err 0)
[   90.985966] btrfs: Unknown symbol ZSTD_initCStream (err 0)
[   90.986063] btrfs: Unknown symbol ZSTD_getParams (err 0)
Comment 3 Guillaume GARDET 2018-05-18 07:29:52 UTC
Matwey, could you retry with a new image, since we switched to kiwi-ng.
Comment 4 Matwey Kornilov 2018-05-18 16:59:44 UTC
(In reply to Guillaume GARDET from comment #3)
> Matwey, could you retry with a new image, since we switched to kiwi-ng.

#1092590
Comment 5 Jiri Slaby 2018-06-15 09:10:42 UTC
So we are going to track this in the other bug, I assume.