Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.20-nicus1: Gasoline & Frozen Orange Juice
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Thu Feb 08, 2007 10:48 pm    Post subject: 2.6.20-nicus1: Gasoline & Frozen Orange Juice Reply with quote

Nicus Sources is pretty much my other playground for new patches.

The main goal of this patchset is pretty much to offer the latest features, decrease latencies, decrease overhead, and improve interactivity. The only difference is experimental versions of everything. I boot test each release and run for an extended amount of time.


/* Notes */
New PlugSched was released the other day, so I decided to play around with it. Created tunables for Nicksched and Staircase. Here are my results.



Example of Nicus Tunables:
Code:
CPU Schedulers --->
(64) Nicksched - Base Timeslice
(6) Staircase - Minimum Round Robin Timeslice
(19) Staircase - Factor For Default Value
(0) Staircase - Compute CPU Scheduling
(1) Staircase - Interactive CPU Scheduling


2.6.20-nicus1: Gasoline & Frozen Orange Juice
Code:
/* Patch List */
plugsched-6.5-for-2.6.20.patch
adaptive-readahead-2.6.20.patch
ck-desktop-rollup-2.6.20.patch
genpatches-rollup-2.6.20.patch
suspend2-2.2.9.3-for-2.6.20.patch
plugsched-kconfig-add-1.patch
plugsched-nicksched-tunables-1.patch
plugsched-staircase-tunables-1.patch
rcu-preempt-rollup-2.6.20.patch
ibm-acpi-0.13-20070206_v2.6.20.patch
linux-phc-0.2.8-for-2.6.20.patch
reiser4-2.6.20.patch
daconfig-2.3.1-2.6.20.patch
nicus-version.patch


Enjoy!

Patch:
http://vipernicus.evolution-mission.org/files/patches/2.6.20/nicus1/linux-2.6.20-nicus1.bz2

Ebuild:
http://vipernicus.evolution-mission.org/files/patches/2.6.20/nicus1/nicus-sources-2.6.20-r1.ebuild

Broken-Out:
http://vipernicus.evolution-mission.org/files/patches/2.6.20/nicus1/linux-2.6.20-nicus1-broken-out.tar.bz2

Broken-Out (Directory):
http://vipernicus.evolution-mission.org/files/patches/2.6.20/nicus1/broken-out/

Making it work:

Ebuild Method:
Code:
mkdir -p /usr/local/portage/sys-kernel/nicus-sources/files
cd /usr/local/portage/sys-kernel/nicus-sources/
wget http://vipernicus.evolution-mission.org/files/patches/2.6.20/nicus1/nicus-sources-2.6.20-r1.ebuild
ebuild nicus-sources-2.6.20-r1.ebuild digest
USE="symlink" emerge nicus-sources
cd /usr/src/linux
make MENUCONFIG_COLOR=blackbg menuconfig


Manual Method:
Code:
cd /usr/src
rm linux
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.tar.bz2
tar -xvjf linux-2.6.20.tar.bz2
mv linux-2.6.20 linux-2.6.20-nicus1
ln -s linux-2.6.20-nicus1 linux
cd linux
wget http://vipernicus.evolution-mission.org/files/patches/2.6.20/nicus1/linux-2.6.20-nicus1.bz2
bzcat linux-2.6.20-nicus1.bz2 | patch -p1
make MENUCONFIG_COLOR=blackbg menuconfig

_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


Joined: 20 Dec 2005
Posts: 6111
Location: Vienna, Austria; Germany; hello world :)

PostPosted: Thu Feb 08, 2007 11:46 pm    Post subject: Reply with quote

Quote:
Nicus Sources is pretty much my other playground for new patches.
:lol:

even better :!:

Thanks a lot for that release, I'll give it a try tomorrow,

I hope it compiles fine with reiser4 & suspend2 compiled in (viper-sources unfortunately didn't; I used my own experimental reiser4-patch :( )
_________________
https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa

Hardcore Gentoo Linux user since 2004 :D
Back to top
View user's profile Send private message
rmh3093
Advocate
Advocate


Joined: 06 Aug 2003
Posts: 2138
Location: Albany, NY

PostPosted: Fri Feb 09, 2007 12:27 am    Post subject: Reply with quote

damn u beat me to it :), i was going to play with that in that next skunk-sources but 2.6.20-mm1 isnt out yet.... what schedulers are included in the new version?
_________________
Do not meddle in the affairs of wizards, for they are subtle and quick to anger.
Back to top
View user's profile Send private message
vipernicus
Veteran
Veteran


Joined: 17 Jan 2005
Posts: 1462
Location: Your College IT Dept.

PostPosted: Fri Feb 09, 2007 12:30 am    Post subject: Reply with quote

rmh3093 wrote:
damn u beat me to it :), i was going to play with that in that next skunk-sources but 2.6.20-mm1 isnt out yet.... what schedulers are included in the new version?


