Author Topic: kernel 3.1.1  (Read 1601 times)

Offline critter

  • Full Member
  • ***
  • Posts: 220
kernel 3.1.1
« on: November 13, 2011, 07:24:38 AM »
hey guys, I know Tex is busy right now with the 64 bit spin so if anybody wants to try it
kernel 3.1.1 compiles 'out of the box' on pclos kde4 2011

Source is here  http://kernel.org/

make menuconfig (I didn't change anything here - yet)
make
make modules
make modules_install
make install

That's all. It'll take a while but seems quick and stable on this machine.
Enjoy, I'm off to slim it down and see if I get any performance gains.
Motherboard   Gigabyte Z68X-UD3H-B3
Hard Drives      2 x Maxtor STM350032 500GB SATA
Memory      16GB RAM
Processor      Intel core i5 3.30GHz
Video         nVidia GeForce GT430
Sound      HDA Intel PCH
PCLinuxOS          KDE

Online muungwana

  • Hero Member
  • *****
  • Posts: 6213
Re: kernel 3.1.1
« Reply #1 on: November 13, 2011, 08:44:30 AM »

whats missing in the distro's kernels that make you go out and build your own?
.. 3 things are certain in life : death, taxes and software bloat ..
.. tell me something i don't know, something i can use as i struggle to reason with the world around me ..

Offline glamdring

  • Hero Member
  • *****
  • Posts: 552
Re: kernel 3.1.1
« Reply #2 on: November 13, 2011, 12:36:00 PM »

whats missing in the distro's kernels that make you go out and build your own?

Added support for some hardware I have, granted with some hacking I can get it to work on the current one in repos. I didn't update my main system, I can wait the little bit to let Texstar put it into repo.

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3789
Re: kernel 3.1.1
« Reply #3 on: November 13, 2011, 01:13:37 PM »
I use a custom 3.1 kernel with bfs and bfq. The advantage for me is improvements in the 3d speed of the intel video driver and the bfq io scheduler. I start with the existing PCLinuxOS .config file.

Galen

Offline critter

  • Full Member
  • ***
  • Posts: 220
Re: kernel 3.1.1
« Reply #4 on: November 13, 2011, 02:12:06 PM »
The kernels in the repositories are fine but the latest , non-repo kernels, do support some leading edge hardware and possibly have other benefits. Con Kolivas BFS patch made a difference and I am sure that the kernel devs will have made some adjustments to the code to take full advantage of the scheduler improvements it implemented.

Apart from that I did it ...
to go beyond the frontiers where man has not been before.
because it is there
because I can
for the heck of it
because this is the advanced users section where people experiment with things to, hopefully, learn about new features that are becoming available and perhaps make those features more easily and sooner available to those less experienced users.

If none of those reasons appeal to you then please ignore the post. It was meant only as information for those users who may find a benefit from a later kernel or, like me, just like messing with things ;).


Motherboard   Gigabyte Z68X-UD3H-B3
Hard Drives      2 x Maxtor STM350032 500GB SATA
Memory      16GB RAM
Processor      Intel core i5 3.30GHz
Video         nVidia GeForce GT430
Sound      HDA Intel PCH
PCLinuxOS          KDE

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10612
  • MLUs Forever!
Re: kernel 3.1.1
« Reply #5 on: November 14, 2011, 04:29:07 AM »
Of those of you who have run your own build of newer kernel, did anything not work as expected?

Thanks  ;)
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: kernel 3.1.1
« Reply #6 on: November 14, 2011, 04:38:19 AM »
Of those of you who have run your own build of newer kernel, did anything not work as expected?

Thanks  ;)

the last time I tried (3.0.x) I was experiencing some build issue around dkms nvidia, I think this is now solved by recent nvidia releases, another issue while running 3.0.x (using nv) was related to net_applet displaying the X on a red background but connection was active ... it was a few months ago ...

AS

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3789
Re: kernel 3.1.1
« Reply #7 on: November 14, 2011, 08:13:59 AM »
Of those of you who have run your own build of newer kernel, did anything not work as expected?

