Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.8.1-nitro2 "So creamy it's almost fattening"
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: Wed Aug 18, 2004 4:22 pm    Post subject: 2.6.8.1-nitro2 "So creamy it's almost fattening" Reply with quote

The new nitro-sources kernel patchset is here!

applied patches
Code:

from_2.6.8.1_to_staircase7.I
schedrange.diff
schedbatch2.4.diff
schediso2.5.diff
sched-adjust-p4gain
hard_swappiness1.diff
defaultcfq.diff
config_hz.diff
1g_lowmem_i386.diff
kiflush1.diff
token-thrashing-control.patch
__cleanup_transaction-latency-fix.patch
filemap_sync-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.patch
unmap_vmas-smp-latency-fix.patch
9000-SuSE-117-writeback-lat.patch
kiflush-pm-fix.diff
kiflush-delay-inactive.diff
cddvd-cmdfilter-drop.patch
patch-i386-irq_enable_spinlocks2
patch-ool-spinlocks
get_user_pages-latency-fix.patch
preempt-timing-2.6.8-rc1
vesafb-tng-0.9-rc4-2.6.8.1.patch
lirc-2.6.5-mm1-20040406
menuconfig-NAME-v1.0.patch
squashfs2.0-patch
gcloop-2.6-20040527.patch
kernel-events-rml-2.6.8-rc2-6.patch
fbsplash-0.9-r5-2.6.8-rc3.patch
2.6.8.1-nitro1-write-barriers
lufs-0.9.7-2.6.0-test9.patch
iteraid_1.44.diff
omnibook-2.6.8-rc2-bk2.diff
config-nr-tty-devices.patch
cdfs-2.6.3a.diff
acx100-2.6.8-rc2-bk2.diff
reiser4-20040812-nitro.diff
packet-2.6.8.patch
swsusp-for-nitro
orinoco-0.13e-patch.diff
ipw2100-0.52


So what's new?
All latest CK's patches to optimize this kernel for desktop use
omnibook
cdfs
acx
reiser4 is updated (yes yes, the latest snapshot!)
packet writing support for cdrw's
software suspend 2
orinocco monitor patch
intel pro wireless (centrino) drivers

But there is a little problem ...
The ebuild doesn't work :(
ebuild is at http://www.sepi.be/nitro/2.6.8.1-nitro2/nitro-sources-2.6.8.1-r2.ebuild but it's broken :(
The error log can be found at http://www.sepi.be/nitro/2.6.8.1-nitro2/patch-2.6.8.1-nitro2.err
If anyone knows how to fix this, let me know please.
So if you wanna install this release, you have to patch it manually without portage. Here is how to do this:

How to install this:
1. Download the 2.6.8.1 linux kernel at http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.8.1.tar.bz2
2. extract linux-2.6.8.1.tar.bz2 to /usr/src/linux-2.6.8.1-nitro2
3. Download the nitro sources patch set at http://www.sepi.be/nitro/2.6.8.1-nitro2/patch-2.6.8.1-nitro2.bz2
4. cd to /usr/src/linux-2.6.8.1-nitro2/ which contains the 2.6.8.1 kernel
5. patch it (make sure that you are in /usr/src/linux-2.6.8.1-nitro1 which contains the 2.6.8.1 linux kernel you've downloaded):
Code:

bzcat /path/to/patch-2.6.8.1-nitro2.bz2 | patch -p1

6. done, now configure & compile it, I assume you know how to do this.

Warning
Please note that this patchset is very experimental. There are 49 different patches in and not everything is tested well, so stuff could be broken!

Thanks to
Dryre, Lith, DaMouse, PickledOnion and all the other people from #nitro-sources for helping me me with swsusp2, reiser4, and testing.

Sorry again for the broken ebuild, butI really don't know what's wrong with it. It looks like it patches with -p0 instead of -p1 for some reason. If you know a solution for this, let me know please.

Enjoy ;)
_________________
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
Gentii
Guru
Guru


Joined: 01 Feb 2004
Posts: 306

PostPosted: Wed Aug 18, 2004 5:25 pm    Post subject: Reply with quote

I'm getting a lot of errors at compil :

