[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: depmod error reading ELF header



i just tried to make the modules by hand and then install them with
'make modules_install' (instead of using make-kpkg) and none of the
*_MODULES files were copied to /lib/modules/2.x.x. make-kpkg
explicitly copies these files to that directory (look in
/usr/lib/kernel-package/rules). i suspect the new depmod tests to see
if all the files in the modules subdirectories are elf objects and, if
they are not, crashes. it could be a bug in depmod, it should skip
non-elf objects, but then the *_MODULES files are not supposed to be
there in the first place. it's hard to say whose bug this really is,
but i think i would go with make-kpgp (don't copy extra files where
they are not supposed to be in the first place just to be cute). so,
indeed, removing all the *_MODULES (including the one in misc) gets
depmod working again.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: