Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.8-nitro1 "Brute Horse Attack"
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  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: Sat Aug 14, 2004 4:25 pm    Post subject: 2.6.8-nitro1 "Brute Horse Attack" Reply with quote

Here is the new nitro horsepower for the 2.6.8 kernel!

applied patches:
Code:

2.6.8-rc3-win4lin.patch.bz2
from_2.6.8-rc4_to_staircase7.I
schedrange.diff
schedbatch2.4.diff
schediso2.4.diff
autotune_swappiness01.diff
autotune_inactivation01.diff
sched-adjust-p4gain
supermount-ng204.diff.bz2
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
__cleanup_transaction-latency-fix.patch
filemap_sync-latency-fix.patch
get_user_pages-latency-fix.patch
jbd-recovery-latency-fix.patch
journal_clean_checkpoint_list-latency-fix.patch
kjournald-smp-latency-fix.patch
prune_dcache-latency-fix.patch
slab-latency-fix.patch
truncate_inode_pages-latency-fix
unmap_vmas-smp-latency-fix.patch
preempt-timing-2.6.8-rc1
vesafb-tng-0.9-rc3-r3-2.6.8-rc1.patch.bz2
lirc-2.6.5-mm1-20040406.bz2
menuconfig-NAME-v1.0.patch
squashfs2.0-patch
gcloop-2.6-20040527.patch
kernel-events-rml-2.6.8-rc2-6.patch
acpi-20040715-2.6.8.diff.bz2
fbsplash-0.9-r5-2.6.8-rc4-nitro1.dif
write-barriers.patch
2.6.8-rc1-reiser4.diff.bz2
2.6.8-rc4-nitro1-reiser4-fix.diff


Yep, it's almost the same as the previous nitro. Except that it's applied on 2.6.8 and write barriers patch is in!

Ebuild at http://www.sepi.be/nitro/2.6.8-nitro1/nitro-sources-2.6.8-r1.ebuild
bz2 file at http://www.sepi.be/nitro/2.6.8-nitro1/patch-2.6.8-nitro1.bz2

Warning: reiser4, win4lin and vesafb-tng could be broken, I couldn't test these myself but they compile all cleanly at my machine. Can anyone test these? Thanks

Good luck!
_________________
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
WaVeX
Tux's lil' helper
Tux's lil' helper


Joined: 15 Mar 2004
Posts: 102
Location: USA, Michigan or Ohio

PostPosted: Sat Aug 14, 2004 5:13 pm    Post subject: Reply with quote

Wow that was quick. Screw homework, I have compiling to do!!!! :lol:
Back to top
View user's profile Send private message
Pink
Veteran
Veteran


Joined: 24 Jul 2003
Posts: 1062

PostPosted: Sat Aug 14, 2004 5:17 pm    Post subject: Reply with quote

Nice one seppe,

Well, it patches and compiles fine.

Reiser4 is working very well here - don't forget to update to reiser4progs v1.0.0 asap!!

win4lin won't work and will continue to fail until I get round to fixing the patch, or if someone else happens to fix it in the meantime (even when I get a working test rig I will still wait until Netraverse release 2.6.8 patches before adding anymore win4lin patches to my site).

Anyway, it feels good and responsive.

Thanks :D

P.S. it will be worth adding the 2.6.8.1 patch (an important NFS fix).

See the changelog entry here (also download the patch or an entire 2.6.8.1 kernel from there)


Last edited by Pink on Sat Aug 14, 2004 5:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Sat Aug 14, 2004 5:19 pm    Post subject: Reply with quote

is it coming from 2.6.8.1, isn't it?
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 Aug 14, 2004 5:27 pm    Post subject: Reply with quote

no, I haven't applied the 2.6.8.1 patch. I knew about it 5 minutes after I announced this release. :roll:

Anyway, you can apply it yourself if you use NFS and you care much about security:

download http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.8.1.bz2

cd /usr/src/linux
bzcat /path/to/patch-2.6.8.1.bz2 | patch -p1

I haven't tested it myself, but normally it should apply without failed hunks.
_________________
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 Aug 14, 2004 5:40 pm    Post subject: Reply with quote

seppe, I thought your first few patchsets were utter BS but I'm seeing really good stuff coming from you.. and you just saved me doing this myself :D Perhaps I can be of some assistance to you with patches and stuff.

Gouranga!
-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: Sat Aug 14, 2004 5:46 pm    Post subject: Reply with quote

Thanks for the good comments, DaMouse.

I admit that I used your CK snapshots before :)

Of course you can help me. Stuff I don't like now is:
1. I use an older reiser4 patch, I tried to apply the latest reiser4 patch but I couldn't fix all the rejects :( supermount and win4lin changed a lot of files
2. swsusp2 should be in, but I get many rejects. Though, dryre is working on this too.
3. I want to add ipw2100 patch, but it doesn't generate the right Makefile or something :/

