Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216959 - Installer fails on I/O error
Summary: Installer fails on I/O error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Installer (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-08 21:38 UTC by Geir Helland
Modified: 2008-05-10 12:53 UTC (History)
1 user (show)

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 Geir Helland 2008-04-08 21:38:57 UTC
The GTK+ installer fails with:

"Install Failed

Your install has failed for one of noumerous reasons. You can find ..."

My partitioning scheme is rather messy, with noumerous other OSs installed. 
Manually partitioned with fdisk, logical partitions on hdb. Prepped partitions with mke2fs, mkswap.

Only anomality up to the install failed was that I had to switch from ati to vesa driver in /etc/X11/xorg.conf to bring up X11. 

Reproducible: Always

Steps to Reproduce:
1.Boot LiveCD 2008-0 beta1
2.Start installer
3.Partitioning: /dev/hdb5 200M ext2 /boot, /dev/hdb6 55G ext3 /, /dev/hdb7 1G swap
4. Start installer, fails rather late in the process.
Actual Results:  
Contents of /var/log/installer.log.failed:

GLI: April 08 2008 20:17:00 - Gentoo Linux Installer version 0.6.3
GLI: April 08 2008 20:23:20 - Mounted mountpoint: /
GLI: April 08 2008 20:23:20 - Created mountpoint /boot
GLI: April 08 2008 20:23:20 - Mounted mountpoint: /boot
GLI: April 08 2008 20:38:21 - Stage3 was generated successfully
GLI: April 08 2008 20:38:21 - Chroot environment ready.
GLI: April 08 2008 20:38:38 - This is a bad thing. An exception occured outside of the normal install errors. The error was: '[Errno 5] Input/output error'
GLI: April 08 2008 20:38:38 - Traceback (most recent call last):
GLI: April 08 2008 20:38:38 - File "/opt/installer/GLIClientController.py", line 122, in run
    func()
GLI: April 08 2008 20:38:38 - File "/opt/installer/GLIArchitectureTemplate.py", line 579, in install_portage_tree
    GLIUtility.fetch_and_unpack_tarball(portage_tree_snapshot_uri, self._chroot_dir + "/usr/", self._chroot_dir + "/", cc=self._cc)
GLI: April 08 2008 20:38:38 - File "/opt/installer/GLIUtility.py", line 564, in fetch_and_unpack_tarball
    if not get_uri(tarball_uri, temp_directory + "/" + tarball_filename, cc):
GLI: April 08 2008 20:38:38 - File "/opt/installer/GLIUtility.py", line 475, in get_uri
    shutil.copy(r_file, path)
GLI: April 08 2008 20:38:38 - File "/usr/lib/python2.4/shutil.py", line 81, in copy
    copyfile(src, dst)
GLI: April 08 2008 20:38:38 - File "/usr/lib/python2.4/shutil.py", line 49, in copyfile
    copyfileobj(fsrc, fdst)
GLI: April 08 2008 20:38:38 - File "/usr/lib/python2.4/shutil.py", line 22, in copyfileobj
    buf = fsrc.read(length)
GLI: April 08 2008 20:38:38 - IOError: [Errno 5] Input/output error


Expected Results:  
Installation finishing normally, installing grub/lilo, and hopefully being able to boot.

Mail me if there is anything in perticular you want me to do that could help solve the problem.


Various information on the machine I was trying to install on:

livecd docs # lspci
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 760/M760 Host (rev 03)
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SG86C202
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS965 [MuTIOL Media IO] (rev 47)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev 01)
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] 190 Gigabit Ethernet Adapter
00:05.0 RAID bus controller: Silicon Integrated Systems [SiS] 182 SATA/RAID Controller (rev 01)
00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:07.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:0a.0 Ethernet controller: ADMtek NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: ATI Technologies Inc RV530LE [Radeon X1600/X1650 PRO]
01:00.1 Display controller: ATI Technologies Inc RV530LE [Radeon X1650 PRO] (Secondary)

