0

The system debian wheezy, platform ci20, stock imagination kernel 3.0.8.

the output of lsmod lists only one module, pvrsrvkm, which is the "out of tree graphics driver" by imagination.

The problem is I need to load another module (xpad) but it is not found (FATAL: Module xpad not found, as far as I know it is a stock kernel module, widely available. Modprobe doesn't work either, and I mean I cant seem to be able to load any module with it at all, like there is no extra modules available.

The question is why there is no modules available, not just that particular one and how do I proceed?

Thanks in advance.

  • Give some details, please. What kernel are you using? What kernel related packages do you have installed? And most importantly, what kernel module are you trying to load? Presumably it is not actually called xyz. try dpkg -S module_name in the first instance. Does that give anything? – Faheem Mitha Mar 15 '15 at 14:38
  • The module I am trying to load is xpad (supposed to be a built-in kernel driver bundled with most distributions), the output of uname -r is 3.0.8-123453-gb3bae40, the result of the suggested command dpkg -S xpad is dpkg-query: no path found matching pattern xpad. About the kernel related packages I do not know what kind of packages might that be and I did not install any kernel related packages anyways. – soocki Mar 15 '15 at 17:56
  • 1
    Your setup may be non-standard. Perhaps the modules are in a separate package, or maybe (unlikely) they are compiled into the kernel. – Faheem Mitha Mar 15 '15 at 18:58
  • 1
    If your distro doesn't include some drivers due to space limitations, you can conceivably compile from source. github.com/MIPS/CI20_linux/blob/ci20-v3.0.8/drivers/input/… – Mark Plotnick Mar 15 '15 at 20:58
  • 1
    My guess is that, in order to keep the filesystem image size down (according to elinux.org/CI20_Distros, it's around 1GB), a number of packages and a number of kernel modules were not built. – Mark Plotnick Mar 15 '15 at 21:27
0

There's so little detail here at the moment so we're just taking a stab in the dark at the moment.

Reason why there could be only one kernel module present is that it's the only one needed, most driver requirements have been compiled as into the kernel not as loadable kernel modules, loading of many kernel modules have been blacklisted (for various reasons. I've used this technique to avoid instability issues with some drivers, conflicts with others, and so on...), or your system has been compromised (explains the funny business all round. There could be deleted files anywhere/everywhere...).

Possibilities as to why module isn't found include it hasn't been compiled (but that doesn't sound right as you seem to be using a stock kernel which should mean that there are many modules available), your system has been compromised (explains the funny business all round. There could be deleted files anywhere/everywhere...), or it hasn't been installed (assuming that it is not a core kernel module and is from a third party).

  • All I can add is that I did not modify the system too much since I got it, I would not know how to anyway, I am just confused since there is no available modules AT ALL so I wonder why would it be and how to proceed in such a case. thanks anyhow. – soocki Mar 15 '15 at 17:58
  • Maybe I mislead you. When I say 'stock imagination kernel' I mean it is imagination's kernel so it differs a fair bit from the stock debian kernel. That seems to be an issue anyway in this case, modules are not there since they were not included at the kernel's compile time. Other than than that good tips, thank you. – soocki Mar 16 '15 at 10:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.