You are not logged in.

#1 2013-06-15 20:13:10

toni
Member
Registered: 2011-10-15
Posts: 437

oss not compiling

I have upgraded arch recently.

$ uname -r
3.9.5-1-ARCH

After upgrading oss does not work, it says:
"$ sudo soundon
modprobe: ERROR: could not insert 'osscore': Invalid argument
Loading the osscore module failed"

I have oss 4.2_2007-4 installed.

If I reboot a starting file is created in /usr/lib/oss folder.

If I remove this file and perform a soundon again, the file is recreated again and the same message error is shown.

Any ideas?

Last edited by toni (2013-07-27 12:52:49)

Offline

#2 2013-06-16 07:42:32

sonoran
Member
From: sonoran desert
Registered: 2009-01-12
Posts: 192

Re: oss not compiling

Here's an idea: search before posting.

https://bbs.archlinux.org/viewtopic.php?id=164827
https://bbs.archlinux.org/viewtopic.php?id=164656
https://bugs.archlinux.org/task/35672

So downgrade oss, blacklist oss from upgrading, follow that bug report, and mark this topic "SOLVED."

Offline

#3 2013-06-20 17:19:14

toni
Member
Registered: 2011-10-15
Posts: 437

Re: oss not compiling

sonoran wrote:

Here's an idea: search before posting.

https://bbs.archlinux.org/viewtopic.php?id=164827
https://bbs.archlinux.org/viewtopic.php?id=164656
https://bugs.archlinux.org/task/35672

So downgrade oss, blacklist oss from upgrading, follow that bug report, and mark this topic "SOLVED."

I have downgraded to oss 4.2_2007-2 and now it is working ok. Anyway I think oss should be improved as lately is causing a lot of problems like this or even when oss service is started an annoying beep is played as I have said in other posts, also it does not fully integrate with gnome, etc...

Last edited by toni (2013-06-20 17:21:21)

Offline

#4 2013-07-27 12:16:56

toni
Member
Registered: 2011-10-15
Posts: 437

Re: oss not compiling

As said in previous post I was using oss-4.2_2007-2 as oss-4.2_2007-4 was not working with the kernel 3.9.5-1-ARCH so I downgraded oss and the issue was solved.

Now I have upgraded kernel to 3.10.2-1-ARCH and neither oss-4.2_2007-2 nor  oss-4.2_2007-4 are working with this kernel version so I have no sound in my arch.

output for 4.2_2007-4:

$ systemctl status oss.service
oss.service - Open Sound System v4
   Loaded: loaded (/usr/lib/systemd/system/oss.service; enabled)
   Active: failed (Result: exit-code) since sáb 2013-07-27 16:08:36 CEST; 5min ago
  Process: 453 ExecStart=/usr/bin/soundon (code=exited, status=20)
