Kernel Panic on boot PM 6.6 and later

For issues related to booting the supported CD and PXE media.

Kernel Panic on boot PM 6.6 and later

Postby dojan » Tue Jan 31, 2012 10:42 am



I recently found This problem after installing the forth Linux distro in a multiboot computer. It first manifested like so:

Code: Select all
GRUB Loading stage1.5.

GRUB loading, please wait...
Error 15

My first instinct was to boot from the UBCD, which worked fine, but when I tried to boot PartedMagic, it Kernel Panicked on me, citing Not Enough Memory and No Killable Processes (Which is ridiculous, it's got 2048MB).

Looks something like this (copied by hand to this other computer, possibly with typos):

Code: Select all
yada yada

Copying files to RAM .........................................................................................................................
..............................................................................................................................................
..............................................................................................................................................
..........................................................................

Mounting pmagic-6.6.sqfs... DONE

### Entering Parted Magic ###

Mounting kernel file systems... DONE

Starting logs... DONE

Completing device setup... [  176.077805] Kernel panic - not syncing: Out of memory and no killable processes...
[  176.077806]
[  176.077980] Pid: 4211, comm: blkid Not tainted 3.0.0-pmagic #1
[  176.078028] Call Trace:
[  176.078052]  [<c1342ec7>] ? printk+0x14/0x1d
[  176.078083]  [<c1342dc4>] panic+0x55/0x144
[  176.078119]  [<c109d557>] out_of_memory+0xfb/0x150
[  176.078157]  [<c10a0291>] __alloc_pages_nodemask+ox43a/0x4f0
[  176.078204]  [<c10b0a5e>] alloc_zeroed_user_highpage_movable-clone.46+0x1b/0x1d
[  176.078285]  [<c10b28f9>] handle_pte_fault+0x134/0x628
[  176.078329]  [<c10c8281>] ? do_sync_read+0x8f/0xca
[  176.078362]  [<c10b2ed8>] handle_mm_fault+0xeb/0xfa
[  176.078461]  [<c1029beb>] ? need_resched+0x19/0x23
[  176.078495]  [<c10205a7>] do_page_fault+0x2d6/0x2f3
[  176.078528]  [<c1029c02>] ? should_resched+0xd/0x28
[  176.078560]  [<c11a5e65>] ? copy_to_user+0x44/0x4b
[  176.078661]  [<c10c84c9>] ? sys_llseek+0x6d/0x77
[  176.078694]  [<c10202d1>] ? vmalloc_sync_all+0x9a/0x9a
[  176.078729]  [<c134565f>] error_code+0x67/0x6c
[  176.078763]  [<c1340000>] ?set_cpu_sibling_map+0x17a/0x276
[  176.080463] panic occurred, switching back to text console

Like I said, there is more than enough memory, and the very same CD worked flawlessly just the day before. So I try again, with different settings, but all with the same approximate result. I try another copy of the CD, but to no avail. Finally I try an older copy, UBCD 5.0.1 with PM 4.1 and that worked perfectly!

What I gather so far is: The problem I had with the hdd was some kind of infinite-loop-of-extended-partitions, which could be a potential infinite-memory-leak. If I disconnect the misbehaving hdd or attach another one, everything works fine. I also note that the UBCD 5.1.1 comes with PM 6.6, with the 3.0 kernel, and that the UBCD 5.0.1 has the earlier 4.1 version of PM with the 2.6.32.11 kernel. This might(?) be the important difference. I later downloaded PM 2011-12-30, and the problem persists there and on every other LiveCD i can dig up with Kernel >3.0.

I don't actually need any help with this, i'm just writing to notify you guys of a potential problem. I still have the hdd around and can reproduce the problem anytime if you'd like me to try something out.

Thanks for an amazing tool! Keep up the good work!


[I first posted about this in the UBCD support forum, but was kindly pointed in this direction.]


dojan
 
Posts: 2
Joined: Tue Jan 31, 2012 9:59 am

Return to Booting

Who is online

Users browsing this forum: Google Adsense [Bot] and 2 guests