Skip to content
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

Open
thesecmaestro opened this issue Dec 22, 2014 · 6 comments
Open

Comments

@thesecmaestro
Copy link


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

@srguiwiz
Copy link
Owner

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.

@srguiwiz
Copy link
Owner

When from command line running

iso-info -i ~/Downloads/kali-linux-1.0.9a-amd64.iso -l

instead of

iso-info --no-joliet -i ~/Downloads/kali-linux-1.0.9a-amd64.iso -l

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.

@thesecmaestro
Copy link
Author

Thanks for providing the option in cloneWithAUtoBootingKickstart.
Unfortunately for me, iso-info v0.92 still fails on the kali iso, even with the no-joliet flag set.

root@kali109dev ~/Downloads$ sha1sum ./kali-linux-1.0.9a-amd64.iso
2744d50f56c3d6332bc75e676f36aad3058d0aad ./kali-linux-1.0.9a-amd64.iso
root@kali109dev ~/Downloads$ 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 ~/Downloads$ iso-info --no-joliet -i ~/Downloads/kali-linux-1.0.9a-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.9a-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 Oct 02 2014 04:31:40 .
dr-xr-xr-x 1 0 0 [LSN 35] 4096 Oct 02 2014 04:31:40 ..
dr-xr-xr-x 1 0 0 [LSN 38] 2048 Oct 02 2014 04:29:16 .disk
-r--r--r-- 1 0 0 [LSN 1458273] 25 Oct 02 2014 04:30:13 autorun.inf
dr-xr-xr-x 1 0 0 [LSN 39] 2048 Oct 02 2014 04:31:00 boot
lr-xr-xr-x 1 0 0 [LSN 1229] 1 Oct 02 2014 04:27:27 debian -> .
dr-xr-xr-x 1 0 0 [LSN 40] 2048 Oct 02 2014 04:27:27 dists
dr-xr-xr-x 1 0 0 [LSN 50] 8192 Oct 02 2014 04:27:02 firmware
-r--r--r-- 1 0 0 [LSN 1456571] 159564 Oct 02 2014 04:30:13 g2ldr
-r--r--r-- 1 0 0 [LSN 1456649] 8192 Oct 02 2014 04:30:13 g2ldr.mbr
dr-xr-xr-x 1 0 0 [LSN 55] 2048 Oct 02 2014 04:29:59 install
dr-xr-xr-x 1 0 0 [LSN 57] 2048 Oct 02 2014 04:30:43 isolinux
dr-xr-xr-x 1 0 0 [LSN 58] 2048 Oct 02 2014 04:28:45 live
-r--r--r-- 1 0 0 [LSN 1458275] 38714 Oct 02 2014 04:31:40 md5sum.txt
dr-xr-xr-x 1 0 0 [LSN 59] 2048 Oct 02 2014 04:27:20 pool
-r--r--r-- 1 0 0 [LSN 1455026] 366293 Oct 02 2014 04:30:13 setup.exe
dr-xr-xr-x 1 0 0 [LSN 333] 2048 Oct 02 2014 04:29:30 tools
-r--r--r-- 1 0 0 [LSN 1458274] 228 Oct 02 2014 04:30:13 win32-loader.ini

/.disk/:
dr-xr-xr-x 1 0 0 [LSN 38] 2048 Oct 02 2014 04:29:16 .
dr-xr-xr-x 1 0 0 [LSN 35] 4096 Oct 02 2014 04:31:40 ..
-r--r--r-- 1 0 0 [LSN 1458202] 1 Oct 02 2014 04:29:16 archive_trace
-r--r--r-- 1 0 0 [LSN 1458203] 5 Oct 02 2014 04:29:16 base_components
-r--r--r-- 1 0 0 [LSN 1229] 0 Oct 02 2014 04:29:16 base_installable
-r--r--r-- 1 0 0 [LSN 1458204] 5 Oct 02 2014 04:29:16 cd_type
-r--r--r-- 1 0 0 [LSN 1458205] 89 Oct 02 2014 04:29:16 info
-r--r--r-- 1 0 0 [LSN 1458206] 49 Oct 02 2014 04:29:16 udeb_include

/boot/:
dr-xr-xr-x 1 0 0 [LSN 39] 2048 Oct 02 2014 04:31:00 .
dr-xr-xr-x 1 0 0 [LSN 35] 4096 Oct 02 2014 04:31:40 ..
-r--r--r-- 1 0 0 [LSN 1405718] 64913408 Oct 02 2014 04:30:45 efi.img

