Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 08 Feb 2020 21:59:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 243993] FreeBSD as Guest with 5+ with xnb(4) devices panic on call to  sysctl -a in strlen
Message-ID:  <bug-243993-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243993

            Bug ID: 243993
           Summary: FreeBSD as Guest with 5+ with xnb(4) devices panic on
                    call to  sysctl -a in strlen
           Product: Base System
           Version: 12.1-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: dpd@dpdtech.com

Created attachment 211484
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211484&action=edit
Interactive kgdb CLI with VIFs=7 and info, core.txt from savecore.

When running FreeBSD 12.1-stable r354267 amd64 as a guest under Xen 4.11
(XCP-ng 8.0), when adding 7 VIFs (xn NICs), a `sysctl -a ` panics the VM. 

  XEN: Hypervisor version 4.11 detected.
  Hypervisor: Origin = "XenVMMXenVMM"

It's not totally clear to me why, but it appears that in
/usr/src/sys/libkern/strlen.c lines 99 and 100, in strlen(), that lp appears to
be zero. 

Burt force testing show that four VIFs using xnb(4) are fine, adding the fifth
produces the panic.  

Of note, I also have net.fibs=8, but haven't configured other fibs yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-243993-227>