Ubuntu

IO errors in install.py, such as ENOSPC should give more detailed errors to the UI.

Reported by Reinhard Tartler on 2008-09-10
242
This bug affects 5 people
Affects Status Importance Assigned to Milestone
usb-creator (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: usb-creator

Symptoms:

>> sudo usb-creator
new device:
{'uuid': '4891-6676', 'label': '', 'free': 0, 'fstype': 'vfat', 'device': '/dev/sdb1', 'mountpoint': '', 'udi': '/org/freedesktop/Hal/devices/volume_uuid_4891_6676'}
mounting /srv/images/iso/intrepid-desktop-i386.iso
Installing...
installing the bootloader to /dev/sdb1.
['/usr/share/usb-creator/install.py', '-s', '/tmp/tmpZwMODt/.', '-t', '']
Unmounting source volume.
Install command exited with code: 256

created usb pendrive does not boot.

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 8.10
ExecutablePath: /usr/share/usb-creator/install.py
InterpreterPath: /usr/bin/python2.5
Package: usb-creator 0.1.2
PackageArchitecture: all
ProcAttrCurrent: unconfined
ProcCmdline: /usr/bin/python /usr/share/usb-creator/install.py -s /tmp/tmpdPYW9B/. -t /media/disk
ProcEnviron:
 LANG=de_DE.UTF-8
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 SHELL=/bin/zsh
PythonArgs: ['/usr/share/usb-creator/install.py', '-s', '/tmp/tmpdPYW9B/.', '-t', '/media/disk']
SourcePackage: usb-creator
Title: install.py crashed with IOError in copyfileobj()
Uname: Linux 2.6.27-2-generic i686
UserGroups:

Reinhard Tartler (siretart) wrote :
Reinhard Tartler (siretart) wrote :

btw, #264464 seems to be fixed for me, however usb-creator does still not to be usable on that said 1GB pendrive. I'm leaving it to you to manage this bug. Maybe you want to dupe or close the bugs in debian/changelog.

Evan Dandrea (ev) on 2008-09-29
Changed in usb-creator:
importance: Undecided → Medium
status: New → Confirmed
Harvey Muller (hlmuller) wrote :

Relative to the duplicate bug #275869:

Once all files / directories were rm'd and changes synced, rebooting and subsequent run of usb-creator was successful.

Lutz Engels (lutzengels) wrote :

"Once all files / directories were rm'd and changes synced, rebooting and subsequent run of usb-creator was successful."

Didn't work for me unfortunately. I was trying to create a USB disk from the Live-Environment. When checking the ubuntu CD for Errors I noticed, that 1 file was corrupted. I don't know if this could be the reason for the crash.

Lutz Engels (lutzengels) wrote :

UPDATE: The 8.10 ISO-file was on the hard drive of that very computer. When I chose the ISO-file instead of the CD-Rom as source, the process finished without any problems.

My suggestion: Getting this error? Reboot and check the CD with the build-in CD-check and/or use the ISO-file as source (if somehow available).

schof (bryan-bischof) wrote :

I also am having a similar problem. I am trying to use the utility to put an ISO of eeebuntu on a flash drive and getting error 256.

More details: Tried on both Sandisk Cruzer Micro 1GB USB and a Kingston DataTraveler 4GB. Both return similar errors:

[11:16:34] new device:
{'capacity': dbus.UInt64(4002934784L), 'uuid': '3433-3231', 'label': 'KINGSTON', 'free': 3790135296L, 'fstype': 'vfat', 'device': '/dev/sdb1', 'mountpoint': '/media/KINGSTON', 'udi': '/org/freedesktop/Hal/devices/volume_uuid_3433_3231'}
[11:16:34] adding: /dev/sdb1
[11:16:45] mounting /home/schof/Desktop/eeebuntu-2.0-nbr.iso
[11:16:45] updating dest_status as part of update_row_state
[11:16:49] Installing...
[11:16:49] Source CD: /home/schof/Desktop/eeebuntu-2.0-nbr.iso
[11:16:49] Destination disk: /dev/sdb1
[11:16:49] Persistence size: 128 MB
[11:16:49] Marking partition 1 as active.
[11:16:49] installing the bootloader to /dev/sdb1.
[11:17:00] ['/usr/share/usb-creator/install.py', '-s', '/tmp/tmpZh9c-_/.', '-t', '/media/KINGSTON', '-p', '128']
[11:18:35] Unmounting source volume.
[11:18:35] Install command exited with code: 256
[11:18:35] Forcing shutdown of the install process.
[11:18:35] Unmounting source volume.
[11:18:35] Install failed.

any help would be appreciated.

Olaf (goerlitz) wrote :

I filed this under a different bug before but obviously this is due to insufficient IO error handling as well.

My ISO file was truncated (incomplete download) and the USB boot disk creator's error message was just
'Please see .usb-creator.log'. But the log does not include any useful error information.

...
[15:41:05] Installing...
[15:41:05] Source CD: /media/IBM_PRELOAD/ubuntu-8.10-alternate-i386.iso
[15:41:05] Destination disk: /dev/sdb1
[15:41:05] Persistence size: 128 MB
[15:41:05] Marking partition 1 as active.
[15:41:05] installing the bootloader to /dev/sdb1.
[15:41:08] ['/usr/share/usb-creator/install.py', '-s', '/tmp/tmpC5E_Da/.', '-t', '/media/TOSHIBA', '-p', '128']
[15:44:55] Unmounting source volume.
[15:44:56] Install command exited with code: 256
[15:44:56] Forcing shutdown of the install process.
[15:44:56] Unmounting source volume.
[15:44:56] Install failed./media/TOSHIBA/ubuntu-8.10-alternate-i386.iso
[15:41:05] Persistence size: 128 MB
[15:41:05] Marking partition 1 as active.
[15:41:05] installing the bootloader to /dev/sdb1.
[15:41:08] ['/usr/share/usb-creator/install.py', '-s', '/tmp/tmpC5E_Da/.', '-t', '/media/TOSHIBA', '-p', '128']
[15:44:55] Unmounting source volume.
[15:44:56] Install command exited with code: 256
[15:44:56] Forcing shutdown of the install process.
[15:44:56] Unmounting source volume.
[15:44:56] Install failed.

It would be really good to include at least the IO error message in the log.

tags: added: bugpattern-needed
To post a comment you must log in.