libreport version: 2.0.6 executable: /usr/bin/python hashmarkername: anaconda kernel: 3.1.0-7.fc16.i686 product: Fedora reason: SwapError: swapon failed for '/dev/sda7' time: Sat Nov 12 12:35:14 2011 version: 16 description: :The following was filed automatically by anaconda: :anaconda 16.25 exception report :Traceback (most recent call first): : File "/usr/lib/python2.7/site-packages/pyanaconda/storage/devicelibs/swap.py", line 93, in swapon : raise SwapError("swapon failed for '%s'" % device) : File "/usr/lib/python2.7/site-packages/pyanaconda/storage/formats/swap.py", line 133, in setup : swap.swapon(self.device, priority=self.priority) : File "/usr/lib/python2.7/site-packages/pyanaconda/storage/__init__.py", line 2085, in turnOnSwap : device.format.setup() : File "/usr/lib/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1326, in turnOnSwap : upgrading=upgrading) : File "/usr/lib/python2.7/site-packages/pyanaconda/packages.py", line 151, in turnOnFilesystems : anaconda.storage.turnOnSwap() : File "/usr/lib/python2.7/site-packages/pyanaconda/dispatch.py", line 373, in dispatch : self.dir = self.steps[self.step].target(self.anaconda) : File "/usr/lib/python2.7/site-packages/pyanaconda/dispatch.py", line 241, in go_forward : self.dispatch() : File "/usr/lib/python2.7/site-packages/pyanaconda/gui.py", line 1201, in nextClicked : self.anaconda.dispatch.go_forward() :SwapError: swapon failed for '/dev/sda7'
I tried to install Fedora 16 to a blank new disc (/dev/sdb). The disc partition layout was choosen by anaconda and the bootloader was selected to be installed on sdb too. After finishing the partitioning dialog of anaconda the above exception occurs. Obviously anaconda tries to activate the swap partition of my fedora 14 installation on my main disc (/dev/sda) an fails.
The crash is obviously not caused by the second harddisc because I removed the old disc (/dev/sda) today and replaced it with the new one. The same exception is raised although now only one new unformatted harddisc is present as /dev/sda. During all tests I've disabled the LVM usage and configured anaconda to use the whole disc.
I am also getting this error which is preventing me from installing Fedora 16 on a new hard drive. Steps taken: 1) Using Fedora 16 i686 Live default 2) Basic Install 3) Use All Space 4) Use LVM Kept all default, swap is set to 5216M Anaconda seems to create all partitions and then fails with following message: anaconda 16.25 exception report Traceback (most recent call first): File "/usr/lib/python2.7/site-packages/pyanaconda/storage/devicelibs/swap.py", line 93, in swapon raise SwapError("swapon failed for '%s'" % device) File "/usr/lib/python2.7/site-packages/pyanaconda/storage/formats/swap.py", line 133, in setup swap.swapon(self.device, priority=self.priority) File "/usr/lib/python2.7/site-packages/pyanaconda/storage/__init__.py", line 2085, in turnOnSwap device.format.setup() File "/usr/lib/python2.7/site-packages/pyanaconda/storage/__init__.py", line 1326, in turnOnSwap upgrading=upgrading) File "/usr/lib/python2.7/site-packages/pyanaconda/packages.py", line 151, in turnOnFilesystems anaconda.storage.turnOnSwap() File "/usr/lib/python2.7/site-packages/pyanaconda/dispatch.py", line 373, in dispatch self.dir = self.steps[self.step].target(self.anaconda) File "/usr/lib/python2.7/site-packages/pyanaconda/dispatch.py", line 241, in go_forward self.dispatch() File "/usr/lib/python2.7/site-packages/pyanaconda/gui.py", line 1201, in nextClicked self.anaconda.dispatch.go_forward() SwapError: swapon failed for '/dev/mapper/vg_tordej01-lv_swap' Local variables in innermost frame: pagesize: 4096 argv: ['/dev/mapper/vg_tordej01-lv_swap'] priority: None num: 4096 sig: SWAPSPACE2 rc: 255 device: /dev/mapper/vg_tordej01-lv_swap fd: 26 ...
The problem only occurs when starting anaconda using the live-CD of Fedora 16 and selecting the "Install to disc" option. The installation using the DVD image was successfull for me.
I couldn't find a DVD install to try. However I did work around the issue by telling the installer to delete my current swap partition and not create a new one.
It would be very helpful if any of you could collect /tmp/anaconda-tb-* from the system after the error occurs and attach it to this bug report.
We have at least four people either reporting this failure or adding themselves to CC list, but not a single log from a failed attempt showing the problem. I will have to close this report due to insufficient information shortly if nobody provides their logs.