There is a #nitro-sources channel at irc.freenode.net
perhaps you can catch me there? :)

I have also a patchfile of this release that includes everything except reiser4, maybe thats handy?
_________________
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
Cagnulein
l33t
l33t


Joined: 18 Sep 2003
Posts: 861
Location: Modena, Italy

PostPosted: Sat Aug 14, 2004 6:06 pm    Post subject: Reply with quote

seppe wrote:
no, I haven't applied the 2.6.8.1 patch. I knew about it 5 minutes after I announced this release. :roll:


you could make the 2.6.8-nitro1.1 version :)
Back to top
View user's profile Send private message
black hole sun
Apprentice
Apprentice


Joined: 14 Aug 2004
Posts: 245

PostPosted: Sat Aug 14, 2004 7:41 pm    Post subject: Reply with quote

Okay I just applied the patch in the vanilla 2.6.8 dir, compiling kernel now. Lets see how it goes...

Last edited by black hole sun on Sat Aug 14, 2004 8:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
Robin79
l33t
l33t


Joined: 18 Oct 2003
Posts: 632
Location: /home/valdemarsvik

PostPosted: Sat Aug 14, 2004 8:08 pm    Post subject: Reply with quote

Thanx i hope this will be in the same class as rc2-nitro1 :P the most stable kernel i ve ever used :P and i will always have it in here for some nice not locking time :P See after reboot :P lot of reboots latley :P

Edit. thanx for the write barriers paches in this one edit.
_________________
Gentoo 2005.0
ASUS P5AD2 Deluxe MB
Intel P4 3.2GHz
PCI-E Nvidia Geforce PCX 5750
--------------------

Registered Linux User Nr # 319050 http://counter.li.org
Back to top
View user's profile Send private message
luqas
Guru
Guru


Joined: 02 Jan 2004
Posts: 588
Location: /US/Texas/Beaumont

PostPosted: Sat Aug 14, 2004 8:47 pm    Post subject: Reply with quote

Damn seppe you are a machine.... Trying it now!!! Still working on swsusp though :(.
Back to top
View user's profile Send private message
Illissius
Guru
Guru


Joined: 31 Jul 2004
Posts: 395
Location: Hungary

PostPosted: Sat Aug 14, 2004 11:33 pm    Post subject: Reply with quote

Emerging it now :). Great name btw.
Back to top
View user's profile Send private message
Tazok
Guru
Guru


Joined: 25 Oct 2003
Posts: 310

PostPosted: Sat Aug 14, 2004 11:57 pm    Post subject: Reply with quote

