unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* ARM VM with networking support?
@ 2019-11-03 14:43 Ludovic Courtès
  2019-11-03 17:09 ` Mathieu Othacehe
  0 siblings, 1 reply; 17+ messages in thread
From: Ludovic Courtès @ 2019-11-03 14:43 UTC (permalink / raw)
  To: guix-devel

Hello Guix!

‘guix system disk-image -s armhf-linux …’ currently fails with something like:

--8<---------------cut here---------------start------------->8---
[  509.985810] FS-Cache: Loaded
[  518.725029] 9pnet: Installing 9P2000 support
[  522.164822] 9p: Installing v9fs 9p2000 file system support
[  522.605051] FS-Cache: Netfs '9p' registered for caching
configuring QEMU networking...
In gnu/build/linux-boot.scm:
   502:17  2 (_)
   335:18  1 (configure-qemu-networking _)
In unknown file:
           0 (network-interface-flags #<input-output: socket 10>)

In procedure network-interface-flags: No such device
--8<---------------cut here---------------end--------------->8---

(gnu linux vm) has this:

      ;; NIC is not supported on ARM "virt" machine, so use a user mode
      ;; network stack instead.
      ,@(if target-arm32?
            '("-device" "virtio-net-pci,netdev=mynet"
              "-netdev" "user,id=mynet")
            '("-net" "nic,model=virtio"))

However this trick doesn’t give us a network interface controller, AFAICS.

I tried various QEMU options (including “-net nic,model=virtio”, which
QEMU doesn’t reject), I tried loading good’ol “e1000.ko” in the guest,
things like that, but I failed to get networking in the ARM VM.

Ideas?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2020-01-12 11:55 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-03 14:43 ARM VM with networking support? Ludovic Courtès
2019-11-03 17:09 ` Mathieu Othacehe
2019-11-09 17:24   ` Ludovic Courtès
2019-11-11  7:23     ` Danny Milosavljevic
2019-11-17 17:06       ` Ludovic Courtès
2019-11-11 17:34     ` Mathieu Othacehe
2019-11-17 17:11       ` Ludovic Courtès
2019-11-23 19:01         ` Mathieu Othacehe
2019-11-25 14:04           ` Marius Bakke
2019-11-25 14:39             ` Mathieu Othacehe
2019-11-26 10:26               ` Ludovic Courtès
2019-12-01 16:30         ` Mathieu Othacehe
2019-12-09 17:35           ` Ludovic Courtès
2019-12-30 21:16             ` Building a bootable disk image for A20-OLinuXino Ludovic Courtès
2019-12-31  9:26               ` Mathieu Othacehe
2019-12-31 11:23                 ` Mathieu Othacehe
2020-01-12 11:55                 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).