From nobody Mon Sep 11 09:32:34 2023 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 4RkhMQ669Hz4sYXd for ; Mon, 11 Sep 2023 09:32:34 +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 4RkhMQ3rj6z4R8P for ; Mon, 11 Sep 2023 09:32:34 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694424754; a=rsa-sha256; cv=none; b=ZuDGdE8cWpPS29RgmZtuKGqjIuJK9Sx/2mf6Sjm8mrWcOBPp4gXdwKuHzdhvDqPoQVDF1e 47NR6CWKcj97FnVXFaVd36ofV8jm0Pfzz74nFHSD3ZYvrnWFjxodX9PA6RUTnVjqQldrT5 5NUfzZJBEDlq9jiPqisLLVSA+Pb3FKjNlyriSEL58c8327bCVShT5EBCgnRhQxd1DSu+rb X1OQuBAmLAsAceR+09lBwKfD4McT1Tat1k2V0zt0Z8kp5ZnpHTMBKsF9z4rTmC/tvll6QN gSueLphVf0geXnnLYYBzIaeoWMfgsqq1yYN6YIhPkopBUOmOe4jo/9Bnjzr+Ng== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694424754; 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=MPXUyJtz0WMLXLe54zq0fgoEHkPpgASAvhdPttf3Q1Y=; b=siMh1P1M6eH0msv+Wz40gfzMG2snnRC/RUuMkVb7IOVNX4AhY+3Y2vEQLqNM+eUJhoJtoQ m2AgpjvIigh9T1089yhZG76amEiZXxw4BBDcWq9ednzpUJl1KV7FBoAoN7dAtpgMAQP5ZC g8jErbCUn5MbAjRcdAMktNfLZq77CgQEs3crllD8Wz9xknvEFBGIC9lZduir6USDanYSIy RYVNF8+C62UarSsZpMuoExvybQafBwT1A4Msc9gLsuh7MEWmdIHgrw6YZi3e1SbHXawA8D wYxg2nFyzsbN3l74hHftBSpRrcX/yGcSoOjyzXJ2w3cHzqbD0+TA00pZjqZzow== 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 4RkhMQ2dzmzkvN for ; Mon, 11 Sep 2023 09:32:34 +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 38B9WYNQ027118 for ; Mon, 11 Sep 2023 09:32:34 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38B9WYTZ027117 for bugs@FreeBSD.org; Mon, 11 Sep 2023 09:32:34 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 273715] dumpon: Kernel panic on boot when enabling dumpon over IP Date: Mon, 11 Sep 2023 09:32:34 +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: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grembo@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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273715 Bug ID: 273715 Summary: dumpon: Kernel panic on boot when enabling dumpon over IP Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: grembo@FreeBSD.org Basic setup: Host running bhyve vms. VMs use dumpon over IP to write crash dumps to the = VM host. This used to work ok in 13.1 (booting these machines using a 13.1 ker= nel still works). With 13.2, dumpon (ironically) causes a panic on boot. Configuration: ifconfig_vtnet0_name=3D"uplink" ifconfig_uplink=3D"inet 192.168.255.3/24" defaultrouter=3D"192.168.255.1" vlans_uplink=3D"vlanone vlantwo" create_args_vlanone=3D"vlan 1001" ifconfig_vlanone=3D"inet 10.1.1.1/24" create_args_vlantwo=3D"vlan 1002" ifconfig_vlantwo=3D"inet 10.1.2.1/24" dumpdev=3D"uplink" dumpon_flags=3D"-k /root/netdump_public.pem -i 0 -c 192.168.255.3 -s 192.168.255.1 -g 192.168.255.1" Panic: Fatal trap 12: page fault while in kernel mode cpuid =3D 0; apic id =3D 00 fault virtual address =3D 0x500 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80deea11 stack pointer =3D 0x28:0xfffffe00f7fda9a0 frame pointer =3D 0x28:0xfffffe00f7fda9d0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 26 (dumpon) trap number =3D 12 panic: page fault cpuid =3D 0 time =3D 1694419470 KDB: stack backtrace: #0 0xffffffff80c53e45 at kdb_backtrace+0x65 #1 0xffffffff80c067c1 at vpanic+0x151 #2 0xffffffff80c06663 at panic+0x43 #3 0xffffffff810b1fa7 at trap_fatal+0x387 #4 0xffffffff810b1fff at trap_pfault+0x4f #5 0xffffffff81088ed8 at calltrap+0x8 #6 0xffffffff80def0c6 at netdump_ioctl+0x4c6 #7 0xffffffff80a9d736 at devfs_ioctl+0xc6 #8 0xffffffff80cf91d4 at vn_ioctl+0x1a4 #9 0xffffffff80a9ddee at devfs_ioctl_f+0x1e #10 0xffffffff80c748fd at kern_ioctl+0x26d #11 0xffffffff80c745e0 at sys_ioctl+0x100 #12 0xffffffff810b289c at amd64_syscall+0x10c #13 0xffffffff810897eb at fast_syscall_common+0xf8 Uptime: 1s When commenting out dumpon in /etc/rc.conf, the vm boots just fine. --=20 You are receiving this mail because: You are the assignee for the bug.=