Bug 573539 - IOException: Failed to read partition table from device /dev/sda4
Summary: IOException: Failed to read partition table from device /dev/sda4
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 13
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:ca03e480c9b715c55...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-15 05:57 UTC by Alexander Dyadyun
Modified: 2010-03-23 02:26 UTC (History)
4 users (show)

Fixed In Version: anaconda-13.35-1.fc13
Clone Of:
Environment:
Last Closed: 2010-03-23 02:26:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (129.96 KB, text/plain)
2010-03-15 05:57 UTC, Alexander Dyadyun
no flags Details
Attached traceback automatically from anaconda. (282.30 KB, text/plain)
2010-03-17 09:02 UTC, Martin Banas
no flags Details
Attached traceback automatically from anaconda. (215.47 KB, text/plain)
2010-03-17 09:23 UTC, Martin Banas
no flags Details

Description Alexander Dyadyun 2010-03-15 05:57:36 UTC
The following was filed automatically by anaconda:
anaconda 13.32 exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.6/site-packages/parted/disk.py", line 51, in __init__
    self.__disk = _ped.Disk(device.getPedDevice())
  File "/usr/lib64/python2.6/site-packages/parted/decorators.py", line 30, in localeC
    ret = fn(*args, **kwds)
  File "<string>", line 2, in __init__
  File "/usr/lib/anaconda/storage/formats/disklabel.py", line 132, in partedDisk
    self._partedDisk = parted.Disk(device=self.partedDevice)
  File "/usr/lib/anaconda/storage/formats/disklabel.py", line 70, in __init__
    self._origPartedDisk = self.partedDisk.duplicate()
  File "/usr/lib/anaconda/storage/formats/__init__.py", line 91, in getFormat
    fmt = fmt_class(*args, **kwargs)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1302, in handleUdevDiskLabelFormat
    exists=True)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1690, in handleUdevDeviceFormat
    self.handleUdevDiskLabelFormat(info, device)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1278, in addUdevDevice
    self.handleUdevDeviceFormat(info, device)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1931, in populate
    self.addUdevDevice(dev)
  File "/usr/lib/anaconda/storage/__init__.py", line 377, in reset
    self.devicetree.populate()
  File "/usr/lib/anaconda/storage/__init__.py", line 110, in storageInitialize
    storage.reset()
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 126, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/gui.py", line 1313, in nextClicked
    self.anaconda.dispatch.gotoNext()
IOException: Failed to read partition table from device /dev/sda4

Comment 1 Alexander Dyadyun 2010-03-15 05:57:41 UTC
Created attachment 400135 [details]
Attached traceback automatically from anaconda.

Comment 2 Alexander Dyadyun 2010-03-15 06:33:20 UTC
System with IT8212 IDE RAID controller;
/dev/sda - 200Gb PATA Seagate
/dev/sdb - 200Gb PATA Seagate
Win7 fresh install.

/dev/sda1 - (100MB)primary, NTFS (Win7 System reserved)
/dev/sda2 - (29,20Gb)primary, NTFS (Win7,System)
/dev/sda3 - (68,36Gb)primary, RAW  (Reserved for Fedora)
/dev/sda4 - (88,65Gb)logic, NTFS (Win7, Data)
I have no problem to access data on /dev/sda4 with Win7.

How to reproduce:
1. Boot from netinstall CD (with install DVD same problem)
2. Select "Basic Storage Devices"
3. Select both or first HDD and press "next"
4. ...finding storage devices... then exception.

Comment 3 Alexander Dyadyun 2010-03-15 06:39:43 UTC
IT8212 in IDE controller mode (nonRAID)

Comment 4 Hans de Goede 2010-03-15 11:35:44 UTC
This is caused by anaconda now trying to detect if non disk devices such as partitions and / or logical volumes contain a partition table themselves
(which happens in virtualized environments).

I've just send a patch fixing this to the anaconda-devel mailinglist for review. I'll update this bug when the patch gets approved.

Comment 5 Hans de Goede 2010-03-15 13:16:17 UTC
Fixed by this commit, moving to modified:
http://git.fedorahosted.org/git/?p=anaconda.git;a=commitdiff;h=398b028151798489f6c04eb35f2759be97fda566

Comment 6 Martin Banas 2010-03-17 09:02:13 UTC
Created attachment 400695 [details]
Attached traceback automatically from anaconda.

Comment 7 Martin Banas 2010-03-17 09:23:21 UTC
Created attachment 400698 [details]
Attached traceback automatically from anaconda.

Comment 8 Fedora Update System 2010-03-18 17:05:34 UTC
anaconda-13.35-1.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/anaconda-13.35-1.fc13

Comment 9 James Laska 2010-03-18 17:36:28 UTC
Greetings Alexander, can you confirm whether this problem remains by testing the latest installer images at http://serverbeach1.fedoraproject.org/pub/alt/stage/13-Beta.TC0/Fedora ?

Comment 10 Alexander Dyadyun 2010-03-18 18:11:57 UTC
Yes, it`s working! 
Fedora installation in progress... :)

Comment 11 James Laska 2010-03-18 18:34:39 UTC
(In reply to comment #10)
> Yes, it`s working! 
> Fedora installation in progress... :)    

Thanks for the feedback!

Comment 12 Fedora Update System 2010-03-23 02:25:32 UTC
anaconda-13.35-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.