blob: 69c605a30f7ecd9e9522b49485c15341fc7f392c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
graphic: 0.822
kernel: 0.753
device: 0.659
architecture: 0.648
mistranslation: 0.571
semantic: 0.544
arm: 0.541
network: 0.426
performance: 0.331
register: 0.294
files: 0.286
ppc: 0.261
permissions: 0.250
socket: 0.234
vnc: 0.216
boot: 0.212
x86: 0.191
peripherals: 0.190
PID: 0.178
debug: 0.163
virtual: 0.162
i386: 0.135
user-level: 0.132
VMM: 0.073
TCG: 0.068
hypervisor: 0.063
risc-v: 0.059
assembly: 0.054
KVM: 0.009
Kernel Panic Unable to mount root fs on unknown-block(31,3)
Using the latest qemu:
qemu-system-arm.exe -kernel C:\Users\a\Downloads\kernel-qemu-4.4.34-jessie -cpu arm1176 -m 256 -machine versatilepb -cdrom C:\Users\a\Downloads\picore-9.0.3.img
Gives error:
Kernel Panic Unable to mount root fs on unknown-block(31,3)
I have tried different ARMv6 ARMv7 images/kernels with the same result.
Did it work with a previous version of QEMU? If yes, which version? And since you're using -kernel ... don't you maybe have to use -initrd here, too?
That's a guest error message, meaning it couldn't mount the root filesystem. This is almost certainly because you're not telling the guest kernel the right argument for where to find its rootfs (which you've provided with -cdrom). Googling suggests that you're getting this kernel from https://github.com/dhruvvyas90/qemu-rpi-kernel -- which has a readme file which tells you what command line options you need to use. Specifically:
* you need to have 'root=/dev/sda2' in your -append argument
* you want to use -hda rather than -cdrom
[Expired for QEMU because there has been no activity for 60 days.]
|