Loading a newer mach_kernel

32 views
Skip to first unread message

willrea

unread,
Dec 1, 2010, 6:26:13 PM12/1/10
to atv-bootloader
Hi,

I was wanting to boot to a / that is formatted as ext4. Compiling the
new kernel and cross-compiling everything into a new mach_kernel went
fine but when booting it hangs at "starting linux"

Any help would be appreciated.

William Rea

Jimmer

unread,
Dec 3, 2010, 10:14:47 AM12/3/10
to atv-bootloader

Hi William,

Just wanted to echo your experience. Although personally still using
EXT3, when I've tried the above with a Karmic Kernel, I have the same
hanging issue. I was wondering if the bootloader needs patching to
work with newer Kernels? What Kernel were you trying it with?

I heard there was a grub2 patch floating about somewhere. Perhaps this
is what I need (have already tried installing legacy grub and
recompiling, but no dice)...

Perhaps more experienced hands can chip in?

Jim

Robert Baptista

unread,
Dec 3, 2010, 10:29:04 AM12/3/10
to atv-boo...@googlegroups.com
I did a grub2 patch but that won't help you in this case. The grub2 patch is just for parsing the grub2 config file.

You can get by any problems with grub 2 by creating a menu.lst file with the proper entries (3-4 lines I believe). You should be able to find those entries on this list, if not I have them at home and can post them. But if your kexec is happening with the proper options then it would not help in that case.

Robert


--
To post to this group, send email to atv-boo...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/atv-bootloader?hl=en

Will Rea

unread,
Dec 3, 2010, 12:37:39 PM12/3/10
to atv-boo...@googlegroups.com
I was trying 2.6.36.1
--
William Rea

Jimmer

unread,
Dec 3, 2010, 1:28:36 PM12/3/10
to atv-bootloader
Hi Robert,

Thanks for the reply. I initially tried it with a self-constructed
menu.lst but I had the OP's problem with hanging. So then I removed
grub2, installed legacy grub, but still had the hang with the system-
constructed menu.lst...

The Mach_kernel seemingly compiled correctly using the Darwin Cross
tools. I even tried it on a mac... But again, the resulting
mach_kernel boots with the same result...

Do you have any pointers towards making this work with Karmic... or
even a way to test the mach_kernel that will yield some useful debug
info? As I say, at the moment it will just sit there at starting Linux
for ever (or until the power is yanked!) and I can find no useful way
to interact with the box in this state to work on the problem... are
there tools that can test the file?

Anyway I would still like to have a go with your grub2 patch if
that's ok.... Do you have a copy online somewhere?

Jim



On Dec 3, 5:37 pm, Will Rea <will....@gmail.com> wrote:
> I was trying 2.6.36.1
>
> On Fri, Dec 3, 2010 at 7:29 AM, Robert Baptista <rob...@rbcardiff.net>wrote:
>
>
>
>
>
> > I did a grub2 patch but that won't help you in this case. The grub2 patch
> > is just for parsing the grub2 config file.
>
> > You can get by any problems with grub 2 by creating a menu.lst file with
> > the proper entries (3-4 lines I believe). You should be able to find those
> > entries on this list, if not I have them at home and can post them. But if
> > your kexec is happening with the proper options then it would not help in
> > that case.
>
> > Robert
>

Robert Baptista

unread,
Dec 18, 2010, 12:30:15 AM12/18/10
to atv-boo...@googlegroups.com
Sorry it took a while to respond. I do not have the modified files
online anywhere, just submitted them to Scott. I'll find a place to put
them for you if you want to try them out.

I unfortunately do not have any experience with troubleshooting the
mach_kernel. I run all mine with ext3 so I haven't done any ext4 stuff
on the atv.

Robert

Reply all
Reply to author
Forward
0 new messages