Re: mol slower after distupgrade

Bin Zhang <[email protected]>
Newsgroups gmane.linux.ports.ppc.mol.general
Message-ID <[email protected]>
On 10/3/05, Brian Ruth <[email protected]> wrote:
>
> > > On Gentoo, the priority changes were causing performance problems with
> > > newer kernels.  To fix this, we applied this patch:
> > >
> > > http://dev.gentoo.org/~josejx/mol-0.9.70-nopriority.patch
> > >
> > > It comments out the priority changes and helps quite a bit with the speed.
>
> Must try this!
>
> I've had trouble getting MOL to compile from the sources on www.maconlinux.org
> for ages now, though - seems to be an issue with the 2.6.x API and the kernel
> modules. I've so far been using the Debian MOL kernel module package, which
> seems to have fixed kernel modules, but I'd need to be able to build MOL from
> scratch to be able to try this patch...
>
> Anyone have a solution? I'm using Debian (sarge and/or testing - I have both).

I am using debian unstable.  This works for me :

1) Preparing MOL using debian source-packages and the patch :
(removing all the debian mol* packages, we'll rebuild them)
----------------------------------------------------------------------------------------
$ apt-get source mol mol-drivers-macosx
$ wget http://dev.gentoo.org/~josejx/mol-0.9.70-nopriority.patch
$ cd mol-0.9.70
$ patch -p0 <../mol-0.9.70-nopriority.patch
$ dpkg-buildpackage -rfakeroot -uc -b
$ cd ../mol-drivers-macosx-0.9.70
$ dpkg-buildpackage -rfakeroot -uc -b
$ cd ..
$ su -c "dpkg -i mol-modules-source_0.9.70-20_powerpc.deb
mol_0.9.70-20_powerpc.deb mol-drivers-macosx_0.9.70-1_powerpc.deb"
---------------------------------------------------------------------------------------------

2) Building kernel and mol-module :
-------------------------------------------------------------------------------------------
# apt-get install linux-source-2.6.xx
# cd /usr/src
# tar jxvf linux-source-2.6.xx.tar.bz2
# tar zvxf mol-modules.tar.gz
# cd linux-source-2.6.xx
# cp /boot/config-2.6.* .config
# make oldconfig    or    # make menuconfig
# make-kpkg clean
# make-kpkg --append-to-version=-yyyymmdd --revision=2.6.xx-x
kernel_image modules_image
(2.6.xx-x is the debian version (see
/usr/src/kernel-source-2.6.xx/version.Debian))
# cd ..
# dpkg -i kernel-image-2.6.xx-yyyymmdd_2.6.xx-x_powerpc.deb
mol-modules-2.6.xx-yyyymmdd_*+2.6.xx-x_powerpc.deb
-------------------------------------------------------------------------------

Best regards,
Bin

> Or could the patches to the kernel modules be incorporated into the source
> tarball...?
>
> Brian.
>
> _______________________________________________
> mol-general mailing list
> [email protected]
> http://lists.maconlinux.org/mailman/listinfo/mol-general
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.