Package: lcrash
Version: 7.0.0.pre.cvs.20050322-2

Hello,

trying to load a dump saved via savedump (dumputils 0.4-3) into lcrash
fails:

[EMAIL PROTECTED]:~# lcrash -m /boot/System.map-2.4.27 -d 
/var/log/dump/1/dump.1 -t /boot/Kerntypes-2.4.27 -g all
...
        Setting up for dump access...__cmploadindex(): cannot open()
index file [2]: No such file or directory!
cmppindexcreate(): Number of pages in dump: 261977
cmppindexcreate(): Dump page size in dump: 4096
__cmppindexcreate(): lseek() to page location failed!
 Failed.

The dump was created uncompressed and with DUMP_LEVEL=8 for a 2.4.27
i386.
As far as I understand the lcrash code, a new index is tried to create
(most likely because of the uncompressedness of the dump).

[EMAIL PROTECTED]:~# ll /var/log/dump/1/dump.1
-rw-r--r--  1 root root 1077310864 Apr  9 03:13 /var/log/dump/1/dump.1
[EMAIL PROTECTED]:~# bc
261977 * 4096
1073057792

The dump file seems to be big enough according to pages and page size.
The dump was also written successfully according to savedump output:

Sat Apr  9 03:12:59 2005: Configuring for 2.4 based kernel
Sat Apr  9 03:12:59 2005: /usr/sbin/configdump: successful dump configuration
Sat Apr  9 03:12:59 2005: Saving system crash dump (if necessary)...
Sat Apr  9 03:12:59 2005: Copying dump...
Sat Apr  9 03:13:02 2005: 
--->10%--->20%--->30%--->40%--->50%--->60%--->70%--->80%--->90%--->100%
Sat Apr  9 03:14:01 2005:
Sat Apr  9 03:14:01 2005: Successfully wrote dump
Sat Apr  9 03:14:01 2005: Couldn't open /boot/System.map
Sat Apr  9 03:14:01 2005: Successfully wrote System.map

However, I'm not sure, if I'm doing something wrong :) So if you think
I do, please tell me :)


Thanks for your work & regards
   Mario
-- 
Whenever you design a better fool-proof software,
the genetic pool will always design a better fool.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to