qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v5 0/5] Connect a PCIe host and graphics support


From: Stephen Bates
Subject: Re: [Qemu-devel] [PATCH v5 0/5] Connect a PCIe host and graphics support to RISC-V
Date: Wed, 10 Oct 2018 17:32:25 +0000
User-agent: Microsoft-MacOutlook/10.12.0.181008

>> I plan to also try with a e1000 network interface model tomorrow and see how 
>> that behaves....
>   
>    Please do :)
    
I added e1000 and e1000e support to my kernel and changed the QEMU command to:

$QEMU -nographic \
      -machine virt \
      -smp 1 -m 8G \
      -append "console=hvc0 ro root=/dev/vda nvme.admin_timeout=1" \
      -kernel $KERNEL \
      -drive file=${ROOTFS},format=raw,id=hd0 \
      -device virtio-blk-device,drive=hd0 \
      -device virtio-net-device,netdev=net0 \
      -netdev user,id=net0 \
      -device e1000,netdev=net1 \
      -netdev user,id=net1

And the kernel ooops:

[    0.224000] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    0.224000] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    0.224000] e1000 0000:00:01.0: enabling device (0000 -> 0002)
[    0.244000] Unable to handle kernel NULL pointer dereference at virtual 
address 0000000000000000
[    0.244000] Oops [#1]
[    0.244000] Modules linked in:
[    0.244000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 
4.19.0-rc6-eideticom-riscv-00038-gc2b45b2fe26a-dirty #41
[    0.244000] sepc: ffffffd20040cc18 ra : ffffffd20040e912 sp : 
ffffffd3f7a77b60
[    0.244000]  gp : ffffffd2007e5960 tp : ffffffd3f7ac0000 t0 : 
ffffffd3f754b4c0
[    0.244000]  t1 : 0000000000000000 t2 : 00000000000003af s0 : 
ffffffd3f7a77b70
[    0.244000]  s1 : ffffffd3f7554b20 a0 : ffffffd3f7554b20 a1 : 
0000000000000000
[    0.244000]  a2 : 0000000000000000 a3 : 0000000000000001 a4 : 
0000000000000002
[    0.244000]  a5 : 0000000000000002 a6 : 00000000eac0c6e6 a7 : 
0000000000000000
[    0.244000]  s2 : 0000000004140240 s3 : 0000000000000000 s4 : 
ffffffd3f7554f08
[    0.244000]  s5 : ffffffd3f7554000 s6 : ffffffd2007e7794 s7 : 
ffffffd3f7555000
[    0.244000]  s8 : ffffffd3f75546c0 s9 : ffffffd3f7554b20 s10: 
0000000000001000
[    0.244000]  s11: 0000000000000000 t3 : ffffffd20078e918 t4 : 
ffffffd20078e920
[    0.244000]  t5 : 0000000000000007 t6 : 0000000000000006
[    0.244000] sstatus: 0000000000000120 sbadaddr: 0000000000000000 scause: 
000000000000000f
[    0.252000] ---[ end trace 371f7702831e633b ]---    
    


reply via email to

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