Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.8-rc2-nitro2 "Con Kolivas on steroids"
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
seppe
Guru
Guru


Joined: 01 Sep 2003
Posts: 431
Location: Hove, Antwerp, Belgium

PostPosted: Fri Jul 23, 2004 12:25 pm    Post subject: 2.6.8-rc2-nitro2 "Con Kolivas on steroids" Reply with quote

Hi,

I created my first patch set today. It's based on the ck patch set with some additional patches (lirc, bootsplash, vesafb-tng, win4lin, squashfs, ..)

Code:

2.6.8-rc2-win4lin.patch.bz2
from_2.6.8-rc2_to_staircase7.A.bz2
s7.A_test
schedrange.diff
schedbatch2.3.diff
schediso2.3.diff
autotune_swappiness01.diff
autotune_inactivation01.diff
supermount-ng204.diff
defaultcfq.diff
config_hz.diff
patch-i386-irq_enable_spinlocks2
patch-ool-spinlocks
9000_SuSE-117-writeback-lat.patch
BadRAM-2.6.5.2.patch.bz2
lufs-0.9.7-2.6.8-rc2.patch.bz2
akpm_latency_rollup.patch
preempt-timing-2.6.8-rc2
config-nr-tty-devices.patch.bz2
write-barriers.patch
voluntary-preempt-2.6.8-rc2-bk1-ck6-H9.bz2
kernel_preempton.diff
lirc-2.6.5-20040404
menuconfig-NAME-v1.0.patch
vesafb-tng-0.9-rc3-r1-2.6.8-rc1.patch.bz2
bootsplash-3.1.4-sp3-2.6.8-rc2.patch
squashfs2.0-patch
gcloop-2.6-20040527.patch


Download at http://sepi.be/nitro/
More info at http://sepi.be/index.php?itemid=793

How to install
Create a portage overlay directory if you haven't done it before:
Code:

mkdir /usr/local/portage


Edit your /etc/make.conf file and point the PORTDIR_OVERLAY variable to your portage overlay directory:
Code:

PORTDIR_OVERLAY="/usr/local/portage"


Create the necessary directories if they doesn't exist:
Code:

mkdir /usr/local/portage/sys-kernel
mkdir /usr/local/portage/sys-kernel/nitro-sources


Now put the ebuild file in /usr/local/portage/sys-kernel/nitro-sources
and do this:
Code:

ebuild /usr/local/portage/sys-kernel/nitro-sources/nitro-sources-2.6.8_rc2-r2.ebuild digest


Now emerge:
Code:

emerge nitro-sources


After this, /usr/src/linux-2.6.8-rc2-nitro2 is created. Copy over your old .config file of your previous kernel and make a symlink:
Code:

cp /usr/src/linux/.config /usr/src/linux-2.6.8-rc2-nitro2
rm /usr/src/linux
ln -sf /usr/src/linux-2.6.8-rc2-nitro2 /usr/src/linux


Go in to menuconfig and enable stuff that wasn't enabled before:
Code:

cd /usr/src/linux
make menuconfig


Now you can compile. There are different ways to do this, but I still do this in the old way:
Code:

make dep && make clean bzImage modules modules_install


If the compilation succeed, copy over your bzImage to your /boot partition:
Code:

mount /boot
cp /usr/src/linux/arch/i386/boot/bzImage /boot/nitro-sources


Edit your boot loader, in my case it's grub:
Code:

nano -w /boot/grub/grub.conf

and make sure you have something like this:
Code:

# For booting nitro-sources
title=Gentoo Linux (nitro-sources)
root (hd0,1)
kernel (hd0,1)/nitro-sources root=/dev/hda4 ro video=vesafb:ywrap,1280x1024@85 splash=silent
initrd=(hd0,1)/initrd-1280x1024


Reboot and watch this baby fly!

Feel free to post any comments. The next release will probably use the Hydra scheduler so you can change the scheduler settings at runtime for the ultimate tweaking experience ;)
_________________
nitro-sources, because between stable and experimental there exists only speed

Latest release I made: 2.6.13.2-nitro1


Last edited by seppe on Fri Jul 23, 2004 11:50 pm; edited 2 times in total
Back to top
View user's profile Send private message
elvelind
n00b
n00b


Joined: 13 Dec 2003
Posts: 34

PostPosted: Fri Jul 23, 2004 2:02 pm    Post subject: Reply with quote

