Mailinglist Archive: opensuse (1194 mails)

< Previous Next >
Re: [opensuse] Recovered 10.3 system with 11.2 recovery disk, now get -> modprobe: FATAL: Could not load /lib/modules/2.6.31.5-0.1
  • From: Anders Johansson <ajh@xxxxxxxx>
  • Date: Sun, 03 Jan 2010 14:27:27 +0100
  • Message-id: <1262525247.24130.57.camel@xxxxxxxxxxxxx>
On Sun, 2010-01-03 at 12:46 +0100, Carlos E. R. wrote:
Ah! There is an "/etc/depmod.conf" file, look in there.

No, there you can only override the search order of the directories
inside the kernel directory.

The path of the kernel directory is basedir/versiondir/. You can change
the basedir with the -d parameter to modprobe (it is /lib/modules by
default), and you can change the versiondir with the -S parameter (or by
replacing uname, the default is the output of 'uname -r')

Or you can recompile module-init-tools. But you can't change the
defaults with a config file.

Incidentally, the post-build-checks package does install its own uname
script, which can be configured to return a different output than the
currently running kernel, with a config file /.kernelversion, but even
that wouldn't confuse modprobe, since it uses the uname syscall, not the
executable

Anders

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups