View previous topic :: View next topic |
Author |
Message |
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Thu Oct 05, 2006 7:43 pm Post subject: 2.6.18-emission1: Pathological Euphoria |
|
|
E-Mission Sources is based on the Lockless Pagecache by Nick Piggin, GenPatches, and CK.
The main goal of this patchset is to stay updated with genpatches releases,
offer latest features, decrease latencies, decrease overhead, and improve interactivity. Another
goal of E-Mission Sources is stability. We boot test each release and run for an extended amount of time.
/* Notes */
New versions of everything! I decided to go ahead and release -emission1 with execshield for this release. GrSecurity is taking their time in releasing a new version.
Features:
RCU-Preempt: Lower Latencies http://lkml.org/lkml/2006/8/28/179
USB Mouse Polling Revised: Predatorfreak changed the patch up slightly to allow you to change your polling interval in sysctl, at '/proc/sys/kernel/hid_mousepoll_interval'. You now have the option of enabling or disabling polling in favor of the event based system, which is the kernel default.
Adaptive Readahead: New readahead logic, improved speed: http://kerneltrap.org/node/6642
Genetic Anticipatory: Alot of work has been done, and bugs have been fixed. Good for File Servers/Databases. http://kernel.jakem.net/
Thinkpad patches: http://vipernicus.evolution-mission.org/patches/2.6.18/emission1/patches/thinkpad
BadRAM: Work around bad spots in RAM http://rick.vanrein.org/linux/badram/
Libata-git: Latest for SATA and PATA
Attention:
If anyone would like to make requests for new features/drivers, either post here, or join us in #emission-sources on Freenode.
Example of new E-Mission Tunables (All but Custom are preconfigured options):
Code: | E-Mission Tunables --->
( ) Server
( ) File Server
( ) Compute Server
( ) Gaming
( ) Desktop
( ) Low Latency Desktop
( ) Custom |
Custom Menu:
Code: | E-Mission Kernel Tunables (Custom) --->
(6) Minimum Round Robin Timeslice (in milliseconds) (NEW)
(19) Factor For Default Value (NEW)
(1) Interactive CPU Scheduling (NEW)
(0) Compute CPU Scheduling (NEW)
(80) Percentage CPU For SCHED_ISO Tasks (NEW)
(66) Percentage RAM Filled With Mapped Pages (NEW)
(1) Hard Mapped Limit (NEW)
(1) Tail Large Files (NEW)
(0) Dirty Ratio (NEW) |
2.6.18-emission1: Pathological Euphoria
Code: | /* Patch List */
00-genpatches-rollup-2.6.18-1.patch
01-patch-2.6.18-ck1
02-iosched-rollup-2.6.18-mm2.patch
03-lockless-rollup-2.6.18.patch
04-reiser4-2.6.18-mm2.patch
05-mm-rollup-2.6.18-mm2.patch
06-optims-from-mm-2.6.18-mm2.patch
07-fixes-from-mm-2.6.18-mm2.patch
08-ntp-rollup-2.6.18-mm2.patch
09-non-libata-driver-for-jmicron-devices.patch
10-sleazy-fpu-feature.patch
11-cpu-support-rollup-2.6.18.patch
12-suspend2-2.2.8-for-2.6.18.patch
13-linux-phc-0.2.6-for-2.6.18.patch
14-rcu-preempt-2.6.18.patch
15-exec-shield-nx-2.6.18-1.patch
16-BadRAM-2.6.18.patch
17-thinkpad-2.6.18.patch
18-ati-fix.patch
19-lxdialog-2.6.18-mm2.patch
20-daconfig-2.3.1-2.6.18.patch
21-emission-tunables-4-2.6.18-ck1.patch
22-adaptive-readahead-2.6.18.patch
23-genetic-anticipatory-2.6.18.patch
24-kconfig-add-864hz.patch
25-unionfs-latest.patch
26-realtime-lsm-2.6.18.patch
27-usb-mouse-polling-sysctl-2.6.18.patch
28-libata-git-2.6.18-mm2.patch
29-shutup-false-positives-2.6.18.patch
31-name-tag-2.6.18-emission1.patch
|
Enjoy!
Patch:
http://distfiles.evolution-mission.org/sources/2.6.18/emission1/linux-2.6.18-emission1.bz2
Ebuild:
http://distfiles.evolution-mission.org/sources/2.6.18/emission1/emission-sources-2.6.18-r1.ebuild
Broken-Out:
http://distfiles.evolution-mission.org/sources/2.6.18/emission1/linux-2.6.18-emission1-broken-out.tar.bz2
Broken-Out (Directory):
http://distfiles.evolution-mission.org/sources/2.6.18/emission1/patches
Making it work:
Ebuild Method:
Code: | mkdir -p /usr/local/portage/sys-kernel/emission-sources/files
cd /usr/local/portage/sys-kernel/emission-sources/
wget http://distfiles.evolution-mission.org/sources/2.6.18/emission1/emission-sources-2.6.18-r1.ebuild
cd /usr/local/portage/sys-kernel/emission-sources/files/
wget http://distfiles.evolution-mission.org/scripts/emission-tunables
cd /usr/local/portage/sys-kernel/emission-sources/
ebuild emission-sources-2.6.18-r1.ebuild digest
USE="symlink" emerge emission-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.18.tar.bz2
tar -xvjf linux-2.6.18.tar.bz2
mv linux-2.6.18 linux-2.6.18-emission1
ln -s linux-2.6.18-emission1 linux
cd linux
wget http://distfiles.evolution-mission.org/sources/2.6.18/emission1/linux-2.6.18-emission1.bz2
bzcat linux-2.6.18-emission1.bz2 | patch -p1
rm -rf *.bz2 *.patch
make MENUCONFIG_COLOR=blackbg menuconfig |
Nesl247 has created a script to switch the settings while running the current kernel and permanently through sysctl.conf
E-Mission Tunables Script 2.3:
http://distfiles.evolution-mission.org/scripts/emission-tunables
How-to Install:
Code: | wget http://distfiles.evolution-mission.org/scripts/emission-tunables --output-document=/usr/bin/emission-tunables
chmod +x /usr/bin/emission-tunables |
How-to Use (Choose one of the following options):
Code: | emission-tunables compute-server
emission-tunables desktop
emission-tunables file-server
emission-tunables gaming
emission-tunables ll-desktop
emission-tunables server
emission-tunables custom |
This lets you switch between modes while running kernel.
For all support, requests, patches, please check the Emission-Sources Bugzilla Tracker
and check Emission-Sources Forums for new releases! _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Last edited by vipernicus on Thu Oct 05, 2006 11:19 pm; edited 2 times in total |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
ashtophet Guru
Joined: 08 Aug 2004 Posts: 397
|
Posted: Thu Oct 05, 2006 8:47 pm Post subject: |
|
|
Looks great... Let's compile it
Thanks |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
ashtophet Guru
Joined: 08 Aug 2004 Posts: 397
|
Posted: Thu Oct 05, 2006 9:24 pm Post subject: |
|
|
Same here... |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Thu Oct 05, 2006 9:32 pm Post subject: |
|
|
CC arch/i386/kernel/vm86.o
CC arch/i386/kernel/early_printk.o
CC arch/i386/kernel/hpet.o
SYSCALL arch/i386/kernel/vsyscall-syms.o
LD arch/i386/kernel/built-in.o
AS arch/i386/kernel/head.o
CC arch/i386/kernel/init_task.o
LDS arch/i386/kernel/vmlinux.lds
CC arch/i386/mm/init.o
arch/i386/mm/init.c: In function ‘set_highmem_pages_init’:
arch/i386/mm/init.c:326: error: too many arguments to function ‘add_one_highpage_init’
make[1]: *** [arch/i386/mm/init.o] Error 1
make: *** [arch/i386/mm] Error 2
this are the errors with high memory support set to 4G _________________ this is a strange strange world. |
|
Back to top |
|
|
dbcoder n00b
Joined: 13 Nov 2005 Posts: 47
|
|
Back to top |
|
|
RobertDavid Apprentice
Joined: 08 Aug 2005 Posts: 271 Location: Czech Republic
|
Posted: Thu Oct 05, 2006 9:57 pm Post subject: |
|
|
Please replace
ln -s linux-2.6.17-emission1 linux
to
ln -s linux-2.6.18-emission1 linux
in your manual install guide...
Im compiling now an cant wait I try that:)_ _________________ Arch & Fluxbox & 2.6.24-rc-zen!!!!
robertek.brevnov.net |
|
Back to top |
|
|
immudium Guru
Joined: 12 Oct 2004 Posts: 332 Location: Utah
|
Posted: Thu Oct 05, 2006 10:12 pm Post subject: |
|
|
tranquilcool wrote: | CC arch/i386/kernel/vm86.o
CC arch/i386/kernel/early_printk.o
CC arch/i386/kernel/hpet.o
SYSCALL arch/i386/kernel/vsyscall-syms.o
LD arch/i386/kernel/built-in.o
AS arch/i386/kernel/head.o
CC arch/i386/kernel/init_task.o
LDS arch/i386/kernel/vmlinux.lds
CC arch/i386/mm/init.o
arch/i386/mm/init.c: In function set_highmem_pages_init:
arch/i386/mm/init.c:326: error: too many arguments to function add_one_highpage_init
make[1]: *** [arch/i386/mm/init.o] Error 1
make: *** [arch/i386/mm] Error 2
this are the errors with high memory support set to 4G |
I can confirm. As a work around, I was able to get it to compile by reversing the 16-BadRAM.patch
Code: |
cd /usr/src/linux-2.6.18-emission1
wget http://distfiles.evolution-mission.org/sources/2.6.18/emission1/patches/16-BadRAM-2.6.18.patch
patch -p1 -R < 16-BadRAM-2.6.18.patch
make clean
make && make modules && make modules_install && make install
|
It looks like the patch comes from here http://rick.vanrein.org/linux/badram/download.html I'll have to mess around with it and see if I can get things to match up better. |
|
Back to top |
|
|
tranquilcool Veteran
Joined: 25 Mar 2005 Posts: 1179
|
Posted: Thu Oct 05, 2006 10:35 pm Post subject: |
|
|
i have this in my dmesg;
Memory: 2073372k/2096320k available (2510k kernel code, 21844k reserved, 923k data, 168k init, 0k highmem, 0k BadRAM)
the high memory was set to off. but i set the 2G/2G split all the same. As the dmesg shows everything went fine.
i just felt viper should know. _________________ this is a strange strange world. |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
|
Back to top |
|
|
a7thson Apprentice
Joined: 08 Apr 2006 Posts: 176 Location: your pineal gland
|
Posted: Fri Oct 06, 2006 12:25 am Post subject: |
|
|
vipernicus, glad to see that I'm not the only one that had issues with the BadRAM patch. I also had it set to high memory support and got an identical error when testing this earlier if you recall.
immudium wrote: | tranquilcool wrote: | CC arch/i386/kernel/vm86.o
CC arch/i386/kernel/early_printk.o
CC arch/i386/kernel/hpet.o
SYSCALL arch/i386/kernel/vsyscall-syms.o
LD arch/i386/kernel/built-in.o
AS arch/i386/kernel/head.o
CC arch/i386/kernel/init_task.o
LDS arch/i386/kernel/vmlinux.lds
CC arch/i386/mm/init.o
arch/i386/mm/init.c: In function set_highmem_pages_init:
arch/i386/mm/init.c:326: error: too many arguments to function add_one_highpage_init
make[1]: *** [arch/i386/mm/init.o] Error 1
make: *** [arch/i386/mm] Error 2
this are the errors with high memory support set to 4G |
I can confirm. As a work around, I was able to get it to compile by reversing the 16-BadRAM.patch
Code: |
cd /usr/src/linux-2.6.18-emission1
wget http://distfiles.evolution-mission.org/sources/2.6.18/emission1/patches/16-BadRAM-2.6.18.patch
patch -p1 -R < 16-BadRAM-2.6.18.patch
make clean
make && make modules && make modules_install && make install
|
It looks like the patch comes from here http://rick.vanrein.org/linux/badram/download.html I'll have to mess around with it and see if I can get things to match up better. |
_________________ i7-3610QM | E5-2670 | FX-8300 |
|
Back to top |
|
|
a7thson Apprentice
Joined: 08 Apr 2006 Posts: 176 Location: your pineal gland
|
Posted: Fri Oct 06, 2006 1:34 am Post subject: |
|
|
I believe this fragment needs to be included in the BadRAM patchset, add_one_highpage_init has been redefined but it seems this redefinition was forgotten, which handles (presumably) the address table for bad blocks:
Code: |
-void __init add_one_highpage_init(struct page *page, int pfn, int bad_ppro)
+void __init add_one_highpage_init(struct page *page, int pfn, int bad_ppro,
+ int *bad)
{
+ *bad = 0;
if (page_is_ram(pfn) && !(bad_ppro && page_kills_ppro(pfn))) {
ClearPageReserved(page);
- free_new_highpage(page);
+ free_new_highpage(page, bad);
} else
SetPageReserved(page);
}
|
without the final parameter (*bad) the call to add_one_highpage_init(struct page *page, int pfn, int bad_ppro, int &bad) will (of course) fail. maybe the easiest way is to replace the patch, I think only init.c is affected, so cut and paste the appropriate portion of the official BadRAM patch for 2.6.18 in place of the existing one and see what happens. I unfortunately can't test this at the moment but I think this will solve the problem. _________________ i7-3610QM | E5-2670 | FX-8300 |
|
Back to top |
|
|
maudib n00b
Joined: 03 Nov 2005 Posts: 50
|
Posted: Fri Oct 06, 2006 8:17 am Post subject: |
|
|
i'm getting a kernel panic with this one with something like;
Code: |
Call trace:
ata_device_add
svia_init_one
pci_device_probe
__driver_attach
bus_for_each_dev
...
...
...
EIP: ata_port_init
|
I have a VIA SATA chip..
It works in -rad1 and -ck1 |
|
Back to top |
|
|
RobertDavid Apprentice
Joined: 08 Aug 2005 Posts: 271 Location: Czech Republic
|
Posted: Fri Oct 06, 2006 9:17 am Post subject: |
|
|
maybe I have the same problem with via-sata, I have compiled the kernel smothly, but during the boot process it shows kernel panic while initializing sata, works ok in rad1-sources, maybe there is something wrong in the libata-GIT:( _________________ Arch & Fluxbox & 2.6.24-rc-zen!!!!
robertek.brevnov.net |
|
Back to top |
|
|
mbar Veteran
Joined: 19 Jan 2005 Posts: 1990 Location: Poland
|
Posted: Fri Oct 06, 2006 9:54 am Post subject: |
|
|
yeah, I'm going to install it when I get back home |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Fri Oct 06, 2006 2:59 pm Post subject: |
|
|
kernelOfTruth wrote: | libata working fine here, it's running now on my box (x86), JMicron works so far, no lockups, will try some hard work later [with highmem deactivated]
ok, I'm going to install it on amd64 now, hopefully unionfs builds fine ...
Update:
This is an exceptional release !
squashfs & unionfs built fine without any sound
running it now on the amd64-system of gentoo, too |
I'm glad it's running well for you! _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
Back to top |
|
|
kfiaciarka Veteran
Joined: 20 May 2005 Posts: 1498 Location: Dobre Miasto, Poland
|
Posted: Fri Oct 06, 2006 3:22 pm Post subject: |
|
|
does gensplash work with these kernel? |
|
Back to top |
|
|
bigbob73 Guru
Joined: 31 Dec 2004 Posts: 332 Location: Under the Lone Star
|
Posted: Fri Oct 06, 2006 3:32 pm Post subject: |
|
|
kfiaciarka wrote: | does gensplash work with these kernel? |
works here _________________ A computers attention span is only as long as it's electrical cord (Murphy) |
|
Back to top |
|
|
kfiaciarka Veteran
Joined: 20 May 2005 Posts: 1498 Location: Dobre Miasto, Poland
|
Posted: Fri Oct 06, 2006 3:42 pm Post subject: |
|
|
thanks:) as soon as my gentoo gets recompiled I'll try it |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
|
Back to top |
|
|
EAD Guru
Joined: 05 Jul 2006 Posts: 352
|
Posted: Fri Oct 06, 2006 4:01 pm Post subject: |
|
|
I get this error when compiling the kernel
Code: | LD .tmp_vmlinux1
arch/i386/kernel/built-in.o: In function `identify_cpu':
(.init.text+0x2039): undefined reference to `exec_shield'
arch/i386/mm/built-in.o: In function `arch_pick_mmap_layout':
(.text+0x1262): undefined reference to `exec_shield'
arch/i386/mm/built-in.o: In function `paging_init':
(.init.text+0x87): undefined reference to `exec_shield'
arch/i386/mm/built-in.o: In function `noexec_setup':
(.init.text+0x4b7): undefined reference to `exec_shield'
fs/built-in.o: In function `load_elf_binary':
binfmt_elf.c:(.text+0x21a85): undefined reference to `exec_shield'
fs/built-in.o:binfmt_elf.c:(.text+0x21bd3): more undefined references to `exec_shield' follow
make: *** [.tmp_vmlinux1] Error 1
|
What shell I do please? |
|
Back to top |
|
|
|