works nice here.
Back to top
View user's profile Send private message
DaMouse
Apprentice
Apprentice


Joined: 18 Jul 2003
Posts: 233

PostPosted: Fri Jul 23, 2004 2:18 pm    Post subject: Reply with quote

I see you dropped the preempt optimizations that were in the s7.A_test1 patch, also that softirq thing is bad for performance iirc, voluntary-preempt-H4 is also known to do very little and/or cause errors.

Have a nice day.

-DaMouse
_________________
I am the dark lord DaMouse I eat souls and wear the dressing gown of evil.
Back to top
View user's profile Send private message
Pink
Veteran
Veteran


Joined: 24 Jul 2003
Posts: 1062

PostPosted: Fri Jul 23, 2004 2:33 pm    Post subject: Reply with quote

DaMouse wrote:
I see you dropped the preempt optimizations that were in the s7.A_test1 patch, also that softirq thing is bad for performance iirc, voluntary-preempt-H4 is also known to do very little and/or cause errors.

Have a nice day.

-DaMouse


Mmm, if you have some information that may help another linux user then it may be an idea to actually help them out.

I seem to recall you doing exactly the same sort of thing with Damouse sources only a few weeks ago before you became embroiled in the ck side of the kernel.

I may remind you that linux is a 'community', not a 'gloat and slag of somebody else because they don't know as much as you'.

What do you suggest as replacements, where do you get your information from, etc, etc.

@ seppe: Good effort for your first one. :D
Back to top
View user's profile Send private message
seppe
Guru
Guru


Joined: 01 Sep 2003
Posts: 431
Location: Hove, Antwerp, Belgium

PostPosted: Fri Jul 23, 2004 2:40 pm    Post subject: Reply with quote

Thanks for the reply's. Maybe I'll update the patch set with DaMouse's suggestions, although everything runs stable here.

Oh and PickledOnion, I'm looking forward for your guide ;)
_________________
nitro-sources, because between stable and experimental there exists only speed

Latest release I made: 2.6.13.2-nitro1
Back to top
View user's profile Send private message
fallow
Bodhisattva
Bodhisattva


Joined: 08 Jan 2004
Posts: 2208
Location: Poland

PostPosted: Fri Jul 23, 2004 3:06 pm    Post subject: Reply with quote

greetz :) it`s a one more sources here :)
it`s good for gentoo Users I think .

btw.You have vol-preempt h4 , is h9 here http://lkml.org/lkml/2004/7/22/42
amd I4 here http://lkml.org/lkml/2004/7/23/48

greetings :)
_________________
"Time is a companion that goes with us on a journey. It reminds us to cherish each moment, because it will never come again. What we leave behind is not as important as how we have lived" J-L. Picard ;)
Back to top
View user's profile Send private message
JefPober
n00b
n00b


Joined: 12 Apr 2004
Posts: 44

PostPosted: Fri Jul 23, 2004 3:23 pm    Post subject: Reply with quote

very good stuff indeed!
Back to top
View user's profile Send private message
DaMouse
Apprentice
Apprentice


Joined: 18 Jul 2003
Posts: 233

PostPosted: Fri Jul 23, 2004 4:39 pm    Post subject: Reply with quote

PickledOnion wrote:
DaMouse wrote:
I see you dropped the preempt optimizations that were in the s7.A_test1 patch, also that softirq thing is bad for performance iirc, voluntary-preempt-H4 is also known to do very little and/or cause errors.

Have a nice day.

-DaMouse


Mmm, if you have some information that may help another linux user then it may be an idea to actually help them out.

I seem to recall you doing exactly the same sort of thing with Damouse sources only a few weeks ago before you became embroiled in the ck side of the kernel.

I may remind you that linux is a 'community', not a 'gloat and slag of somebody else because they don't know as much as you'.

What do you suggest as replacements, where do you get your information from, etc, etc.

@ seppe: Good effort for your first one. :D


What did I do wrong? All I said was which patches were evil and such... I stilll make damouse-sources since its pretty much the -mm version of -ck and I get things wrong, I wasn't trying to take out all his hopes and dreams.. I was just saying that those things were wrong and require correcting.

Oh and on a side note the new voluntary-preempt patches contain the softirqd thingy anyway which is enabled by setting the the /proc var to 2.

-DaMouse
_________________
I am the dark lord DaMouse I eat souls and wear the dressing gown of evil.
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Fri Jul 23, 2004 4:43 pm    Post subject: Reply with quote

