[Barrelfish-users] PCI-passthrough problem with Intel 82599EB 10-Gigabit NICs
tomsun.0.7
tomsun.0.7 at gmail.com
Tue Feb 3 07:50:29 CET 2015
Hi,
I have some problems again.
This time I add some parameters within QEMU command:
> -device pci-assign,host=02:00.0
where "02:00.0" refers to an Intel 82599EB 10G NIC device. Of course, I
unbound this device from kernel before starting QEMU to boot Barrelfish.
But then Barrelfish stopped at:
> skb.0: waiting for: pci
and after several seconds, I got these lines from Linux kernel:
> Message from syslogd at someone-pc at Feb 3 14:41:31 ...
>> "someone-pc" 14:41 03-Feb-15
>
> kernel:[ 1502.656270] BUG: soft lockup - CPU#4 stuck for 22s!
>> [qemu-system-x86:26052]
>
>
I traced the pci program (by inserting some lines of *PCI_DEBUG*) and found
it finally stopped at this line in *pci.c*:
> // probe BAR to determine the mapping size
>
> pci_hdr0_bars_wr(&devhdr, i + 1, BAR_PROBE);
>
> ( in function *query_bars, 1273 line*)
>
Here is my full command line of qemu:
> sudo qemu-system-x86_64 -smp 2 -m 1024 hd.img *-device
> pci-assign,host=02:00.0* -nographic -kernel x86_64/sbin/elver -append
> 'loglevel=4' -initrd 'x86_64/sbin/cpu
> loglevel=4,x86_64/sbin/init,x86_64/sbin/mem_serv,x86_64/sbin/monitor,x86_64/sbin/ramfsd
> boot,x86_64/sbin/skb boot,skb_ramfs.cpio.gz nospawn,x86_64/sbin/kaluga
> boot,x86_64/sbin/acpi boot,x86_64/sbin/spawnd boot,x86_64/sbin/startd
> boot,x86_64/sbin/routing_setup boot,x86_64/sbin/pci
> auto,x86_64/sbin/corectrl auto,x86_64/sbin/ahcid auto,x86_64/sbin/rtl8029
> auto,x86_64/sbin/e1000n auto,x86_64/sbin/NGD_mng autbo,x86_64/sbin/netd
> auto,x86_64/sbin/serial,x86_64/sbin/fish nospawn,x86_64/sbin/angler
> serial0.terminal xterm,x86_64/sbin/e1000test
> nospawn,x86_64/sbin/config-click,x86_64/sbin/click nospawn' -enable-kvm
>
I also tried arrakis, and got the same results. So what is the problem
resulting this?
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.inf.ethz.ch/pipermail/barrelfish-users/attachments/20150203/70b59786/attachment.html
More information about the Barrelfish-users
mailing list