| Summary: | crash when activating a swap device with incorrect page size | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | IBM Bug Proxy <bugproxy> | ||||||
| Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||||
| Status: | CLOSED WONTFIX | QA Contact: | Release Test Team <release-test-team> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 6.1 | CC: | jkachuck | ||||||
| Target Milestone: | rc | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | ppc64 | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2011-06-13 14:45:00 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 684953 | ||||||||
| Attachments: |
|
||||||||
Created attachment 503611 [details]
anaconda's crash information
Created attachment 503612 [details]
Call-udev_settle-after-committing-changes-to-a-disk-.patch
It appears your swap partition (sda5) is somehow broken: 13:05:28,945 INFO : Running... ['swapon', '/dev/sda5'] 13:05:28,961 ERROR : swapon: /dev/sda5: swap format pagesize does not match. (Use --fixpgsz to reinitialize it.) 13:05:28,961 ERROR : swapon: /dev/sda5: swapon failed: Invalid argument From syslog: 18:05:28,967 WARNING kernel:Swap area shorter than signature indicates We did not modify the swap partition in any way as far as I can tell. Setting devel_ack- based on comment #4. Development Management has reviewed and declined this request. You may appeal this decision by reopening this request. |
anaconda's crash information ---Problem Description--- I think this is different than an earlier bug I opened, "RH691950- [RHEL6-GA]Anaconda crashes while working with partitions", but it is in the same area. I'm installing using a network boot of the install media thru a VNC session, and had selected to do a custom install (intending to preserve an existing installation). I wanted to re-format and use the existing PPC Prep Boot partition and re-use (no format) the /boot partition, and create a new /dev/sda8 root "/" partition. anaconda crashed. ---uname output--- Linux version 2.6.32-131.0.15.el6.ppc64 (mockbuild.bos.redhat.com) (gcc version 4.4.4 20100726 (Red Hat 4.4.4-13) (GCC) ) #1 SMP Tue May 10 15:44:09 EDT 2011 Machine Type = PS701/702 8406-71Y ---Anaconda Component Data--- Userspace tool common name: anaconda The userspace tool has the following bit modes: 64 Userspace rpm: anaconda == Comment: #1 - PREM KARAT <prem.karat.ibm.com> - 2011.06.08 00:12:04 == Looking at the anaconda exception report, following is reported. anaconda 13.21.117 exception report Traceback (most recent call first): File "/usr/lib/anaconda/storage/devicelibs/swap.py", line 93, in swapon raise SwapError("swapon failed for '%s'" % device) File "/usr/lib/anaconda/storage/formats/swap.py", line 133, in setup swap.swapon(self.device, priority=self.priority) File "/usr/lib/anaconda/storage/__init__.py", line 1891, in turnOnSwap device.format.setup() File "/usr/lib/anaconda/storage/__init__.py", line 1196, in turnOnSwap self.fsset.turnOnSwap(self.anaconda, upgrading=upgrading) File "/usr/lib/anaconda/packages.py", line 170, in turnOnFilesystems anaconda.id.storage.turnOnSwap() File "/usr/lib/anaconda/dispatch.py", line 208, 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 1389, in nextClicked self.anaconda.dispatch.gotoNext() SwapError: swapon failed for '/dev/sda5' Found a similar bug that is fixed a long time ago. https://partner-bugzilla.redhat.com/show_bug.cgi?id=491945 Patch that fixed this is attached here. But looks like the fix should be already present. There is probably more to this. Requesting Redhat for help on this. Cheers, Prem == Comment: #2 - PREM KARAT <prem.karat.ibm.com> - 2011.06.08 00:13:48 == Call-udev_settle-after-committing-changes-to-a-disk-.patch