Skip to contentSkip to conversation

insmod modules -> kernel panic:

parisc-linux Bruno Vidal 2 participants 4 messages Oct 23, 2002

lore
Share & tools
lore
#0 lore raw

Hi
I'm preparing a patche for the dump driver.
So I'm testing it. But when using insmod dump_rle (it is a module to use rle compression while dumping) It panics immediatly, it don't even start the initialisation.

By using insmod -m I have:

Using /lib/modules/2.4.19-pa22/kernel/drivers/dump/dump_rle.o r_info 0x29 not handled
r_info 0x29 not handled
r_info 0x29 not handled
r_info 0x29 not handled

Sections:       Size      Address   Align
.this           000000b8  000d3000  2**3
.text           00000000  000d30b8  2**0
.text.dump_compress_rle 000002f8  000d30b8  2**3
.text.dump_compress_rle_init 00000038  000d33b0  2**3
.text.dump_compress_rle_cleanup 00000028  000d33e8  2**3
.stub           00000020  000d3410  2**4
.PARISC.unwind  00000030  000d3430  2**2
.kstrtab        000000b4  000d3460  2**0
.kmodtab        00000018  000d3518  2**3
__ksymtab       00000040  000d3530  2**3
__archdata      00000028  000d3570  2**4
.got            00000018  000d3598  2**3
.data           00000020  000d35b0  2**3
.opd            00000060  000d35d0  2**4
.bss            00000000  000d3630  2**0

Symbols:
000d3000 d __this_module
000d3000 D __insmod_dump_rle_O/lib/modules/2.4.19-pa22/kernel/drivers/dump/dump_rle.o_M3DB56146_V132115 000d30b8 t .text.dump_compress_rle
000d30b8 t dump_compress_rle
000d30b8 t .text
000d33b0 t .text.dump_compress_rle_init
000d33b0 T dump_compress_rle_init
000d33b0 t init_module
000d33e8 t cleanup_module
000d33e8 T dump_compress_rle_cleanup
000d33e8 t .text.dump_compress_rle_cleanup
000d3430 r .PARISC.unwind -> PANIC !!!!

Any idea, any suggestion to have more debug ?
Where this .PARISC.unwind comes from ??? It is not in my code.

thanks.

Signature · 3 lines
	Vidal Bruno, (770-4271)
        SSD-HA Team, HP-UX & LINUX Support
	[email protected]

begin:vcard
n:Bruno;VIDAL
tel;fax:01-69-82-60-14
tel;work:01-69-29-42-71
x-mozilla-html:TRUE
url:www.france.hp.com
org:Solution Center
version:2.1
email;internet:[email protected]
title:Expert Logiciel Environnement Haute Disponibilité
adr;quoted-printable:;;HP France=0D=0A;Z.A de Courtaboeuf;1 Av. du Canada;91947 Les Ulis cedex;France x-mozilla-cpt:;26208
fn:VIDAL Bruno
end:vcard

#1 lore raw

hi
It seems to be a weird problem. I've recompile everything
(make clean && make dep && make vmlinux && make modules && make modules_install) And:
-A-class: 64bits compilation, it panic, but not at the same place than before:

# insmod -m dump_rle
.
.
.
Symbols:
000d3000 D __insmod_dump_rle_O/lib/modules/2.4.19-pa22/kernel/drivers/dump/dump_rle.o_M3DB6A52E_V132115
000d3000 d __this_module
000d30b8 t .text.dump_compress_rle
000d30b8 t dump_compress_rle
000d30b8 t .text
000d33b0 t .text.dump_compress_rle_init
000d33b0 T dump_compress_rle_init
000d33b0 t init_module
000d3400 t cleanup_module
000d3400 T dump_compress_rle_cleanup
000d3400 t .text.dump_compress_rle_cleanup
000d3460 r .PARISC.unwind
000d3490 r .rodata
000d3490 r .LC5
000d3490 R __insmod_dump_rle_S.rodata_L20
000d3630 D __insmod_dump_rle_S.data_L32
000d3630 d dump_rle_compression
000d3630 d .data
000d36b0 d .bss -> it panic here

-712: works fine !!!!!

I'll try to install the latest 64 bit compiler....

Signature · 3 lines
	Vidal Bruno, (770-4271)
        SSD-HA Team, HP-UX & LINUX Support
	[email protected]

begin:vcard
n:Bruno;VIDAL
tel;fax:01-69-82-60-14
tel;work:01-69-29-42-71
x-mozilla-html:TRUE
url:www.france.hp.com
org:Solution Center
version:2.1
email;internet:[email protected]
title:Expert Logiciel Environnement Haute Disponibilité
adr;quoted-printable:;;HP France=0D=0A;Z.A de Courtaboeuf;1 Av. du Canada;91947 Les Ulis cedex;France x-mozilla-cpt:;26208
fn:VIDAL Bruno
end:vcard

#2 lore raw

In reference to a message from Bruno Vidal, dated Oct 23:

Quoted 5 lines

hi
It seems to be a weird problem. I've recompile everything
(make clean && make dep && make vmlinux && make modules && make modules_install) And:
-A-class: 64bits compilation, it panic, but not at the same place than before:

Hi Bruno,

We seem to be having some general problems with insmod causing random crashes. I would suggest that you stick with building things into the kernel instead of modules for a little while until we figure out the insmod problem.

randolph

Signature · 3 lines
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
#3 lore raw

Thanks.
I've already noted that when building in the kernel it was running fine. About this insmod panic it is a bit strange, because, on the A class, it is completly crashed after that. I have to power off/on.

bye.

Signature · 3 lines
	Vidal Bruno, (770-4271)
        SSD-HA Team, HP-UX & LINUX Support
	[email protected]

begin:vcard
n:Bruno;VIDAL
tel;fax:01-69-82-60-14
tel;work:01-69-29-42-71
x-mozilla-html:TRUE
url:www.france.hp.com
org:Solution Center
version:2.1
email;internet:[email protected]
title:Expert Logiciel Environnement Haute Disponibilité
adr;quoted-printable:;;HP France=0D=0A;Z.A de Courtaboeuf;1 Av. du Canada;91947 Les Ulis cedex;France x-mozilla-cpt:;26208
fn:VIDAL Bruno
end:vcard