Bug 1145691 - SwapError: swapon failed for '/dev/sdc2'
Summary: SwapError: swapon failed for '/dev/sdc2'
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 20
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:5df64f3d1a2891667619510890a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-23 14:04 UTC by ILMostro
Modified: 2014-09-23 14:10 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-09-23 14:10:38 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: anaconda-tb (1.14 MB, text/plain)
2014-09-23 14:04 UTC, ILMostro
no flags Details
File: anaconda.log (11.10 KB, text/plain)
2014-09-23 14:04 UTC, ILMostro
no flags Details
File: environ (539 bytes, text/plain)
2014-09-23 14:04 UTC, ILMostro
no flags Details
File: journalctl (566.94 KB, text/plain)
2014-09-23 14:04 UTC, ILMostro
no flags Details
File: lsblk_output (4.18 KB, text/plain)
2014-09-23 14:04 UTC, ILMostro
no flags Details
File: nmcli_dev_list (6.00 KB, text/plain)
2014-09-23 14:04 UTC, ILMostro
no flags Details
File: os_info (375 bytes, text/plain)
2014-09-23 14:04 UTC, ILMostro
no flags Details
File: program.log (108.13 KB, text/plain)
2014-09-23 14:04 UTC, ILMostro
no flags Details
File: storage.log (466.88 KB, text/plain)
2014-09-23 14:04 UTC, ILMostro
no flags Details
File: ifcfg.log (1.81 KB, text/plain)
2014-09-23 14:04 UTC, ILMostro
no flags Details

Description ILMostro 2014-09-23 14:04:24 UTC
Version-Release number of selected component:
anaconda-20.25.15-1.fc20.i686

The following was filed automatically by anaconda:
anaconda 20.25.15-1 exception report
Traceback (most recent call first):
  File "/usr/lib/python2.7/site-packages/blivet/devicelibs/swap.py", line 88, in swapon
    raise SwapError("swapon failed for '%s'" % device)
  File "/usr/lib/python2.7/site-packages/blivet/formats/swap.py", line 133, in setup
    swap.swapon(self.device, priority=self.priority)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 2660, in turnOnSwap
    device.format.setup()
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 1679, in turnOnSwap
    upgrading=upgrading)
  File "/usr/lib/python2.7/site-packages/blivet/__init__.py", line 179, in turnOnFilesystems
    storage.turnOnSwap()
  File "/usr/lib/python2.7/site-packages/pyanaconda/install.py", line 142, in doInstall
    turnOnFilesystems(storage, mountOnly=flags.flags.dirInstall)
  File "/usr/lib/python2.7/threading.py", line 764, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.7/site-packages/pyanaconda/threads.py", line 192, in run
    threading.Thread.run(self, *args, **kwargs)
SwapError: swapon failed for '/dev/sdc2'

Additional info:
cmdline:        /usr/bin/python  /sbin/anaconda --liveinst --method=livecd:///dev/mapper/live-base
cmdline_file:   initrd=initrd0.img root=live:UUID=a9e3e90e-572f-4758-92e3-0a8a641c0c2a rootfstype=ext4 rw rd.live.image overlay=UUID=a9e3e90e-572f-4758-92e3-0a8a641c0c2a quiet  rhgb rd.luks=0 rd.md=0 rd.dm=0  BOOT_IMAGE=vmlinuz0 
executable:     /sbin/anaconda
hashmarkername: anaconda
kernel:         3.11.10-301.fc20.i686
other involved packages: python-blivet-0.23.9-1.fc20.noarch, python-libs-2.7.5-9.fc20.i686
product:        Fedora
release:        Fedora release 20 (Heisenbug)
type:           anaconda
version:        20

Potential duplicate: bug 989556

Comment 1 ILMostro 2014-09-23 14:04:28 UTC
Created attachment 940448 [details]
File: anaconda-tb

Comment 2 ILMostro 2014-09-23 14:04:29 UTC
Created attachment 940449 [details]
File: anaconda.log

Comment 3 ILMostro 2014-09-23 14:04:30 UTC
Created attachment 940450 [details]
File: environ

Comment 4 ILMostro 2014-09-23 14:04:32 UTC
Created attachment 940451 [details]
File: journalctl

Comment 5 ILMostro 2014-09-23 14:04:33 UTC
Created attachment 940452 [details]
File: lsblk_output

Comment 6 ILMostro 2014-09-23 14:04:33 UTC
Created attachment 940453 [details]
File: nmcli_dev_list

Comment 7 ILMostro 2014-09-23 14:04:34 UTC
Created attachment 940454 [details]
File: os_info

Comment 8 ILMostro 2014-09-23 14:04:35 UTC
Created attachment 940455 [details]
File: program.log

Comment 9 ILMostro 2014-09-23 14:04:38 UTC
Created attachment 940456 [details]
File: storage.log

Comment 10 ILMostro 2014-09-23 14:04:38 UTC
Created attachment 940457 [details]
File: ifcfg.log

Comment 11 David Shea 2014-09-23 14:10:38 UTC
There's a lot of memory allocation failures in the log files that you attached. Either something is using all of your memory, or there is a hardware problem.

Sep 23 07:01:48 fedpadssd.airportx.home livesys[876]: Enabling swap partition /dev/sdb7 swapon: /dev/sdb7: swapon failed: Cannot allocate memory
Sep 23 07:01:48 fedpadssd.airportx.home kernel: vmalloc: allocation failure: 3072000 bytes
Sep 23 07:01:48 fedpadssd.airportx.home livesys[876]: [FAILED]
Sep 23 07:01:48 fedpadssd.airportx.home kernel: swapon: page allocation failure: order:0, mode:0x80d2
Sep 23 07:01:48 fedpadssd.airportx.home livesys[876]: Enabling swap partition /dev/mapper/fedora_fedpadssd-swap swapon: /dev/mapper/fedora_fedpadssd-swap: swapon failed: Cannot allocate memory
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU: 0 PID: 926 Comm: swapon Not tainted 3.11.10-301.fc20.i686 #1
Sep 23 07:01:48 fedpadssd.airportx.home livesys[876]: [FAILED]
Sep 23 07:01:48 fedpadssd.airportx.home kernel: Hardware name: LENOVO 42762QU/42762QU, BIOS 8BET62WW (1.42 ) 07/26/2013
Sep 23 07:01:48 fedpadssd.airportx.home kernel:  00000000 00000000 f0b73ea0 c09795ee 00000001 f0b73ec8 c0507a5b c0b1d1c4
Sep 23 07:01:48 fedpadssd.airportx.home kernel:  f6dcde0c 00000000 000080d2 f0b73edc c0b1eb5c f0b73eb8 ff3fe000 f0b73ef8
Sep 23 07:01:48 fedpadssd.airportx.home kernel:  c0531556 000080d2 00000000 c0b1eb5c 002ee000 00000000 002ee000 00000000
Sep 23 07:01:48 fedpadssd.airportx.home kernel: Call Trace:
Sep 23 07:01:48 fedpadssd.airportx.home kernel:  [<c09795ee>] dump_stack+0x41/0x52
Sep 23 07:01:48 fedpadssd.airportx.home kernel:  [<c0507a5b>] warn_alloc_failed+0xbb/0xf0
Sep 23 07:01:48 fedpadssd.airportx.home kernel:  [<c0531556>] __vmalloc_node_range+0x186/0x1b0
Sep 23 07:01:48 fedpadssd.airportx.home kernel:  [<c05315d4>] __vmalloc_node+0x54/0x60
Sep 23 07:01:48 fedpadssd.airportx.home kernel:  [<c05361bb>] ? SyS_swapon+0x48b/0xa80
Sep 23 07:01:48 fedpadssd.airportx.home kernel:  [<c0531680>] vzalloc+0x30/0x40
Sep 23 07:01:48 fedpadssd.airportx.home kernel:  [<c05361bb>] ? SyS_swapon+0x48b/0xa80
Sep 23 07:01:48 fedpadssd.airportx.home kernel:  [<c05361bb>] SyS_swapon+0x48b/0xa80
Sep 23 07:01:48 fedpadssd.airportx.home kernel:  [<c05521e3>] ? __fput+0x143/0x1f0
Sep 23 07:01:48 fedpadssd.airportx.home kernel:  [<c098690d>] sysenter_do_call+0x12/0x28
Sep 23 07:01:48 fedpadssd.airportx.home kernel: Mem-Info:
Sep 23 07:01:48 fedpadssd.airportx.home kernel: DMA per-cpu:
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    0: hi:    0, btch:   1 usd:   0
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    1: hi:    0, btch:   1 usd:   0
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    2: hi:    0, btch:   1 usd:   0
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    3: hi:    0, btch:   1 usd:   0
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    4: hi:    0, btch:   1 usd:   0
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    5: hi:    0, btch:   1 usd:   0
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    6: hi:    0, btch:   1 usd:   0
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    7: hi:    0, btch:   1 usd:   0
Sep 23 07:01:48 fedpadssd.airportx.home kernel: Normal per-cpu:
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    0: hi:  186, btch:  31 usd: 164
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    1: hi:  186, btch:  31 usd: 117
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    2: hi:  186, btch:  31 usd: 123
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    3: hi:  186, btch:  31 usd: 138
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    4: hi:  186, btch:  31 usd: 124
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    5: hi:  186, btch:  31 usd: 167
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    6: hi:  186, btch:  31 usd: 166
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    7: hi:  186, btch:  31 usd: 148
Sep 23 07:01:48 fedpadssd.airportx.home kernel: HighMem per-cpu:
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    0: hi:  186, btch:  31 usd:  37
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    1: hi:  186, btch:  31 usd:  35
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    2: hi:  186, btch:  31 usd:  69
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    3: hi:  186, btch:  31 usd:  48
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    4: hi:  186, btch:  31 usd:  33
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    5: hi:  186, btch:  31 usd: 114
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    6: hi:  186, btch:  31 usd: 202
Sep 23 07:01:48 fedpadssd.airportx.home kernel: CPU    7: hi:  186, btch:  31 usd: 130
Sep 23 07:01:48 fedpadssd.airportx.home kernel: active_anon:4080 inactive_anon:158 isolated_anon:0
active_file:10337 inactive_file:53076 isolated_file:0
unevictable:0 dirty:302 writeback:0 unstable:0
free:688709 slab_reclaimable:2672 slab_unreclaimable:4973
mapped:3195 shmem:227 pagetables:199 bounce:0
free_cma:0
Sep 23 07:01:48 fedpadssd.airportx.home kernel: DMA free:6308kB min:24kB low:28kB high:36kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15984kB managed:6308kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Sep 23 07:01:48 fedpadssd.airportx.home kernel: lowmem_reserve[]: 0 836 3006 3006
Sep 23 07:01:48 fedpadssd.airportx.home kernel: Normal free:771104kB min:3684kB low:4604kB high:5524kB active_anon:0kB inactive_anon:0kB active_file:31484kB inactive_file:7984kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:888824kB managed:856920kB mlocked:0kB dirty:168kB writeback:0kB mapped:4kB shmem:0kB slab_reclaimable:10688kB slab_unreclaimable:19892kB kernel_stack:1480kB pagetables:0kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Sep 23 07:01:48 fedpadssd.airportx.home kernel: lowmem_reserve[]: 0 0 17357 17357
Sep 23 07:01:48 fedpadssd.airportx.home kernel: HighMem free:1977424kB min:512kB low:2900kB high:5292kB active_anon:16320kB inactive_anon:632kB active_file:9864kB inactive_file:204320kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:2221704kB managed:2221704kB mlocked:0kB dirty:1040kB writeback:0kB mapped:12776kB shmem:908kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:796kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
Sep 23 07:01:48 fedpadssd.airportx.home kernel: lowmem_reserve[]: 0 0 0 0
Sep 23 07:01:48 fedpadssd.airportx.home kernel: DMA: 3*4kB (UM) 3*8kB (M) 2*16kB (M) 1*32kB (U) 3*64kB (UM) 3*128kB (UM) 2*256kB (UM) 2*512kB (M) 2*1024kB (UM) 1*2048kB (U) 0*4096kB = 6308kB
Sep 23 07:01:48 fedpadssd.airportx.home kernel: Normal: 1*4kB (U) 2*8kB (EM) 3*16kB (UM) 0*32kB 0*64kB 0*128kB 3*256kB (UEM) 2*512kB (UE) 1*1024kB (U) 1*2048kB (U) 187*4096kB (MR) = 770884kB
Sep 23 07:01:48 fedpadssd.airportx.home kernel: HighMem: 59*4kB (UM) 102*8kB (UM) 54*16kB (UM) 23*32kB (U) 16*64kB (UM) 3*128kB (U) 19*256kB (UM) 18*512kB (UM) 13*1024kB (UM) 8*2048kB (UM) 471*4096kB (UMR) = 1977052kB
Sep 23 07:01:48 fedpadssd.airportx.home kernel: Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=4096kB
Sep 23 07:01:48 fedpadssd.airportx.home kernel: 63841 total pagecache pages
Sep 23 07:01:48 fedpadssd.airportx.home kernel: 0 pages in swap cache
Sep 23 07:01:48 fedpadssd.airportx.home kernel: Swap cache stats: add 0, delete 0, find 0/0
Sep 23 07:01:48 fedpadssd.airportx.home kernel: Free swap  = 0kB
Sep 23 07:01:48 fedpadssd.airportx.home kernel: Total swap = 0kB
Sep 23 07:01:48 fedpadssd.airportx.home kernel: 783359 pages RAM
Sep 23 07:01:48 fedpadssd.airportx.home kernel: 557058 pages HighMem
Sep 23 07:01:48 fedpadssd.airportx.home kernel: 12126 pages reserved
Sep 23 07:01:48 fedpadssd.airportx.home kernel: 22576 pages shared
Sep 23 07:01:48 fedpadssd.airportx.home kernel: 66221 pages non-shared


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