lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 3 Nov 2010 17:29:45 +1100
From:	Dave Chinner <david@...morbit.com>
To:	linux-kernel@...r.kernel.org
Subject: Re: [oops, 2.6.37-rc1] Unpacking initramfs failed, oops in
 free_init_pages()

On Wed, Nov 03, 2010 at 12:54:27PM +1100, Dave Chinner wrote:
> Folks,
> 
> Not sure yet if the initramfs image is corrupt or not yet, but it
> triggered this crash on startup:
> 
> ....
> [    2.835987] Unpacking initramfs...
> [    2.839374] Initramfs unpacking failed: junk in compressed archive
> [    2.845846] Freeing initrd memory: 44108k freed
> [    2.850364] BUG: unable to handle kernel paging request at ffff8800014ed000
> [    2.857314] IP: [<ffffffff8102d33e>] free_init_pages+0xd2/0xf8
> [    2.863138] PGD 1604063 PUD 1608063 PMD 332945063 PTE 14ed161
> [    2.868896] Oops: 0003 [#1] SMP 
> [    2.872123] last sysfs file: 
> [    2.875077] CPU 0 
> [    2.876904] Modules linked in:
> [    2.880132] 
> [    2.881615] Pid: 1, comm: swapper Not tainted 2.6.37-rc1+ #114 0W844P/PowerEdge R510
> [    2.889325] RIP: 0010:[<ffffffff8102d33e>]  [<ffffffff8102d33e>] free_init_pages+0xd2/0xf8
> [    2.897565] RSP: 0018:ffff880333441eb0  EFLAGS: 00010246
> [    2.902853] RAX: 00000000cccccccc RBX: ffff880004000000 RCX: 0000000000000400
> [    2.909957] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff8800014ed000
> [    2.917063] RBP: ffff8800014ed000 R08: 0000000000000002 R09: 0000000000000005
> [    2.924168] R10: 0000000000000000 R11: 0000003434313038 R12: 0000000000000400
> [    2.931273] R13: ffffea0000000000 R14: 00000000cccccccc R15: 0000000000000000
> [    2.938378] FS:  0000000000000000(0000) GS:ffff88063fc00000(0000) knlGS:0000000000000000
> [    2.946436] CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> [    2.952157] CR2: ffff8800014ed000 CR3: 0000000001603000 CR4: 00000000000006f0
> [    2.959264] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
> [    2.966368] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
> [    2.973473] Process swapper (pid: 1, threadinfo ffff880333440000, task ffff880633060000)
> [    2.981529] Stack:
> [    2.983529]  ffff880000000000 ffffffff8169213d 0000000000000000 0000000000000200
> [    2.990928]  0000000000000000 ffffffff81692220 ffffffff81705b50 ffffffff81002079
> [    2.998327]  000000000000000f ffffffff81705b50 ffffffff81674180 0000000000000200
> [    3.005730] Call Trace:
> [    3.008167]  [<ffffffff8169213d>] ? populate_rootfs+0x0/0xfd
> [    3.013803]  [<ffffffff81692220>] ? populate_rootfs+0xe3/0xfd
> [    3.019524]  [<ffffffff81002079>] ? do_one_initcall+0x78/0x131
> [    3.025333]  [<ffffffff816906dc>] ? kernel_init+0x162/0x1ec
> [    3.030883]  [<ffffffff8100a8a4>] ? kernel_thread_helper+0x4/0x10
> [    3.036950]  [<ffffffff8169057a>] ? kernel_init+0x0/0x1ec
> [    3.042325]  [<ffffffff8100a8a0>] ? kernel_thread_helper+0x0/0x10
> [    3.048391] Code: 01 e8 f0 80 60 01 fb 48 89 ef e8 d2 41 00 00 48 c1 e8 0c 48 89 ef 4c 89 e1 48 6b c0 38 31 f6 42 c7 44 28 08 01 00 00 00 44 89 f0 <f3> ab 48 89 ef 
> [    3.067787] RIP  [<ffffffff8102d33e>] free_init_pages+0xd2/0xf8
> [    3.073691]  RSP <ffff880333441eb0>
> [    3.077162] CR2: ffff8800014ed000
> [    3.080465] ---[ end trace 52609fe2a2756609 ]---
> [    3.085076] Kernel panic - not syncing: Attempted to kill init

Looks like it was caused by an overly large initramfs image (~45MB
compressed). Still, probably shouldn't panic like this...

Cheers,

Dave.
-- 
Dave Chinner
david@...morbit.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