[SOLVED] Installation Error (No kernel modules found)

OSS specific Linux discussion (x86/amd64)

Moderators: dev, hannu, cesium

nuc
Moderator
Posts: 111
Joined: Fri Aug 03, 2012 10:20 am
Sound Card: Khadas Tone Board
OS: ArchLinux
Contact:

Re: Installation Error (No kernel modules found)

Postby nuc » Mon May 19, 2014 9:56 am

I'm so glad I could help! Your experience with oss is very similar to mine when I first installed oss :)

Yeah disabling vmix should also boost quality a bit. You could also try the Audacious player which in my opinion has got a superior oss plugin (latency is much lower, at least on my system).


[Moderation: Further discussion moved to new topic -> Bit-Perfect Audio Playback]
https://github.com/Nuc1eoN/4Front-Tech-Website

pezmarino
New Member
Posts: 7
Joined: Fri Sep 27, 2013 1:23 pm

Re: Installation Error (No kernel modules found)

Postby pezmarino » Mon Jul 14, 2014 2:22 pm

Thanks! It was useful for me too. :D

pezmarino
New Member
Posts: 7
Joined: Fri Sep 27, 2013 1:23 pm

Re: Installation Error (No kernel modules found)

Postby pezmarino » Sat Jul 19, 2014 6:27 am


exiteverything
Member
Posts: 10
Joined: Fri Aug 09, 2013 2:49 pm

Re: [SOLVED] Installation Error (No kernel modules found)

Postby exiteverything » Wed Aug 27, 2014 12:36 am

Hi,

This is what I'm getting (running 3.13 kernel / linux mint 17)

Code: Select all


OSS build environment set up for REGPARM kernels

Building module osscore
Failed to compile OSS
make -C /lib/modules/3.13.0-24-generic/build M=/usr/lib/oss/build modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'
  CC [M]  /usr/lib/oss/build/osscore.o
/usr/lib/oss/build/osscore.c: In function ‘oss_get_uid’:
/usr/lib/oss/build/osscore.c:476:3: error: incompatible types when returning type ‘kuid_t’ but ‘int’ was expected
   return current->cred->uid;
   ^
/usr/lib/oss/build/osscore.c: In function ‘alloc_fop’:
/usr/lib/oss/build/osscore.c:1002:14: warning: assignment from incompatible pointer type [enabled by default]
   fop->fsync = oss_no_fsync;
              ^
/usr/lib/oss/build/osscore.c: In function ‘oss_pci_read_devpath’:
/usr/lib/oss/build/osscore.c:1676:3: warning: return discards ‘const’ qualifier from pointer target type [enabled by default]
   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: In function ‘oss_fp_check’:
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:73:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:112:3: note: in expansion of macro ‘raw_local_save_flags’
   raw_local_save_flags(flags);  \
   ^
/usr/lib/oss/build/osscore.c:1900:3: note: in expansion of macro ‘local_save_flags’
   local_save_flags (flags_reg);
   ^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:78:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:102:7: note: in expansion of macro ‘raw_irqs_disabled_flags’
   if (raw_irqs_disabled_flags(flags)) { \
       ^
/usr/lib/oss/build/osscore.c:1902:3: note: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:68:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:103:4: note: in expansion of macro ‘raw_local_irq_restore’
    raw_local_irq_restore(flags); \
    ^
/usr/lib/oss/build/osscore.c:1902:3: note: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:68:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:107:4: note: in expansion of macro ‘raw_local_irq_restore’
    raw_local_irq_restore(flags); \
    ^
/usr/lib/oss/build/osscore.c:1902:3: note: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:73:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:112:3: note: in expansion of macro ‘raw_local_save_flags’
   raw_local_save_flags(flags);  \
   ^
/usr/lib/oss/build/osscore.c:1904:3: note: in expansion of macro ‘local_save_flags’
   local_save_flags (flags_reg);
   ^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:78:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:102:7: note: in expansion of macro ‘raw_irqs_disabled_flags’
   if (raw_irqs_disabled_flags(flags)) { \
       ^
/usr/lib/oss/build/osscore.c:1909:3: note: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:68:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:103:4: note: in expansion of macro ‘raw_local_irq_restore’
    raw_local_irq_restore(flags); \
    ^
/usr/lib/oss/build/osscore.c:1909:3: note: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:68:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:107:4: note: in expansion of macro ‘raw_local_irq_restore’
    raw_local_irq_restore(flags); \
    ^
/usr/lib/oss/build/osscore.c:1909:3: note: in expansion of macro ‘local_irq_restore’
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: warning: comparison of distinct pointer types lacks a cast [enabled by default]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:73:3: note: in expansion of macro ‘typecheck’
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:112:3: note: in expansion of macro ‘raw_local_save_flags’
   raw_local_save_flags(flags);  \
   ^
/usr/lib/oss/build/osscore.c:1911:3: note: in expansion of macro ‘local_save_flags’
   local_save_flags (flags_reg);
   ^
/usr/lib/oss/build/osscore.c: In function ‘oss_get_uid’:
/usr/lib/oss/build/osscore.c:480:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
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-headers-3.13.0-24-generic'
make: *** [default] Error 2


I applied the patch. Am I doing something wrong? Thank you

nuc
Moderator
Posts: 111
Joined: Fri Aug 03, 2012 10:20 am
Sound Card: Khadas Tone Board
OS: ArchLinux
Contact:

Re: [SOLVED] Installation Error (No kernel modules found)

Postby nuc » Wed Aug 27, 2014 1:35 am

Ah... lol why apply the linux 3.14 patch if you got linux 3.13? Makes no sense does it?

Build without the patch or use some precompiled package if available for your distro. If it's not in the repos try a .deb version from here. Choose amd64 if you've got a 64 bit system. Those are just trial versions though (1 year) so you would need to spend 10 bucks...
https://github.com/Nuc1eoN/4Front-Tech-Website

exiteverything
Member
Posts: 10
Joined: Fri Aug 09, 2013 2:49 pm

Re: [SOLVED] Installation Error (No kernel modules found)

Postby exiteverything » Wed Aug 27, 2014 2:53 am

Hmm...I assumed I need the patch because the deb version wasn't working for me. It was actually returning the same error as above.

nuc
Moderator
Posts: 111
Joined: Fri Aug 03, 2012 10:20 am
Sound Card: Khadas Tone Board
OS: ArchLinux
Contact:

Re: [SOLVED] Installation Error (No kernel modules found)

Postby nuc » Wed Aug 27, 2014 2:50 pm

Please open a new thread then, exatly stating your OS specs (32 or 64 bits).
Create a clear directory and compile OSS without the patch. Post the exact error message. The above output clearly indicates some error messages that only occur when trying to compile OSS on kernel 3.14, so don't say it's the same.
https://github.com/Nuc1eoN/4Front-Tech-Website

exiteverything
Member
Posts: 10
Joined: Fri Aug 09, 2013 2:49 pm

Re: [SOLVED] Installation Error (No kernel modules found)

Postby exiteverything » Sat Aug 30, 2014 10:35 pm

My bad...I'm running 3.13, amd64.
oss-linux-4.2-2009_amd64.deb doesn't work with it as a number of symbols changed their definitions in 3.13 kernel.
New binaries should be up on the soon, so I don't think a new thread is necessary.


Return to “Linux”

Who is online

Users browsing this forum: No registered users and 7 guests