Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108352 - GLI fails during install when doing emerge
Summary: GLI fails during install when doing emerge
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-06 22:18 UTC by shaun.conrardy
Modified: 2005-10-07 22:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shaun.conrardy 2005-10-06 22:18:16 UTC
Using Gentoo LiveCD 2005.1.  Updated the GLI scripts via getgli.  Install runs
fine until half way through emerge process.  Several errors pop up (see
additional information).

Computer is Dell Inspiron 8100 (laptop), 512M RAM, 30GB HDD, nVidia geForce2go,
LAN connection to internet.

One other note, the install will fail much earlier if I don't already have the
disk partitioned and formatted (eg: mke2fs).

Reproducible: Always
Steps to Reproduce:
1. Boot LiveCD (gentoo, no options)
2. Open terminal, take steps to update GLI
3. Run GLI
4. Select defaults and/or minimal selections when available.
5. Stage 3, no GRP, dynamic.
6. Kernel from LiveCD.

Actual Results:  
Installation fails half way through emerge process.

Expected Results:  
Successfully complete installation.  But hey, it's alpha...

/tmp/installprofile.xml:
======================================
<?xml version="1.0" ?>
<gli-profile>
        <kernel-build-method>
                genkernel
        </kernel-build-method>
        <cron-daemon>
                vixie-cron
        </cron-daemon>
        <domainname>
                localdomain
        </domainname>
        <portage-snapshot>
                file:///mnt/livecd/snapshots/portage-20050709-gli.tar.bz2
        </portage-snapshot>
        <kernel-source>
                livecd-kernel
        </kernel-source>
        <install-pcmcia-cs>
                False
        </install-pcmcia-cs>
        <time-zone>
                America/Denver
        </time-zone>
        <install-distcc>
                False
        </install-distcc>
        <dynamic-stage3>
                True
        </dynamic-stage3>
        <kernel-bootsplash>
                False
        </kernel-bootsplash>
        <bootloader-mbr>
                True
        </bootloader-mbr>
        <hostname>
                speak
        </hostname>
        <bootloader-kernel-args/>
        <post-install-script-uri/>
        <nisdomainname/>
        <install-stage>
                3
        </install-stage>
        <ftp-proxy/>
        <rsync-proxy/>
        <stage-tarball/>
        <bootloader>
                grub
        </bootloader>
        <root-pass-hash>
                $1$HLezz75i$QqMsZuCYoG3Tw4iofUvyq.
        </root-pass-hash>
        <http-proxy/>
        <mta/>
        <grp-install>
                False
        </grp-install>
        <logging-daemon>
                syslog-ng
        </logging-daemon>
        <kernel-config/>
        <portage-tree-sync>
                snapshot
        </portage-tree-sync>
        <kernel-initrd>
                True
        </kernel-initrd>
        <install-rp-pppoe>
                False
        </install-rp-pppoe>
        <install-packages>
                xorg-x11 gnome
        </install-packages>
        <network-interfaces>
                <device ip="dhcp" options="">
                        eth0
                </device>
        </network-interfaces>
        <network-mounts/>
        <partitions>
                <device devnode="/dev/hda" disklabel="msdos">
                        <partition format="False" mb="101" minor="1" mkfsopts=""
mountopts="defaults" mountpoint="/boot" origminor="1" type="ext2"/>
                        <partition format="False" mb="494" minor="2" mkfsopts=""
mountopts="" mountpoint="" origminor="2" type="linux-swap"/>
                        <partition format="False" mb="28019" minor="3"
mkfsopts="" mountopts="defaults" mountpoint="/" origminor="3" type="ext3"/>
                </device>
                <device devnode="/dev/hdc" disklabel="msdos">
                        <partition format="False" mb="9077" minor="1"
mkfsopts="" mountopts="" mountpoint="" origminor="1" type="reiserfs"/>
                        <partition format="False" mb="1000" minor="2"
mkfsopts="" mountopts="" mountpoint="" origminor="2" type="linux-swap"/>
                        <partition format="False" mb="8999" minor="3"
mkfsopts="" mountopts="" mountpoint="" origminor="3" type="ext3"/>
                </device>
        </partitions>
        <etc-files>
                <file name="rc.conf">
                        <entry name="SET_WINDOWKEYS">
                                Yes
                        </entry>
                        <entry name="XSESSION"/>
                        <entry name="CLOCK">
                                local
                        </entry>
                        <entry name="CONSOLEFONT">
                                default8x16
                        </entry>
                        <entry name="EXTENDED_KEYMAPS"/>
                        <entry name="DISPLAYMANAGER">
                                ##commented##
                        </entry>
                        <entry name="KEYMAP">
                                us
                        </entry>
                        <entry name="EDITOR">
                                /bin/nano
                        </entry>
                        <entry name="CONSOLETRANSLATION">
                                ##commented##
                        </entry>
                        <entry name="PROTOCOLS">
                                1 2
                        </entry>
                </file>
                <file name="make.conf">
                        <entry name="MAKEOPTS"/>
                        <entry name="USE">
                                  X alsa apm arts avi berkdb bitmap-fonts crypt
