Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Feb 2016 02:02:32 +0000 (UTC)
From:      Greg Quinlan <gwq_uk@yahoo.com>
To:        Hans Petter Selasky <hps@selasky.org>,  "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: Open Sound System - OSS "soundon" command causes KERNEL PANIC FreeBSD-11
Message-ID:  <872763758.2494245.1455156152295.JavaMail.yahoo@mail.yahoo.com>
In-Reply-To: <56BB0BDB.2090203@selasky.org>
References:  <56BB0BDB.2090203@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi HPS,
Note: Does not happen on FreeBSD 10.1-Stable!

Complete back trace:
panic: Lock (sx) module subsystem sx lock not locked @ /usr/src/sys/kern/ke=
rn_module.c:219.
cpuid =3D 0
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe02376ae=
530
vpanic() at vpanic+0x182/frame 0xdbfffffe02376ae5b0
kassert_panic at kasset_panic+0x126/frame 0xfffffe02376ae620
witness_assert() at wintness_assert+0x346/frame 0xfffffe02376ae680
module_lookupbyname() atm odule_lookupbyname+0x2a/frame 0xfffffe02376ae6b0
soundcard_attach() at soundcard_attach+0x12/frame 0xfffffe023766d0
module_rgister_init() at module_rgister_init+0xb0/frame 0xfffffe02376ae700
linker_load_module() at linker_load_module+0xc8e/frame 0xfffffe02376aea30
kern_kldload() at sys_kldload+0xa7/frame 0xfffffe02376aea70
sys_kldload() at sys_kldload+0x5b/frame 0xfffffe02376aeaa0
amd64_syscall() at amd64_syscall+02db/frame 0xfffffe02376aebb0
xfast_syscall() at xfast_syscall+0fb/frame 0xfffffe02376aebb0
--- syscall (304, FreeBSD ELF64, sys_kldload, rip =3D 0x80086b6aa, rsp =3D =
0x7fffffffe718, rbp =3D 0x7fffffffec30 ---
KDB: enter: panic
[ thread pid 1025 tid 100233 ]
Stopped at=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 kdb_enter+0x3b: movq=C2=A0=C2=A0=
=C2=A0 $0,kdb_why
/boot/modules
# cd /boot/modules
# ls -ltr
total 15008
-r-xr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 80280=C2=
=A0 Nov=C2=A0 6=C2=A0 15:01 fuse.ko
-r-xr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0 1633464=C2=A0 Nov=C2=A0 6=C2=A0 1=
5:02 radeonkms_port.ko
-r-xr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 700232=C2=A0 Nov=C2=
=A0 6=C2=A0 15:02 i915kms_port.ko
-r-xr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0 421696=C2=A0 Nov=C2=
=A0 6=C2=A0 15:02 drm2_port.ko
-r-xr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 26848=C2=
=A0 Dec 15 21:39 vboxnetflt.ko
-r-xr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0 9752=C2=A0 Dec 15 21:39 vboxnetadp.ko
-r-xr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0 =C2=A0 356152=C2=A0 Dec 15 21:39 =
vboxdrv.ko
-r-xr-xr-x=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0 =C2=A0=C2=A0 38632=C2=A0 De=
c 16 07:05 cuse4bsd.ko
-r-xr-xr-x=C2=A0 1 root=C2=A0 wheel 11926368 Dec 20 07:40 nvidia.ko
-rw-r--r--=C2=A0 1 root=C2=A0 wheel=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 1008 D=
ec 20 07:40 linker.hints

Thanks GQ
      From: Hans Petter Selasky <hps@selasky.org>
 To: Greg Quinlan <gwq_uk@yahoo.com>; "freebsd-current@freebsd.org" <freebs=
d-current@freebsd.org>=20
 Sent: Wednesday, 10 February 2016, 21:07
 Subject: Re: Open Sound System - OSS "soundon" command causes KERNEL PANIC=
 FreeBSD-11
  =20
On 02/10/16 10:51, Greg Quinlan wrote:
>
>=C2=A0 Hi,
>
> I haven't seen a Kernel Panic like this for a long time... i.e. repeatabl=
e and due to a single command.
>
> I have compiled the port /usr/ports/audio/oss and installed it on FreeBSD=
11.
>
> A ran=C2=A0 /usr/local/sbin/ossdetect which created the file /usr/local/l=
ib/oss/etc/installed_drivers.
>
> Contents:
> Code:oss_hdaudio #Intel High Definition Audio (CPT)
>
> When i run=C2=A0 /usr/local/sbin/soundon
>
> The system panics..
>
> Code:osscore.ac97_amplifier=3D"0"
> panic: Lock (sx) module subsystem lock sx lock not locked 0 /usr/src/sys/=
kern/kern_module.c:219
> cpu_id =3D 1
> :
>

Hi,

Do you have the complete backtrace for this panic?

Do you have any modules under /boot/modules, which are not up to date?

Does the same happen with audio/oss under 10.x ?

--HPS



  
From owner-freebsd-current@freebsd.org  Thu Feb 11 02:38:04 2016
Return-Path: <owner-freebsd-current@freebsd.org>
Delivered-To: freebsd-current@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 0DDDEAA447E
 for <freebsd-current@mailman.ysv.freebsd.org>;
 Thu, 11 Feb 2016 02:38:04 +0000 (UTC) (envelope-from ler@lerctr.org)
Received: from thebighonker.lerctr.org (thebighonker.lerctr.org
 [IPv6:2001:470:1f0f:3ad:223:7dff:fe9e:6e8a])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "thebighonker.lerctr.org",
 Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id E36441297
 for <freebsd-current@freebsd.org>; Thu, 11 Feb 2016 02:38:03 +0000 (UTC)
 (envelope-from ler@lerctr.org)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lerctr.org; 
 s=lerami;
 h=Message-ID:Subject:To:From:Date:Content-Transfer-Encoding:
 Content-Type:MIME-Version; bh=qh9B5dSoF5ozKH533qh/gPeMDSb8z/bT74TRhfea7Bg=;
 b=BYu6EnAF7eaBcAUAdny0knkoZYzOasxHdXNhn3ldILzb5bt/qME3O44HJEmEgZXZLKi2aypbEi
 O68+23udMdT/W7FBcINZUKJC907GlRpAKi5wOI1V/Opg3kNuQH+KFVdrgC50R6ZOjNg9ZTm77FUHK
 0C3N+3eCCePQ2wPrn7K0=;
Received: from thebighonker.lerctr.org
 ([2001:470:1f0f:3ad:223:7dff:fe9e:6e8a]:33344 helo=webmail.lerctr.org)
 by thebighonker.lerctr.org with esmtpsa
 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86 (FreeBSD))
 (envelope-from <ler@lerctr.org>) id 1aTh8t-0001aH-0m
 for freebsd-current@freebsd.org; Wed, 10 Feb 2016 20:38:03 -0600
