[syslinux] isohybrid fails with: seek error - 3

Didier Spaier
2013-11-01T18:45:32Z

On 01/11/2013 18:40, Didier Spaier wrote:
> On 01/11/2013 05:36, Ady wrote:
>>
>>> That is with syslinux 4.05 on Slackware-14.0:
>>>
>>> bash-4.2# isohybrid  -v /tmp/slint64-13.3720131030-dvd.iso
>>> catalogue offset: 561
>>> ve[0]: 1, cs: 1
>>> ve[1]: 0, cs: 1
>>> ve[2]: 0, cs: 1
>>> ve[3]: 0, cs: 1
>>> ve[4]: 0, cs: 1
>>> ve[5]: 0, cs: 1
>>> ve[6]: 0, cs: 1
>>> ve[7]: 0, cs: 1
>>> ve[8]: 0, cs: 1
>>> ve[9]: 0, cs: 1
>>> ve[10]: 0, cs: 1
>>> ve[11]: 0, cs: 1
>>> ve[12]: 0, cs: 1
>>> ve[13]: 0, cs: 1
>>> ve[14]: 21930, cs: 21931
>>> ve[15]: 43605, cs: 65536
>>> de_boot: 136
>>> de_media: 0
>>> de_seg: 0
>>> de_sys: 0
>>> de_mbz1: 0
>>> de_count: 4
>>> de_lba: 1206548
>>> de_mbz2: 0
>>> isohybrid: /tmp/slint64-13.3720131030-dvd.iso: seek error - 3:
Invalid argument
>>>
>>> in ishybrid.c I see:
>>>
>>>       if (fseek(fp, (de_lba * 2048 + 0x40), SEEK_SET))
>>>           err(1, "%s: seek error - 3", argv[0]);
>>>
>>> Dose that mean that value of de_lba is not acceptable?
>>>
>>> ISO image weighs 2471561216 bytes according to "ls -l"
and 1206548 * 2048 + 64 = 2471010368 that's all I can see...
>>>
>>> What should I do to investigate further?
>>>
>>> TIA for any clue,
>>>
>>> Didier
>>
>> Perhaps you could try using cdrtools 3.01a17 and Syslinux 4.06 from
>> "Slackware -current"? Or even Syslinux 4.07 official archive?
I don't
>> really know if it would actually make any difference for you, but
>> there were patches related to isohybrid introduced after Syslinux
>> 4.05.
>>
>> Or, wait for someone else to provide some other, more specific
>> suggestion.
>
>
> Just running isohybrid on Slackware-current on the ISO image built on
Slackware-14.0 did the trick, thanks Ady!
>
> I just feel a little bit ashamed not to have tried that before posting ;)
>
> Best regards
>
> Didier

Well, I thought all was well but...

After running isohybrid  -u and burning the image on an USB stick with dd, I
couldn't boot from it.

One laptop just hung , the other briefly displayed "isolinux.bin missing or
corrupt", that didn't work either in a UEFI enabled VM on vmplayer (I
ran isohybrid -u).

As I saw in "Changes in 4.07":
"ISOLINUX: fix bug triggered by isohybrid images larger than 32K which
results in an invalid image checksum error"

I built a Slackware package for 4.07, upgrading fro 4.05, ran isohybrid on a
copy of the ISO image and got again
"seek error - 3: Invalid argument"

Just wondering: is it possible that the bug correction made in 4.06 wasn't
ported to 4.07?

Or should I upgrade another component?