Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2016 17:02:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 212263] audio/oss panics: Unregistered use of FPU in kernel
Message-ID:  <bug-212263-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212263

            Bug ID: 212263
           Summary: audio/oss panics: Unregistered use of FPU in kernel
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: jakubadler@gmail.com

Created attachment 174220
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D174220&action=
=3Dedit
Suggested patch for audio/oss

OSS causes following kernel panic when loaded:

Sun Aug 28 16:20:42 CEST 2016

FreeBSD roosta.adl.cz.eu.org 10.3-STABLE FreeBSD 10.3-STABLE #1 r304804M: F=
ri
Aug 26 21:49:50 CEST 2016=20=20=20=20
root@roosta.adl.cz.eu.org:/usr/obj/usr/src/sys/MYKERNEL  amd64

panic: Unregistered use of FPU in kernel

Unread portion of the kernel message buffer:
panic: Unregistered use of FPU in kernel
cpuid =3D 1
KDB: stack backtrace:
#0 0xffffffff8087c380 at kdb_backtrace+0x60
#1 0xffffffff8083efc6 at vpanic+0x126
#2 0xffffffff8083ee93 at panic+0x43
#3 0xffffffff80c4851d at trap+0x71d
#4 0xffffffff80c2e30c at calltrap+0x8
#5 0xffffffff81c6daf8 at oss_install_audiodev+0x38
#6 0xffffffff81cdb67e at oss_audigyls_attach+0x72e
#7 0xffffffff81cde388 at osspci_probe+0x198
#8 0xffffffff808713f0 at device_probe_child+0x160
#9 0xffffffff80872060 at device_probe+0x40
#10 0xffffffff8087214e at device_probe_and_attach+0xe
#11 0xffffffff806292da at pci_driver_added+0xea
#12 0xffffffff808706ea at devclass_driver_added+0x7a
#13 0xffffffff8087064c at devclass_add_driver+0x11c
#14 0xffffffff808233db at module_register_init+0xfb
#15 0xffffffff80818ab7 at linker_load_module+0xc17
#16 0xffffffff80819f03 at kern_kldload+0xc3
#17 0xffffffff80819fdb at sys_kldload+0x5b

Steps to reproduce:
1. build kernel without sound(4)
2. install audio/oss port
3. service oss onestart

I don't have any other OSS supported sound card, so I can't tell whether the
problem is specific for audigyls module or not.

Suggested solution:
This discussion mentions the same kernel panic:
https://forums.freebsd.org/threads/39858/
Using -mno-sse for compiling kernel modules, as suggested here, seems to
resolve this issue.

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



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