Bug#518412: initramfs-tools: must support relative paths in modules.dep
On Thursday 19 March 2009, maximilian attems wrote:
> On Thu, Mar 19, 2009 at 06:43:27PM +0100, Frans Pop wrote:
> could you send the ouput of
> sh -x mkinitramfs -o /tmp/foo 2.6.26.3
Attached.
Hmmm. I wonder if it is the old m-i-t's modprobe that is the problem when
you do:
modprobe --set-version=2.6.26.3 --ignore-install --show-depends <module>
Looks like that's it:
# modprobe -V
module-init-tools version 3.4
# modprobe --set-version=2.6.26.3 --ignore-install --show-depends nfs
WARNING: Could not open 'kernel/net/sunrpc/sunrpc.ko': No such file or
directory
WARNING: Could not open 'kernel/fs/nfs_common/nfs_acl.ko': No such file or
directory
WARNING: Could not open 'kernel/fs/lockd/lockd.ko': No such file or
directory
FATAL: Could not open 'kernel/fs/nfs/nfs.ko': No such file or directory
# modprobe -V
module-init-tools version 3.7-pre9
# modprobe --set-version=2.6.26.3 --ignore-install --show-depends nfs
WARNING: All config files need .conf: /etc/modprobe.d/pnp-hotplug, it will
be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/display_class, it
will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/blacklist, it will
be ignored in a future release.
insmod /lib/modules/2.6.26.3/kernel/net/sunrpc/sunrpc.ko
insmod /lib/modules/2.6.26.3/kernel/fs/nfs_common/nfs_acl.ko
insmod /lib/modules/2.6.26.3/kernel/fs/lockd/lockd.ko
insmod /lib/modules/2.6.26.3/kernel/fs/nfs/nfs.ko
That would mean that m-i-t has created a backwards incompatibility problem
_with itself_ and that the problem actually is "installing a kernel, that
was built on a system with new m-i-t, on a system with old m-i-t".
Or, installing a kernel, built on a system running unstable or testing, on
a system running oldstable or stable. That sucks.
The next question is what to do about this? Cluebat m-i-t upstream? Maybe
it's worth taking this to debian-devel for discussion first so at least
more people are aware of the problem.
|