Code:
kernel/built-in.o(.text+0x6556): In function `do_exit':
: undefined reference to `suspend_task'
kernel/built-in.o(.text+0x1c06f): In function `refrigerator':
: undefined reference to `software_suspend_state'
kernel/built-in.o(.text+0x1c239): In function `num_to_be_frozen':
: undefined reference to `suspend2_core_ops'
kernel/built-in.o(.text+0x1c295): In function `freeze_threads':
: undefined reference to `suspend_result'
kernel/built-in.o(.text+0x1c35b): In function `freeze_threads':
: undefined reference to `suspend_result'
kernel/built-in.o(.text+0x1c4e1): In function `freeze_processes':
: undefined reference to `suspend_result'
kernel/built-in.o(.text+0x1c4eb): In function `freeze_processes':
: undefined reference to `software_suspend_state'
kernel/built-in.o(.text+0x1c582): In function `freeze_processes':
: undefined reference to `suspend_result'
kernel/built-in.o(.text+0x1c5a0): In function `freeze_processes':
: undefined reference to `software_suspend_state'
kernel/built-in.o(.text+0x1c5a9): In function `freeze_processes':
: undefined reference to `suspend_task'
kernel/built-in.o(.text+0x1c5df): In function `freeze_processes':
: undefined reference to `suspend_result'
kernel/built-in.o(.text+0x1c61a): In function `freeze_processes':
: undefined reference to `suspend_result'
kernel/built-in.o(.text+0x1c62c): In function `freeze_processes':
: undefined reference to `suspend2_core_ops'
kernel/built-in.o(.text+0x1c677): In function `thaw_processes':
: undefined reference to `software_suspend_state'
kernel/built-in.o(.text+0x1c681): In function `thaw_processes':
: undefined reference to `suspend_task'
kernel/built-in.o(.text+0x1c6eb): In function `thaw_processes':
: undefined reference to `software_suspend_state'
kernel/built-in.o(__ksymtab+0x6a8): undefined reference to `suspend_task'
kernel/built-in.o(__ksymtab+0x6b0): undefined reference to `suspend_action'
kernel/built-in.o(__ksymtab+0x6b8): undefined reference to `software_suspend_state'
drivers/built-in.o(.text+0x38549): In function `kbd_keycode':
: undefined reference to `software_suspend_state'
drivers/built-in.o(.text+0x3855e): In function `kbd_keycode':
: undefined reference to `suspend2_core_ops'
drivers/built-in.o(.text+0xac68c): In function `vesafb_check_var':
: undefined reference to `fb_validate_mode'
drivers/built-in.o(.text+0xac81d): In function `vesafb_check_limits':
: undefined reference to `fb_validate_mode'
drivers/built-in.o(.init.text+0x799f): In function `vesafb_vbe_init':
: undefined reference to `fb_get_monitor_limits'
drivers/built-in.o(.init.text+0x79d4): In function `vesafb_vbe_init':
: undefined reference to `fb_create_modedb'
drivers/built-in.o(.init.text+0x7b79): In function `vesafb_probe':
: undefined reference to `framebuffer_alloc'
drivers/built-in.o(.init.text+0x7c77): In function `vesafb_probe':
: undefined reference to `fb_alloc_cmap'
drivers/built-in.o(.init.text+0x7d15): In function `vesafb_probe':
: undefined reference to `vesa_modes'
drivers/built-in.o(.init.text+0x7d25): In function `vesafb_probe':
: undefined reference to `fb_find_mode'
drivers/built-in.o(.init.text+0x7de6): In function `vesafb_probe':
: undefined reference to `fb_dealloc_cmap'
drivers/built-in.o(.init.text+0x7dee): In function `vesafb_probe':
: undefined reference to `framebuffer_release'
drivers/built-in.o(.init.text+0x7e05): In function `vesafb_probe':
: undefined reference to `fb_destroy_modedb'
drivers/built-in.o(.init.text+0x7f84): In function `vesafb_probe':
: undefined reference to `fb_get_mode'
drivers/built-in.o(.init.text+0x80d9): In function `vesafb_probe':
: undefined reference to `register_framebuffer'
drivers/built-in.o(.init.text+0x81e3): In function `vesafb_probe':
: undefined reference to `fb_destroy_modedb'
drivers/built-in.o(.init.text+0x8475): In function `vesafb_probe':
: undefined reference to `fb_get_mode'
drivers/built-in.o(.init.text+0x84ae): In function `vesafb_probe':
: undefined reference to `framebuffer_release'
drivers/built-in.o(.data+0x3e554): undefined reference to `soft_cursor'
make: *** [.tmp_vmlinux1] Error 1
Back to top
View user's profile Send private message
luqas
Guru
Guru


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

