Bug 527274 - FormatSetupError: invalid device specification
Summary: FormatSetupError: invalid device specification
Keywords:
Status: CLOSED DUPLICATE of bug 541473
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 12
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: David Lehman
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: anaconda_trace_hash:362a7d4719823154d...
: 538543 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-05 17:02 UTC by Alexey Kuznetsov
Modified: 2009-12-08 14:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-08 14:27:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Attached traceback automatically from anaconda. (342.06 KB, text/plain)
2009-10-05 17:02 UTC, Alexey Kuznetsov
no flags Details
Attached traceback automatically from anaconda. (348.31 KB, text/plain)
2009-10-06 12:46 UTC, Alexey Kuznetsov
no flags Details

Description Alexey Kuznetsov 2009-10-05 17:02:48 UTC
The following was filed automatically by anaconda:
anaconda 12.32 exception report
Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/formats/__init__.py", line 290, in setup
    raise FormatSetupError("invalid device specification")
  File "/usr/lib/anaconda/storage/formats/swap.py", line 118, in setup
    DeviceFormat.setup(self, *args, **kwargs)
  File "/usr/lib/anaconda/storage/__init__.py", line 1662, in turnOnSwap
    device.format.setup()
  File "/usr/lib/anaconda/storage/__init__.py", line 1032, in turnOnSwap
    self.fsset.turnOnSwap(self.anaconda, upgrading=upgrading)
  File "/usr/lib/anaconda/upgrade.py", line 259, in upgradeMountFilesystems
    anaconda.id.storage.turnOnSwap(upgrading=True)
  File "/usr/lib/anaconda/dispatch.py", line 200, in moveStep
    rc = stepFunc(self.anaconda)
  File "/usr/lib/anaconda/dispatch.py", line 123, in gotoNext
    self.moveStep()
  File "/usr/lib/anaconda/dispatch.py", line 222, in currentStep
    self.gotoNext()
  File "/usr/lib/anaconda/gui.py", line 1228, in setScreen
    (step, anaconda) = self.anaconda.dispatch.currentStep()
  File "/usr/lib/anaconda/gui.py", line 1398, in setup_window
    self.setScreen()
  File "/usr/lib/anaconda/gui.py", line 1408, in run
    self.setup_window(runres)
  File "/usr/lib/anaconda/gui.py", line 1148, in run
    self.icw.run (self.runres)
  File "/usr/bin/anaconda", line 981, in <module>
    anaconda.intf.run(anaconda)
FormatSetupError: invalid device specification

Comment 1 Alexey Kuznetsov 2009-10-05 17:02:56 UTC
Created attachment 363715 [details]
Attached traceback automatically from anaconda.

Comment 2 Alexey Kuznetsov 2009-10-06 12:46:55 UTC
Created attachment 363826 [details]
Attached traceback automatically from anaconda.

Comment 3 Bug Zapper 2009-11-16 13:16:34 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Chris Lumens 2009-11-18 19:30:25 UTC
*** Bug 538543 has been marked as a duplicate of this bug. ***

Comment 5 Hans de Goede 2009-12-07 11:41:15 UTC
Some useful excerpts from the logs (identical in both logs):

Traceback (most recent call first):
  File "/usr/lib/anaconda/storage/formats/__init__.py", line 290, in setup
    raise FormatSetupError("invalid device specification")
  File "/usr/lib/anaconda/storage/formats/swap.py", line 118, in setup
    DeviceFormat.setup(self, *args, **kwargs)
  File "/usr/lib/anaconda/storage/__init__.py", line 1662, in turnOnSwap

And the last line of anaconda.log:

17:02:04 DEBUG   : SwapSpace.setup: device: /mnt/sysimag/var/swap ; status: False ; type: swap ;

So it seems that this traceback gets caused by the use of a swap file (/mnt/sysimag/var/swap), which is somehow not yet created at the time we try to
use it.

Comment 6 David Lehman 2009-12-08 14:27:15 UTC

*** This bug has been marked as a duplicate of bug 541473 ***

Comment 7 Alexey Kuznetsov 2009-12-08 14:34:42 UTC
probably my fstab file contain more text then anaconda expect.

try to play with this swap file:

proc                    /proc                   proc    defaults        0 0
/var/swap               swap                    swap    defaults        0 0

instead, correct one:

proc                    /proc                   proc    defaults        0 0
/var/swap               swap                    swap


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