initramfs kernel bunzip2 boot crash

Bug #1536571 reported by billhuey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cloud-initramfs-tools
Expired
Undecided
Unassigned

Bug Description

From the most recent kernel pull from Linus's tree tonight using the config-4.2.0-25-generic config:

[ 0.676119] Trying to unpack rootfs image as initramfs...
[ 3.312822] swapper/0 invoked oom-killer: gfp_mask=0x24200c2, order=0, oom_score_adj=0
[ 3.314181] swapper/0 cpuset=/ mems_allowed=0
[ 3.314935] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 4.4.0+ #2
[ 3.315739] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Ubuntu-1.8.2-1ubuntu1 04/01/2014
[ 3.317029] 0000000000000000 000000003504fa35 ffff88003e2fb7e8 ffffffff813d2e94
[ 3.318291] ffff88003e2fb970 ffff88003e2fb850 ffffffff8120a726 0000000000000000
[ 3.319557] 000000003504fa35 00000000024200c2 0000000000000000 ffff88003e2fb970
[ 3.320816] Call Trace:
[ 3.321245] [<ffffffff813d2e94>] dump_stack+0x44/0x60
[ 3.321941] [<ffffffff8120a726>] dump_header+0x5b/0x1da
[ 3.322691] [<ffffffff8118d2ab>] out_of_memory+0x44b/0x460
[ 3.323558] [<ffffffff81192ea0>] __alloc_pages_nodemask+0xa70/0xbf0
[ 3.324419] [<ffffffff811dec6e>] alloc_page_interleave+0x3e/0x90
[ 3.325253] [<ffffffff811df2db>] alloc_pages_current+0xcb/0x110
[ 3.326069] [<ffffffff81188a3e>] __page_cache_alloc+0xae/0xc0
[ 3.326876] [<ffffffff811898bf>] pagecache_get_page+0x11f/0x230
[ 3.327690] [<ffffffff811899f6>] grab_cache_page_write_begin+0x26/0x40
[ 3.328568] [<ffffffff812360c8>] simple_write_begin+0x28/0x1b0
[ 3.330165] [<ffffffff8118889e>] generic_perform_write+0xce/0x1c0
[ 3.330976] [<ffffffff8118b006>] __generic_file_write_iter+0x1a6/0x1f0
[ 3.331813] [<ffffffff8118b134>] generic_file_write_iter+0xe4/0x1e0
[ 3.332633] [<ffffffff81fb5daa>] ? bunzip2+0x41f/0x41f
[ 3.333358] [<ffffffff8120da29>] __vfs_write+0xc9/0x110
[ 3.334090] [<ffffffff8120e2a9>] vfs_write+0xa9/0x190
[ 3.334813] [<ffffffff813f19f2>] ? zlib_updatewindow+0x82/0xe0
[ 3.335614] [<ffffffff81fb5daa>] ? bunzip2+0x41f/0x41f
[ 3.336334] [<ffffffff8120f2d5>] SyS_write+0x55/0xc0
[ 3.337045] [<ffffffff81f74b7e>] ? do_name+0x124/0x28a
[ 3.337766] [<ffffffff81f740a9>] xwrite+0x2a/0x5f
[ 3.338450] [<ffffffff81f74168>] do_copy+0x8a/0xb8
[ 3.339134] [<ffffffff81f73cdd>] write_buffer+0x23/0x34
[ 3.339859] [<ffffffff81f73d19>] flush_buffer+0x2b/0x85
[ 3.340589] [<ffffffff81f73cee>] ? write_buffer+0x34/0x34
[ 3.341343] [<ffffffff81fb604d>] __gunzip+0x299/0x341
[ 3.342059] [<ffffffff81fb60f5>] ? __gunzip+0x341/0x341
[ 3.342801] [<ffffffff81fb6106>] gunzip+0x11/0x13
[ 3.343475] [<ffffffff81f73c3f>] ? md_run_setup+0x9a/0x9a
[ 3.344225] [<ffffffff81f745ae>] unpack_to_rootfs+0x183/0x2b6
[ 3.345022] [<ffffffff81f73c3f>] ? md_run_setup+0x9a/0x9a
[ 3.345771] [<ffffffff81f74956>] ? clean_rootfs+0x170/0x170
[ 3.346549] [<ffffffff81f749b6>] populate_rootfs+0x60/0x104
[ 3.347327] [<ffffffff81002143>] do_one_initcall+0xd3/0x200
[ 3.348102] [<ffffffff81f721a3>] kernel_init_freeable+0x173/0x214
[ 3.348934] [<ffffffff817fe6e0>] ? rest_init+0x80/0x80
[ 3.349662] [<ffffffff817fe6ee>] kernel_init+0xe/0xf0
[ 3.350378] [<ffffffff8180b44f>] ret_from_fork+0x3f/0x70
[ 3.351127] [<ffffffff817fe6e0>] ? rest_init+0x80/0x80
[ 3.351845] Mem-Info:

billhuey (bill-huey)
affects: openstack-ansible → cloud-initramfs-tools
Revision history for this message
Scott Moser (smoser) wrote :

Hi,
is this still an issue?
I suspect that if it is, its in the overlay filesystem upstream.

overlayroot should now properly use the 'overlay' filesystem if its present, no longer relying on the 'overlayfs' name from Ubuntu.

If its still a problem for you, please provide that info, and mark 'New' again.

Changed in cloud-initramfs-tools:
status: New → Incomplete
Revision history for this message
Scott Moser (smoser) wrote :

Also, it looks like maybe you just ran out of memory.
overlayroot is going to write to a tmpfs and the kernel needs memory, so if your qemu machine doesn't have enough.... failure is kind of unavoidable.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for cloud-initramfs-tools because there has been no activity for 60 days.]

Changed in cloud-initramfs-tools:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.