cups elibc_glibc emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2
imlib ipv6 jpeg kde kernel_linux libg++ libwww mad mikmod motif mp3 mpeg ncurses
nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl
spell ssl tcpd truetype truetype-fonts type1-fonts userland_GNU x86 xml2 xmms xv
zlib
                        </entry>
                        <entry name="FEATURES"/>
                        <entry name="ACCEPT_KEYWORDS"/>
                        <entry name="CFLAGS">
                                -march=i386 -O2
                        </entry>
                </file>
        </etc-files>
</gli-profile>

======================================
======================================
/var/log/installer.log:
======================================
GLI: October 06 2005 22:33:37 - Setting root password.
GLI: October 06 2005 22:33:38 - Livecd root password set.
GLI: October 06 2005 22:33:41 - Portmap started.
GLI: October 06 2005 22:33:41 - Completed pre_install steps
GLI: October 06 2005 22:45:45 - Partition table for /dev/hda is unchanged...skipping
GLI: October 06 2005 22:45:45 - Partition table for /dev/hdc is unchanged...skipping
GLI: October 06 2005 22:45:47 - ERROR! : Could not activate swap (/dev/hda2)!
GLI: October 06 2005 22:45:53 - Mounted mountpoint: /
GLI: October 06 2005 22:45:53 - Created mountpoint/boot
GLI: October 06 2005 22:45:53 - Mounted mountpoint: /boot
GLI: October 06 2005 22:57:47 - Exception received during 'Unpack stage
tarball': CreateStage3Error :FATAL: unpack_stage_tarball: Could not emerge
necessary packages in chroot for generating stage3
GLI: October 06 2005 22:57:47 - Traceback (most recent call last):
GLI: October 06 2005 22:57:47 - File "../../GLIClientController.py", line 156,
in run
    self._install_steps[self._install_step][0]()
GLI: October 06 2005 22:57:47 - File "../../GLIArchitectureTemplate.py", line
291, in unpack_stage_tarball
    raise GLIException("CreateStage3Error", "fatal", "unpack_stage_tarball",
"Could not emerge necessary packages in chroot for generating stage3")
GLI: October 06 2005 22:57:47 - GLIException: CreateStage3Error :FATAL:
unpack_stage_tarball: Could not emerge necessary packages in chroot for
generating stage3
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2005-10-07 05:27:59 UTC
It would be really helpful to get the last few lines of /tmp/compile_output.log
after you get this error.
Comment 2 shaun.conrardy 2005-10-07 14:49:08 UTC
Here are the last several lines from the compile_output.log:
====================================