Same CPU Schedulers, no RSDL yet. ;)
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
jmajor1111
n00b
n00b


Joined: 04 Mar 2005
Posts: 33
Location: Denver

PostPosted: Fri Feb 09, 2007 4:45 am    Post subject: Thinkpad? Reply with quote

I'm all about the thinkpad testing mate. any chance I can get the beta :) let me know.

Also, did you look at the usb_serial.c maxsize patch I sent off to you? would it make your patch set or should I just suck it up and do it myself :P

thanks

-J
_________________
Run, run away!
Back to top
View user's profile Send private message
dr.bombay
n00b
n00b


Joined: 05 May 2005
Posts: 39
Location: Los Angeles

PostPosted: Sat Feb 10, 2007 4:16 am    Post subject: x11-drm Reply with quote

vipernicus, I get this build error, and would really appreciate your help on resolving, and thanks for the new kernel


CC [M] /var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_auth.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_bufs.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_context.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_dma.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_drawable.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_drv.o
/var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_drv.c: In function 'drm_init':
/var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_drv.c:304: warning: ignoring return value of 'pci_register_driver', declared with attribute warn_unused_result
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_fops.o
/var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_fops.c: In function 'drm_stub_open':
/var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_fops.c:189: warning: assignment discards qualifiers from pointer target type
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_ioctl.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_irq.o
/var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_irq.c: In function 'drm_irq_install':
/var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_irq.c:135: warning: passing argument 2 of 'request_irq' from incompatible pointer type
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_lock.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_memory.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_proc.o
CC [M] /var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_stub.o
/var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_stub.c:51: error: size of array 'type name' is negative
/var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_stub.c: In function 'drm_get_dev':
/var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_stub.c:216: warning: ignoring return value of 'pci_request_regions', declared with attribute warn_unused_result
/var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_stub.c:219: warning: ignoring return value of 'pci_enable_device', declared with attribute warn_unused_result
make[2]: *** [/var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core/drm_stub.o] Error 1
make[1]: *** [_module_/var/tmp/portage/x11-base/x11-drm-20060608-r1/work/drm/linux-core] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.20-nicus1'
make: *** [modules] Error 2
* Portage could not build the DRM modules. If you see an ACCESS DENIED error,
* this could mean that you were using an unsupported kernel build system. All
* 2.4 kernels are supported, but only 2.6 kernels at least as new as 2.6.6
* are supported.

!!! ERROR: x11-base/x11-drm-20060608-r1 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4138: Called src_compile
x11-drm-20060608-r1.ebuild, line 94: Called src_compile_os
x11-drm-20060608-r1.ebuild, line 249: Called src_compile_linux
x11-drm-20060608-r1.ebuild, line 273: Called die_error
x11-drm-20060608-r1.ebuild, line 314: Called die

!!! Unable to build DRM modules.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/x11-base/x11-drm-20060608-r1/temp/build.log'.
_________________
I just escaped from microsoft please help I dont want to ever go back
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun Feb 11, 2007 4:37 pm    Post subject: Reply with quote

That's not a bug it's a feature! We dont want DRM on linux. :evil:
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Sun Feb 11, 2007 4:51 pm    Post subject: Reply with quote

Gentree wrote:
That's not a bug it's a feature! We dont want DRM on linux. :evil:


*lol* What a strange joke!

@dr.bombay: Did you try stable version? You could try a 9999 cvs/git version from this overlay: http://sturmartillerie.org/portage/mesa-cvs
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
jmajor1111
n00b
n00b


Joined: 04 Mar 2005
Posts: 33
Location: Denver

PostPosted: Sun Feb 11, 2007 5:09 pm    Post subject: Drm Reply with quote

While I agree that DRM sucks, it is sadly a key path for Linux to be accepted in the corporate and home user markets. besides

Quote:
"X11-DRM is an enhancement to Xorg that adds 3D acceleration for cards by adding the kernel module necessary for direct rendering."


Gentree wrote:
That's not a bug it's a feature! We dont want DRM on linux. :evil:


Thankfully, Gentoo allows those like yourself to NOT install DRM components, but for those of us that would like to see a real corporate alternative to Windows, please keep comments like this to yourself or in the proper forum.
_________________
Run, run away!


Last edited by jmajor1111 on Sun Feb 11, 2007 5:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun Feb 11, 2007 5:12 pm    Post subject: Reply with quote

Oh , I thought is was an xorg kernel module to make my screen go blurred whenever I put a CD of my own music into the machine. :P

If linux can't offer basic functionality like that yet I suppose I'll have to install Vista :lol:
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
RobertDavid
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 271
Location: Czech Republic

PostPosted: Sun Feb 11, 2007 6:49 pm    Post subject: Reply with quote

Nice joke,,, so be aware of building x11-drm, or you can loose the ability of playing your own made mp3s :)

Seriously: I had the same problem with x11-drm, but then read somewhere that they stop maintainig the package and now they maintain only the kernel thread, so just enable DRM and your card in kernel as module. With that DRI works well on my radeon 9600.
_________________
Arch & Fluxbox & 2.6.24-rc-zen!!!!
robertek.brevnov.net
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun Feb 11, 2007 6:52 pm    Post subject: Re: Drm Reply with quote

jmajor1111 wrote:
Thankfully, Gentoo allows those like yourself to NOT install DRM components, but for those of us that would like to see a real corporate alternative to Windows, please keep comments like this to yourself or in the proper forum.


I love that subtle texan humour, one is never quite sure if it's a joke or not. ;)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


Joined: 27 Jan 2004
Posts: 1925
Location: Europe, Swizerland

PostPosted: Sun Feb 11, 2007 7:36 pm    Post subject: Reply with quote

RobertDavid wrote:
Nice joke,,, so be aware of building x11-drm, or you can loose the ability of playing your own made mp3s :)

Seriously: I had the same problem with x11-drm, but then read somewhere that they stop maintainig the package and now they maintain only the kernel thread, so just enable DRM and your card in kernel as module. With that DRI works well on my radeon 9600.


You mean activating drm support in the kernel right?
_________________
Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun Feb 11, 2007 8:52 pm    Post subject: Reply with quote

OK , messing aside.

Outstanding effort 'nicus. Finally I can migrate from the sadly discontinued no-sources.

I now have a kernel with R4 , uguru and sata-sil support as well as all the other tweekables. Nice job.

I'm still hitting one problem that I suspect is not down to nicus directly. I am trying desparately to format /dev/sda16 to ntfs (or anything else for that matter) as a place to clone hda1.

Now I have tried knoppix 5.1.1 , partedmagic 2.1 , and now nicus. All give me the same error when I try to format /dev/sda16 which is a SATA drive running on sata_sil (AN7 mobo).

I get invalid arguement, the kernel wont recogninse sda16. Now the fact that so many varied kernels refuse to see this and sda1-sda15 are fine, I get the impression this is sata_sil maybe being limitted to 0F partitions.

My ide drive has 25 (yep twentyfive) partitions and seems fine, sda1 to sda 15 seem happy.

Any ideas on this?

TIA. 8)

[EDIT] This may even be the underlying SCSI model , I seem to recall some comment on redhat limitting this to 15 for compat with other unices. Is this a somewhat unnecessary restriction of sata using the SCSI model?

:?
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Back to top
View user's profile Send private message
Donman
Tux's lil' helper
Tux's lil' helper


Joined: 05 Sep 2005
Posts: 117

PostPosted: Sun Feb 11, 2007 10:54 pm    Post subject: Reply with quote

@ Gentree:
I believe the 15 partition limit is held in the libata code itself, and is a limit in scsi as well.
Back to top
View user's profile Send private message
dr.bombay
n00b
n00b


Joined: 05 May 2005
Posts: 39
Location: Los Angeles

PostPosted: Mon Feb 12, 2007 4:50 pm    Post subject: x11-drm Reply with quote

RobertDavid wrote:
Nice joke,,, so be aware of building x11-drm, or you can loose the ability of playing your own made mp3s :)

Seriously: I had the same problem with x11-drm, but then read somewhere that they stop maintainig the package and now they maintain only the kernel thread, so just enable DRM and your card in kernel as module. With that DRI works well on my radeon 9600.

Thank you, that did the trick, and thank you vipernicus for nicus it's also my replacement for no-sources, although I was a fan of viper1
_________________
I just escaped from microsoft please help I dont want to ever go back
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Tue Feb 13, 2007 5:44 am    Post subject: Re: x11-drm Reply with quote

Code:
user host ~ $ uname -a
Linux blue 2.6.20-nicus1 #1 SMP Tue Feb 13 00:24:21 EST 2007 x86_64 AMD Athlon(tm) 64 Processor 3700+ AuthenticAMD GNU/Linux

compiles, booted and seems to run fine.

I had to modify arch/x86_64/Kconfig by removing 'if EMBEDDED' from the IOMMU section. I had to make the same modification to 2.6.19 kernels. IOMMU forces kernel AGPGART support which causes trouble (at least with nvidia cards).
Back to top
View user's profile Send private message
darklegion
Guru
Guru


Joined: 14 Nov 2004
Posts: 468

PostPosted: Tue Feb 13, 2007 12:13 pm    Post subject: Reply with quote

Setting clock frequency to 250 fails with: (later lines removed)
Code:

In file included from include/linux/sched.h:51,
                 from arch/x86_64/kernel/asm-offsets.c:8:
include/linux/jiffies.h:18:5: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:20:7: warning: "CONFIG_HZ" is not defined
include/linux/jiffies.h:22:7: warning: "CONFIG_HZ" is not defined


Doesn't happen when set to 300 or 1000.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
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