brief description of the I’m try to make
I newly compile the kernel 6.11-rc2 after I make a change in the PCIe subsystems.
The compilation to work, and the instalation of the new kernel in my PC work too.
But, I would like make test with bridge PCIe by simulation this with qemu, mas I found difficults for start the new kernel in qemu.
steps that I executed
Firs, I create the intiramfs:
mkinitcpio -c /etc/mkinitcpio.conf -g initramfs.img
Then I create the simple image:
dd if=/dev/zero of=rootfs.img bs=1M count=2048
Then I create the file system in this new image:
mkfs.ext4 rootfs.img
Then I create a directory for make a simple instalation of the Arch Linux:
mkdir mnt
Then I mount the new image in this directory
sudo mount rootfs.img mnt
Then I make a simples arch linux installation
sudo pacstrap mnt/ base base-devel
I umound this
sudo umount mnt
and finnally I execute the qemu:
qemu-system-x86_64 -kernel arch/x86_64/boot/bzImage
-append "root=/dev/sda console=ttyS0"
-hda rootfs.img
-m 2048
-initrd initramfs.img
-nographic
error found
[ TIME ] Timed out waiting for device /dev/sda
what I already try
- I try change the
root=/dev/sda
in-append
toroot=/dev/sda1
/root=/dev/sda2
/root=/dev/vda
/root=/dev/vda1
. - I try get the image UUI to set in the root like this:
-append "root=UUID=1234-5678-9abc-def0 console=ttyS0"
. - I try set the logs, but the logs don’t give me anything other than the description about the timeout above.
- I try set the file system in the append with parameter:
rootfstype=ext4
.