Skip to contentSkip to conversation

Announce: modutils 2.4.9 is available

DISCUSSION Keith Owens 4 participants 5 messages Sep 25, 2001 – Sep 26, 2001

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Content-Type: text/plain; charset=us-ascii

ftp://ftp.<country>.kernel.org/pub/linux/utils/kernel/modutils/v2.4

modutils-2.4.9.tar.gz           Source tarball, includes RPM spec file
modutils-2.4.9-1.src.rpm        As above, in SRPM format
modutils-2.4.9-1.i386.rpm       Compiled with gcc 2.96 20000731,
				glibc 2.2.2.
modutils-2.4.9-1.ia64.rpm       Compiled with gcc 2.96-ia64-20000731,
				glibc-2.2.3.

patch-modutils-2.4.9.gz Patch from modutils 2.4.8 to 2.4.9.

Related kernel patches.

patch-2.4.2-persistent.gz Adds persistent data and generic string
support to kernel 2.4.2 onwards. Optional.

Changelog extract

* Update to latest config.guess/sub from ftp.gnu.org:/pub/gnu/config.
* Add sh (super-h) support from Niibe Yutaka.
* IEEE1394 support by Kristian Hogsberg, cleaned up by KAO.
* Add support for Alpha GPREL16, GPRELHIGH, GPRELLOW relocs. Fix short data section allocation order for Alpha and IA-64. Don't relocate non-allocated sections. Richard Henderson.
* Mark the kernel as tainted for non-GPL modules or insmod -f.

That last addition goes with the MODULE_LICENSE patch from Alan Cox and my patch for /proc/sys/kernel/tainted, mailed to linux-kernel on September 25, 07:00 GMT. If /proc/sys/kernel/tainted exists and you load a module with no license you will get a warning and the kernel will be tainted, expect a lot of warnings until AC has all modules patched. Even if /proc/sys/kernel/tainted does not exist, loading a module that has MODULE_LICENSE other than GPL or using insmod -f will result in a warning.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: Exmh version 2.1.1 10/15/1999

iD8DBQE7sDbFi4UHNye0ZOoRAqVVAKC3W5oq/RGiLbIUCbq2/w7jxMepagCfZclF RSchf8gvfuTJXRhfHg0I5q0=
=F3yN
-----END PGP SIGNATURE-----

#1 lore raw

I just built and installed modutils-2.4.9.

Building vanilla 2.4.10, while doing 'make modules_install':

cd /lib/modules/2.4.10; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map 2.4.10; fi
depmod: Unexpected value (20) in '/lib/modules/2.4.10/kernel/drivers/ieee1394/sbp2.o' for ieee1394_device_size
It is likely that the kernel structure has changed, if so then you probably need a new version of modutils to handle this
kernel.
Check linux/Documentation/Changes.
make: *** [_modinst_post] Error 255

I can reproduce it with a simple

# depmod -V -ae -F System.map 2.4.10
depmod version 2.4.9
depmod: Unexpected value (20) in
'/lib/modules/2.4.10/kernel/drivers/ieee1394/sbp2.o' for
ieee1394_device_size
        It is likely that the kernel structure has changed, if so then
        you probably need a new version of modutils to handle this
kernel.
        Check linux/Documentation/Changes.

It always mentions the same module.

--
Eyal Lebedinsky ([email protected]) <http://samba.anu.edu.au/eyal/>

#2 lore raw
Quoted 7 lines · Eyal Lebedinsky

I just built and installed modutils-2.4.9.
depmod: Unexpected value (20) in '/lib/modules/2.4.10/kernel/drivers/ieee1394/sbp2.o' for ieee1394_device_size
It is likely that the kernel structure has changed, if so then you probably need a new version of modutils to handle this
kernel.

struct ieee1394_device_id in the kernel does not match the layout in the modutils ieee1394 patch from Kristian Hogsberg. Kristian's patch to me had an extra field at the end. I suggest adding

	void *driver_data;

to the end of struct ieee1394_device_id in
drivers/ieee1394/ieee1394_hotplug.h.

Index: 10.1/drivers/ieee1394/ieee1394_hotplug.h

drivers/ieee1394/ieee1394_hotplug.h Wed, 26 Sep 2001 12:32:33 +1000 kaos (linux-2.4/Q/e/44_ieee1394_h 1.1 644) renamed from drivers/ieee1394/ieee1394_hotplug.h Mon, 13 Aug 2001 14:14:10 +1000 kaos (linux-2.4/Q/e/44_ieee1394_h 1.1 644) +1 -0
@@ -14,6 +14,7 @@ struct ieee1394_device_id {
 	u32 model_id;
 	u32 sw_specifier_id;
 	u32 sw_specifier_version;
+	void *driver_data;
 };
 
 #define IEEE1394_PROTOCOL(id, version) {				       \
#3 lore raw
In reply to Eyal Lebedinsky
Quoted 9 lines · Keith Owens
Quoted 7 lines · Eyal Lebedinsky

I just built and installed modutils-2.4.9.
depmod: Unexpected value (20) in '/lib/modules/2.4.10/kernel/drivers/ieee1394/sbp2.o' for ieee1394_device_size
It is likely that the kernel structure has changed, if so then you probably need a new version of modutils to handle this
kernel.

Kernel 2.4.9/2.4.10 do not contain the latest changes to the ieee1394 tree. I've been trying to push the patches to Linus, but he is real busy, so it may take some time. Maybe 2.4.11 :)

Signature · 4 lines
 .----------=======-=-======-=========-----------=====------------=-=-----.
/                   Ben Collins    --    Debian GNU/Linux                  \
`  [email protected]  --  [email protected]  --  [email protected]  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'
#4 lore raw
In reply to Eyal Lebedinsky
Quoted 11 lines · Ben Collins
Quoted 9 lines · Keith Owens
Quoted 7 lines · Eyal Lebedinsky

I just built and installed modutils-2.4.9.
depmod: Unexpected value (20) in '/lib/modules/2.4.10/kernel/drivers/ieee1394/sbp2.o' for ieee1394_device_size
It is likely that the kernel structure has changed, if so then you probably need a new version of modutils to handle this
kernel.

Quoted 3 lines

Kernel 2.4.9/2.4.10 do not contain the latest changes to the ieee1394 tree. I've been trying to push the patches to Linus, but he is real busy, so it may take some time. Maybe 2.4.11 :)

Yes, when I sent the patch to modutils, I expected the latest cvs changes to make it into 2.4.10. Hopefully they will be in 2.4.11.

Kristian