qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to implement PCI


From: Sukreet pal
Subject: How to implement PCI
Date: Thu, 23 Dec 2021 13:51:08 +0100

Hi ,
I am using linux kernel -3.18.31 to emulateĀ versatilepb and with PCI and SCSI implementation for which I followed the qemu system developmentĀ page and I edited my linux configuration file with this:-
CONFIG_PCI=y
CONFIG_PCI_VERSATILE=y
CONFIG_SCSI=y
CONFIG_SCSI_SYM53C8XX_2=y
and I am using busybox for the root file system.
I am facing problem while booting the kernel
Command used for emulation :-
sudo qemu-system-arm -M versatilepb -kernel /home/sukreetngc/PCI_virt/linux-3.18.31/arch/arm/boot/zImage -append "root=/dev/mmcblk0 console=ttyAMA0" -drive index=0,file=/home/sukreetngc/PCI_virt/busybox-1.33.1/RootFS.ext3,if=scsi,format=raw -net nic,model=rtl8139 -net user -nographic
but i end up with Vfs mount error :-
VFS: Cannot open root device "mmcblk0" or unknown-block(0,0): error -6
Please append a correct "root=" boot option; here are the available partitions:
1f00           65536 mtdblock0  (driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
CPU: 0 PID: 1 Comm: swapper Not tainted 3.18.31 #1
[<c001a25c>] (unwind_backtrace) from [<c0016e24>] (show_stack+0x10/0x14)
[<c0016e24>] (show_stack) from [<c02d4ec0>] (panic+0x80/0x1dc)
[<c02d4ec0>] (panic) from [<c03bd134>] (mount_block_root+0x1b0/0x25c)
[<c03bd134>] (mount_block_root) from [<c03bd3c0>] (mount_root+0xe4/0x10c)
[<c03bd3c0>] (mount_root) from [<c03bd548>] (prepare_namespace+0x160/0x1b4)
[<c03bd548>] (prepare_namespace) from [<c03bcda8>] (kernel_init_freeable+0x16c/0x1b0)
[<c03bcda8>] (kernel_init_freeable) from [<c02d45e4>] (kernel_init+0x8/0xec)
[<c02d45e4>] (kernel_init) from [<c0013bf8>] (ret_from_fork+0x14/0x3c)
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

It would be helpful if someone could suggest to me how to proceed.

Regards,
Sukreet Pal

reply via email to

[Prev in Thread] Current Thread [Next in Thread]