I'm trying to get lcrash to work on Alpha, and I'm having some trouble with it
segfaulting. It appears that the page allocation is failing, and I'm not sure
exactly why. I do get a lot of warnings in alloc.c ("warning: cast from pointer
to integer of different size"), but since this is for hash functions I'm not
sure that matters (?)
gdb traceback:
(gdb) where
#0 0x12001b110 in enqueue (list=0x1202fc188, new=0x20300000) at alloc.c:56
#1 0x12001c130 in get_page (index=4) at alloc.c:435
#2 0x12001caac in alloc_block (size=80, flag=2, ra=0x1e) at alloc.c:692
#3 0x1200038c8 in kl_block_alloc_func (size=80, flag=2, ra=0x1e) at util.c:279
#4 0x12002be4c in _kl_alloc_block (size=80, flags=2, ra=0x1e) at kl_alloc.c:22
#5 0x120003d6c in register_cmds (cmds=0x120144a70) at command.c:17
#6 0x120002b20 in main (argc=3, argv=0x11ffffba8) at main.c:200
When starting lcrash, I do get the "Please wait..." before the segfault.
I am running my lcrash executable with "./lcrash /var/log/vmdump/map.0
/var/log/vmdump/vmdump.0", where the files were generated by a previous crash.
Is it OK to test this way? Crashing the system and rebooting takes about 20
minutes. I am assuming the vmdump.0 is valid data, it is about the right size,
and the header info is correct. map.0 looks good.
--
http://www.bigfoot.com/~brihall
Linux Consultant
|