[SOLVED] OSS modules won't build Kernel 3.8-rc6
I've installed today Kernel 3.8-rc6 from Ubuntu Mainline Kernel PPA and unfortunately Open Sound won't build modules for that version. I've seen others reporting that it also won't build modules for 3.8-rc4 and 3.8-rc5. I'm currently using 3.8-rc3 which works with OSSv4 so something changed after that version.
Installation of OSSv4 package builded from Mercurial repository on 3.8-rc6:
There is also another problem for anyone using Chrome/Chromium sound stopped working in version 24 of those browsers. Chrome has only ALSA support and it's emulation worked in Chrome 23 but it's not working in version 24 (Stable) and anything newer (Beta, Unstable).
Issue 158478: Linux: ppapi flash suddenly no audio output on upgrade with open sound system (oss) - normal sound with alsa
The bug report title isn't correct because there is also no sound output with HTML5 content and text to speech sites besides PPAPI Flash.
Installation of OSSv4 package builded from Mercurial repository on 3.8-rc6:
- Code: Select all
(Odczytywanie bazy danych ... 453637 plików i katalogów obecnie zainstalowanych.)
Przygotowywanie do zastąpienia pakietu oss-linux 4.2-2006 (wykorzystując oss-linux-4.2-2006_amd64.deb) ...
OSS not loaded.
Rozpakowywanie pakietu zastępującego oss-linux ...
Upgrading OSS - will not purge /usr/lib/oss.
Konfigurowanie pakietu oss-linux (4.2-2006) ...
Building OSS Modules for Linux-x86_64 3.8.0-030800rc6-generic
OSS build environment set up for REGPARM kernels
Building module osscore
Building module oss_ali5455
Compiling module oss_ali5455 failed
make -C /lib/modules/3.8.0-030800rc6-generic/build M=/usr/lib/oss/build modules
make[1]: Wejście do katalogu `/usr/src/linux-headers-3.8.0-030800rc6-generic'
CC [M] /usr/lib/oss/build/oss_ali5455.o
In file included from /usr/lib/oss/build/module.inc:45:0,
from /usr/lib/oss/build/oss_ali5455.c:21:
/usr/lib/oss/build/pci_wrapper.inc:21:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘osspci_probe’
/usr/lib/oss/build/pci_wrapper.inc:69:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘osspci_remove’
In file included from /usr/lib/oss/build/oss_ali5455.c:21:0:
/usr/lib/oss/build/module.inc:51:12: error: ‘osspci_probe’ undeclared here (not in a function)
/usr/lib/oss/build/module.inc:52:13: error: ‘osspci_remove’ undeclared here (not in a function)
In file included from /usr/lib/oss/build/oss_ali5455.c:21:0:
/usr/lib/oss/build/module.inc:33:12: warning: ‘instance’ defined but not used [-Wunused-variable]
In file included from /usr/lib/oss/build/module.inc:45:0,
from /usr/lib/oss/build/oss_ali5455.c:21:
/usr/lib/oss/build/pci_wrapper.inc:17:18: warning: ‘dev_map’ defined but not used [-Wunused-variable]
/usr/lib/oss/build/pci_wrapper.inc:18:12: warning: ‘n_devmap’ defined but not used [-Wunused-variable]
make[2]: *** [/usr/lib/oss/build/oss_ali5455.o] Błąd 1
make[1]: *** [_module_/usr/lib/oss/build] Błąd 2
make[1]: Opuszczenie katalogu `/usr/src/linux-headers-3.8.0-030800rc6-generic'
make: *** [default] Błąd 2
Forcing re-detection of installed soundcards
Starting Open Sound System
Previous start of OSS crashed the system
Please resolve the situation and remove file
"/usr/lib/oss/starting". Then start OSS by
running soundon again.
Przetwarzanie wyzwalaczy pakietu libc-bin...
ldconfig deferred processing now taking place
Przetwarzanie wyzwalaczy pakietu man-db...
There is also another problem for anyone using Chrome/Chromium sound stopped working in version 24 of those browsers. Chrome has only ALSA support and it's emulation worked in Chrome 23 but it's not working in version 24 (Stable) and anything newer (Beta, Unstable).
Issue 158478: Linux: ppapi flash suddenly no audio output on upgrade with open sound system (oss) - normal sound with alsa
The bug report title isn't correct because there is also no sound output with HTML5 content and text to speech sites besides PPAPI Flash.