Thread: depmod reports "Can't read module" ... "Exec format error"
hi guys,
have many hosts still running 9.10 (2.6.31-22-generic x86_64). 1 host suffered corrupted hard drive after power outage. after fscking drive, saw lot of errors depmod:
warning: can't read module /lib/modules/... exec format error
segmentation fault
fearing worst reformatted , reinstalled machine (still 64-bit 9.10). still see error, after fresh install.
i'm not talking modules installed dkms or custom-compiled modules either, i'm talking modules part of linux-image-2.6.31-22-generic package.
have ideas?
not sure why modules became corrupt during fresh install (perhaps sign of dying hdd...) following command fixed me right up:
sudo apt-get --reinstall install linux-image-2.6.31-22-generic
or, if want more generic solution:
sudo apt-get --reinstall install linux-image-$(uname -r)
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] depmod reports "Can't read module" ... "Exec format error"
Ubuntu
Comments
Post a Comment