Well, I see
Quote:
make dep
And it is a 2.6 kernel.
Quote:
but I still do this in the old way

make dep is a really old way ;)
And now seriously - does your patchset have supermount support? If yes then I will give it a try.
BTW, it is nice that we have one more patchset - at least we have more to choose from.
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
JefPober
n00b
n00b


Joined: 12 Apr 2004
Posts: 44

PostPosted: Fri Jul 23, 2004 5:22 pm    Post subject: Reply with quote

it has supermount support :D
Back to top
View user's profile Send private message
DaMouse
Apprentice
Apprentice


Joined: 18 Jul 2003
Posts: 233

PostPosted: Fri Jul 23, 2004 5:50 pm    Post subject: Reply with quote

Its based apon the CK patchset so it does. Tho supermount is old and bloated and I think submount or a software implementation such as ivman should replace it.

-DaMouse
_________________
I am the dark lord DaMouse I eat souls and wear the dressing gown of evil.
Back to top
View user's profile Send private message
Pink
Veteran
Veteran


Joined: 24 Jul 2003
Posts: 1062

PostPosted: Fri Jul 23, 2004 6:51 pm    Post subject: Reply with quote

@ DaMouse:

You did nothing particularly wrong - bad timing on my part as I just saw somebody ripping into a newb (not here) for not knowing how to apply a patch and was feeling defensive about people making an effort and getting slated for it.

Accept my aplogies and see you on #ck and #love :D
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Fri Jul 23, 2004 6:54 pm    Post subject: Reply with quote

Looks like a very good patchset... To bad I can't try it (reiser4) :(
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
DaMouse
Apprentice
Apprentice


Joined: 18 Jul 2003
Posts: 233

PostPosted: Fri Jul 23, 2004 8:38 pm    Post subject: Reply with quote

mmm, theres an add-on reiser4 patch for ck, maybe seppe could add that.

-DaMouse
_________________
I am the dark lord DaMouse I eat souls and wear the dressing gown of evil.
Back to top
View user's profile Send private message
seppe
Guru
Guru


Joined: 01 Sep 2003
Posts: 431
Location: Hove, Antwerp, Belgium

PostPosted: Fri Jul 23, 2004 11:49 pm    Post subject: Reply with quote

this release is now updated with newer versions of the staircase scheduler and voluntary preemp. SoftIRQ is left out. Reiser4 will probably be in the next release.

full list:
Code:

2.6.8-rc2-win4lin.patch.bz2
from_2.6.8-rc2_to_staircase7.A.bz2
s7.A_test
schedrange.diff
schedbatch2.3.diff
schediso2.3.diff
autotune_swappiness01.diff
autotune_inactivation01.diff
supermount-ng204.diff
defaultcfq.diff
config_hz.diff
patch-i386-irq_enable_spinlocks2
patch-ool-spinlocks
9000_SuSE-117-writeback-lat.patch
BadRAM-2.6.5.2.patch.bz2
lufs-0.9.7-2.6.8-rc2.patch.bz2
akpm_latency_rollup.patch
preempt-timing-2.6.8-rc2
config-nr-tty-devices.patch.bz2
write-barriers.patch
voluntary-preempt-2.6.8-rc2-bk1-ck6-H9.bz2
kernel_preempton.diff
lirc-2.6.5-20040404
menuconfig-NAME-v1.0.patch
vesafb-tng-0.9-rc3-r1-2.6.8-rc1.patch.bz2
bootsplash-3.1.4-sp3-2.6.8-rc2.patch
squashfs2.0-patch
gcloop-2.6-20040527.patch


If you already emerged the 'old' version of this release, just do this to remerge the new version:
Code:

rm /usr/portage/distfiles/patch-2.6.8-rc2-nitro2.bz2
ebuild /usr/local/portage/sys-kernel/nitro-sources/nitro-sources-2.6.8_rc2-r2.ebuild digest
emerge nitro-sources

Now you have to recompile your kernel (instructions are on top of this page)
_________________
nitro-sources, because between stable and experimental there exists only speed

Latest release I made: 2.6.13.2-nitro1
Back to top
View user's profile Send private message
DaMouse
Apprentice
Apprentice


Joined: 18 Jul 2003
Posts: 233

PostPosted: Sat Jul 24, 2004 12:53 pm    Post subject: Reply with quote