>>> /mnt/gentoo/usr/include/asm/soc!!! aux_get(): ebuild path for
'sys-kernel/linux-headers-2.6.11-r2' not specified:
!!!            None
 [32;01m*[0m Kernel headers are usually only used when recompiling glibc, as
such, following the installation
 [32;01m*[0m of newer headers, it is advised that you re-merge glibc as follows:
 [32;01m*[0m emerge glibc
 [32;01m*[0m Failure to do so will cause glibc to not make use of newer
features present in the updated kernel
 [32;01m*[0m headers.
>>> Regenerating /mnt/gentoo/etc/ld.so.cache...
tar: Skipping to next header
tar: ArchiveException received:
CreateStage3Error :FATAL: unpack_stage_tarball: Could not emerge necessary
packages in chroot for generating stage3
Please submit a bug report (after searching to make sure it's not a known issue
and verifying you didn't do something stupid) with the contents of
/var/log/install.log and /tmp/installprofile.xml
 contains obsolescent base-64 headers

bzip2: Data integrity error when decompressing.
tar: Error exit delayed from previous errors
ket.h
>>> /mnt/gentoo/usr/include/asm/sockios.h
>>> /mnt/gentoo/usr/include/asm/spinlock.h
>>> /mnt/gentoo/usr/include/asm/srat.h
>>> /mnt/gentoo/usr/include/asm/stat.h
>>> /mnt/gentoo/usr/include/asm/statfs.h
>>> /mnt/gentoo/usr/include/asm/string.h
>>> /mnt/gentoo/usr/include/asm/suspend.h
>>> /mnt/gentoo/usr/include/asm/system.h
>>> /mnt/gentoo/usr/include/asm/termbits.h
>>> /mnt/gentoo/usr/include/asm/termios.h
>>> /mnt/gentoo/usr/include/asm/thread_info.h
>>> /mnt/gentoo/usr/include/asm/timer.h
>>> /mnt/gentoo/usr/include/asm/timex.h
>>> /mnt/gentoo/usr/include/asm/tlb.h
>>> /mnt/gentoo/usr/include/asm/tlbflush.h
>>> /mnt/gentoo/usr/include/asm/topology.h
>>> /mnt/gentoo/usr/include/asm/types.h
>>> /mnt/gentoo/usr/include/asm/uaccess.h
>>> /mnt/gentoo/usr/include/asm/ucontext.h
>>> /mnt/gentoo/usr/include/asm/unaligned.h
>>> /mnt/gentoo/usr/include/asm/unistd.h
>>> /mnt/gentoo/usr/include/asm/user.h
>>> /mnt/gentoo/usr/include/asm/vga.h
>>> /mnt/gentoo/usr/include/asm/vic.h
>>> /mnt/gentoo/usr/include/asm/vm86.h
>>> /mnt/gentoo/usr/include/asm/voyager.h
>>> /mnt/gentoo/usr/include/asm/xor.h
>>> /mnt/gentoo/usr/include/asm-generic/
>>> /mnt/gentoo/usr/include/asm-generic/4level-fixup.h
>>> /mnt/gentoo/usr/include/asm-generic/bitops.h
>>> /mnt/gentoo/usr/include/asm-generic/bug.h
>>> /mnt/gentoo/usr/include/asm-generic/cputime.h
>>> /mnt/gentoo/usr/include/asm-generic/div64.h
>>> /mnt/gentoo/usr/include/asm-generic/dma-mapping-broken.h
>>> /mnt/gentoo/usr/include/asm-generic/dma-mapping.h
>>> /mnt/gentoo/usr/include/asm-generic/errno-base.h
>>> /mnt/gentoo/usr/include/asm-generic/errno.h
>>> /mnt/gentoo/usr/include/asm-generic/hdreg.h
>>> /mnt/gentoo/usr/include/asm-generic/ide_iops.h
>>> /mnt/gentoo/usr/include/asm-generic/iomap.h
>>> /mnt/gentoo/usr/include/asm-generic/local.h
>>> /mnt/gentoo/usr/include/asm-generic/pci-dma-compat.h
>>> /mnt/gentoo/usr/include/asm-generic/pci.h
>>> /mnt/gentoo/usr/include/asm-generic/percpu.h
>>> /mnt/gentoo/usr/include/asm-generic/pgtable-nopmd.h
>>> /mnt/gentoo/usr/include/asm-generic/pgtable-nopud.h
>>> /mnt/gentoo/usr/include/asm-generic/pgtable.h
>>> /mnt/gentoo/usr/include/asm-generic/resource.h
>>> /mnt/gentoo/usr/include/asm-generic/rtc.h
>>> /mnt/gentoo/usr/include/asm-generic/sections.h
>>> /mnt/gentoo/usr/include/asm-generic/siginfo.h
>>> /mnt/gentoo/usr/include/asm-generic/statfs.h
>>> /mnt/gentoo/usr/include/asm-generic/termios.h
>>> /mnt/gentoo/usr/include/asm-generic/tlb.h
>>> /mnt/gentoo/usr/include/asm-generic/topology.h
>>> /mnt/gentoo/usr/include/asm-generic/uaccess.h
>>> /mnt/gentoo/usr/include/asm-generic/unaligned.h
>>> /mnt/gentoo/usr/include/asm-generic/vmlinux.lds.h
>>> /mnt/gentoo/usr/include/asm-generic/xor.h
>>> sys-kernel/linux-headers-2.6.11-r2 merged.

>>> clean: No packages selected for removal.

>>> emerge (18 of 91) sys-libs/glibc-2.3.4.20041102-r1 to /mnt/gentoo/
>>> extracting info
>>> extracting glibc-2.3.4.20041102-r1
!!! Error extracting
/mnt/gentoo/usr/portage/packages/All/glibc-2.3.4.20041102-r1.tbz2
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2005-10-07 14:57:27 UTC
That looks like a failing disk, bad memory, overheating, etc. The actual error
was that the .tar.bz2 file was corrupt. That file is generated on the fly using
quickpkg. This doesn't appear to be an installer bug.
Comment 4 Preston Cody (RETIRED) gentoo-dev 2005-10-07 19:12:55 UTC
Have you validated the MD5 on the CD to make sure it didn't get corrupted?
Comment 5 shaun.conrardy 2005-10-07 22:31:20 UTC
Double-checked the MD5 and the image is valid.  Crud.  That means RAM or HDD. 
Apologies, I know this isn't the appropriate forum for this, but is there a way
I can still install Gentoo on this machine?
Comment 6 Andrew Gaffney (RETIRED) gentoo-dev 2005-10-07 22:38:26 UTC
Follow the install instructions in the handbook like everyone else :) If it
fails that way as well (likely will), you'll have issues installing any distro.