Received: from ncopa-desktop.lan (ti0056a400-5369.bb.online.no [85.165.96.12]) (Authenticated sender: ncopa@alpinelinux.org) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPSA id 2F6F22231ED; Thu, 29 Jun 2023 10:18:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alpinelinux.org; s=smtp; t=1688033913; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cWqK5+pL0hw7LCRk4C3v5yfFbSWMu/GydLjOXzRZn4s=; b=eC3PrWHYXZCx7yps31smP6NFS/FLsiF4OcL3jX9kMc3fN4o/TGy3P8is7ljLihW+M//+JD F8c4MGPvzAfOT0FzjAmEhC5XwLBzT17lp14ByE7iMaruy7uEYB2dj2ld+TBqRCa5RNeLOg bzsDwem5JFGqsrG8KUdBANZUywD7qug= Date: Thu, 29 Jun 2023 12:18:30 +0200 From: Natanael Copa To: Jibun no Kage Cc: ~alpine/users@lists.alpinelinux.org Subject: Re: Alpine 3.18 in aarch64 QEMU/KVM VM, has ethernet interface, but no communication results? Message-ID: <20230629121830.4065b262@ncopa-desktop.lan> In-Reply-To: References: X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-alpine-linux-musl) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 28 Jun 2023 17:38:53 -0700 Jibun no Kage wrote: > Alpine 3.18 in aarch64 QEMU/KVM VM, has ethernet interface, but no > communication results? The eth0 interface exists, I can ping it if I > assign a static IP address via /etc/network/interfaces. And the route > table has a default gateway as expected. But no communication results? > > On the same aarch64 system, VMs running say Debian 11, Debian 12, and > Ubuntu 22.04 Jammy Jelly fish work as expected, in reference to network > communication. So I believe I have QEM/KVM installed correctly, I happen > to be using a bridge interface to the physical NIC on the SBC that is > aarch64 based. The SBC is an IndieDroid Nova. > > Any help is greatly appreciated. Detail information... > > Core OS... > # cat /etc/os-release > PRETTY_NAME="Armbian 23.05.0-trunk jammy" > NAME="Ubuntu" > VERSION_ID="22.04" > VERSION="22.04.2 LTS (Jammy Jellyfish)" > VERSION_CODENAME=jammy > ID=ubuntu > ID_LIKE=debian > HOME_URL="https://www.ubuntu.com/" > SUPPORT_URL="https://help.ubuntu.com/" > BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" > PRIVACY_POLICY_URL=" > https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" > UBUNTU_CODENAME=jammy > > # uname -a > Linux indiedroid-nova 5.10.110-rockchip-rk3588-indiedroid #1 SMP PREEMPT > Thu Mar 9 02:22:35 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux > > QEMU/KVM > # /usr/bin/qemu-system-aarch64 --version > QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.11) > Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers > # kvm --version > QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu6.11) > Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers > > # brctl show > bridge name bridge id STP enabled interfaces > br0 8000.42c8c028b51b no enP4p65s0 > vnet5 What ip address has br0? Can you ping 192.168.1.2 from the host? Would it be possibele that there are other hosts that has the address 192.168.1.211 (eg ip address conflict)? Could it be other machines connected to br0 that has mac address='52:54:00:62:b1:4b'? Can you share the dumpxml from one of the working debian or ubuntu machines? > docker0 8000.024258701c19 no > > # virsh list > Id Name State > ----------------------------- > 6 Alpine-3.18 running > > # virsh dumpxml Alpine-3.18 > > Alpine-3.18 > bbb0252d-062f-4e05-bb14-90f8355730aa > > > > > > 1048576 > 1048576 > 1 > > /machine > > > hvm > type='pflash'>/usr/share/AAVMF/AAVMF_CODE.fd > /var/lib/libvirt/qemu/nvram/Alpine-3.18_VARS.fd > > > > > > > > destroy > restart > destroy > > /usr/bin/qemu-system-aarch64 > > > > > > > >
function='0x0'/> > > > > index='1'/> > > > > > >
> > > >
function='0x0'/> > > > >
function='0x0'/> > > > > > > > > >
function='0x0' multifunction='on'/> > > > > > >
function='0x1'/> > > > > > >
function='0x2'/> > > > > > >
function='0x3'/> > > > > > >
function='0x4'/> > > > > > >
function='0x5'/> > > > > > >
function='0x6'/> > > > > > >
function='0x7'/> > > > > > >
function='0x0' multifunction='on'/> > > > > > >
function='0x1'/> > > > > > >
function='0x2'/> > > > > > >
function='0x3'/> > > > > > >
function='0x4'/> > > > > > >
function='0x5'/> > > > >
function='0x0'/> > > > > > > > >
function='0x0'/> > > > > > > > > > > > > > > > path='/var/lib/libvirt/qemu/channel/target/domain-6-Alpine-3.18/org.qemu.guest_agent.0'/> > state='disconnected'/> > >
> >