UBCD 5.1.1, PartedMagic 6.6; Kernel Panic on boot

Report new bugs here, or look at known issues of current and previous releases of UBCD.

Moderators: Icecube, StopSpazzing

Post Reply
Message
Author
Dojan
Posts: 3
Joined: Sun Jan 29, 2012 7:22 am
Location: Sweden, Umeå

UBCD 5.1.1, PartedMagic 6.6; Kernel Panic on boot

#1 Post by Dojan » Sun Jan 29, 2012 10:23 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 naturally 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 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, 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 memory-leak. If I disconnect the hdd or attach another one, everything works fine. I also note that the UBCD 5.1.1 comes with PartedMagic 6.6, with the 3.0 kernel, and that the UBCD 5.0.1 has the earlier 4.1 version of PartedMagic with the 2.6.32.11 kernel. This is probably (?) the important difference.

I do realize that this is most likely a problem with PartedMagic, and not the UBCD per se, and I will head up-stream if none of you guys have anything to ad.

I don't actually need any help with this, i'm just writing to notify you guys of a potential problem. Thanks for an amazing tool! Keep up the good work!

ady
Posts: 832
Joined: Sat May 08, 2010 5:26 am

Re: UBCD 5.1.1, PartedMagic 6.6; Kernel Panic on boot

#2 Post by ady » Mon Jan 30, 2012 2:11 pm

The only connection between this problem and UBCD could be the boot menu from UBCD, although I doubt the solution is related to it (to the boot menu in UBCD).

I didn't read the original topic you linked to, but, if the problem can't be resolve by changing the boot menu in UBCD, then it is up to PartedMagic.

You could test the latest PartedMagic development version, but started by itself (not from UBCD).

Just FYI, to update the latest PartedMagic after v6.7 with UBCD 5.1.1., there are some changes that Victor (the developer of UBCD) would need to apply in the next version of UBCD. The (old) method for updating PMagic in UBCD is no longer valid (because changes made in PMagic). A workaround (not to the original problem, but for merging UBCD with the latest PMagic) would be the latest SARDU.

If you find any solution to the original problem, please post here a link or how to solve it. TIA.

Dojan
Posts: 3
Joined: Sun Jan 29, 2012 7:22 am
Location: Sweden, Umeå

Re: UBCD 5.1.1, PartedMagic 6.6; Kernel Panic on boot

#3 Post by Dojan » Tue Jan 31, 2012 3:40 am

Thank you for your reply! You are right, after some further testing, the problem seems to persist over all LiveCD's I have around with a kernel >3.0, so it shouldn't have anything to do with UBCD, so I'm heading upstream. Posted in this thread in PartedMagic's support forums.

As to the original problem of infinite-loop-of-extrended-partitions, this thread on the UbuntuForums handles it in some depth, and while it is flagged [solved], I don't think it's without complications.

Post Reply