You are not logged in.
Pages: 1
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
I've never had problems with oss and all my custom kernels.
Did you install the proper linux-header package?
Offline
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
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
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
Pages: 1