PostPosted: Wed Aug 18, 2004 5:39 pm    Post subject: Reply with quote

woot seppe. I will try it as soon as I get home. I know the test patchset that I used last night ran great.
Back to top
View user's profile Send private message
spb
Retired Dev
Retired Dev


Joined: 02 Jan 2004
Posts: 2135
Location: Cambridge, UK

PostPosted: Wed Aug 18, 2004 5:46 pm    Post subject: Reply with quote

Working perfectly here. Nice job.

Oh, and as for the ebuild not working: trying to patch at -p0 is normal for epatch. It does a dry-run at every p-level, and then patches at the one that succeeds. Scroll down a bit in that log, and you find
Quote:
Attempting Dry-run:
cmd: patch -p1 --dry-run -f < /var/tmp/portage/nitro-sources-2.6.8.1-r2/work/patches/1/patch-2.6.8.1-nitro2.patch
=======================================================
patching file Documentation/DocBook/Makefile
Hunk #1 FAILED at 93.
1 out of 1 hunk FAILED -- saving rejects to file Documentation/DocBook/Makefile.rej
patching file Documentation/cdrom/00-INDEX
patching file Documentation/cdrom/packet-writing.txt

Not sure if that's any more helpful...
Back to top
View user's profile Send private message
Robin79
l33t
l33t


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

PostPosted: Wed Aug 18, 2004 5:47 pm    Post subject: Reply with quote

lol you bastards just compiled the last one start compiling again eheheh i nitro you :P your sources are great i still use the old one!!
_________________
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
Robin79
l33t
l33t


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

PostPosted: Wed Aug 18, 2004 6:15 pm    Post subject: Reply with quote

Code:

 file included from fs/reiser4/debug.c:32:
fs/reiser4/reiser4.h:18:2: #error "Please turn 4k stack off"
make[2]: *** [fs/reiser4/debug.o] Error 1
make[1]: *** [fs/reiser4] Error 2
make: *** [fs] Error 2


