[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#731806: debian-installer: FTBFS on sparc: genisoimage errors






On Mon, Apr 28, 2014 at 11:39 AM, Thomas Schmitt <scdbackup@gmx.net> wrote:
Hi,

sorry for mis-posting the first reply for bug 746254 to this bug 731806.

Meanwhile it turned out that the SIGBUS vanishes if i do not
compile with -O2 or if i replace "a->u =" by memcpy().

Could you explain the context around this code? Perhaps the source is not really "alignment safe" and could use some patching upstream? I'd be happy to provide advice or code samples.

 
So it seems worth to check whether genisoimage resp. strcmp() work
properly if not compiled with -O2.

--------------------------------------------------------------------

A test with Sebastiens genisoimage options succeeded without error.

  /home/thomas/xorriso-1.3.7/xorriso/xorriso -as mkisofs \
      -r -J -o test.iso -G ~/boot/isofs.b -B ... tmp-iso/miniiso/cd_tree

It looks ok, SPARC-boot-wise.

  SUN SPARC disklabel: CD-ROM Disc with Sun sparc boot created by libisofs
  SUN SPARC secs/head: 640
  SUN SPARC heads/cyl: 1
  SUN SPARC partmap  : N   IdTag   Perms    StartCyl   NumBlocks
  SUN SPARC partition: 1  0x0004  0x0010           0       16940
  SUN SPARC partition: 2  0x0002  0x0010           0       16940
  ...
  SUN SPARC partition: 8  0x0002  0x0010           0       16940

An additional option --md5 enabled confirmation that the ISO stream
of libisofs was written flawlessly by libburn into the file test.iso.

  /home/thomas/xorriso-1.3.7/xorriso/xorriso \
      -for_backup -indev test.iso -check_media --

xorriso is willing to load the ISO metadata and to compare it with
the hard disk tree.

  /home/thomas/xorriso-1.3.7/xorriso/xorriso \
      -indev test.iso -compare_r tmp-iso/miniiso/cd_tree /

It only detects the consequences of option -r with directories
(see man genisoimage / mkisofs):
Permissions are set to "r-xr-xr-x", owned by 0, group is 0.

--------------------------------------------------------------------

Have a nice day :)

Thomas


--
To UNSUBSCRIBE, email to debian-sparc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: [🔎] 18128670805771551827@scdbackup.webframe.org" target="_blank">https://lists.debian.org/[🔎] 18128670805771551827@scdbackup.webframe.org



Reply to: