From nobody Sat Apr 8 20:21:09 2023 X-Original-To: ports-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 4Pv67n6sPSz44qVH for ; Sat, 8 Apr 2023 20:21:09 +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 4Pv67n3lWFz3st7 for ; Sat, 8 Apr 2023 20:21:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680985269; 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=BTQsfBGeqnABU1CW2ENUYU44stCygK2R24SxIAp448Q=; b=mGlpmG6fypDEILYAHjj3wbkXFg2nyDKs9JqgJuE+QMNuP1ryeb0rmLYGCLlXP0hJcMhztP v1JyZ2i1OjNfA/J3UegaGJRflS5YQuvOp2S2w7iUudhw5xbJvArwNi9wUF/r1NzjfMA3k/ 3gcW6nMe0h2n5ZmGHvNgHm3k9FT9/BB7s1/kBRNHrg8arBvI2SdijDvsCvi+rjT1xjokaY oHGpDq9rO2BJoTqfLTEWSNa+cceN+g8HcPzGse2PGU8E9ipwtMchnJHJgRd+KXBeQyycr3 oufwajpjBMIg1mpHWgobzQUnF+qAK+xoOwLz3jrTWDdFz05CLzAh4IrDz4+TLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680985269; a=rsa-sha256; cv=none; b=XXa55DzBrTGvs2d2Y47CgJ7odubhKly3M+9sCeFqSUl7VTICk7utnhHW+s9Uph8ciLW44A MvFT7ojmtVEJ6wJ98qTlvc+ywiSITIqfL19Kp+6lv2wu0myNNONqfEKxr0DC0sxkx6SrXE 60/xT+MP8VZmiWRGLiKc4vuaqEzYskSjwiurgPww7AoqPXPldeBvXeBVv86g0WuivUZmqf tCuAFYk+iZ8e9vAf2+NYGyEi/34TNCrDdiSKJwEaJ39yGzIqjEllsfW7k4fQm3z1oARghs HoapRrxzfe0Oi+0piSXL2K/oo5R9aOEH+Jntrkbz+4CqIiMseuBJ8ZpmEkurLg== 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 4Pv67n2hMszgt3 for ; Sat, 8 Apr 2023 20:21:09 +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 338KL9wa029824 for ; Sat, 8 Apr 2023 20:21:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 338KL9iY029823 for ports-bugs@FreeBSD.org; Sat, 8 Apr 2023 20:21:09 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: ports-bugs@FreeBSD.org Subject: [Bug 270709] audio/oss Kernel panic at every shutdown after installing OSS Date: Sat, 08 Apr 2023 20:21:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: martenvdberg@hotmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: crees@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270709 Bug ID: 270709 Summary: audio/oss Kernel panic at every shutdown after installing OSS Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: crees@FreeBSD.org Reporter: martenvdberg@hotmail.com Assignee: crees@FreeBSD.org Flags: maintainer-feedback?(crees@FreeBSD.org) Created attachment 241357 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D241357&action= =3Dedit coredump After installing the oss package, a kernel panic occurs every time the comp= uter is shut down.=20 Steps to reproduce: - Fresh install of FreeBSD 13.1-RELEASE. Tested this with bot UFS and ZFS filesystems which does not make a difference. - Build and install a custom Kernel with all sound support removed as instructed by the audio/oss port. - Install the oss package - set oss_enable=3D"YES" in /etc/rc.conf - Reboot - Then the kernel panic occurs after the shutdown command is give (core dump attached) - The kernel panic can also be provoked by first shutting down oss (# servi= ce oss stop) and then shutting down mixer(8) (#service mixer stop) The sound card (ASUS Xonar D2X) does work with the oss drivers. dmesg() not= es that the Open Sound System is started. Only other message related with this issue is "pci0:6:4:0: Device leaked IRQ resources". Hardware in my setup: Motherboard: Asus Z9PA-D8 motherboard CPU:2x Intel Xeon E5-2697 v2 @ 2.70GHz GPU: NVIDIA GeForce GTX 1080 ASUS Xonar D2X Workaround: Because the panic occurs whenever mixer(8) is shut down after oss is shut d= own, the following workaround will prevent the panic from occurring: add "# REQU= IRE: oss" to /etc/rc.d/mixer, which ensures mixer(8) shuts down before oss. See also the forum thread discussing this https://forums.freebsd.org/threads/kernel-panic-at-shutdown-after-installin= g-oss-with-proposed-fix.88655/ --=20 You are receiving this mail because: You are the assignee for the bug.=