qemu-discuss
[Top][All Lists]
Advanced

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

Re: How to solve: 'Please append a correct "root=" boot option' ?


From: Thomas Huth
Subject: Re: How to solve: 'Please append a correct "root=" boot option' ?
Date: Mon, 24 Apr 2023 13:13:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0

On 24/04/2023 12.27, Freitas GDH wrote:
Hi Thomas,

Yes, I have The source code. What files may I verify?

Well, look for the file that creates the "fg_DIR_615_H1_ralink_rt3352_soc" machine. Are there any "pci" related things in there? Anything related to "scsi" ? Is it using any of the macros starting with "IF_" ? E.g. IF_SD, IF_VIRTIO, IF_IDE or IF_SCSI? ... that would be an indication what kind of device your machine supports.

 Thomas


Em sex., 21 de abr. de 2023 11:40, Thomas Huth <thuth@redhat.com <mailto:thuth@redhat.com>> escreveu:

    On 20/04/2023 13.53, Freitas GDH wrote:
     > Thank you Frank and Thomas !!
     >
     > Before use if=none I've tried:
     >
     > *-drive file=1.squashfs,if=virtio,format=raw,id=foo -device
     > virtio-blk-device,drive=foo *
     > /qemu-system-mipsel: -device virtio-blk-device,drive-foo: No
    'virtio-bus'
     > bus found for device 'virtio-blk-device'/
     > and
     > *-drive file=1.squashfs,if=virtio,format=raw*
     > /qemu-system-mipsel: -drive file=1.squashfs,if=virtio,format=raw: No
    'PCI'
     > bus found for device 'virtio-blk-pci'/
     >
     > After watch the Thomas video, I ran:
     > *-blockdev file,node-name=f1,filename=/home/fenix/files/1/1.squashfs \
     > -blockdev raw,node-name=q1,file=f1 \
     > -device virtio-blk,drive=q1 \*
     > /qemu-system-mipsel: -device virtio-blk,drive=q1: No 'PCI' bus found for
     > device 'virtio-blk-pci'/

    That means that your machine does not support PCI, so you cannot use the
    normal virtio devices.

    Do you have the source code of that machine available somewhere? Looking at
    that code is maybe the easiest way to find out which devices it supports...

       Thomas





reply via email to

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