[Debootloaders-silo] Bug#530705: tilo: segmentation fault is the image is too big

Jérémy Buisson jeremy.buisson at st-cyr.terre-net.defense.gouv.fr
Wed May 27 06:32:01 UTC 2009


Package: silo
Version: 1.4.13a+git20070930-3
Severity: normal

Tilo fails (Segmentation fault) to build a tftp bootloader is the image
exceeds a certain size. The following session give some evidence of the
problem.

jeremy at sunny:/tmp/u$ gzip -cd /boot/vmlinuz-2.6.26-2-sparc64 > vmlinuz &&
tilo vmlinuz /boot/initrd.img-2.6.26-2-sparc64
Converting vmlinuz (sun4u) to a.out:
PT 0 Entry: Loadable to 0x400000[0x3f7020] from 0x0[0x3ac085] align 0x100000
PT 1 Entry: Note
PT 2 Entry: unknown
Compressing vmlinuz.raw:
vmlinuz.raw:     55.0%
Sizes (sun4u):
  raw size     = 3833989
  packed size  = 1725744
  root address = 00000000007f7020
Root image packed size = 6475114
WARNING: Kernel for Sun4c/m/d not specified
Images are large. Will load on machines with at least 5M mapped by PROM only
/usr/bin/tilo: line 115: 21234 Segmentation fault      `echo $0 | sed
's/tilo$/maketilo/'` $tilo_args out=$output
jeremy at sunny:/tmp/u$ ls -l vmlinuz /boot/initrd.img-2.6.26-2-sparc64
-rw-r--r-- 1 root   root   6475114 May 20 11:21
/boot/initrd.img-2.6.26-2-sparc64
-rw-r--r-- 1 jeremy jeremy 3853600 May 27 07:51 vmlinuz
jeremy at sunny:/tmp/u$ echo -n | cpio -o | gzip -9c > empty-initrd.img && tilo
vmlinuz empty-initrd.img
1 block
Converting vmlinuz (sun4u) to a.out:
PT 0 Entry: Loadable to 0x400000[0x3f7020] from 0x0[0x3ac085] align 0x100000
PT 1 Entry: Note
PT 2 Entry: unknown
Compressing vmlinuz.raw:
vmlinuz.raw:     55.0%
Sizes (sun4u):
  raw size     = 3833989
  packed size  = 1725744
  root address = 00000000007f7020
Root image packed size = 44
WARNING: Kernel for Sun4c/m/d not specified
Images are large. Will load on machines with at least 5M mapped by PROM only
TILO size = 1743200

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: sparc (sparc64)

Kernel: Linux 2.6.26-2-sparc64
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages silo depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries

silo recommends no packages.

silo suggests no packages.

-- no debconf information







More information about the Debootloaders-silo mailing list