/dists/:
dr-xr-xr-x 1 0 0 [LSN 40] 2048 Oct 02 2014 04:27:27 .
dr-xr-xr-x 1 0 0 [LSN 35] 4096 Oct 02 2014 04:31:40 ..
dr-xr-xr-x 1 0 0 [LSN 41] 2048 Oct 02 2014 04:27:27 kali
lr-xr-xr-x 1 0 0 [LSN 1229] 4 Oct 02 2014 04:27:27 stable -> kali
lr-xr-xr-x 1 0 0 [LSN 1229] 4 Oct 02 2014 04:27:27 testing -> kali
lr-xr-xr-x 1 0 0 [LSN 1229] 4 Oct 02 2014 04:27:27 unstable -> kali

/dists/kali/:
dr-xr-xr-x 1 0 0 [LSN 41] 2048 Oct 02 2014 04:27:27 .
dr-xr-xr-x 1 0 0 [LSN 40] 2048 Oct 02 2014 04:27:27 ..
dr-xr-xr-x 1 0 0 [LSN 42] 2048 Oct 02 2014 04:26:58 contrib
dr-xr-xr-x 1 0 0 [LSN 44] 2048 Oct 02 2014 04:27:27 main
dr-xr-xr-x 1 0 0 [LSN 48] 2048 Oct 02 2014 04:27:01 non-free
-r--r--r-- 1 0 0 [LSN 1339741] 5807 Oct 02 2014 04:27:27 Release

/dists/kali/contrib/:
dr-xr-xr-x 1 0 0 [LSN 42] 2048 Oct 02 2014 04:26:58 .
dr-xr-xr-x 1 0 0 [LSN 41] 2048 Oct 02 2014 04:27:27 ..
dr-xr-xr-x 1 0 0 [LSN 43] 2048 Oct 02 2014 04:26:58 binary-amd64

/dists/kali/contrib/binary-amd64/:
dr-xr-xr-x 1 0 0 [LSN 43] 2048 Oct 02 2014 04:26:58 .
dr-xr-xr-x 1 0 0 [LSN 42] 2048 Oct 02 2014 04:26:58 ..
-r--r--r-- 1 0 0 [LSN 1388193] 1300 Oct 02 2014 04:26:58 Packages
-r--r--r-- 1 0 0 [LSN 1388194] 772 Oct 02 2014 04:26:58 Packages.gz
-r--r--r-- 1 0 0 [LSN 1366660] 110 Mar 08 2013 06:22:12 Release

/dists/kali/main/:
dr-xr-xr-x 1 0 0 [LSN 44] 2048 Oct 02 2014 04:27:27 .
dr-xr-xr-x 1 0 0 [LSN 41] 2048 Oct 02 2014 04:27:27 ..
dr-xr-xr-x 1 0 0 [LSN 45] 2048 Oct 02 2014 04:27:01 binary-amd64
dr-xr-xr-x 1 0 0 [LSN 46] 2048 Oct 02 2014 04:27:27 debian-installer

/dists/kali/main/binary-amd64/:
dr-xr-xr-x 1 0 0 [LSN 45] 2048 Oct 02 2014 04:27:01 .
dr-xr-xr-x 1 0 0 [LSN 44] 2048 Oct 02 2014 04:27:27 ..
-r--r--r-- 1 0 0 [LSN 1339744] 151893 Oct 02 2014 04:27:01 Packages
-r--r--r-- 1 0 0 [LSN 1339819] 53975 Oct 02 2014 04:27:01 Packages.gz
-r--r--r-- 1 0 0 [LSN 1366661] 107 Mar 08 2013 06:22:07 Release

/dists/kali/main/debian-installer/:
dr-xr-xr-x 1 0 0 [LSN 46] 2048 Oct 02 2014 04:27:27 .
dr-xr-xr-x 1 0 0 [LSN 44] 2048 Oct 02 2014 04:27:27 ..
dr-xr-xr-x 1 0 0 [LSN 47] 2048 Oct 02 2014 04:27:27 binary-amd64

/dists/kali/main/debian-installer/binary-amd64/:
dr-xr-xr-x 1 0 0 [LSN 47] 2048 Oct 02 2014 04:27:27 .
dr-xr-xr-x 1 0 0 [LSN 46] 2048 Oct 02 2014 04:27:27 ..
-r--r--r-- 1 0 0 [LSN 1388729] 189255 Oct 02 2014 04:27:27 Packages
-r--r--r-- 1 0 0 [LSN 1388822] 62805 Oct 02 2014 04:27:27 Packages.gz

/dists/kali/non-free/:
dr-xr-xr-x 1 0 0 [LSN 48] 2048 Oct 02 2014 04:27:01 .
dr-xr-xr-x 1 0 0 [LSN 41] 2048 Oct 02 2014 04:27:27 ..
dr-xr-xr-x 1 0 0 [LSN 49] 2048 Oct 02 2014 04:27:01 binary-amd64

/dists/kali/non-free/binary-amd64/:
dr-xr-xr-x 1 0 0 [LSN 49] 2048 Oct 02 2014 04:27:01 .
dr-xr-xr-x 1 0 0 [LSN 48] 2048 Oct 02 2014 04:27:01 ..
-r--r--r-- 1 0 0 [LSN 1388195] 55057 Oct 02 2014 04:27:01 Packages
-r--r--r-- 1 0 0 [LSN 1388222] 13384 Oct 02 2014 04:27:01 Packages.gz
-r--r--r-- 1 0 0 [LSN 1366662] 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 Oct 02 2014 04:27:02 .
dr-xr-xr-x 1 0 0 [LSN 35] 4096 Oct 02 2014 04:31:40 ..
lr-xr-xr-x 1 0 0 [LSN 1229] 73 Oct 02 2014 04:27:01 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 1229] 62 Oct 02 2014 04:27:01 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 1229] 62 Oct 02 2014 04:27:01 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 1229] 61 Oct 02 2014 04:27:01 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 1229] 65 Oct 02 2014 04:27:01 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 1229] 63 Oct 02 2014 04:27:01 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 1229] 62 Oct 02 2014 04:27:01 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 1229] 67 Oct 02 2014 04:27:01 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 1229] 68 Oct 02 2014 04:27:01 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 1229] 65 Oct 02 2014 04:27:01 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 1229] 62 Oct 02 2014 04:27:01 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 1229] 65 Oct 02 2014 04:27:01 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 1229] 66 Oct 02 2014 04:27:01 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 1229] 63 Oct 02 2014 04:27:02 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 1229] 60 Oct 02 2014 04:27:01 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 1229] 71 Oct 02 2014 04:27:01 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 1229] 65 Oct 02 2014 04:27:01 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 1229] 64 Oct 02 2014 04:27:01 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 1229] 64 Oct 02 2014 04:27:01 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 1229] 64 Oct 02 2014 04:27:01 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 1229] 65 Oct 02 2014 04:27:01 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 1229] 65 Oct 02 2014 04:27:01 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 1229] 73 Oct 02 2014 04:27:01 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 1229] 73 Oct 02 2014 04:27:01 intel-microcode_1.20140624.1_amd64.deb -> ../pool/non-free/i/intel-microcode/intel-microcode_1.20140624.1_amd64.deb
[1] 10001 segmentation fault iso-info --no-joliet -i ~/Downloads/kali-linux-1.0.9a-amd64.iso -l


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
command:
iso-read
arguments:
-i
/root/Downloads/kali-linux-1.0.9-amd64.iso
-e
live/filesystem.squashfs
-o
/root/vmware/examples/example171/made-to-order-os-install.iso.tmpdir/live/filesystem.squashfs
stderr:
Error reading ISO 9660 file at lsn 18446744073708579831

returncode: 4
Traceback (most recent call last):
File "./make-an-kali-vm-003.py", line 96, in
ignoreJoliet=False)
File "/usr/local/lib/python2.7/dist-packages/nrvr/distros/common/kickstart.py", line 102, in cloneWithAutoBootingKickstart
ignoreJoliet=ignoreJoliet)
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 167, in copyToDirectory
raise Exception("too many ({0} of {1}) failures reading {2}".format(readFailureCount, readAttemptCount, self._isoImagePath))
Exception: too many (1 of 403) failures reading /root/Downloads/kali-linux-1.0.9-amd64.iso

@srguiwiz
Copy link
Owner

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

iso-info -i ~/Downloads/kali-linux-1.0.9a-amd64.iso -l

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.

@srguiwiz
Copy link
Owner

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

iso-read -i ~/Downloads/kali-linux-1.0.9a-amd64.iso -e live/filesystem.squashfs -o ~/Downloads/filesystem.squashfs

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

@srguiwiz
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants