Re: Problem using mondoarchive on Ubuntu 16.04

"Gattegno, Victor" <[email protected]>
Newsgroups gmane.linux.mondo.devel
Message-ID <CS1PR84MB01817F93FC486D4892E11A5387980@CS1PR84MB0181.NAMPRD84.PROD.OUTLOOK.COM>
Oups, no more BOOT_SIZE in your mindi version.

So try to increase EXTRA_SPACE parameter in /etc/mindi/mindi.conf file:
EXTRA_SPACE=160304
or:
EXTRA_SPACE=240000

Rgds, Victor

-----Original Message-----
From: Gattegno, Victor 
Sent: lundi 12 décembre 2016 15:42
To: Mondo mailing list <[email protected]>
Subject: RE: [Mondo-devel] Problem using mondoarchive on Ubuntu 16.04

Hi Dave,

You can try to increase these parameters in /etc/mindi/mindi.conf file (or in /usr/sbin/mindi shell-script) and run mondoarchive again:

BOOT_SIZE=262144
EXTRA_SPACE=160304

Rgds,
Victor

-----Original Message-----
From: David C. Partridge [mailto:[email protected]] 
Sent: dimanche 11 décembre 2016 17:10
To: 'Mondo mailing list' <[email protected]>
Subject: Re: [Mondo-devel] Problem using mondoarchive on Ubuntu 16.04

I modified the configure script at line 3100 to set PACKAGE='mondorescue' so that it could find its files where the normal installation put them.

I then rebuilt it again, and ran under valgrind.

I attach the valgrind log, and also the mondoarchive.log which shows it
running out of room on the loopback device or RAM disk it created :(    So
even if it hadn't done an illegal free(), it would still have failed ...

If the attachments are rejected, please let me know where to upload them.

Dave

-----Original Message-----
From: David C. Partridge [mailto:[email protected]]
Sent: 11 December 2016 15:02
To: 'Mondo mailing list'
Subject: Re: [Mondo-devel] Problem using mondoarchive on Ubuntu 16.04

Does this help:

Starting program:
/home/amonra/Downloads/MondoRescue/mondo-3.2.2/src/mondoarchive/mondoarchive

[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Inferior 1 (process 548) exited with code 0177] Starting program:
/home/amonra/Downloads/MondoRescue/mondo-3.2.2/src/mondoarchive/mondoarchive

[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGABRT, Aborted.
0x00007ffff760f428 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
54	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
Undefined command: "stack".  Try "help".
#0  0x00007ffff760f428 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff761102a in __GI_abort () at abort.c:89
#2  0x00007ffff76517ea in __libc_message (do_abort=do_abort@entry=2,
fmt=fmt@entry=0x7ffff776a2e0 "*** Error in `%s': %s: 0x%s ***\n") at
../sysdeps/posix/libc_fatal.c:175
#3  0x00007ffff7659e0a in malloc_printerr (ar_ptr=<optimised out>, ptr=<optimised out>, str=0x7ffff776a3a8 "double free or corruption (fasttop)", action=3) at malloc.c:5004
#4  _int_free (av=<optimised out>, p=<optimised out>, have_lock=0) at
malloc.c:3865
#5  0x00007ffff765d98c in __GI___libc_free (mem=<optimised out>) at
malloc.c:2966
#6  0x0000000000438444 in mr_free_int
(allocated=allocated@entry=0x7fffffffc3e8, line=line@entry=2393,
file=file@entry=0x43d877 "libmondo-devices.c") at mr_mem.c:35
#7  0x000000000041350c in interactively_obtain_media_parameters_from_user
(archiving_to_media=archiving_to_media@entry=1) at libmondo-devices.c:2393
#8  0x000000000040340f in main (argc=1, argv=0x7fffffffe598) at
mondoarchive.c:336

-----Original Message-----
From: David C. Partridge [mailto:[email protected]]
Sent: 11 December 2016 13:48
To: 'Mondo mailing list'
Subject: Re: [Mondo-devel] Problem using mondoarchive on Ubuntu 16.04

Ok let me ask what may be a better question:

 What should I do now to get you the information you need to debug this.

Dave

-----Original Message-----
From: David C. Partridge [mailto:[email protected]]
Sent: 10 December 2016 11:50
To: [email protected]
Subject: [Mondo-devel] Problem using mondoarchive on Ubuntu 16.04

I'm trying to use Mondo Rescue for the first time.

I'm trying to write the backup to an iSCSI attached LTO-2 tape drive at
/dev/st0

I let the block size default to 32768 and immediately got a SIGABRT :(

DBG2: [Main] libmondo-tools.c->setup_tmpdir#705: Purging old tmpdir /tmp/mondo.tmp.DcO7AM
DBG2: [Main] libmondo-tools.c->setup_tmpdir#740: bkpinfo->tmpdir is being set to /tmp/mondo.tmp.KEtKDh
DBG2: [Main] libmondo-tools.c->setup_scratchdir#756: Purging old scratchdir /tmp/mondo.scratch.O9bCzi
DBG2: [Main] libmondo-tools.c->setup_scratchdir#769: Created scratch directory /shared
DBG2: [Main] libmondo-tools.c->setup_scratchdir#784: bkpinfo->scratchdir is being set to /shared/mondo.scratch.u9dPLg
DBG3: [Main]
libmondo-devices.c->interactively_obtain_media_parameters_from_user#2212:
media type = tape
INFO:  
INFO: running: ls -l /dev/st0 >
/tmp/mondo.tmp.KEtKDh/mondo-run-prog-thing.tmp 2> /tmp/mondo.tmp.KEtKDh/mondo-run-prog-thing.err
INFO: --------------------------------start of
output-----------------------------
INFO: crw-rw---- 1 root tape 9, 0 Dec 10 11:22 /dev/st0
INFO: --------------------------------end of
output------------------------------
INFO: ...ran just fine. :-)
INFO: SIGABRT signal received from OS
INFO: Abort - probably failed assertion. I'm sleeping for a few seconds so you can read the message.
DBG1: [Main] ../common/newt-specific.c->fatal_error#304: Fatal error received - 'MondoRescue is terminating in response to a signal from the OS'
DBG3: [Main] ../common/newt-specific.c->fatal_error#320: OK, I think I'm the main PID.
DBG2: [Main] ../common/newt-specific.c->fatal_error#327: I'm going to do some cleaning up now.
DBG4: [Main] ../common/newt-specific.c->fatal_error#328: killall mindi 2> /dev/null

What am I doing wrong?
Thanks
Dave


----------------------------------------------------------------------------
--
Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi _______________________________________________
Mondo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mondo-devel


----------------------------------------------------------------------------
--
Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi _______________________________________________
Mondo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mondo-devel


----------------------------------------------------------------------------
--
Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi _______________________________________________
Mondo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mondo-devel

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.