Re: Announce: modutils 2.4.9 is available

Keith Owens (kaos@ocs.com.au)
Wed, 26 Sep 2001 12:33:18 +1000


On Wed, 26 Sep 2001 11:30:11 +1000,
Eyal Lebedinsky <eyal@eyal.emu.id.au> wrote:
>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
--- 10.1/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)
+++ 10.1(w)/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)
@@ -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) { \

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/