Bug 495156 - FSError: mount failed: (2, None)
FSError: mount failed: (2, None)
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
x86_64 Linux
low Severity medium
: ---
: ---
Assigned To: David Cantrell
Fedora Extras Quality Assurance
: 495290 495369 495416 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 2009-04-09 19:30 EDT by Jeffrey R. Evans
Modified: 2010-06-28 07:46 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-06-28 07:46:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Attached traceback automatically from anaconda. (79.59 KB, text/plain)
2009-04-09 19:30 EDT, Jeffrey R. Evans
no flags Details
Attached traceback automatically from anaconda. (63.23 KB, text/plain)
2009-04-13 01:39 EDT, Shannon McMackin
no flags Details
Attached traceback automatically from anaconda. (21.32 KB, text/plain)
2009-04-14 10:06 EDT, Michal Nowak
no flags Details
Attached traceback automatically from anaconda. (32.73 KB, text/plain)
2009-04-14 10:20 EDT, Michal Nowak
no flags Details
Crash on customer partition install to SD card from LiveCD (193.53 KB, text/plain)
2009-05-01 12:04 EDT, Peter Robinson
no flags Details
Anaconda Installation errors "FakeRAID" (85.02 KB, text/plain)
2009-06-01 07:34 EDT, Jeffrey R. Evans
no flags Details
See Comment #19 (85.06 KB, text/plain)
2009-06-03 23:42 EDT, Jeffrey R. Evans
no flags Details

  None (edit)
Description Jeffrey R. Evans 2009-04-09 19:30:27 EDT
The following was filed automatically by anaconda:
anaconda exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/formats/fs.py", line 508, in mount
    raise FSError("mount failed: %s" % e)
  File "/usr/lib/anaconda/storage/formats/fs.py", line 210, in _getExistingSize
    self.mount(mountpoint=tmppath, options="ro")
  File "/usr/lib/anaconda/storage/formats/fs.py", line 161, in __init__
    self._size = self._getExistingSize()
  File "/usr/lib/anaconda/storage/formats/__init__.py", line 89, in getFormat
    fmt = fmt_class(*args, **kwargs)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1465, in handleUdevDeviceFormat
    device.format = formats.getFormat(*args, **kwargs)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1166, in addUdevDevice
    self.handleUdevDeviceFormat(info, device)
  File "/usr/lib/anaconda/storage/devicetree.py", line 1588, in populate
  File "/usr/lib/anaconda/storage/__init__.py", line 283, in reset
  File "/usr/lib/anaconda/storage/__init__.py", line 101, in storageInitialize
  File "/usr/lib/anaconda/dispatch.py", line 205, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 128, in gotoNext
  File "/usr/lib/anaconda/gui.py", line 1323, in nextClicked
FSError: mount failed: (2, None)
Comment 1 Jeffrey R. Evans 2009-04-09 19:30:53 EDT
Created attachment 339020 [details]
Attached traceback automatically from anaconda.
Comment 2 Shannon McMackin 2009-04-13 01:39:29 EDT
Created attachment 339278 [details]
Attached traceback automatically from anaconda.
Comment 3 Chris Lumens 2009-04-13 09:52:21 EDT
*** Bug 495369 has been marked as a duplicate of this bug. ***
Comment 4 Chris Lumens 2009-04-13 10:45:19 EDT
*** Bug 495290 has been marked as a duplicate of this bug. ***
Comment 5 Chris Lumens 2009-04-13 11:08:53 EDT
*** Bug 495416 has been marked as a duplicate of this bug. ***
Comment 6 Shannon McMackin 2009-04-13 12:07:44 EDT
We can close this one.  I acidentally had a filesystem mounted at the time anaconda was querying the storage devices.  Once I unmounted the filesystem, anaconda behaved normally.
Comment 7 Peter Robinson 2009-04-13 16:36:39 EDT
I didn't have filesystems mounted and my bug was marked as a dupe of this one so I don't think that's the only issue here.
Comment 8 Jeffrey R. Evans 2009-04-14 04:57:04 EDT
Shannon this bug was not originally submitted by you.   When I submitted the bug initially, I didn't accidentally have a file system mounted.  No we can't close this one, it's still legitimate.
Comment 9 Michal Nowak 2009-04-14 10:06:59 EDT
Created attachment 339495 [details]
Attached traceback automatically from anaconda.
Comment 10 Shannon McMackin 2009-04-14 10:12:04 EDT
Sorry, I didn't realize they added my report to an existing bug...
Comment 11 Michal Nowak 2009-04-14 10:20:18 EDT
Created attachment 339503 [details]
Attached traceback automatically from anaconda.
Comment 12 David Cantrell 2009-04-15 10:26:39 EDT
Fix will be in anaconda-
Comment 13 Peter Robinson 2009-05-01 12:04:19 EDT
Created attachment 342110 [details]
Crash on customer partition install to SD card from LiveCD

I'm still seeing the attached crash using anaconda Boot off a USB LiveCD on a eeePC and use it to install to a SD card. Also the partition anaconda created was still no properly aligned.
Comment 14 Jeffrey R. Evans 2009-05-18 17:32:38 EDT
Anaconda  Still has this issue or a closely related one.
Comment 15 Chris Lumens 2009-05-29 11:12:58 EDT
We fixed this bug several times throughout this release cycle in anaconda, but we also discovered that a filesystem bug was giving us the same results.  I do believe it was fixed there as well.  Could you please test the final release and verify that this bug is well and truly dead?
Comment 16 Jeffrey R. Evans 2009-05-31 21:04:38 EDT
I'll try to test it today or tomorrow with the Final release.  I tested it on 05-18-2009 with Anaconda and it failed.  Is there a particular version of anaconda that I should test with Chris?
Comment 17 Jeffrey R. Evans 2009-06-01 07:34:29 EDT
Created attachment 346076 [details]
Anaconda Installation errors "FakeRAID"

This is using the lastest build available today at my location.
Comment 18 Jeffrey R. Evans 2009-06-01 07:43:52 EDT
This may seem like an all too obvious question.

Why is it that we can't use the code from F9 x64 that works?

F9 x64 tests AOK for an existing FAKE or SOFT RAID on either an Nvidia based chipset platform or an ICH10R Intel based chipset platform.
Comment 19 Jeffrey R. Evans 2009-06-03 22:50:42 EDT
Today's Test yields the following error.

anaconda exception report
Traceback (most recent call first):
  File "/usr/lib64/python2.6/site-packages/parted/geometry.py", line 128, in intersect
    return Geometry(PedGeometry=self.__geometry.intersect(b.getPedGeometry()))
  File "/usr/lib/anaconda/storage/partitioning.py", line 501, in getBestFreeSpaceRegion
    free_geom = extended.geometry.intersect(_range)
  File "/usr/lib/anaconda/storage/partitioning.py", line 726, in allocatePartitions
  File "/usr/lib/anaconda/storage/partitioning.py", line 587, in doPartitioning
    allocatePartitions(disks, partitions)
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1017, in refresh
  File "/usr/lib/anaconda/iw/partition_gui.py", line 1125, in editPartition
    if self.refresh(justRedraw=not actions):
  File "/usr/lib/anaconda/iw/partition_gui.py", line 974, in newCB
    self.editPartition(device, isNew=1)
CreateException: Could not stat device /dev/mapper/nvidia_eefffbee - No such file or directory.
Comment 20 Jeffrey R. Evans 2009-06-03 23:42:29 EDT
Created attachment 346486 [details]
See Comment #19
Comment 21 Bug Zapper 2009-06-09 09:35:19 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
Comment 22 Jeffrey R. Evans 2009-06-10 23:28:32 EDT
Please Update status to Assigned.  I have reproduced this issue with the latest build of anaconda.

This occurs on a RAID0 created on an Intel ICH10R or Nvidia C55 "Soft" RAID controller.  The RAID0 Created initially using standard Windows install of either f6 and driver floppy for Windows XP or Thumb drive with Driver for Windows Vista or Windows 7.

Let me list steps to reproduce:

1.  Insert a LiveUSB Thumb drive or a Fedora 11 install DVD.
2.  Reboot System.
3.  Boot system to either the LiveUSB Thumb drive or DVD.
4.  Select an existing partition.
5.  Select Delete.
6.  Click on the create button.
7.  Select / for the mount point.
8.  Select Ext3 or Ext4 for the partition type.
9.  Enter the correct free space value of the available disk slice.
10. Press continue to allow the changes to take affect.
11. Observe.

Segmentation fault provides the attached debug.

Expected result:
Anaconda to partition the slice of the RAID0 array selected in the manner selected and for the installation to proceed.

I was successful in Installing F11 by doing the following.

Use the F9 Full Install DVD to create the partition on the RAID0 array.  Perform a minimal F9 install.
Select the existing partition and instead of using the DELETE button, merely selecting that as the install target.
This is not the expected behavior and requires a great deal of user intervention.
Comment 23 Yuri Gorokhov 2009-10-14 23:03:34 EDT
I have this issue as well under Fedora 11, is this bug fixed in newer anaconda versions?
I need to install Fedora 11 and am running into this bug.
I was wondering if anybody had initrd and vmlinuz files handy (F11) with a fixed version of Anaconda?

I tried using the F12 initrd and vmlinuz to install Fedora 11 but I got a bunch of different errors when it tried to run anaconda. 

So if anybody has initrd and vmlinuz for F11 handy I would really appreciate it.

Comment 24 Peter Robinson 2009-11-20 05:45:24 EST
I think this is now fixed in F-12?
Comment 25 roger.a.luty 2009-12-11 11:32:55 EST
I am confused about whether this issue has been resolved.  I see several bugs reported about this and have not seen any definitive resolution.

Just as the bug report indicates, I receive "mount failed: (2, None)" after copying the Live CD image to the virtual hard drive during installation as a QEMU-KVM guest.  I am using Fedora 11 as my host and guest and built several KVM-enabled host kernels for testing.  The preferred host kernel I use is (PREEMPT_RT) along with qemu-kvm.0.11.0-rc2.  I created a 10G raw disk image to use for the installation.  I created a custom partition table on the disk image as follows:

/dev/sda1 200M /boot
/dev/sda2 8G /
/dev/sda3 200M (swap)

I would like to know if there is a solution to this issue.  I tried using Fedora 12 as the guest but received an exception error at the same point during installation.

If anyone has some suggestions or a solution to this problem, please let me know.
Comment 26 Bug Zapper 2010-04-27 09:36:07 EDT
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '11'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 11's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 11 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
Comment 27 Bug Zapper 2010-06-28 07:46:53 EDT
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.

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