Hi All,
I was able to simulate the issue with the RDB.
First, I created 2TB dynamic allocation disk image with qemu-img.
Code: Select all
qemu-img create -f qcow2 disk.qcow2 2T
du -sh disk.qcow2
After that, I booted the virtual e5500 QEMU machine with this disk.
Code: Select all
qemu-system-ppc64 -M ppce500 -cpu e5500 -m 2048 -kernel uImage-6.5 -drive format=raw,file=void-live-powerpc-20230317.img,index=0,if=virtio -netdev user,id=mynet0 -device virtio-net,netdev=mynet0 -append "rw root=/dev/vda" -device virtio-gpu-pci -device virtio-mouse-pci -device virtio-keyboard-pci -device pci-ohci,id=newusb -audiodev id=sndbe,driver=pa,server=/run/user/1000/pulse/native -device usb-audio,bus=newusb.0 -smp 4 -fsdev local,security_model=passthrough,id=fsdev0,path=/home/christian/Dokumente -device virtio-9p-pci,id=fs0,fsdev=fsdev0,mount_tag=hostshare -drive format=qcow2,file=disk.qcow2,if=virtio
I was able to restore my
RDB in this virtual e5500 QEMU machine with:
Code: Select all
sudo dd if=rdb-sda.img of=/dev/vdb
I can mount this partition with the unpatched RC1. (without Michael's patches)
But I can't mount it with the patched RC1 of kernel 6.5. (with Michael's patches)
Code: Select all
... EXT4-fs (vdb4): bad geometry: block count ...