-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cloneIsoImagePath fails with a iso-info (v 0.92) coredump on kali #5
Comments
Looks like an iso-info problem. To help out (maybe try an option such as --no-xa which is a wild guess) I'm downloading it but says 9 hours remaining. Will be awhile. Look at man iso-info for options. Maybe despite being Linux someone when building that .iso chose Joliet instead of Rock Ridge. Would be weird, but should check. Try other options from command line. If found one that doesn't crash, then we can talk about invoking it from NrvrCommander. At first you can rig your copy of source. Have spent time before debugging and submitting bug fixes to libcdio (home of iso-info). If command line options don't do the trick, feel free to do the same. Would also suggest checking whether other softwares are able to read directories and files from that specific .iso. Maybe it has bad info in its data structures. |
When from command line running
instead of
then there is no crash. Apparently that .iso has been made with a Joliet file system. Just now made commit 00f23e0 "Offer ignoreJoliet at DistroIsoImage". If you pull from the repo (remember to run install) then you can for the call to cloneWithAutoBootingKickstart add optional parameter ignoreJoliet=False and should be fine. Please report back whether that fixed the problem. |
Thanks for providing the option in cloneWithAUtoBootingKickstart. root@kali109dev ~/Downloads$ sha1sum ./kali-linux-1.0.9a-amd64.iso ISO 9660 image: /root/Downloads/kali-linux-1.0.9a-amd64.iso ISO-9660 Information /.disk/: /boot/: /dists/: /dists/kali/: /dists/kali/contrib/: /dists/kali/contrib/binary-amd64/: /dists/kali/main/: /dists/kali/main/binary-amd64/: /dists/kali/main/debian-installer/: /dists/kali/main/debian-installer/binary-amd64/: /dists/kali/non-free/: /dists/kali/non-free/binary-amd64/: ++ WARN: from_733: broken byte order While running it through cloneWithAutoBootingKickstart with the no-joliet flag set, interestingly I now get a different error, now with iso-read: copying files from /root/Downloads/kali-linux-1.0.9-amd64.iso, this may take a few minutes returncode: 4 |
iso-info is working fine if you as I have pointed out DON'T use the --no-joliet option. Your post saying it is still broken still does use --no-joliet. Do this
and you'll be fine. Also, what is that 100 you're having at end of line? Now for the iso-read, I've seen that before. Sometimes a challenge dealing with reading .iso files via libcdio. This one is unusual because I believe to remember normally Linux uses Rock Ridge format instead of Windows using Joliet. Defaults in NrvrCommander so far have been coded for Linux to use Rock Ridge. I'd have to do some thinking (remembering from a year or two ago) to figure whether there is a way to find settings that work for this .iso. Heading out for a while, won't look at this rest of day. |
that filesystem.squashfs is larger 2GB (about 2.7GB) and looks like iso-read chokes on that for the record, the command line to reproduce the defect is
i have fixed other integer overflow bugs in libcdio but don't see having time to do it soon, so i make no prediction about when or if i can report a defect at libcdio, to get it noted |
Reported at https://savannah.gnu.org/bugs/index.php?43878 |
Base OS: kali-1.0.9
Guest OS: kali-1.0.9a
root@kali109dev ~/kali-distro/vmware/nrvr-commander-master/dev/greynet$ uname -arp
Linux kali109dev 3.14-kali1-amd64 #1 SMP Debian 3.14.5-1kali1 (2014-06-07) x86_64 GNU/Linux
I compiled iso-info from source (v 0.92) per instructions. I am succesfully able to run make-an-el-vm-001.py and create VM, but when trying to create a VM based from the latest Kali iso image, the iso-info dumps core
root@kali109dev ~/kali-distro/vmware/nrvr-commander-master/dev/greynet$ python ./make-an-kali-vm-003.py
found commands:
/bin/umount
/usr/bin/genisoimage
/usr/bin/vmware-vdiskmanager
/usr/local/bin/iso-read
/bin/mount
/usr/local/bin/iso-info
/usr/bin/vmrun
/sbin/ifconfig
/usr/bin/ssh
/usr/bin/ssh-keygen
/usr/bin/scp
copying files from /root/Downloads/kali-linux-1.0.9-amd64.iso, this may take a few minutes
Traceback (most recent call last):
File "./make-an-kali-vm-003.py", line 95, in
cloneIsoImagePath=os.path.join(exampleVm.directory, "made-to-order-os-install.iso"))
File "/usr/local/lib/python2.7/dist-packages/nrvr/distros/common/kickstart.py", line 100, in cloneWithAutoBootingKickstart
cloneIsoImagePath=cloneIsoImagePath)
File "/usr/local/lib/python2.7/dist-packages/nrvr/diskimage/isoimage.py", line 206, in cloneWithModifications
self.copyToDirectory(temporaryAssemblyDirectory, udf=udf, ignoreJoliet=ignoreJoliet)
File "/usr/local/lib/python2.7/dist-packages/nrvr/diskimage/isoimage.py", line 114, in copyToDirectory
isoInfoL = CommandCapture(isoInfoLArgs, copyToStdio=False)
File "/usr/local/lib/python2.7/dist-packages/nrvr/process/commandcapture.py", line 265, in init
self.raiseExceptionIfThereIsAReason()
File "/usr/local/lib/python2.7/dist-packages/nrvr/process/commandcapture.py", line 287, in raiseExceptionIfThereIsAReason
raise CommandCaptureException(exceptionMessage)
nrvr.process.commandcapture.CommandCaptureException: command:
iso-info
arguments:
--no-joliet
-i
/root/Downloads/kali-linux-1.0.9-amd64.iso
-l
returncode: -11
Details from OS / iso-info
root@kali109dev ~/kali-distro/vmware/nrvr-commander-master/dev/greynet$ iso-info -V
iso-info version 0.92 x86_64-unknown-linux-gnu
Copyright (c) 2003-2005, 2007-2008, 2011-2013 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Have driver: GNU/Linux ioctl and MMC driver
Have driver: cdrdao (TOC) disk image driver
Have driver: bin/cuesheet disk image driver
Have driver: Nero NRG disk image driver
Default CD-ROM device: /dev/cdrom
root@kali109dev ~/kali-distro/vmware/nrvr-commander-master/dev/greynet$ iso-info --no-joliet -i /root/Downloads/kali-linux-1.0.9-amd64.iso -l 100 ↵
iso-info version 0.92 x86_64-unknown-linux-gnu
Copyright (c) 2003-2005, 2007-2008, 2011-2013 R. Bernstein
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
ISO 9660 image: /root/Downloads/kali-linux-1.0.9-amd64.iso
Application : KALI LINUX
Preparer : LIVE-BUILD 3.0.5-1; HTTP://PACKAGES.QA.DEBIAN.ORG/LIVE-BUILD
Publisher : KALI
Volume : Kali Live
No Joliet extensions
ISO-9660 Information
/:
dr-xr-xr-x 1 0 0 [LSN 35] 4096 Aug 22 2014 08:35:40 .
dr-xr-xr-x 1 0 0 [LSN 35] 4096 Aug 22 2014 08:35:40 ..
dr-xr-xr-x 1 0 0 [LSN 38] 2048 Aug 22 2014 08:33:22 .disk
-r--r--r-- 1 0 0 [LSN 62969] 25 Aug 22 2014 08:34:16 autorun.inf
dr-xr-xr-x 1 0 0 [LSN 39] 2048 Aug 22 2014 08:34:56 boot
lr-xr-xr-x 1 0 0 [LSN 1195] 1 Aug 22 2014 08:29:54 debian -> .
dr-xr-xr-x 1 0 0 [LSN 40] 2048 Aug 22 2014 08:29:54 dists
dr-xr-xr-x 1 0 0 [LSN 50] 8192 Aug 22 2014 08:29:32 firmware
-r--r--r-- 1 0 0 [LSN 62708] 159564 Aug 22 2014 08:34:16 g2ldr
-r--r--r-- 1 0 0 [LSN 62786] 8192 Aug 22 2014 08:34:16 g2ldr.mbr
dr-xr-xr-x 1 0 0 [LSN 55] 2048 Aug 22 2014 08:34:02 install
dr-xr-xr-x 1 0 0 [LSN 57] 2048 Aug 22 2014 08:34:41 isolinux
dr-xr-xr-x 1 0 0 [LSN 58] 2048 Aug 22 2014 08:32:50 live
-r--r--r-- 1 0 0 [LSN 62971] 36789 Aug 22 2014 08:35:40 md5sum.txt
dr-xr-xr-x 1 0 0 [LSN 59] 2048 Aug 22 2014 08:29:47 pool
-r--r--r-- 1 0 0 [LSN 62790] 366293 Aug 22 2014 08:34:16 setup.exe
dr-xr-xr-x 1 0 0 [LSN 324] 2048 Aug 22 2014 08:33:36 tools
-r--r--r-- 1 0 0 [LSN 62970] 228 Aug 22 2014 08:34:16 win32-loader.ini
/.disk/:
dr-xr-xr-x 1 0 0 [LSN 38] 2048 Aug 22 2014 08:33:22 .
dr-xr-xr-x 1 0 0 [LSN 35] 4096 Aug 22 2014 08:35:40 ..
-r--r--r-- 1 0 0 [LSN 62666] 1 Aug 22 2014 08:33:22 archive_trace
-r--r--r-- 1 0 0 [LSN 62667] 5 Aug 22 2014 08:33:22 base_components
-r--r--r-- 1 0 0 [LSN 1195] 0 Aug 22 2014 08:33:22 base_installable
-r--r--r-- 1 0 0 [LSN 62668] 5 Aug 22 2014 08:33:22 cd_type
-r--r--r-- 1 0 0 [LSN 62669] 89 Aug 22 2014 08:33:22 info
-r--r--r-- 1 0 0 [LSN 62670] 49 Aug 22 2014 08:33:22 udeb_include
/boot/:
dr-xr-xr-x 1 0 0 [LSN 39] 2048 Aug 22 2014 08:34:56 .
dr-xr-xr-x 1 0 0 [LSN 35] 4096 Aug 22 2014 08:35:40 ..
-r--r--r-- 1 0 0 [LSN 1414981] 64913408 Aug 22 2014 08:34:43 efi.img
/dists/:
dr-xr-xr-x 1 0 0 [LSN 40] 2048 Aug 22 2014 08:29:54 .
dr-xr-xr-x 1 0 0 [LSN 35] 4096 Aug 22 2014 08:35:40 ..
dr-xr-xr-x 1 0 0 [LSN 41] 2048 Aug 22 2014 08:29:54 kali
lr-xr-xr-x 1 0 0 [LSN 1195] 4 Aug 22 2014 08:29:54 stable -> kali
lr-xr-xr-x 1 0 0 [LSN 1195] 4 Aug 22 2014 08:29:54 testing -> kali
lr-xr-xr-x 1 0 0 [LSN 1195] 4 Aug 22 2014 08:29:54 unstable -> kali
/dists/kali/:
dr-xr-xr-x 1 0 0 [LSN 41] 2048 Aug 22 2014 08:29:54 .
dr-xr-xr-x 1 0 0 [LSN 40] 2048 Aug 22 2014 08:29:54 ..
dr-xr-xr-x 1 0 0 [LSN 42] 2048 Aug 22 2014 08:29:29 contrib
dr-xr-xr-x 1 0 0 [LSN 44] 2048 Aug 22 2014 08:29:53 main
dr-xr-xr-x 1 0 0 [LSN 48] 2048 Aug 22 2014 08:29:31 non-free
-r--r--r-- 1 0 0 [LSN 53267] 5807 Aug 22 2014 08:29:54 Release
/dists/kali/contrib/:
dr-xr-xr-x 1 0 0 [LSN 42] 2048 Aug 22 2014 08:29:29 .
dr-xr-xr-x 1 0 0 [LSN 41] 2048 Aug 22 2014 08:29:54 ..
dr-xr-xr-x 1 0 0 [LSN 43] 2048 Aug 22 2014 08:29:29 binary-amd64
/dists/kali/contrib/binary-amd64/:
dr-xr-xr-x 1 0 0 [LSN 43] 2048 Aug 22 2014 08:29:29 .
dr-xr-xr-x 1 0 0 [LSN 42] 2048 Aug 22 2014 08:29:29 ..
-r--r--r-- 1 0 0 [LSN 53270] 1300 Aug 22 2014 08:29:29 Packages
-r--r--r-- 1 0 0 [LSN 53271] 772 Aug 22 2014 08:29:29 Packages.gz
-r--r--r-- 1 0 0 [LSN 1414978] 110 Mar 08 2013 06:22:12 Release
/dists/kali/main/:
dr-xr-xr-x 1 0 0 [LSN 44] 2048 Aug 22 2014 08:29:53 .
dr-xr-xr-x 1 0 0 [LSN 41] 2048 Aug 22 2014 08:29:54 ..
dr-xr-xr-x 1 0 0 [LSN 45] 2048 Aug 22 2014 08:29:31 binary-amd64
dr-xr-xr-x 1 0 0 [LSN 46] 2048 Aug 22 2014 08:29:53 debian-installer
/dists/kali/main/binary-amd64/:
dr-xr-xr-x 1 0 0 [LSN 45] 2048 Aug 22 2014 08:29:31 .
dr-xr-xr-x 1 0 0 [LSN 44] 2048 Aug 22 2014 08:29:53 ..
-r--r--r-- 1 0 0 [LSN 53272] 127760 Aug 22 2014 08:29:31 Packages
-r--r--r-- 1 0 0 [LSN 53335] 46087 Aug 22 2014 08:29:31 Packages.gz
-r--r--r-- 1 0 0 [LSN 1414979] 107 Mar 08 2013 06:22:07 Release
/dists/kali/main/debian-installer/:
dr-xr-xr-x 1 0 0 [LSN 46] 2048 Aug 22 2014 08:29:53 .
dr-xr-xr-x 1 0 0 [LSN 44] 2048 Aug 22 2014 08:29:53 ..
dr-xr-xr-x 1 0 0 [LSN 47] 2048 Aug 22 2014 08:29:53 binary-amd64
/dists/kali/main/debian-installer/binary-amd64/:
dr-xr-xr-x 1 0 0 [LSN 47] 2048 Aug 22 2014 08:29:53 .
dr-xr-xr-x 1 0 0 [LSN 46] 2048 Aug 22 2014 08:29:53 ..
-r--r--r-- 1 0 0 [LSN 53434] 189255 Aug 22 2014 08:29:53 Packages
-r--r--r-- 1 0 0 [LSN 53527] 62805 Aug 22 2014 08:29:53 Packages.gz
/dists/kali/non-free/:
dr-xr-xr-x 1 0 0 [LSN 48] 2048 Aug 22 2014 08:29:31 .
dr-xr-xr-x 1 0 0 [LSN 41] 2048 Aug 22 2014 08:29:54 ..
dr-xr-xr-x 1 0 0 [LSN 49] 2048 Aug 22 2014 08:29:32 binary-amd64
/dists/kali/non-free/binary-amd64/:
dr-xr-xr-x 1 0 0 [LSN 49] 2048 Aug 22 2014 08:29:32 .
dr-xr-xr-x 1 0 0 [LSN 48] 2048 Aug 22 2014 08:29:31 ..
-r--r--r-- 1 0 0 [LSN 53358] 55057 Aug 22 2014 08:29:32 Packages
-r--r--r-- 1 0 0 [LSN 53385] 13384 Aug 22 2014 08:29:32 Packages.gz
-r--r--r-- 1 0 0 [LSN 1414980] 111 Mar 08 2013 06:22:12 Release
++ WARN: from_733: broken byte order
++ WARN: from_733: broken byte order
/firmware/:
dr-xr-xr-x 1 0 0 [LSN 50] 8192 Aug 22 2014 08:29:32 .
dr-xr-xr-x 1 0 0 [LSN 35] 4096 Aug 22 2014 08:35:40 ..
lr-xr-xr-x 1 0 0 [LSN 1195] 73 Aug 22 2014 08:29:32 amd64-microcode_1.20120910-2_amd64.deb -> ../pool/non-free/a/amd64-microcode/amd64-microcode_1.20120910-2_amd64.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 62 Aug 22 2014 08:29:32 atmel-firmware_1.3-4_all.deb -> ../pool/non-free/a/atmel-firmware/atmel-firmware_1.3-4_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 62 Aug 22 2014 08:29:32 bluez-firmware_1.2-3_all.deb -> ../pool/non-free/b/bluez-firmware/bluez-firmware_1.2-3_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 61 Aug 22 2014 08:29:32 firmware-adi_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-adi_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 65 Aug 22 2014 08:29:32 firmware-atheros_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-atheros_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 63 Aug 22 2014 08:29:32 firmware-bnx2x_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-bnx2x_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 62 Aug 22 2014 08:29:32 firmware-bnx2_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-bnx2_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 67 Aug 22 2014 08:29:32 firmware-brcm80211_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-brcm80211_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 68 Aug 22 2014 08:29:32 firmware-intelwimax_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-intelwimax_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 65 Aug 22 2014 08:29:32 firmware-ipw2x00_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-ipw2x00_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 62 Aug 22 2014 08:29:32 firmware-ivtv_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-ivtv_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 65 Aug 22 2014 08:29:32 firmware-iwlwifi_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-iwlwifi_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 66 Aug 22 2014 08:29:32 firmware-libertas_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-libertas_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 63 Aug 22 2014 08:29:32 firmware-linux_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-linux_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 60 Aug 22 2014 08:29:32 firmware-linux-free_3.3_all.deb -> ../pool/main/f/firmware-free/firmware-linux-free_3.3_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 71 Aug 22 2014 08:29:32 firmware-linux-nonfree_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-linux-nonfree_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 65 Aug 22 2014 08:29:32 firmware-myricom_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-myricom_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 64 Aug 22 2014 08:29:32 firmware-netxen_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-netxen_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 64 Aug 22 2014 08:29:32 firmware-qlogic_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-qlogic_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 64 Aug 22 2014 08:29:32 firmware-ralink_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-ralink_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 65 Aug 22 2014 08:29:32 firmware-realtek_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-realtek_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 65 Aug 22 2014 08:29:32 firmware-samsung_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-samsung_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 73 Aug 22 2014 08:29:32 firmware-ti-connectivity_0.43_all.deb -> ../pool/non-free/f/firmware-nonfree/firmware-ti-connectivity_0.43_all.deb
lr-xr-xr-x 1 0 0 [LSN 1195] 73 Aug 22 2014 08:29:32 intel-microcode_1.20140624.1_amd64.deb -> ../pool/non-free/i/intel-microcode/intel-microcode_1.20140624.1_amd64.deb
[1] 19845 segmentation fault iso-info --no-joliet -i /root/Downloads/kali-linux-1.0.9-amd64.iso -l
The text was updated successfully, but these errors were encountered: