From owner-freebsd-questions@freebsd.org Wed Aug 2 03:00:22 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 10C21DC3994 for ; Wed, 2 Aug 2017 03:00:22 +0000 (UTC) (envelope-from john@keates.nl) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A0DD6723DC for ; Wed, 2 Aug 2017 03:00:21 +0000 (UTC) (envelope-from john@keates.nl) Received: by mail-wm0-x22e.google.com with SMTP id t201so30023114wmt.0 for ; Tue, 01 Aug 2017 20:00:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=keates-nl.20150623.gappssmtp.com; s=20150623; h=from:mime-version:subject:message-id:date:to; bh=XNKL50SGVZNMVRwKnyiULDGzHKUEX3gGeSelDsp3u30=; b=mAJu75V5n4KZ0KTMTwYGzpPkBewoXTvlfMtT7eXfhXYFDESi0RvFKQv9H8SEsYiFs3 3IEU0wqmNsZpDMFGAOwNiV9j7x+JJGeSaqdVhYFmTonAUaKtxZxfbaGuIYdDHcMtfdgu 4/lA7E5s9FwY2/5iUVwAem2U06b3c7yzLTUtUae5nh2Z1vRlHzN9ghNbxwUtAFhlynSv my0HGqTGgIm+6L5kaoSY09w7AbMIANeKgSVmrxH3YqtzoE36KKpnLAtfSYFaP5flXYWL SKeEBHskxAPu/aklk08qszI83xMrBi6bAruGQ4VWKI5YOL73A10eagG6gaNg5jpCyqco xgQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=XNKL50SGVZNMVRwKnyiULDGzHKUEX3gGeSelDsp3u30=; b=P64ol7AKgIb8dDJwKJ0VECyc2jl7N4JjDsC4Lvn7fzkoTMTyjnDwQrVUdutfZpzLRX 5PUMeTZEmtTPoZs3dbGn8JRx8wY3AS655UNjDuwxf2OB05BCXLuDzDWGLK0PBYJR2F4M 6yv2S8wjTnyaBcNK1cPti0HOdJPRG23v/XKxUqQGNouo7wqd2TT4SvROjpBoevbdW540 RkSEduJaUk+/odhe8E5VeZvtKMzNqc/Oxvl24z2Qn4SBFEoQBz+4GW3CuDqBTSzvdoss yoK2tHJTrPTZaniIil1QbIlKYroWLdDH5chNhWhb5lpsR+YV+YvMHKty8oQSuAabBEUZ KriA== X-Gm-Message-State: AIVw110yFY95+JM7nP8Ku6i0ACwJlIS5WiLZcD2nISKB8XJSUdsZH/DJ UhJsSnQbrdyKnHSbRJYukQ== X-Received: by 10.80.142.165 with SMTP id w34mr19199896edw.34.1501642819201; Tue, 01 Aug 2017 20:00:19 -0700 (PDT) Received: from kpro.obrecht.keates.nl ([86.92.128.79]) by smtp.gmail.com with ESMTPSA id d31sm733412edb.71.2017.08.01.20.00.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Aug 2017 20:00:18 -0700 (PDT) From: John Keates Mime-Version: 1.0 (Mac OS X Mail 11.0 \(3441.0.1\)) Subject: FreeBSD 11.0 (pfSense 2.4) kernel panic with more than 3 Xen (4.8.1) VIF's Message-Id: Date: Wed, 2 Aug 2017 05:00:19 +0200 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.3441.0.1) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2017 03:00:22 -0000 Hi, I=E2=80=99m using FreeBSD 11.0 (technically in a pfSense 2.4 = distribution form) in a VM (HVM with PV on for optimised virtual = devices) using Xen 4.8.1. (management OS is Debian Stretch). When starting the VM with 3 or less network interfaces, everything works = fine, but as soon as I add a 4th interface the VM gets a kernel panic = and dumps (and reboots). When adding a 5th or more interface and booting = it doesn=E2=80=99t even dump anymore, it panics and immediately goes = into db>. Configuration file for the VM: name =3D 'firewall' bios =3D "ovmf" uuid=3D"11d1366c-40e2-43b2-83be-52cfe0c6542d" builder =3D 'hvm' memory =3D '2024' vcpus =3D 4 disk =3D ['file:/dev/hypervisor-local/firewall-system,xvda,w'] vif =3D [ 'mac=3D00:16:3e:e5:68:fd, bridge=3Dwan0, = script=3Dvif-openvswitch-no-offload, type=3Dvif', 'mac=3D00:16:3e:e8:20:db, bridge=3Dlan10, = script=3Dvif-openvswitch-no-offload, type=3Dvif', #'mac=3D00:16:3e:ee:02:44, bridge=3Dlan20, = script=3Dvif-openvswitch-no-offload, type=3Dvif', #'mac=3D00:16:3e:e1:03:f1, bridge=3Dlan30, = script=3Dvif-openvswitch-no-offload, type=3Dvif', 'mac=3D00:16:3e:e2:30:44, bridge=3Dlan40, = script=3Dvif-openvswitch-no-offload, type=3Dvif' ] boot =3D 'c' serial=3D=E2=80=98pty' Disk image used for installation: = https://snapshots.pfsense.org/amd64/pfSense_master/installer/pfSense-CE-me= mstick-serial-2.4.0-BETA-amd64-latest.img.gz = (added as xvdb) Initial panic lines (with 4 interfaces): panic: HYPERVISOR_memory_op failed to map gnttab cpuid =3D 2 KDB: enter: panic [ thread pid 26 tid 100093 ] Stopped at kdb_enter+0x3b: movq $0,kdb_why Mostly complete crash dump: = https://forum.pfsense.org/index.php?topic=3D134533.0 I can supply the dumps themselves as well I suppose, they should still = be stored on the system. If needed I should be able to re-create this on = pure FreeBSD 11.0 too. Has this type of problem with the netback/netfront combination with = FreeBSD and Xen been happening before? And if so, was it resolved? I = couldn=E2=80=99t find anything matching my case, but I might not be = using the right search options. Regards, John