[Bug 240200] audio/oss : module_register_init: MOD_LOAD (osscore, 0xffffffff82f4e490, 0) error 16

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 30 14:31:08 UTC 2019


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

Jan Beich <jbeich at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|oss-4.2.b2019 :             |audio/oss :
                   |module_register_init:       |module_register_init:
                   |MOD_LOAD (osscore,          |MOD_LOAD (osscore,
                   |0xffffffff82f4e490, 0)      |0xffffffff82f4e490, 0)
                   |error 16                    |error 16
            Product|Base System                 |Ports & Packages
          Component|kern                        |Individual Port(s)
            Version|12.0-RELEASE                |Latest

--- Comment #3 from Jan Beich <jbeich at FreeBSD.org> ---
audio/oss aka the original[1] is not maintained by multimedia at . FreeBSD fork is
superior[2] to 4Front version but is not a superset as some rarely used
features are not implemented[3]. <sys/soundcard.h> from audio/oss is also not
completely ABI-compatible (e.g., bug 184380), so consumers need to pass
-isystem/usr/local/include/lib/oss/include during build.

If you still want to use audio/oss compile the kernel without sound(4) e.g.,

    include GENERIC
    ident MYKERNEL

    nodevice sound
    nodevice snd_cmi
    nodevice snd_csa
    nodevice snd_emu10kx
    nodevice snd_es137x
    nodevice snd_hda
    nodevice snd_ich
    nodevice snd_via8233

[1] https://wiki.freebsd.org/Sound#History
[2] See OSSv4 Compatibility in
https://people.freebsd.org/~ariff/SOUND_4.TXT.html
[3] See OSSV4_EXPERIMENT in
https://github.com/freebsd/freebsd/blob/master/sys/dev/sound/pcm/dsp.c
    Note, AFMT_FLOAT is Linux-only even in audio/oss.

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


More information about the freebsd-multimedia mailing list