The 2.6.8.1 patch does not apply... :(

Quote:
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file fs/nfs/file.c
Back to top
View user's profile Send private message
seppe
Guru
Guru


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

PostPosted: Sun Aug 15, 2004 12:02 am    Post subject: Reply with quote

Tazok wrote:
The 2.6.8.1 patch does not apply... :(

Quote:
patching file Makefile
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
patching file fs/nfs/file.c


I haven't done it myself, but just do this:
1. nano -w /usr/src/linux/Makefile
2. change this:
Code:

VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 8
EXTRAVERSION = -nitro1
NAME=Brute Horse Attack


to
Code:

VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 8
EXTRAVERSION =
NAME=Zonked Quokka


And try to apply that 2.6.8.1 patch again

I think that this will fix the reject. Please note that I haven't tested this

Illissius wrote:
Emerging it now Smile. Great name btw.

Thanks, but just after I uploaded this release, I found a better one "Brute Source Attack" :)
_________________
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
Illissius
Guru
Guru


Joined: 31 Jul 2004
Posts: 395
Location: Hungary

PostPosted: Sun Aug 15, 2004 12:22 am    Post subject: Reply with quote

I thought of that too actually, but like Brute Horse Attack better.
Back to top
View user's profile Send private message
Tazok
Guru
Guru


Joined: 25 Oct 2003
Posts: 310

PostPosted: Sun Aug 15, 2004 12:33 am    Post subject: Reply with quote

seppe wrote:

I haven't done it myself, but just do this:
1. nano -w /usr/src/linux/Makefile
2. change this:


Unfortunately, this did not change anything.
Back to top
View user's profile Send private message
luqas
Guru
Guru


Joined: 02 Jan 2004
Posts: 588
Location: /US/Texas/Beaumont

PostPosted: Sun Aug 15, 2004 12:36 am    Post subject: Reply with quote

Don't worry about the Makefile rej. All it is having problems with is changing the version number. Just manually edit the Makefile before you compile to equal:

Code:

VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 8
EXTRAVERSION = -nitro1
NAME=Brute Horse Attack
Back to top
View user's profile Send private message
Isaiah
Guru
Guru


Joined: 25 Feb 2003
Posts: 359

PostPosted: Sun Aug 15, 2004 12:45 am    Post subject: Reply with quote

It's nice to be able to play ET again on the old test box - thanks seppe 8)
Back to top
View user's profile Send private message
Illissius
Guru
Guru


Joined: 31 Jul 2004
Posts: 395
Location: Hungary

PostPosted: Sun Aug 15, 2004 12:48 am    Post subject: Reply with quote

When I add barrier=1 to the fs options in fstab for /, which is ext3, upon bootup it can't remount the partition rw. When it last did this the kernel didn't have writebarriers so that was to be expected and pretty stupid of me, but this release supposedly has them and it still does it. Is there an option in the menuconfig for enabling it that I overlooked?
(Also, is there any way to fix it without having to use a LiveCD? Knoppix starts up ssllllooowwww. I tried mounting it with -o remount, in which case it said wtf am I saying it's not mounted, and then without, and then it told me that it was, in fact, already mounted. :roll:)
Back to top
View user's profile Send private message
Tazok
Guru
Guru


Joined: 25 Oct 2003
Posts: 310

PostPosted: Sun Aug 15, 2004 12:49 am    Post subject: Reply with quote

Dryre wrote:
Don't worry about the Makefile rej. All it is having problems with is changing the version number. Just manually edit the Makefile before you compile to equal:

Code:

VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 8
EXTRAVERSION = -nitro1
NAME=Brute Horse Attack


Uhm, that was the original state of the Makefile.
It won't apply with that one, but it won't apply with the one seppe proposed, too.
Back to top
View user's profile Send private message
y0zza
n00b
n00b


Joined: 30 Jul 2004
Posts: 68

PostPosted: Sun Aug 15, 2004 1:48 am    Post subject: Reply with quote

Changing Makefile as seppe suggested works.
Code:
blah linux # bzcat /usr/src/patch-2.6.8.1.bz2 | patch -p1
patching file Makefile
patching file fs/nfs/file.c

It doesn't matter anyway, as the patch on fs/nfs/file.c for NFS succeeds. It only fails on changing the version number in the Makefile.
Back to top
View user's profile Send private message
Tazok
Guru
Guru


Joined: 25 Oct 2003
Posts: 310

PostPosted: Sun Aug 15, 2004 2:21 am    Post subject: Reply with quote

Yes, you are right.
Changing the Makefile did not work for me, so I just deleted the first diff of the patch.
Now running fine here. :)
Back to top
View user's profile Send private message
y0zza
n00b
n00b


Joined: 30 Jul 2004
Posts: 68

PostPosted: Sun Aug 15, 2004 4:34 am    Post subject: Reply with quote

Ok, all seems to be working pretty well after some tinkering. vesafb-tng still doesn't work for me - same oops very early during bootup as in 2.6.8-rc3-nitro1. UHCI USB also hangs during bootup when compiled into the kernel, but works fine when compiled as a module O.o.

The system does feel very responsive compared to 2.6.7-gentoo-r11, so I'm happy :)

Many thanks indeed for this patchset.
Back to top
View user's profile Send private message
Pink
Veteran
Veteran


Joined: 24 Jul 2003
Posts: 1062

PostPosted: Sun Aug 15, 2004 7:27 am    Post subject: Reply with quote

If you want to update this nitro with the 2.6.8.1 error fix then apply the patch below.

essential to update nitro1 if:

You use nfs

not essential to update if:

You don't use nfs

For some reason, a lot of fuss has been made over this simple fix. It is not a nice little upgrade or security fix that could be ignored if you use nfs. It is code that was simply forgotten to be put in the kernel, a simple mistake. It is required to make nfs work correctly.

So, to apply the simple fix without having to fix rejects and the like yourself, do the following things, in this order and all will be fixed for you:

1. download the adjusted fix from here

2. cd into your nitro1 kernel directory (ie: cd /usr/src/linux-2.6.8-nitro1)

3. enter the following command:
Code:
patch -p1 < /path/to/nitro1_2.6.8.1_fix.patch

4. You will see one line telling you code has been patched

5. recompile the kernel using:
Code:
make && make modules_install

This will take less than 10 seconds as you are not recompiling the whole kernel again :D

6. Mount /boot

7. copy the new bzImage over

8. reboot

Just my opinion and 1st request, but can we leave this alone now? The fix is here. End of story.

2nd request from me to the patch builders, please don't leave people to fix rejects by saying 'adjust this patch before you apply the fix' or 'ignore this reject', etc. If people are able to do that sort of thing confidently they would use their own kernels. This took me less than 3 minutes to sort out, try to remember why people use your patches and how you felt the first time you saw a reject in your kernel and were then told to ignore it 8O
Back to top
View user's profile Send private message
pleusicles
n00b
n00b


Joined: 26 May 2004
Posts: 44

PostPosted: Sun Aug 15, 2004 7:44 am    Post subject: Reply with quote

I have the same problem as Illissius with reiserfs + barrier=flush :(
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, 3  Next
Page 1 of 3

 
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