Skip to contentSkip to conversation

mod -s <module> not working with compressed modules

crash - Question Dave Anderson 1 participant 1 message Apr 24, 2020 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

----- Original Message ----

Quoted 5 lines

Hi

I observed that loading module symbols from a compressed ko.xz ( crash 7.2.3-10.el7 ) does not work,
and the desired module has to be un-compressed . Does anyone know if there is a recent patch that addresses this ?

Nope.

Quoted 18 lines

Example:

Modules are located at the mod path :

crash -s find kernel-uek-debuginfo-4.14.35-1902.302.1.01.el7uek.rc1 -name vmlinux vmcore --mod ./kernel-uek-4.14.35-1902.302.1.01.tst17059_u3.el7uek.rc1/lib/modules/4.14.35-1902.302.1.01.el7uek.rc1.x86_64/kernel/

crash> mod -S
mod: cannot find or load object file for usb_storage module
mod: cannot find or load object file for dca module
mod: cannot find or load object file for fb_sys_fops module
mod: cannot find or load object file for uas module
MODULE NAME SIZE OBJECT FILE
ffffffffc07400c0 qla2xxx 794624
./kernel-uek-4.14.35-1902.302.1.01.el7uek.rc1/lib/modules/4.14.35-1902.302.1.01.el7uek.rc1.x86_64/kernel/drivers/scsi/qla2xxx/qla2xxx.ko

Quoted 1 line

I un-compressed qla2xxx.ko.xz so it was found.

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec