[Pardus-users] To recompile kernel or not to recompile kernel

Ekin Merošlu ekin at pardus.org.tr
Fri Jan 16 14:05:19 EET 2009


Hi;

Friday 16 January 2009, martin_sjostrand at riseup.net : 
> Looking around in the latest kernel I noticed that it was configurated for
> pentium II and not Pentium M as I have: >>Processor Type and
> Feature>>Processor Family>>(x) Pentium II/Celeron (Pre- Coppermine).
>
> I wonder if there is a way to change this without recompiling the kernel,
> on the other hand I have heard that the Pentium M option is not the
> optimal. But Pentium II...

There's no way to change it without recompiling. But I doubt that the gain 
will be much in everyday usage.
  
> I  have tried to recompile the kernel once in Pardus, and it did not work
> (had to reinstall), I managed to recompile the kernel but not install it.
> So is there a good, specific Pardus- guide somewhere?

Your best shot is to 

- checkout kernel source package : 
> svn co https://svn.pardus.org.tr/pardus/2008/kernel/kernel

- edit files/pardus-kernel-config.patch
> find :
+CONFIG_MPENTIUMII=y
+# CONFIG_MPENTIUMIII is not set
+# CONFIG_MPENTIUMM is not set
> and change to :
+# CONFIG_MPENTIUMII is not set
+# CONFIG_MPENTIUMIII is not set
+CONFIG_MPENTIUMM=y

- and build and install the package :
> pisi bi pspec.xml -dv
> pisi it kernel-*.pisi

You may need to build external kernel drivers with this new kernel. 

> Regards and I wish to say that the developers of Pardus does a grezat job,
> I really appreciate it.

Thanks for the kind comments.
--
Happy Hacking;
Ekin Meroglu <ekin_at_pardus.org.tr>

... did i listen to pop music because i was miserable, or was i miserable
because i listened to pop music?... - rob [nick hornby / hi fi]


More information about the Pardus-users mailing list