damm do i have to use 8 k stack :(
_________________
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: Wed Aug 18, 2004 6:18 pm    Post subject: Reply with quote

for reiser4 yes you do....
Back to top
View user's profile Send private message
Wi1d
Apprentice
Apprentice


Joined: 15 Mar 2004
Posts: 282
Location: USA, Iowa

PostPosted: Wed Aug 18, 2004 6:28 pm    Post subject: Reply with quote

Sweet. I'll try it soon as I get off work or soon as I fire up putty.
Back to top
View user's profile Send private message
Robin79
l33t
l33t


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

PostPosted: Wed Aug 18, 2004 6:31 pm    Post subject: Reply with quote

more errors :(

Code:


kernel/built-in.o(.text+0x5dce): In function `do_exit':
: undefined reference to `suspend_task'
kernel/built-in.o(.text+0x1a7db): In function `refrigerator':
: undefined reference to `software_suspend_state'
kernel/built-in.o(.text+0x1a9a5): In function `num_to_be_frozen':
: undefined reference to `suspend2_core_ops'
kernel/built-in.o(.text+0x1a9f7): In function `freeze_threads':
: undefined reference to `suspend_result'
kernel/built-in.o(.text+0x1aac1): In function `freeze_threads':
: undefined reference to `suspend_result'
kernel/built-in.o(.text+0x1ac3b): In function `freeze_processes':
: undefined reference to `suspend_result'
kernel/built-in.o(.text+0x1ac5d): In function `freeze_processes':
: undefined reference to `software_suspend_state'
kernel/built-in.o(.text+0x1acdd): In function `freeze_processes':
: undefined reference to `suspend_result'
kernel/built-in.o(.text+0x1acfb): In function `freeze_processes':
: undefined reference to `software_suspend_state'
kernel/built-in.o(.text+0x1ad04): In function `freeze_processes':
: undefined reference to `suspend_task'
kernel/built-in.o(.text+0x1ad3b): In function `freeze_processes':
: undefined reference to `suspend_result'
kernel/built-in.o(.text+0x1ad77): In function `freeze_processes':
: undefined reference to `suspend_result'
kernel/built-in.o(.text+0x1ada0): In function `freeze_processes':
: undefined reference to `suspend2_core_ops'
kernel/built-in.o(.text+0x1add1): In function `thaw_processes':
: undefined reference to `suspend_task'
kernel/built-in.o(.text+0x1addb): In function `thaw_processes':
: undefined reference to `software_suspend_state'
kernel/built-in.o(.text+0x1ae42): In function `thaw_processes':
: undefined reference to `software_suspend_state'
kernel/built-in.o(__ksymtab+0x6a8): undefined reference to `suspend_task'
kernel/built-in.o(__ksymtab+0x6b0): undefined reference to `suspend_action'
kernel/built-in.o(__ksymtab+0x6b8): undefined reference to `software_suspend_sta
te'
drivers/built-in.o(.text+0x33171): In function `kbd_keycode':
: undefined reference to `software_suspend_state'
drivers/built-in.o(.text+0x33186): In function `kbd_keycode':
: undefined reference to `suspend2_core_ops'
make: *** [.tmp_vmlinux1] Error 1

_________________
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
chrisyu
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 207
Location: China

PostPosted: Wed Aug 18, 2004 6:41 pm    Post subject: Reply with quote

Robin79 wrote:
more errors :(


You need enable Power management options (ACPI, APM) --->Software Suspend 2
Back to top
View user's profile Send private message
emoll
n00b
n00b


Joined: 09 Jul 2004
Posts: 18

PostPosted: Wed Aug 18, 2004 6:44 pm    Post subject: Reply with quote

has anyone tried this with an SMP processor (P4 HT or other)??? If so could you give me a shout on this thread??
Back to top
View user's profile Send private message
Wi1d
Apprentice
Apprentice


Joined: 15 Mar 2004
Posts: 282
Location: USA, Iowa

PostPosted: Wed Aug 18, 2004 6:54 pm    Post subject: Reply with quote

I'm gettings errors too :(

Code:
  SPLIT   include/linux/autoconf.h -> include/config/*
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
  CC      mm/page_alloc.o
mm/page_alloc.c:2207: error: `disable_pcp_lists' undeclared here (not in a function)
mm/page_alloc.c:2207: error: initializer element is not constant
mm/page_alloc.c:2207: error: (near initialization for `__ksymtab_disable_pcp_lists.value')
mm/page_alloc.c:2207: error: __ksymtab_disable_pcp_lists causes a section type conflict
make[1]: *** [mm/page_alloc.o] Error 1
make: *** [mm] Error
Back to top
View user's profile Send private message
teutzz
Guru
Guru


Joined: 22 Apr 2004
Posts: 333
Location: .ro

PostPosted: Wed Aug 18, 2004 6:55 pm    Post subject: Reply with quote

Dryre wrote:
for reiser4 yes you do....
why? i'm on 2.6.8-nitro1 using 4k stack and reiser4 on my root and boot partition and i don't have any problems, not even under heavy load (i.e. during big emerges)
_________________
Cand nu stii ce sa raspunzi sau ce sa spui un simplu BLA ajunge... lolz
Back to top
View user's profile Send private message
Robin79
l33t
l33t


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

PostPosted: Wed Aug 18, 2004 7:17 pm    Post subject: Reply with quote

i just tried the 2.6.8.1-nitro1 and usb wasnt working sucky :P i have compiled this one now and i will try :)
_________________
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: Wed Aug 18, 2004 7:26 pm    Post subject: Reply with quote

teutzz wrote:
Dryre wrote:
for reiser4 yes you do....
why? i'm on 2.6.8-nitro1 using 4k stack and reiser4 on my root and boot partition and i don't have any problems, not even under heavy load (i.e. during big emerges)


The latest reiser4 snapshots made that requirement.
Back to top
View user's profile Send private message
Robin79
l33t
l33t


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

PostPosted: Wed Aug 18, 2004 7:29 pm    Post subject: Reply with quote

DAMM!!!

Code:

kernel panic attempted to kill init!

_________________
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
Pacy
n00b
n00b


Joined: 03 Aug 2004
Posts: 6
Location: Sangano

PostPosted: Wed Aug 18, 2004 7:41 pm    Post subject: Reply with quote

Without software suspend 2 and framebuffer support my kernel didn't compile... but now it seems to work :)
LHG
_________________
Poco incline al sorriso vivo schivo... detesto il giorno odio ogni individuo sono il grido muto di un fiore reciso... non so cos'e' che mi fa stare cosi' male quotidianamente mi vien voglia di sparare...<Mistonocivo - Shvrentz>
Back to top
View user's profile Send private message
Wi1d
Apprentice
Apprentice


Joined: 15 Mar 2004
Posts: 282
Location: USA, Iowa

PostPosted: Wed Aug 18, 2004 7:41 pm    Post subject: Reply with quote

mm/page_alloc.o fails in every kernel{love,nitro,sys-kernel/development-sources} compile I do! Has anyone had this problem before?
Back to top
View user's profile Send private message
Robin79
l33t
l33t


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

PostPosted: Wed Aug 18, 2004 7:43 pm    Post subject: Reply with quote

damm i got kernel panic and i am out of ideas :(


Anyone got any ideas? i can post my config or what you people want???
_________________
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: Wed Aug 18, 2004 8:26 pm    Post subject: Reply with quote

Wi1d wrote:
mm/page_alloc.o fails in every kernel{love,nitro,sys-kernel/development-sources} compile I do! Has anyone had this problem before?


What are the errors Wi1d?
Back to top
View user's profile Send private message
Wi1d
Apprentice
Apprentice


Joined: 15 Mar 2004
Posts: 282
Location: USA, Iowa

PostPosted: Wed Aug 18, 2004 9:01 pm    Post subject: Reply with quote

Quote:
Wi1d wrote:
mm/page_alloc.o fails in every kernel{love,nitro,sys-kernel/development-sources} compile I do! Has anyone had this problem before?


What are the errors Wi1d?


I got that working now. I configured from scratch, I guess 2.6.8.1 didn't like 2.6.8, and development-sources-2.6.8.1 compiled fine but I now have a new set of errors /w nitro (.tmp_vmlinux1):
*edit* oops :oops: *scrolls up and reads*


Last edited by Wi1d on Wed Aug 18, 2004 9:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
jewps
n00b
n00b


Joined: 29 Mar 2004
Posts: 74

PostPosted: Wed Aug 18, 2004 9:01 pm    Post subject: Reply with quote

Robin79 wrote:
DAMM!!!

Code:

kernel panic attempted to kill init!


Same thing with my second laptop, but the problem is, i cannot see the logs before the stack dumps. I told seppe about the problems but i have no idea why he released it. I did get this Nitro2 to work tho, 2.6.8.1-nitro2

It's pretty nice but it's buggy.. Things like if you don't enable swsusp2, things break. The vesafb-tng is broken if you don't enable it, etc..

Here's my config, this one does compile and boot:
Here

Seppe, perhaps you should pull this until we fix more things.. I made a new patch that addresses a few of these issues but I never got the chance to talk to you.

This is lith btw, jewps is my forum nickname ;)
Back to top
View user's profile Send private message
Wi1d
Apprentice
Apprentice


Joined: 15 Mar 2004
Posts: 282
Location: USA, Iowa

PostPosted: Wed Aug 18, 2004 9:22 pm    Post subject: Reply with quote

Even w/ software suspend 2 and framebuffer compiled into my kernel I'm still getting errors.
error
config
Back to top
View user's profile Send private message
jewps
n00b
n00b


Joined: 29 Mar 2004
Posts: 74

PostPosted: Wed Aug 18, 2004 9:36 pm    Post subject: Reply with quote

Wi1d wrote:
Even w/ software suspend 2 and framebuffer compiled into my kernel I'm still getting errors.
error
config



Your config compiled just fine here..

BUILD arch/i386/boot/bzImage
Root device is (3, 8)
Boot sector 512 bytes.
Setup is 4333 bytes.
System is 1820 kB
Kernel: arch/i386/boot/bzImage is ready
Back to top
View user's profile Send private message
Wi1d
Apprentice
Apprentice


Joined: 15 Mar 2004
Posts: 282
Location: USA, Iowa

PostPosted: Wed Aug 18, 2004 10:04 pm    Post subject: Reply with quote

Seems to work now. I tried my config w/ emerge --fetchonly nitro-sources instead of wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.8.1.tar.bz2. Don't really understand why that would be any different but at least it works.
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