oneiric install fails with dpkg segv

Bug #867981 reported by Tom Gall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Image Tools
Won't Fix
Undecided
Unassigned

Bug Description

installing using the current bzr from source on natty 386.

root@pluto:~# ~tgall/bzr/linaro-image-tools/linaro-media-create --dev beagle --mmc /dev/sdc --rootfs ext4 --hwpack ~tgall/Downloads/hwpack_linaro-omap3_20111003-0_armel_supported.tar.gz --binary ~tgall/Downloads/developer-o-1004.tar.gz

I see...
Device Mount point Size
/dev/sda none 152627MB
/dev/sda1 / 151612MB
/dev/sda2 none 1013MB
/dev/sda5 none 1013MB
/dev/sdb none 0MB
/dev/sdc none 7580MB
/dev/sdc1 /media/boot 51MB
/dev/sdc2 /media/rootfs 7528MB
Are you 100% sure, on selecting [/dev/sdc] (y/n)? y
------------------------------------------------------------
Installing (linaro-hwpack-install) hwpack_linaro-omap3_20111003-0_armel_supported.tar.gz in target rootfs.
Unpacking hardware pack ...Done
Updating apt package lists ...
Ign file: ./ InRelease
Ign file: ./ Release.gpg
Ign file: ./ Release
Ign file: ./ Translation-en
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://ports.ubuntu.com oneiric InRelease
Ign http://ports.ubuntu.com oneiric-security InRelease
Ign http://ports.ubuntu.com oneiric-updates InRelease
Ign http://ports.ubuntu.com oneiric-security InRelease
Ign http://ports.ubuntu.com oneiric InRelease
Hit http://ppa.launchpad.net oneiric Release.gpg
Ign http://ports.ubuntu.com oneiric-updates InRelease
Get:1 http://ports.ubuntu.com oneiric Release.gpg [198 B]
Get:2 http://ppa.launchpad.net oneiric Release.gpg [316 B]
Hit http://ports.ubuntu.com oneiric-security Release.gpg
Hit http://ports.ubuntu.com oneiric-updates Release.gpg
Get:3 http://ports.ubuntu.com oneiric-security Release.gpg [198 B]
Get:4 http://ports.ubuntu.com oneiric Release.gpg [198 B]
Get:5 http://ports.ubuntu.com oneiric-updates Release.gpg [198 B]
Hit http://ppa.launchpad.net oneiric Release
Get:6 http://ports.ubuntu.com oneiric Release [39.8 kB]
Get:7 http://ppa.launchpad.net oneiric Release [9759 B]
Hit http://ports.ubuntu.com oneiric-security Release
Hit http://ports.ubuntu.com oneiric-updates Release
Get:8 http://ports.ubuntu.com oneiric-security Release [23.2 kB]
Get:9 http://ports.ubuntu.com oneiric Release [39.8 kB]
Hit http://ppa.launchpad.net oneiric/main armel Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Get:10 http://ports.ubuntu.com oneiric-updates Release [23.2 kB]
Get:11 http://ports.ubuntu.com oneiric/main armel Packages [1213 kB]
Ign http://ppa.launchpad.net oneiric/main Translation-en
Get:12 http://ppa.launchpad.net oneiric/main armel Packages [54.0 kB]
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Ign http://ppa.launchpad.net oneiric/main Translation-en
Get:13 http://ports.ubuntu.com oneiric/universe armel Packages [4350 kB]
Ign http://ports.ubuntu.com oneiric/main TranslationIndex
Ign http://ports.ubuntu.com oneiric/universe TranslationIndex
Hit http://ports.ubuntu.com oneiric-security/main armel Packages
Hit http://ports.ubuntu.com oneiric-security/universe armel Packages
Ign http://ports.ubuntu.com oneiric-security/main TranslationIndex
Ign http://ports.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://ports.ubuntu.com oneiric-updates/main armel Packages
Hit http://ports.ubuntu.com oneiric-updates/universe armel Packages
Ign http://ports.ubuntu.com oneiric-updates/main TranslationIndex
Ign http://ports.ubuntu.com oneiric-updates/universe TranslationIndex
Get:14 http://ports.ubuntu.com oneiric-security/main armel Packages [14 B]
Get:15 http://ports.ubuntu.com oneiric-security/universe armel Packages [14 B]
Ign http://ports.ubuntu.com oneiric-security/main TranslationIndex
Ign http://ports.ubuntu.com oneiric-security/universe TranslationIndex
Get:16 http://ports.ubuntu.com oneiric/main armel Packages [1213 kB]
Get:17 http://ports.ubuntu.com oneiric/universe armel Packages [4350 kB]
Ign http://ports.ubuntu.com oneiric/main TranslationIndex
Ign http://ports.ubuntu.com oneiric/universe TranslationIndex
Get:18 http://ports.ubuntu.com oneiric-updates/main armel Packages [14 B]
Get:19 http://ports.ubuntu.com oneiric-updates/universe armel Packages [14 B]
Ign http://ports.ubuntu.com oneiric-updates/main TranslationIndex
Ign http://ports.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://ports.ubuntu.com oneiric/main Translation-en
Get:20 http://ports.ubuntu.com oneiric/universe Translation-en [3165 kB]
Get:21 http://ports.ubuntu.com oneiric/main Translation-en [699 kB]
Get:22 http://ports.ubuntu.com oneiric/universe Translation-en [3165 kB]
Ign http://ports.ubuntu.com oneiric-security/main Translation-en
Ign http://ports.ubuntu.com oneiric-security/universe Translation-en
Ign http://ports.ubuntu.com oneiric-updates/main Translation-en
Ign http://ports.ubuntu.com oneiric-updates/universe Translation-en
Ign http://ports.ubuntu.com oneiric-security/main Translation-en
Ign http://ports.ubuntu.com oneiric-security/universe Translation-en
Ign http://ports.ubuntu.com oneiric-updates/main Translation-en
Ign http://ports.ubuntu.com oneiric-updates/universe Translation-en
Fetched 18.3 MB in 3min 28s (87.9 kB/s)
Reading package lists...
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  hwpack-linaro-omap3 linux-firmware linux-image-3.0.0-1007-linaro-omap
  linux-image-linaro-omap u-boot-tools uboot-mkimage
The following packages will be upgraded:
  devio flash-kernel wireless-crda
3 upgraded, 6 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/27.6 MB of archives.
After this operation, 348 kB disk space will be freed.
WARNING: The following packages cannot be authenticated!
  wireless-crda linux-image-3.0.0-1007-linaro-omap devio flash-kernel
  linux-firmware linux-image-linaro-omap hwpack-linaro-omap3 u-boot-tools
  uboot-mkimage
Install these packages without verification [y/N]? y
Can not write log, openpty() failed (/dev/pts not mounted?)
(Reading database ... 80%E: Sub-process /usr/bin/dpkg received a segmentation fault.
Cleaning up ...Done
proc umounted
Traceback (most recent call last):
  File "/home/tgall/bzr/linaro-image-tools/linaro-media-create", line 156, in <module>
    verified_files, *hwpacks)
  File "/home/tgall/bzr/linaro-image-tools/linaro_image_tools/media_create/chroot_utils.py", line 64, in install_hwpacks
    install_hwpack(chroot_dir, hwpack_file, hwpack_force_yes or hwpack_verified)
  File "/home/tgall/bzr/linaro-image-tools/linaro_image_tools/media_create/chroot_utils.py", line 85, in install_hwpack
    cmd_runner.run(args, as_root=True, chroot=chroot_dir).wait()
  File "/home/tgall/bzr/linaro-image-tools/linaro_image_tools/cmd_runner.py", line 100, in wait
    raise SubcommandNonZeroReturnValue(self._my_args, returncode)
linaro_image_tools.cmd_runner.SubcommandNonZeroReturnValue: Sub process "['chroot', '/tmp/tmpzTzTGu/binary', 'linaro-hwpack-install', '/hwpack_linaro-omap3_20111003-0_armel_supported.tar.gz']" returned a non-zero value: 100
root@pluto:~# uname -a
Linux pluto 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 i686 i386 GNU/Linux

Revision history for this message
Loïc Minier (lool) wrote :

Could you try on ARM? If it doesn't segfault on ARM it's likely a QEMU issue

What's your QEMU version?

Revision history for this message
Fathi Boudra (fboudra) wrote :

I can't reproduce on Natty and Sid using 2011.09.
Sid QEMU version: 0.15.0+dfsg-1
Natty QEMU version (from linaro-maintainers tools PPA): 0.15.50-2011.08-0ubuntu4~ppa11.04.1

Revision history for this message
Milo Casagrande (milo) wrote :

Due to the age of this issue, we are acknowledging that it will likely not be fixed, is no longer applicable, or was already fixed by an indirect change. If this issue is still important, please add details and reopen the issue

Changed in linaro-image-tools:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.