View previous topic :: View next topic |
Author |
Message |
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Thu Feb 08, 2007 10:48 pm Post subject: 2.6.20-nicus1: Gasoline & Frozen Orange Juice |
|
|
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 |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
rmh3093 Advocate
Joined: 06 Aug 2003 Posts: 2138 Location: Albany, NY
|
Posted: Fri Feb 09, 2007 12:27 am Post subject: |
|
|
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 |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Fri Feb 09, 2007 12:30 am Post subject: |
|
|
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 |
|
|
jmajor1111 n00b
Joined: 04 Mar 2005 Posts: 33 Location: Denver
|
Posted: Fri Feb 09, 2007 4:45 am Post subject: Thinkpad? |
|
|
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
thanks
-J _________________ Run, run away! |
|
Back to top |
|
|
dr.bombay n00b
Joined: 05 May 2005 Posts: 39 Location: Los Angeles
|
Posted: Sat Feb 10, 2007 4:16 am Post subject: x11-drm |
|
|
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 |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sun Feb 11, 2007 4:37 pm Post subject: |
|
|
That's not a bug it's a feature! We dont want DRM on linux. _________________ 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 |
|
|
Phlogiston Veteran
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Sun Feb 11, 2007 4:51 pm Post subject: |
|
|
Gentree wrote: | That's not a bug it's a feature! We dont want DRM on linux. |
*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 |
|
|
jmajor1111 n00b
Joined: 04 Mar 2005 Posts: 33 Location: Denver
|
Posted: Sun Feb 11, 2007 5:09 pm Post subject: Drm |
|
|
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. |
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 |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sun Feb 11, 2007 5:12 pm Post subject: |
|
|
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.
If linux can't offer basic functionality like that yet I suppose I'll have to install Vista _________________ 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 |
|
|
RobertDavid Apprentice
Joined: 08 Aug 2005 Posts: 271 Location: Czech Republic
|
Posted: Sun Feb 11, 2007 6:49 pm Post subject: |
|
|
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 |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sun Feb 11, 2007 6:52 pm Post subject: Re: Drm |
|
|
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 |
|
|
Phlogiston Veteran
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Sun Feb 11, 2007 7:36 pm Post subject: |
|
|
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 |
|
|
Gentree Watchman
Joined: 01 Jul 2003 Posts: 5350 Location: France, Old Europe
|
Posted: Sun Feb 11, 2007 8:52 pm Post subject: |
|
|
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.
[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 |
|
|
Donman Tux's lil' helper
Joined: 05 Sep 2005 Posts: 117
|
Posted: Sun Feb 11, 2007 10:54 pm Post subject: |
|
|
@ 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 |
|
|
dr.bombay n00b
Joined: 05 May 2005 Posts: 39 Location: Los Angeles
|
Posted: Mon Feb 12, 2007 4:50 pm Post subject: x11-drm |
|
|
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 |
|
|
jonnevers Veteran
Joined: 02 Jan 2003 Posts: 1594 Location: Gentoo64 land
|
Posted: Tue Feb 13, 2007 5:44 am Post subject: Re: x11-drm |
|
|
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 |
|
|
darklegion Guru
Joined: 14 Nov 2004 Posts: 468
|
Posted: Tue Feb 13, 2007 12:13 pm Post subject: |
|
|
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 |
|
|
|