On Wednesday 11 February 2004 03:50, A.Pearce quoth thusly:
> The modinfo command gives the following error
>
> ~ # modinfo
> Kernel requires old modinfo, but couldn't run modinfo.24: No such
> file or directory
I just tried this on my 3870 and got the same result.
> I am running
> # uname -a
> Linux familiar 2.4.19-rmk6-pxa1-hh36 #111 Sat Dec 20 16:50:56 GMT
> 2003 armv4l unknown
Me too (except my kernel is patched).
> Ipkgfind gives references to modinfo & modinfo.26
Indeed. The problem is that we have the module-init-tools package
installed, which is "module utilities for Linux kernel 2.6.x". I don't
know if this is part of the 0.7.2 install image or what. I certainly
never installed it myself. Anyway, here's how I fixed mine
# ipkg remove module-init-tools -V2
pkg_info_preinstall_check: updating arch priority for each package
pkg_info_preinstall_check: update file owner list
Removing package module-init-tools from root...
Running script /usr/lib/ipkg/info/module-init-tools.prerm
update-alternatives: Linking //sbin/insmod to /sbin/insmod.24
update-alternatives: Linking //sbin/modprobe to /sbin/modprobe.24
update-alternatives: Linking //sbin/rmmod to /sbin/rmmod.24
update-alternatives: Linking //sbin/depmod to /sbin/depmod.24
update-alternatives: removing //sbin/modinfo as no more alternatives
exist for it
update-alternatives: Linking //bin/lsmod to /bin/lsmod.24
deleting /sbin/depmod.26 (noaction=0)
deleting /sbin/modprobe.26 (noaction=0)
deleting /sbin/modinfo.26 (noaction=0)
deleting /bin/lsmod.26 (noaction=0)
deleting /sbin/insmod.26 (noaction=0)
deleting /sbin/rmmod.26 (noaction=0)
deleting /usr/sbin/generate-modprobe.conf (noaction=0)
Running script /usr/lib/ipkg/info/module-init-tools.postrm
Done.
writing status file
pkg_write_changed_filelists: saving changed filelists
creating gpe-julia2.list file
creating /usr/lib/ipkg/info/gpe-julia2.list file for pkg gpe-julia2
...etc, etc...
# ipkg install modutils -V2
pkg_info_preinstall_check: updating arch priority for each package
pkg_info_preinstall_check: update file owner list
using latest matching modutils 2.4.2-1 arm
Installing modutils (2.4.2-1) to root...
Downloading
http://familiar.handhelds.org/familiar/feeds/unstable/packages/armv4l/modutils_2.4.2-1_arm.ipk
using latest matching ksymoops 2.4.5-2 arm
package modutils suggests installing ksymoops
using latest version of installed package libc6
using latest version of installed package sysvinit
Running script /tmp/ipkg-SaeGlv/modutils-YJOC2Q/preinst
Package modutils wants to install file /sbin/insmod
But that file is already provided by package modutils
...etc, etc... Oops! need a -force-overwrite...
# ipkg install -force-overwrite modutils -V 2
pkg_info_preinstall_check: updating arch priority for each package
pkg_info_preinstall_check: update file owner list
using latest matching modutils 2.4.2-1 arm
Installing modutils (2.4.2-1) to root...
Downloading
http://familiar.handhelds.org/familiar/feeds/unstable/packages/armv4l/modutils_2.4.2-1_arm.ipk
using latest matching ksymoops 2.4.5-2 arm
package modutils suggests installing ksymoops
using latest version of installed package libc6
using latest version of installed package sysvinit
Running script /tmp/ipkg-fZmwiY/modutils-9KJiON/preinst
installing maintainer scripts
installing data files
extracting data files to /
creating modutils.list file
creating /usr/lib/ipkg/info/modutils.list file for pkg modutils
resolving conf files
Configuration file '/etc/init.d/modutils'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the D
--- /etc/init.d/modutils-ipkg.backup Mon Feb 2 00:12:04 2004
+++ /etc/init.d/modutils Wed Feb 11 10:11:05 2004
@@ -10,7 +10,7 @@
# This is to make depmod and modprobe shut up about file timestamps. --
a7r
touch /etc/modules.conf
-if [ -r /lib/modules/`uname -r`/modules.dep ]; then
+if [ -r /lib/modules/2.4.1-0.1.9smp/modules.dep ]; then
...etc, etc... I don't like the look of this
Configuration file '/etc/init.d/modutils'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the N
cleanup temp files
cleanup_temporary_files: pkg=modutils
local_filename=/tmp/ipkg-fZmwiY/modutils_2.4.2-1_arm.ipk
tmp_dir=/tmp/ipkg-fZmwiY
Done.
configuring unpacked packages
configuring modutils
Running script /usr/lib/ipkg/info/modutils.postinst
writing status file
pkg_write_changed_filelists: saving changed filelists
creating gpe-julia2.list file
creating /usr/lib/ipkg/info/gpe-julia2.list file for pkg gpe-julia2
...etc, etc...
I now have a modinfo command, but the few modules I tried it on seem to
return no information, so it maybe that it is stripped, making modinfo
effectively useless anyway.
-----------------------------
/"\
\ / ASCII Ribbon Campaign
X against HTML e-mail
/ \
Received on Tue Feb 10 2004 - 23:23:35 EST
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:14:15 EDT