$ sudo soundon
Relinking OSS kernel modules for ""
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 /usr/lib/modules/3.10.2-1-ARCH/build M=/usr/lib/oss/build modules
make[1]: Entering directory `/usr/src/linux-3.10.2-1-ARCH'
  CC [M]  /usr/lib/oss/build/osscore.o
/usr/lib/oss/build/osscore.c: En la función ‘init_proc_fs’:
/usr/lib/oss/build/osscore.c:287:8: error: declaración implícita de la función ‘create_proc_entry’ [-Werror=implicit-function-declaration]
        create_proc_entry ("opensound", 0700 | S_IFDIR, NULL)) == NULL)
        ^
/usr/lib/oss/build/osscore.c:286:22: aviso: la asignación crea un puntero desde un entero sin una conversión [activado por defecto]
   if ((oss_proc_root =
                      ^
/usr/lib/oss/build/osscore.c:293:26: aviso: la asignación crea un puntero desde un entero sin una conversión [activado por defecto]
   if ((oss_proc_devfiles =
                          ^
/usr/lib/oss/build/osscore.c:300:20: error: puntero deferenciado a tipo de dato incompleto
   oss_proc_devfiles->proc_fops = &oss_proc_operations;
                    ^
/usr/lib/oss/build/osscore.c: En la función ‘alloc_fop’:
/usr/lib/oss/build/osscore.c:964:14: aviso: asignación desde un tipo de puntero incompatible [activado por defecto]
   fop->fsync = oss_no_fsync;
              ^
/usr/lib/oss/build/osscore.c: En la función ‘oss_pci_read_devpath’:
/usr/lib/oss/build/osscore.c:1638:3: aviso: la devolución descarta el calificador ‘const’ del tipo del destino del puntero [activado por defecto]
   return dev_name(&dip->pcidev->dev);
   ^
In file included from include/linux/kernel.h:12:0,
                 from include/linux/cache.h:4,
                 from include/linux/time.h:4,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /usr/lib/oss/build/osscore.c:15:
/usr/lib/oss/build/osscore.c: En la función ‘oss_fp_check’:
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:73:3: nota: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:112:3: nota: in expansion of macro ‘raw_local_save_flags’
   raw_local_save_flags(flags);  \
   ^
/usr/lib/oss/build/osscore.c:1862:3: nota: in expansion of macro ‘local_save_flags’
   local_save_flags (flags_reg);
   ^
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:78:3: nota: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:102:7: nota: in expansion of macro ‘raw_irqs_disabled_flags’
   if (raw_irqs_disabled_flags(flags)) { \
       ^
/usr/lib/oss/build/osscore.c:1864:3: nota: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:68:3: nota: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:103:4: nota: in expansion of macro ‘raw_local_irq_restore’
    raw_local_irq_restore(flags); \
    ^
/usr/lib/oss/build/osscore.c:1864:3: nota: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:68:3: nota: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:107:4: nota: in expansion of macro ‘raw_local_irq_restore’
    raw_local_irq_restore(flags); \
    ^
/usr/lib/oss/build/osscore.c:1864:3: nota: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:73:3: nota: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:112:3: nota: in expansion of macro ‘raw_local_save_flags’
   raw_local_save_flags(flags);  \
   ^
/usr/lib/oss/build/osscore.c:1866:3: nota: in expansion of macro ‘local_save_flags’
   local_save_flags (flags_reg);
   ^
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:78:3: nota: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:102:7: nota: in expansion of macro ‘raw_irqs_disabled_flags’
   if (raw_irqs_disabled_flags(flags)) { \
       ^
/usr/lib/oss/build/osscore.c:1871:3: nota: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:68:3: nota: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:103:4: nota: in expansion of macro ‘raw_local_irq_restore’
    raw_local_irq_restore(flags); \
    ^
/usr/lib/oss/build/osscore.c:1871:3: nota: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:68:3: nota: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:107:4: nota: in expansion of macro ‘raw_local_irq_restore’
    raw_local_irq_restore(flags); \
    ^
/usr/lib/oss/build/osscore.c:1871:3: nota: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: aviso: la comparación de diferentes tipos de puntero carece de una conversión [activado por defecto]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:73:3: nota: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:112:3: nota: in expansion of macro ‘raw_local_save_flags’
   raw_local_save_flags(flags);  \
   ^
/usr/lib/oss/build/osscore.c:1873:3: nota: in expansion of macro ‘local_save_flags’
   local_save_flags (flags_reg);
   ^
cc1: algunos avisos se tratan como errores
make[2]: *** [/usr/lib/oss/build/osscore.o] Error 1
make[1]: *** [_module_/usr/lib/oss/build] Error 2
make[1]: Leaving directory `/usr/src/linux-3.10.2-1-ARCH'
make: *** [default] Error 2

Relinking the OSS kernel modules failed

Any ideas?

Last edited by toni (2013-07-27 12:20:59)

Offline

#5 2013-07-28 22:37:22

klothius
Member
From: Beograd, Serbia
Registered: 2013-06-05
Posts: 18

Re: oss not compiling

Apply this patch -> http://www.opensound.com/forum/viewtopi … 04424f6700 or download oss-nonfree from AUR. There's a breakage for 3.11, too, but there's already a patch on oss forums, so if you plan on using it before, you should apply that too smile

Offline

#6 2013-07-28 23:05:11

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: oss not compiling

Please specify LC_ALL=C to generate output in English when posting to the forums. You are more likely to get help that way as more people are likely to understand what you are seeing.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#7 2013-07-29 18:19:51

toni
Member
Registered: 2011-10-15
Posts: 437

Re: oss not compiling

cfr wrote:

Please specify LC_ALL=C to generate output in English when posting to the forums. You are more likely to get help that way as more people are likely to understand what you are seeing.

Sorry, I always post in english using the command you refer but this time I forgot... very sorry.

Offline

#8 2013-07-29 18:22:31

toni
Member
Registered: 2011-10-15
Posts: 437

Re: oss not compiling

klothius wrote:

Apply this patch -> http://www.opensound.com/forum/viewtopi … 04424f6700 or download oss-nonfree from AUR. There's a breakage for 3.11, too, but there's already a patch on oss forums, so if you plan on using it before, you should apply that too smile

I have installed oss-nonfree and now it is working with kernel 3.10.3-1-ARCH

I would like to know which is the difference between the default oss and oss-nonfree. What are the differences?

Offline

Board footer

Powered by FluxBB