From nobody Thu Nov 25 22:16:58 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D601A18AF695 for ; Thu, 25 Nov 2021 22:16:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J0XKk0SkKz3BqD for ; Thu, 25 Nov 2021 22:16:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E4B3C2526F for ; Thu, 25 Nov 2021 22:16:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1APMGvbZ054144 for ; Thu, 25 Nov 2021 22:16:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1APMGvax054142 for bugs@FreeBSD.org; Thu, 25 Nov 2021 22:16:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 260049] vtnet modern/1.x panic - data segment exception trap Date: Thu, 25 Nov 2021 22:16:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: alfredo@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637878618; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Fi+dWYCYR37/YEgU9N9Yjym2Xo1OxXSi/YrwVaXeuSM=; b=B0NpYeWWTc5Ue1Ooy317fiwdKpP/R8Cqpc3IXfukMvE8A5J8eKpzFfg8ZJxORuYYzqF/Ho AAuHjMxnWOB+xmKWcQR2eKGIHA3C5pB51UTvCTauyn/f76yZ5tPdPV6US1eunx/dQ3DuEq nmkMQXUSO74fRuJObLu+9kdBS6xWfAxUhR1xQm0MgLs77pZKXt+reD4Ai5wzP1SGOtD7r2 JPpVm+TaAfKgZnddeZL8nCWwbCDDvC37fcBQCexGm8h0mZhxaTfgwKuYEx2UA1Sz8OWCgT x0YFsbP7MXdJh/SQLUDHEp05le/Vw+f9mrFjr6eR7vdelygIxlnU9x/l2BYpNA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637878618; a=rsa-sha256; cv=none; b=T02CUxo78HNXTyuiL69te4qOtZ8MpBl88c4SKljj9LEwm1q4dF5pxi6wWtqoTxqiShyBLM Cjr41Gll6slDFY4/HayyFe9IyeM5BVdldnpxW+i0/Y+ci9WmfXYIQFb2XhStoFYs+etS3E +8RA/1IKnuLCafUsSbcox7e3sAhXLLHyMybx/crbMibC42ke4rCEaA6lECnJEPjZd3dpKy wOYJxjf0fUGpPTzy45Hh+GJVziY0D+TJygiOMEA4nrnIpHpGgGZLaf3J+e2ZT3BKaP9MiY R6KrGjUkjESXtZzhnzfAQgGyQW8Yb4Bq0sVP9r8l/oltTjr+ojPVviaMV3ih2w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260049 Bug ID: 260049 Summary: vtnet modern/1.x panic - data segment exception trap Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: alfredo@freebsd.org I consistently get fatal kernel trap when sending files using two simultane= ous SCP instances [2] to a powerpc64 QEMU [1] KVM accelerated VM in a Linux hos= t.=20 The issue is reproducible with vtnet modern/1.x mode. With vtnet legacy/pre= -1.0 mode it works fine: fatal kernel trap: exception =3D 0x380 (data segment exception) virtual address =3D 0xdeadc0dedeadc0e8 dsisr =3D 0x0 srr0 =3D 0xc0000000006047f8 (0x6047f8) srr1 =3D 0x8000000000009032 current msr =3D 0x8000000000009032 lr =3D 0xc000000000604798 (0x604798) frame =3D 0xc008000035d57250 curthread =3D 0xc008000035973080 pid =3D 12, comm =3D irq4608:-irtio_pci1 panic: data segment exception trap cpuid =3D 4 time =3D 1637888248 KDB: stack backtrace: 0xc008000035d56e70: at kdb_backtrace+0x60 0xc008000035d56f80: at vpanic+0x1f0 0xc008000035d57030: at panic+0x44 0xc008000035d57060: at trap+0x324 0xc008000035d57190: at powerpc_interrupt+0x1cc 0xc008000035d57220: kernel DSE trap @ 0xdeadc0dedeadc0e8 by vtnet_rxq_eof+0x174: srr1=3D0x8000000000009032 r1=3D0xc008000035d574d0 cr=3D0x44c00488 xer=3D0x20040000 ctr=3D= 0x1 r2=3D0xc0000000013e9000 frame=3D0xc008000035d57250 0xc008000035d574d0: at vtnet_rxq_eof+0x110 0xc008000035d57600: at vtnet_rx_vq_process+0xe0 0xc008000035d57660: at virtqueue_intr+0x2c 0xc008000035d57690: at vtpci_intx_intr+0x11c 0xc008000035d576d0: at ithread_loop+0x3b8 0xc008000035d57820: at fork_exit+0xc4 0xc008000035d578c0: at fork_trampoline+0x18 0xc008000035d578f0: at -0x4 KDB: enter: panic [ thread pid 12 tid 100077 ] Stopped at kdb_enter+0x78: ori r0, r0, 0x0 db>=20 ------ [1] # qemu-system-ppc64 -name guest=3Dalfredo1 -smp 8 -m 8g -drive file=3Dvdisks/vm1-disk1.qcow2,format=3Dqcow2,if=3Dvirtio -device virtio-net-pci,netdev=3Dbr0,disable-legacy=3Don,disable-modern=3Doff,mac=3D= 52:54:a1:f4:ed:01 -netdev bridge,id=3Dbr0 -enable-kvm -machine pseries,accel=3Dkvm,cap-hpt-max-page-size=3D2M -mem-prealloc -mem-path /dev/hugepages -vnc :62 -vga none -nographic -snapshot $ qemu-system-ppc64 --version QEMU emulator version 6.0.0 Copyright (c) 2003-2021 Fabrice Bellard and the QEMU Project developers [2] SSH copy command: sshpass -p "" scp <2GB_FILE> root@:d.iso & sshpass -p "pass" scp <2GB_FILE> root@:c.iso & --=20 You are receiving this mail because: You are the assignee for the bug.=