Thanks  ;)

dkms-fglrx doesn't work for me (radeon hd4200). My intel machines work better than ever, though. Also net_applet, but I think this is net_applets poor design, because it also doesn't work if I speed up booting with the standard kernel using e4rat. The main problem with net_applet is the status of the connection is reported incorrectly. The link to draknetcenter works.

Galen

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10612
  • MLUs Forever!
Re: kernel 3.1.1
« Reply #8 on: November 14, 2011, 09:16:11 AM »
Thanks for the reports  ;)
MLUs rule the roost!

Linux XPS 3.2.18-pclos2.pae.bfs  32 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3979
Re: kernel 3.1.1
« Reply #9 on: November 14, 2011, 09:53:20 AM »
The only place I use non-pclos kernels is on my laptop where I need some KMS and powers saving features not compiled in Tex's kernel. With 2.6.28 kernels compiling these in causes X to hang on shutdown (at least I think it's X) leaving the machine dead to everything except REISUB.

I find the 2.6.36 (on 32 and 64-bit) and 3.0.4 (on 64-bit) work well without this problem, though the netapplet also doesn't work as intended on the latter. It connects but doesn't display the fact. That might be more do do with the 64-bit though, so I'll worry about that when it goes live.

However, what doesn't work is remastering, either because the script needs tweaking or because the compressed file systems rely on patches.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Offline jfdesign

  • Full Member
  • ***
  • Posts: 210
Re: kernel 3.1.1
« Reply #10 on: November 17, 2011, 09:10:11 AM »
is fast on my intel machine too. all devices were recognized and works as i expected.
but as kjpetrie said, remaster won't work.

Quote
Also net_applet, but I think this is net_applets poor design, because it also doesn't work if I speed up booting with the standard kernel using e4rat. The main problem with net_applet is the status of the connection is reported incorrectly. The link to draknetcenter works.

here is the fix :

--- lib/network/tools.pm.orig   2011-11-01 22:13:45.588528869 +0700
+++ lib/network/tools.pm   2011-11-01 22:19:30.689503038 +0700
@@ -263,7 +263,12 @@
 
 sub get_routes() {
     my %routes;
-    foreach (cat_("/proc/net/route")) {
+    # jfdesign - fix reading routes on both older and newer kernels (2.6.39+)
+    #foreach (cat_("/proc/net/route")) {
+    my @routes = cat_("/proc/net/route");
+    require bootloader;
+    @routes = reverse(@routes) if bootloader::cmp_kernel_versions(c::kernel_version(), "2.6.39") >= 0;
+    foreach (@routes) {
    if (/^(\S+)\s+([0-9A-F]+)\s+([0-9A-F]+)\s+[0-9A-F]+\s+\d+\s+\d+\s+(\d+)\s+([0-9A-F]+)/) {
        if (defined $3) { $routes{$1}{gateway} = hex($3) ? host_hex_to_dotted($3) : $routes{$1}{network} }
        if (defined $2) { $routes{$1}{network} = host_hex_to_dotted($2) }

i name it net_applet-routes-fix.diff and place it as Patch12 on spec file
Patch12: net_applet-routes-fix.diff
%patch12 -p0

it must works both on <2.6.39 and 3.0+, but you may check yourself with 2.6.38.8 series since i won't go back. the code isn't mine and all credits goes to tv@...



Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3789
Re: kernel 3.1.1
« Reply #11 on: November 17, 2011, 10:19:22 AM »
I could test and rebuild the package, but who is tv@... ? If the problem is solved, I would like to give appropriate credit in the spec file.

Galen

Offline jfdesign

  • Full Member
  • ***
  • Posts: 210
Re: kernel 3.1.1
« Reply #12 on: November 17, 2011, 10:51:57 AM »
I could test and rebuild the package, but who is tv@... ? If the problem is solved, I would like to give appropriate credit in the spec file.

Galen


pm