Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152164 - GLI KeyError 'loop'
Summary: GLI KeyError 'loop'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Linux Installer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-20 13:57 UTC by Ogi
Modified: 2006-10-21 16:54 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 Ogi 2006-10-20 13:57:38 UTC
Could be doing something dumb here, but when I try to install gentoo through the AMD64 LiveDVD (2006.1) I get a KeyError 'loop'.  The following is the contents of my var/log/installer.log.failed file:

GLI: October 20 2006 13:40:58 - Gentoo Linux Installer version 0.4.2
GLI: October 20 2006 13:40:58 - Setting root password.
GLI: October 20 2006 13:40:58 - Livecd root password set.
GLI: October 20 2006 13:40:59 - Portmap started.
GLI: October 20 2006 13:40:59 - Completed pre_install steps
GLI: October 20 2006 13:46:53 - This is a bad thing. An exception occured outside of the normal install errors. The error was: ''loop''
GLI: October 20 2006 13:46:53 - Traceback (most recent call last):
GLI: October 20 2006 13:46:53 - File "/opt/installer/GLIClientController.py", line 197, in run
    self._install_steps[self._install_step]['function']()
GLI: October 20 2006 13:46:53 - File "/opt/installer/templates/x86ArchitectureTemplate.py", line 379, in partition
    parts_old[device] = GLIStorageDevice.Device(device, arch=self._client_configuration.get_architecture_template())
GLI: October 20 2006 13:46:53 - File "/opt/installer/GLIStorageDevice.py", line 79, in __init__
    self._labelinfo = labelinfo[self._disklabel]
GLI: October 20 2006 13:46:53 - KeyError: 'loop'



I tried multiple setups, using the recommended partitioning scheme, and so on.  I am a newb to Linux so it's quite possible I was doing something very stupid/dumb, but I don't think that's the case.  I have also attached the contents of my installprofile.xml file to see if someone can duplicate my problem:

<?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/cdrom/snapshots/portage-2006.1.tar.bz2
	</portage-snapshot>
	<kernel-source>
		livecd-kernel
	</kernel-source>
	<install-pcmcia-cs>
		False
	</install-pcmcia-cs>
	<time-zone>
		America/Los_Angeles
	</time-zone>
	<install-distcc>
		False
	</install-distcc>
	<boot-device>
		/dev/sda
	</boot-device>
	<dynamic-stage3>
		True
	</dynamic-stage3>
	<kernel-bootsplash>
		False
	</kernel-bootsplash>
	<bootloader-mbr>
		True
	</bootloader-mbr>
	<hostname>
		localhost
	</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$96bzE.jo$..uUd2bJmJYNuvYbtOVvH.
	</root-pass-hash>
	<http-proxy/>
	<mta/>
	<grp-install>
		False
	</grp-install>
	<logging-daemon>
		metalog
	</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>
		gnome
	</install-packages>
	<network-interfaces>
		<device broadcast="192.168.1.2" ip="192.168.1.2" netmask="255.255.255.0">
			eth0
		</device>
	</network-interfaces>
	<network-mounts/>
	<partitions>
		<device devnode="/dev/sdb" disklabel="msdos">
			<partition format="False" mb="70896" minor="1.0" mkfsopts="" mountopts="" mountpoint="" origminor="1" resized="False" type="ntfs"/>
			<partition format="False" mb="7" minor="1.03125" mkfsopts="" mountopts="" mountpoint="" origminor="0" resized="False" type="free"/>
		</device>
		<device devnode="/dev/sdc" disklabel="msdos">
			<partition format="False" mb="238472" minor="1.0" mkfsopts="" mountopts="" mountpoint="" origminor="1" resized="False" type="ntfs"/>
		</device>
		<device devnode="/dev/sda" disklabel="msdos">
			<partition format="True" mb="100" minor="1.0" mkfsopts="" mountopts="defaults" mountpoint="/boot" origminor="0" resized="False" type="ext3"/>
			<partition format="True" mb="2048" minor="2.0" mkfsopts="" mountopts="" mountpoint="" origminor="0" resized="False" type="linux-swap"/>
			<partition format="True" mb="150479" minor="3.0" mkfsopts="" mountopts="defaults" mountpoint="/" origminor="0" resized="False" type="reiserfs"/>
		</device>
	</partitions>
	<services>
		xdm
	</services>
	<etc-files>
		<file name="rc.conf">
			<entry name="DISPLAYMANAGER">
				gdm
			</entry>
			<entry name="XSESSION">
				Gnome
			</entry>
			<entry name="EDITOR">
				/bin/nano
			</entry>
		</file>
		<file name="conf.d/clock">
			<entry name="CLOCK">
				UTC
			</entry>
		</file>
		<file name="conf.d/keymaps">
			<entry name="SET_WINDOWSKEYS">
				Yes
			</entry>
		</file>
		<file name="make.conf">
			<entry name="MAKEOPTS"/>
			<entry name="USE">
				  3ds X alsa amd64 arts avi berkdb bitmap-fonts cairo cdr cli crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux ldap libg++ mad mikmod mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU vorbis widescreen xml xorg xv zlib
			</entry>
			<entry name="FEATURES"/>
			<entry name="ACCEPT_KEYWORDS"/>
			<entry name="CFLAGS">
				-march=athlon64 -O2 -pipe
			</entry>
		</file>
	</etc-files>
</gli-profile>

Any help would be appreciated, thanks.

Ogi
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2006-10-20 14:23:17 UTC
Do you have an ipod or a USB mass storage device of some sort plugged in?
Comment 2 Ogi 2006-10-20 14:42:46 UTC
(In reply to comment #1)
> Do you have an ipod or a USB mass storage device of some sort plugged in?
> 

I have both an external hard drive (plugged in through UBS) and an iPod plugged in.  Disconnected the iPod and now it's installing :)

Thanks for the help, you mind pointing out what in the log file pointed you to that direction?

Thanks,
Ogi
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2006-10-21 16:54:30 UTC
Nothing in the log file. I just know that libparted returns 'loop' at the disklabel type for "devices" such as loopback files and usb drives that just have a large, single filesystem on them instead of being partitioned. Anyway, that error has been corrected in SVN.