Package: syslinux
Version: 2:4.05+dfsg-6+deb7u1
Severity: normal

Dear Maintainer,

When we try to build a ISO with everything needed to install Debian Edu
Jessie (we call it the usbstick ISO), isohybrid fail with an error
message:

  isohybrid:
  
/skolelinux/administrator/debmirror/builder_temp_dir/jessie-usbstick/CD/jessie-usbstick/debian-8.0+edu0~a0-amd64-i386-BD-1.iso:
  seek error - 3: Invalid argument

I tried to figure out what is wrong, and suspect the cause is that
isohybrid is built without support for large files.  This is the file in
question:

  % ls -lh debian-8.0+edu0~a0-amd64-i386-BD-1.iso 
  -rw-rw-r-- 1 builder builder 4.8G Nov 12 12:10 
debian-8.0+edu0~a0-amd64-i386-BD-1.iso
  %

We run the command like this:

  isohybrid -h 64 -s 32 debian-8.0+edu0~a0-amd64-i386-BD-1.iso

Here is the end of an strace of the failing run:

fstat64(3, {st_mode=S_IFREG|0664, st_size=5062553600, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7703000
_llseek(3, 32768, [32768], SEEK_SET)    = 0
read(3, "\1CD001\1\0                        "..., 4096) = 4096
_llseek(3, 36864, [36864], SEEK_SET)    = 0
_llseek(3, 17825792, [17825792], SEEK_SET) = 0
read(3, 
"\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\252UU\252"..., 4096) 
= 4096
_llseek(3, 18446744071796654080, 0xbfef0768, SEEK_SET) = -1 EINVAL (Invalid 
argument)
write(2, "isohybrid: ", 11isohybrid: )             = 11
write(2, "/skolelinux/administrator/debmir"..., 
142debian-8.0+edu0~a0-amd64-i386-BD-1.iso: seek error - 3) = 142
write(2, ": ", 2: )                       = 2
write(2, "Invalid argument\n", 17Invalid argument
)      = 17
_llseek(3, -2048, [17827840], SEEK_CUR) = 0
exit_group(1)                           = ?
%

The 18446744071796654080 value is 0xFFFFFFFF8DFB8000 in hex, a bit
larger than I had expected. :)

This is the end of the output from ltrace:

calloc(2048, 1)                                                   = 0x08904170
fread(0x08904170, 1, 2048, 0x8904008)                             = 2048
memcmp(0x8904170, 0x804b6ec, 71, 0xbfeb7e38, 0x8904170)           = 0
fseek(0x8904008, 0x1100000, 0, 0x8904008, 0x686f7369)             = 0
fread(0x08904170, 1, 2048, 0x8904008)                             = 2048
fseek(0x8904008, 0x8dfb8040, 0, 0x8904008, 0x686f7369)            = -1
err(1, 0x804b3f4, 0xbfeb8e04, 0x8904008, 0x686f7369isohybrid: 
debian-8.0+edu0~a0-amd64-i386-BD-1.iso: seek error - 3: Invalid argument
 <unfinished ...>
+++ exited (status 1) +++

So the failing command is a fseek on the ISO.  Do you have any idea how
we cat get isohybrid working in Wheezy?

-- System Information:
Debian Release: 7.7
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages syslinux depends on:
ii  libc6            2.13-38+deb7u6
ii  libuuid1         2.20.1-5.3
ii  syslinux-common  2:4.05+dfsg-6+deb7u1

Versions of packages syslinux recommends:
ii  mtools  4.0.17-1

Versions of packages syslinux suggests:
ii  dosfstools  3.0.13-1
ii  os-prober   1.58

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to