oss4 cause kernel oops

OSS specific Linux discussion (x86/amd64)

Moderators: hannu, dev, cesium

New Member
Posts: 2
Joined: Sat Oct 05, 2013 8:39 pm

oss4 cause kernel oops

Postby shimingzhou » Sat May 17, 2014 5:26 am

step to reproduce :
git clone git://git.code.sf.net/p/opensound/git opensound-git
cd opensound-git/
mkdir mybuild
cd mybuild/
../configure --config-midi=YES --enable-timings
make install

then insmod oss kernel modules or restart oss or reboot ,then kernel will freeze,detail message in attachment。
My system is mageia 4 。 The kernel is 3.12.13 。But I have successfully compile an oss4 version before ,it works ok on my old mandriva 2010 (kernel 3.4.8) on the same computer 。So I copy the kernel including the binary oss module from my old working system , it works ok。 But if I compile oss from the git repository and use the same the kernel copied from my old mandriva 2010 ,still freeze。
uname -a :
Linux localhost.localdomain 3.4.8-custom #1 SMP Sat Sep 1 09:55:34 CST 2012 x86_64 x86_64 x86_64 GNU/Linux
lspci -vvv output
(13.3 KiB) Downloaded 661 times
kernel config file copied from /proc/config.gz
(35.47 KiB) Downloaded 622 times
dmesg output
(76.73 KiB) Downloaded 636 times

Posts: 27
Joined: Tue Jan 15, 2008 4:39 pm

Re: oss4 cause kernel oops

Postby oss117 » Sun May 18, 2014 3:18 pm

The kernel and the module need to be compiled with the *same* compiler and the *same* glibc library... Reusing a kernel compiled with gcc 4.4 and glibc 2.11 (Mandriva 2010.2), and compiling the oss module with gcc 4.8 and glibc 2.18 (Mageia 4) is unsurprisingly leading to a crash.

Return to “Linux”

Who is online

Users browsing this forum: No registered users and 3 guests