From fc2bb21daa6ebaa03a9f8a530aeaffd7ab11142a Mon Sep 17 00:00:00 2001 From: Hrutvik Kanabar Date: Wed, 7 Sep 2022 12:18:47 +0000 Subject: tools/syz-imagegen: update `udf` image generation `./syz-imagegen -fs udf` fails for two images. `dmesg` indicates the following issue: udf_load_sparable_map: error loading logical volume descriptor: Too big sparing table size (568) This was introduced in the following commit: torvalds/linux@44ac6b829c4e173fdf6df18e6dd86aecf9a3dc99 Interestingly in response to a `syzbot` bug report! `mkfs.udf` requires the size of the sparing table to be no more than the block size. This commit specifies the sparing table size as the block size (512) for the previously failing images. Images will be regenerated in a future commit. --- tools/syz-imagegen/imagegen.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/syz-imagegen/imagegen.go b/tools/syz-imagegen/imagegen.go index 498c6f443..b5e1f6a69 100644 --- a/tools/syz-imagegen/imagegen.go +++ b/tools/syz-imagegen/imagegen.go @@ -400,8 +400,8 @@ var fileSystems = []FileSystem{ "-m cdrw -r 1.50 --space=unalloctable --ad=long", "-m cdrw -r 2.01", "-m dvdrw -r 1.50 --space=unallocbitmap --ad=short", - "-m dvdrw -r 2.01 --space=unalloctable --noefe", - "-m dvdrw -r 2.01", + "-m dvdrw -r 2.01 --sparspace=512 --space=unalloctable --noefe", + "-m dvdrw -r 2.01 --sparspace=512", "-m dvdram -r 1.50 --ad=long", "-m dvdram -r 2.01 ", "-m dvdram -r 2.01 --space=unallocbitmap --ad=long", -- cgit mrf-deployment