livecd docs # cat /proc/cpuinfo /proc/interrupts 
processor	: 0
vendor_id	: AuthenticAMD
cpu family	: 15
model		: 44
model name	: AMD Sempron(tm) Processor 3400+
stepping	: 2
cpu MHz		: 2004.582
cache size	: 256 KB
fpu		: yes
fpu_exception	: yes
cpuid level	: 1
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up rep_good pni lahf_lm
bogomips	: 4010.60
TLB size	: 1024 4K pages
clflush size	: 64
cache_alignment	: 64
address sizes	: 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc

           CPU0       
  0:     783937   IO-APIC-edge      timer
  1:       7356   IO-APIC-edge      i8042
  4:          8   IO-APIC-edge      serial
  6:          5   IO-APIC-edge      floppy
  8:          0   IO-APIC-edge      rtc
  9:          0   IO-APIC-fasteoi   acpi
 12:     166638   IO-APIC-edge      i8042
 14:      30824   IO-APIC-edge      ide0
 15:       2905   IO-APIC-edge      ide1
 17:      75461   IO-APIC-fasteoi   sata_sis, eth1
 18:          0   IO-APIC-fasteoi   SiS SI7012
 19:          2   IO-APIC-fasteoi   eth0
 20:         18   IO-APIC-fasteoi   ohci_hcd:usb2
 21:          0   IO-APIC-fasteoi   ohci_hcd:usb3
 22:         87   IO-APIC-fasteoi   ohci_hcd:usb4
 23:      56994   IO-APIC-fasteoi   ehci_hcd:usb1
NMI:          0 
LOC:     783905 
ERR:          0

livecd docs # uname -a
Linux livecd 2.6.23-gentoo-r8 #1 SMP Mon Mar 31 02:05:22 UTC 2008 x86_64 AMD Sempron(tm) Processor 3400+ AuthenticAMD GNU/Linux


livecd docs # free -m
             total       used       free     shared    buffers     cached
Mem:          2010       1392        618          0        183        863
-/+ buffers/cache:        345       1665
Swap:            0          0          0

livecd docs # fdisk -l /dev/hdb

Disk /dev/hdb: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x67386738

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1               1        2433    19543041   83  Linux
/dev/hdb2            2434        5016    20747947+  83  Linux
/dev/hdb3            5017       17174    97659135    7  HPFS/NTFS
/dev/hdb4           17175       24321    57408277+   5  Extended
/dev/hdb5           17175       17198      192748+  83  Linux
/dev/hdb6           17199       24197    56219436   83  Linux
/dev/hdb7           24198       24321      995998+  82  Linux swap / Solaris

livecd docs # fdisk -l /dev/hda

Disk /dev/hda: 164.6 GB, 164696555520 bytes
255 heads, 63 sectors/track, 20023 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x72656d69

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1        1947    15639246    7  HPFS/NTFS
/dev/hda2            1948       14695   102398310    7  HPFS/NTFS
/dev/hda3           14696       14728      265072+  83  Linux
/dev/hda4           14729       20023    42532087+  83  Linux

livecd docs # fdisk -l /dev/sda

Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00016638

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1         249     2000061   82  Linux swap / Solaris
/dev/sda2             250        1536    10337827+  83  Linux
/dev/sda3            1537       30401   231858112+  8e  Linux LVM
livecd docs # fdisk -l /dev/sdb

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x60a7defc

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       30401   244196001   8e  Linux LVM
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2008-04-08 21:52:49 UTC
An I/O error is a sign of fscked up hardware.
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2008-05-09 20:07:59 UTC
Well, that or just being unable to perform I/O operations, which could be caused by a number of reasons.  Did you see any messages in dmesg/messages that might indicate a problem?
Comment 3 Geir Helland 2008-05-10 12:53:25 UTC
(In reply to comment #2)
> Well, that or just being unable to perform I/O operations, which could be
> caused by a number of reasons.  Did you see any messages in dmesg/messages that
> might indicate a problem?

I picked the machine apart, trying to locate a hardware problem. It turned out that both memory modules were defective.

I replaced them, and now the mechine is rock solid.

Thanks for the input. Settig the bug as "Resolved, Invalid".