Received: from 2605:6000:ec17:200:8960:77df:23a8:fcf by webmail.lerctr.org
 with HTTP (HTTP/1.1 POST); Wed, 10 Feb 2016 20:38:02 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 10 Feb 2016 20:38:02 -0600
From: Larry Rosenman <ler@lerctr.org>
To: Freebsd current <freebsd-current@freebsd.org>
Subject: IPV6 TCP6 Slow Connect
Message-ID: <8ca0068954b5cb25891c3324b2e8c863@thebighonker.lerctr.org>
X-Sender: ler@lerctr.org
User-Agent: Roundcube Webmail/1.1.4
X-Spam-Score: -1.0 (-)
X-LERCTR-Spam-Score: -1.0 (-)
X-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001
X-LERCTR-Spam-Report: SpamScore (-1.0/5.0) ALL_TRUSTED=-1, SHORTCIRCUIT=-0.0001
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>;
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Feb 2016 02:38:04 -0000

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

I've also posted lots of info to freebsd-net, and not gotten any 
response.

Summary:

Cable Modem-> EM0 on a pfSense Firewall (FreeBSD 10.1, pfSense 2.2.6)
               set to dhcp6, and ask for a /56 prefix

EM1->LAN, set to track interface, prefix id 0, radvd running advertising 
the 00 /64
LAN-> borg.lerctr.org using lagg0, SLAAC (rtsold).  Gets an address, 
icmp6 works, tcp6 times out.
     -> win10 SLAAC, tcp6 works fine, as does icmp6.

I seem to be able to CRASH -CURRENT by just rebooting the pfSense 
firewall.

What do I need to get to help get to the bottom of this?



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 7011 W Parmer Ln, Apt 1115, Austin, TX 78729-6961



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?872763758.2494245.1455156152295.JavaMail.yahoo>