Re: 2.4.19pre8aa2

From: Keith Owens (
Date: Sun May 05 2002 - 03:16:56 EST

On Sun, 05 May 2002 18:04:41 +1000,
Keith Owens <> wrote:
>On Sun, 05 May 2002 17:40:56 +1000,
>Eyal Lebedinsky <> wrote:
>>You are right, it is not the unresolved that caused it but the non
>>ELF objects in there (it used not to care before):
>># /sbin/depmod-2.4.15 -ae ; echo $?
>>depmod: /lib/modules/2.4.19-pre8-aa2/ksyms is not an ELF file
>>depmod: /lib/modules/2.4.19-pre8-aa2/soundconf is not an ELF file
>All versions of depmod for 2.4 have always returned errors for invalid
>objects in /lib/modules, that check has not changed since modutils
>2.4.0. modutils has not changed, somebody is storing extra text files
>in /lib/modules without telling modutils. Don't do that.

My apologies, this is an unexpected side effect of a change in modutils
2.4.13. Christian Lademann asked that depmod do as much work as
possible instead of exiting early. That meant checking the error count
at the end of depmod and giving a non-zero return if any errors were
detected. depmod before 2.4.13 ignored the return code from the
loadobj() function, with the 2.4.13 change the ignored error flag was
being used.

I will revert to ignoring the loadobj() return code for error purposes
in modutils 2.4.17. The behavior is wrong but it is what people

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Tue May 07 2002 - 22:00:23 EST