Why didn't you update to Vol Preempt -I ? he versions them in the following manner: -H1 -H2... -H8 -H9 -I0 -I1 -I2 etc :D
So -I is more up to date than -H

-DaMouse
_________________
I am the dark lord DaMouse I eat souls and wear the dressing gown of evil.
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Sat Jul 24, 2004 1:01 pm    Post subject: Reply with quote

I've just compiled and tried it and ... Well, the bootsplash refused to work. There was a bunch of errors (not sure - it was like
Quote:
[something in HEX] Some text
) before mounting local filesystems- all I managed to read was something about the scheduler. When the system had booted up, everything was sooo slow (xmms took 100% CPU usage, the sound was crappy, etc). Is it something wrong with my setup ?
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
DaMouse
Apprentice
Apprentice


Joined: 18 Jul 2003
Posts: 233

PostPosted: Sat Jul 24, 2004 1:20 pm    Post subject: Reply with quote

You had a kernel panic, bit like a blue screen :P. Search forums for gensplash :D

-DaMouse
_________________
I am the dark lord DaMouse I eat souls and wear the dressing gown of evil.
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Sat Jul 24, 2004 1:31 pm    Post subject: Reply with quote

Well, when I had kernel panics with other kernels it was simpler: it wrote "kernel panic" and stopped booting.

Anyway, I an concerned there is something wrong with the scheduler - any app uses 100% CPU. I will try disabling some features and rebuilding the kernel. I hope it helps.
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
seppe
Guru
Guru


Joined: 01 Sep 2003
Posts: 431
Location: Hove, Antwerp, Belgium

PostPosted: Sat Jul 24, 2004 9:27 pm    Post subject: Reply with quote

Sorry, I didn't test the latest changes when I posted about it here. I get as well those kernel panics, so don't use this release.
_________________
nitro-sources, because between stable and experimental there exists only speed

Latest release I made: 2.6.13.2-nitro1
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Sun Jul 25, 2004 3:21 am    Post subject: Reply with quote

Well, how to get the previous release then? I would like to see it in action.
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
superjaded
l33t
l33t


Joined: 05 Jul 2002
Posts: 802

PostPosted: Sun Jul 25, 2004 5:45 am    Post subject: Reply with quote

With random kernel versions, my NIC (an onboard Rhine-II, which, obviously, uses the via-rhine driver) driver cannot seem to load due to some very weird error:
Code:
via-rhine.c:v1.10-LK1.1.20-2.6 May-23-2004 Written by Donald Becker
ACPI: PCI interrupt 0000:00:12.0[A] -> GSI 11 (level, low) -> IRQ 11
Invalid MAC address for card #0
via-rhine: probe of 0000:00:12.0 failed with error -5


However, my NIC driver loads fine with my current kernel -- 2.6.7-love7.
Code:
via-rhine.c:v1.10-LK1.2.0-2.6 June-10-2004 Written by Donald Becker
ACPI: PCI interrupt 0000:00:12.0[A] -> GSI 11 (level, low) -> IRQ 11
eth0: VIA Rhine II (VT8235) at 0xb400, 00:0e:a6:99:d4:33, IRQ 11.


Maybe this needs to be updated?.. I think I'll do some searching and see if I can find the updated driver..
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Sun Jul 25, 2004 9:28 am    Post subject: Reply with quote

I have an onboard Rhine and it works with all kernels. What motherboard do you have?
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
superjaded
l33t
l33t


Joined: 05 Jul 2002
Posts: 802

PostPosted: Sun Jul 25, 2004 7:22 pm    Post subject: Reply with quote

blaster999 wrote:
I have an onboard Rhine and it works with all kernels. What motherboard do you have?


An ASUS A7V8X-X. FWIW, here's the relevant output of lspci:
Code:
0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 74)
Back to top
View user's profile Send private message
blaster999
l33t
l33t


Joined: 09 May 2004
Posts: 902
Location: Between keyboard and chair

PostPosted: Sun Jul 25, 2004 7:41 pm    Post subject: Reply with quote

I have the same Rhine II! It always worked for me flawlessly - from the 2.4.x days when I was using mandrake 9.1.
However, if yours works only with certain kernels then try to copy the file usr/src/linux_in_which_it_worked/drivers/net/via-rhine.c to the same subdir of another kernel source tree (not a nice solution and I don't know if it would work).
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
https://forums.gentoo.org/viewtopic.php?p=1896734#1896734
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum