Re: MOL Status
On Wed, Mar 15, 2006 at 09:41:17AM +0100, Gaudenz Steinlin wrote:
> On Tue, Mar 14, 2006 at 01:43:46PM +0100, Sven Luther wrote:
> > On Tue, Mar 14, 2006 at 11:10:14AM +0100, Gaudenz Steinlin wrote:
> > > Hi
> > >
> > > On Mon, Mar 13, 2006 at 09:58:22PM +0100, Jack Malmostoso wrote:
> > > > Hello there list,
> > > >
> > > > I just wanted to report that mol-0.9.71pre8 works beautifully and loads
> > > > Tiger just fine.
> > > > You can download the sources here:
> > > >
> > > > http://dev.gentoo.org/~josejx/mol-0.9.71_pre8.tar.bz2
> > >
> > > I'm currently working on update the mol package in Debian. I could need
> > > some comaintainers though, because Otavio who originally started the
> > > pkg-mol effort no longer owns any Powerpc machine.
> > Thanks for working on this. What help do you need ? Something specific i could
> > do, or long run help ?
> You could have a look at #353461. The absence of highmem.h in
> asm-powerpc also affects mol modules builds. Just copying highmem.h from
> asm-ppc to asm-powerpc solves the problem. but I don't know if this is
> the right aproach. asm/highmem.h is not directly included from the mol
> modules, but other kernel include files include it.
12:26 < svenl> BTW, i need some help on the highmem.h issue ? Should it be
added to include/asm-powerpc, or is it deprecated and every header calling it
should be fixed ?
12:26 * svenl needs to check if it is still a problem.
12:26 < olaf> you have to add some -Iinclude/asm-ppc to the end of you cflags
12:27 < svenl> olaf: what about 2.6.16-rc ?
12:27 < olaf> or submit a patch for rm -rf arch/ppc
12:27 < svenl> olaf: ok, but what should happen to the highmem.h file ?
12:27 < olaf> no idea
12:28 < svenl> i have no problem providing a patch, but would like to know
what the plan is :)
12:28 < svenl> olaf: ok, i guess this means i should post on linuxppc-devel ?
Or do you see a better person for it ?
12:29 < olaf> what are you trying to do?
12:29 < svenl> olaf: well.
12:30 < svenl> olaf: debian is getting lot of bug reports that it is not
possible to build (32bit) out-of-tree modules because of this missing
12:30 < svenl> olaf: i am wondering if the solution is to kill the highmem.h
file, or to add it to asm-powerpc.
12:30 < dwmw2_gone> svenl: it works on Fedora. Just make sure you have the
kernel-devel stuff set up in /lib/modules/`uname -r`/build correctly
12:30 < olaf> they miss the include path. did you try 2.6.16rc6? there was a
patch for that I think
12:30 < dwmw2_gone> my solution was just to make the appropriate symlinks to
asm-ppc, just as the normal kernel build has
12:31 < svenl> dwmw2_gone: well, sure it works if you move the file, but is
that the right way ?
12:31 < svenl> olaf: a cool, i will have a look, i only looked upto rc5.
12:31 < svenl> dwmw2_gone: and would it not be best to fix it for 2.6.16 ?
12:32 < dwmw2_gone> no, I don't move the file
12:33 < svenl> dwmw2_gone: so, even post 2.6.16, it is still needed to keep
the asm-ppc includes for 32bit ? I thought it would die for the desktop
12:33 < dwmw2_gone> it seems to be necessary, as you've observed
12:33 < dwmw2_gone> I also thought it would die -- but it hasn't
12:34 < dwmw2_gone> it would make some sense to move the remaining stuff
12:40 < olaf> @@ -171,6 +168,8 @@ endef
12:40 < olaf>
12:40 < olaf> archclean:
12:40 < olaf> $(Q)$(MAKE) $(clean)=$(boot)
12:40 < olaf> +
12:40 < olaf> +archmrproper:
12:40 < olaf> $(Q)rm -rf arch/$(ARCH)/include
12:40 < olaf>
12:40 < olaf> I think this one prevented the rm of the ppc include symlink.
but I dont know how you build external modules