QEMU/KVM on T1040RDB

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,517件の閲覧回数
vincenzodo
Contributor II

Hello,

I'm testing kvm/qemu on a T1040RDB but I get the following error when launching the virtual machine with the following parameters:

qemu-system-ppc64 -enable-kvm -nographic -m 512 -M ppce500 -kernel vmlinux -initrd rootfs.ext2.gz -append "root=/dev/ram rw loglevel=7 console=ttyS0,115200" -dtb mpc8544ds.dtb -S

Can't open directory /proc/device-tree/cpus/

Can't open directory /proc/device-tree/cpus/

Can't open directory /proc/device-tree/cpus/

Can't open directory /proc/device-tree/cpus/

Can't open directory /proc/device-tree/cpus/

Can't open directory /proc/device-tree/cpus/

Can't open directory /proc/device-tree/cpus/

Can't open directory /proc/device-tree/cpus/

This message seems to come from the qemu/target-ppc/kvm.c file (line 1752). And the method which produces it is used to find a device tree node for a CPU with clock-frequency property.

And after these messages the process blocks and I have to reboot the board. Does anyone have a clue on how to solve this?

I'm using QEMU 2.2.0 and kernel 3.12.

Thank you and best regards,

Vincent

ラベル(1)
タグ(3)
0 件の賞賛
返信
1 解決策
1,294件の閲覧回数
vincenzodo
Contributor II

I solved the problem by adding the kernel config CONFIG_PROC_DEVICETREE=y this way the used dtb is copied to the /proc directory.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,295件の閲覧回数
vincenzodo
Contributor II

I solved the problem by adding the kernel config CONFIG_PROC_DEVICETREE=y this way the used dtb is copied to the /proc directory.

0 件の賞賛
返信