You are not logged in.

#1 2012-01-19 21:33:10

mjheagle8
Member
From: /home/mjheagle8
Registered: 2009-07-12
Posts: 186

OSS v4 doesnt work with some kernels

Hi all,

I've noticed that with some kernels, I can't get oss to work.  The problem is that it fails relinking kernel modules.
For example, with kernel 3.1.9-1:

Relinking OSS kernel modules for "3.1.9-1-ARCH SMP preempt mod_unload modversions "
This may take few moments - please stand by...

OSS build environment set up for REGPARM kernels

Building module osscore
Failed to compile OSS
make -C /lib/modules/3.1.9-1-ARCH/build M=/usr/lib/oss/build modules
make[1]: Entering directory `/usr/src/linux-3.1.9-1-ARCH'
  CC [M]  /usr/lib/oss/build/osscore.o
/usr/lib/oss/build/osscore.c: In function 'alloc_fop':
/usr/lib/oss/build/osscore.c:964:14: warning: assignment from incompatible pointer type [enabled by default]
/usr/lib/oss/build/osscore.c: In function 'oss_pci_read_devpath':
/usr/lib/oss/build/osscore.c:1638:3: warning: return discards 'const' qualifier from pointer target type [enabled by default]
/usr/lib/oss/build/osscore.c: In function 'oss_fp_check':
/usr/lib/oss/build/osscore.c:1862:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/lib/oss/build/osscore.c:1864:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/lib/oss/build/osscore.c:1864:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/lib/oss/build/osscore.c:1864:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/lib/oss/build/osscore.c:1866:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/lib/oss/build/osscore.c:1871:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/lib/oss/build/osscore.c:1871:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/lib/oss/build/osscore.c:1871:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
/usr/lib/oss/build/osscore.c:1873:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  Building modules, stage 2.
  MODPOST 1 modules
FATAL: vmlinux is truncated. sechdrs[i].sh_offset=18446744071588955904 > sizeof(*hrd)=64
make[2]: *** [__modpost] Error 1
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-3.1.9-1-ARCH'
make: *** [default] Error 2
Relinking the OSS kernel modules failed

Anyone know why this happens?  Is there something I'm doing wrong?

Thanks in advance for any and all help.


Desktop/Laptop - DWM :: VM - screen
Registered Linux User Number 483137 :: Victory! :: GitHub

Offline

#2 2012-01-19 22:04:36

Radioactiveman
Member
From: Germany
Registered: 2010-05-13
Posts: 388

Re: OSS v4 doesnt work with some kernels

I've never had problems with oss and all my custom kernels.
Did you install the proper linux-header package?

Offline

#3 2012-01-19 22:33:31

mjheagle8
Member
From: /home/mjheagle8
Registered: 2009-07-12
Posts: 186

Re: OSS v4 doesnt work with some kernels

I installeded the linux-header package of the same version as the linux package.  is that what you mean?


Desktop/Laptop - DWM :: VM - screen
Registered Linux User Number 483137 :: Victory! :: GitHub

Offline

#4 2012-01-20 00:58:58

mjheagle8
Member
From: /home/mjheagle8
Registered: 2009-07-12
Posts: 186

Re: OSS v4 doesnt work with some kernels

i get the error

FATAL: Module oss_hdaudio not found 

so it appears that my driver is not in the kernel... pacman -Ql | grep oss_hdaudio also showed a lack of this driver


Desktop/Laptop - DWM :: VM - screen
Registered Linux User Number 483137 :: Victory! :: GitHub

Offline

#5 2012-01-20 13:50:09

Radioactiveman
Member
From: Germany
Registered: 2010-05-13
Posts: 388

Re: OSS v4 doesnt work with some kernels

mjheagle8 wrote:

is that what you mean?

Yes, this is what I meant.
"oss_hdaudio" is no Arch package but a kernel module which gets compiled by the build script.
Unfortunately I can't help you better.

Offline

Board footer

Powered by FluxBB