| View previous topic :: View next topic |
| Author |
Message |
vipernicus Veteran


Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Sun Aug 06, 2006 1:57 pm Post subject: 2.6.17-emission6: Shock Treatment |
|
|
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 gentoo-sources 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 version of genpatches, more Thinkpad related patches, added grsecurity for hardened users, and alot of cleanups and bug fix patches.
Predatorfreak has stepped down as maintainer, and I am now fully maintaining emission-sources again.
All problems you have been having with -emission4 and -emission5 are cleared up with this release.
There is an inclusion of a "lockless" USE flag, for those who have had no problems, and don't
mind being a little experimental.
2.6.17-emission6: Shock Treatment
| Code: | /* Patch List */
#
# Latest Linux Kernel Patch
patch-2.6.17.7
patch-2.6.17.8-rc1
#
# Latest Gentoo Patches
1700_sparc-obp64-naming.patch
1705_sparc-U1-hme-lockup.patch
2000_ethtool-oops.patch
2300_usb-insufficient-power.patch
4000_deprecate-sk98lin.patch
4005_bcm4319.patch
4010_pcnet-cs-te-cf100.patch
4015_forcedeth-new-ids.patch
4020_asix-88178.patch
4025_r8169-new-id.patch
4030_tg3-5787.patch
4035_sky2-v1.5.patch
4100_vt8251-sata.patch
4105_dm-bbr.patch
4110_nvidia-mcp61.patch
4115_nvidia-sata-new.patch
4120_ahci-nvidia-mcp65.patch
4125_nvidia-ide-new.patch
4130_jmicron-ahci.patch
4135_promise-pdc2037x.patch
4200_fbsplash-0.9.2-r5.patch
4205_vesafb-tng-1.0-rc2.patch
4206_vesafb-tng-mtrr.patch
4300_squashfs-3.0.patch
4400_speakup-20060618.patch
4401_speakup-serio.patch
4405_alpha-sysctl-uac.patch
#
# Latest -ck
sched-implement-smpnice-2.6.17.patch
sched-revise_smt_nice_locking.patch
2.6.17-smpnice-staircase-16.patch
sched-staircase16_interactive_tunable.patch
sched-staircase16_compute_tunable.patch
sched-range.patch
sched-iso-4.5.patch
track_mutexes-1.patch
sched-idleprio-1.9.patch
sched-limit_policy_changes.patch
defaultcfq.diff
cfq-ioprio_inherit_rt_class.patch
cfq-iso_idleprio_ionice.patch
hz-default_1000.patch
hz-no_default_250.patch
sched-add-above-background-load-function.patch
mm-swap_prefetch-32.patch
swsusp-rework-memory-shrinker-rev-2.patch
mm-convert_swappiness_to_mapped.patch
mm-lots_watermark.diff
mm-kswapd_inherit_prio-1.patch
mm-prio_dependant_scan-1.patch
mm-background_scan-1.patch
mm-idleprio_prio.patch
mm-decrease_minimum_dirty_ratio.patch
mm-set_zero_dirty_ratio.patch
mm-filesize_dependant_lru_cache_add.patch
kconfig-expose_vmsplit_option.patch
#
# Fixes from -mm
sleazy-fpu-feature-i386-support.patch
sleazy-fpu-feature-x86_64-support-2.patch
2.6.17-mm-mutex-conversion.patch
2.6.17-mm1-rollup-cleanup-patches.patch
tty-remove-include-of-screen_infoh-from-ttyh-fix.patch
tty-remove-include-of-screen_infoh-from-ttyh-fix-fix.patch
kernel-sysc-doesnt-need-inith.patch
the-scheduled-removal-of-some-oss-drivers.patch
zlib_inflate-update.patch
#
# Latest Reiser4 Patch from Namesys
reiser4-for-2.6.17-3.patch
#
# IOSched Improvements by Jens Axboe
iosched-rollup-2.6.17.4-2.patch
#
# Thinkpad related
hdaps_protect.20060430.patch
04-ibm_acpi-fan-for-2.6.17.patch
05-ibm_acpi-thermal-for-2.6.17.patch
linux-phc-0.2.6-kernel-vanilla-2.6.17.patch
10-tp_smapi-0.27-for-2.6.17.patch
#
# Unionfs 1.3
unionfs-1.3.patch
#
# Suspend2 2.2.7.4
suspend2-2.2.7.4-2.6.17-r2.patch
#
# Realtime Linux Security Model
realtime-lsm.patch
#
# patches from -tiny
cpu-support-rollup.patch
#
# Menuconfig Themes/Support
#
# make MENUCONFIG_COLOR=blackbg menuconfig
# make MENUCONFIG_COLOR=classic menuconfig
lxdialog-refractor-color-support.patch
lxdialog-color-themes-blackbg.patch
lxdialog-color-themes-classic.patch
daconfig-2.3.1-2.6.17-rc4
usb-mouse-polling.patch
name-tag.patch
#
# Hardened
grsecurity-2.1.9-2.6.17.7-200608012135.patch
remove-grsecurity-tag.patch
#
# Nick Piggins Patches
radix-tree-small.patch
mm-non_syncing_lock_page.patch
lockless.patch
lockless-fix.patch |
Enjoy!
Patch:
http://distfiles.evolution-mission.org/sources/2.6.17/emission6/linux-2.6.17-emission6.bz2
Ebuild:
http://distfiles.evolution-mission.org/sources/2.6.17/emission6/emission-sources-2.6.17-r6.ebuild
Lockless Patch (Experimental)
http://distfiles.evolution-mission.org/sources/2.6.17/emission6/linux-2.6.17-emission6-lockless.patch
Broken-Out:
http://distfiles.evolution-mission.org/sources/2.6.17/emission6/linux-2.6.17-emission6-broken-out.tar.bz2
Broken-Out (Directory):
http://distfiles.evolution-mission.org/sources/2.6.17/emission6/broken-out
Making it work:
Ebuild Method:
| Code: | mkdir -p /usr/local/portage/sys-kernel/emission-sources
cd /usr/local/portage/sys-kernel/emission-sources
wget http://distfiles.evolution-mission.org/sources/2.6.17/emission6/emission-sources-2.6.17-r6.ebuild
ebuild emission-sources-2.6.17-r6.ebuild digest
USE="symlink" emerge emission-sources
cd /usr/src/linux
make MENUCONFIG_COLOR=blackbg menuconfig |
If you want "lockless":
| Code: | echo "sys-kernel/emission-sources lockless" >> /etc/portage/package.use/all (For E-Mission guide users)
or:
echo "sys-kernel/emission-sources lockless" >> /etc/portage/package.use' (For Non-E-Mission guide users). |
Manual Method:
| Code: | cd /usr/src
rm linux
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.17.tar.bz2
tar -xvjf linux-2.6.17.tar.bz2
mv linux-2.6.17 linux-2.6.17-emission6
ln -s linux-2.6.17-emission6 linux
cd linux
wget http://distfiles.evolution-mission.org/sources/2.6.17/emission6/linux-2.6.17-emission6.bz2
wget http://distfiles.evolution-mission.org/sources/2.6.17/emission6/linux-2.6.17-emission6-lockless.patch (Experimental)
bzcat linux-2.6.17-emission6.bz2 | patch -p1
patch -p1 < ./linux-2.6.17-emission6-lockless.patch
rm -rf *.bz2 *.patch
make MENUCONFIG_COLOR=blackbg menuconfig |
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 Mon Aug 07, 2006 8:10 pm; edited 1 time in total |
|
| Back to top |
|
 |
protex Tux's lil' helper

Joined: 03 Mar 2006 Posts: 88
|
Posted: Sun Aug 06, 2006 4:31 pm Post subject: |
|
|
Works perfectly, thank you. =) _________________ -Mitch
Desktop --> AMD Athlon XP 2600+@2GHZ, 1024mb DDR, BFG GeForce 6600GT OC, Gentoo (Emission guide)
Server --> AMD Duron 1300, 384mb, Gentoo Hardened
Laptop --> Intel Pentium II@399MHZ, 64mb, Gentoo |
|
| Back to top |
|
 |
vipernicus Veteran


Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
|
| Back to top |
|
 |
Phlogiston Veteran


Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Mon Aug 07, 2006 7:43 pm Post subject: |
|
|
Oh you included hdaps_protect? Need to try that out right now  _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
| Back to top |
|
 |
vipernicus Veteran


Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
|
| Back to top |
|
 |
Phlogiston Veteran


Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Mon Aug 07, 2006 8:16 pm Post subject: |
|
|
| vipernicus wrote: | | Phlogiston wrote: | Oh you included hdaps_protect? Need to try that out right now  |
Note: I also included tp_smapi-0.27, so you can 'emerge -C' your old one. |
Protect not working as expected... But thanks for tp_smapi! _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
| Back to top |
|
 |
Phlogiston Veteran


Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Mon Aug 07, 2006 8:19 pm Post subject: |
|
|
Suspend2 not working here, it hangs while "doing atomic copy". This seems to be an old problem I once had with beyond.
/edit: Even standby is not working! The system hangs when reactivating. No idea what's wrong, but the kernel sucks in my case.  _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
| Back to top |
|
 |
vipernicus Veteran


Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Mon Aug 07, 2006 9:04 pm Post subject: |
|
|
| Phlogiston wrote: | Suspend2 not working here, it hangs while "doing atomic copy". This seems to be an old problem I once had with beyond.
/edit: Even standby is not working! The system hangs when reactivating. No idea what's wrong, but the kernel sucks in my case.  |
Try without lockless. _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
| Back to top |
|
 |
Phlogiston Veteran


Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Mon Aug 07, 2006 9:18 pm Post subject: |
|
|
| vipernicus wrote: | | Phlogiston wrote: | Suspend2 not working here, it hangs while "doing atomic copy". This seems to be an old problem I once had with beyond.
/edit: Even standby is not working! The system hangs when reactivating. No idea what's wrong, but the kernel sucks in my case.  |
Try without lockless. |
I didn't activate lockless. _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
| Back to top |
|
 |
vipernicus Veteran


Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Mon Aug 07, 2006 9:19 pm Post subject: |
|
|
| Phlogiston wrote: | | vipernicus wrote: | | Phlogiston wrote: | Suspend2 not working here, it hangs while "doing atomic copy". This seems to be an old problem I once had with beyond.
/edit: Even standby is not working! The system hangs when reactivating. No idea what's wrong, but the kernel sucks in my case.  |
Try without lockless. |
I didn't activate lockless. |
Can you post your dmesg when you try to suspend, and also when you try to use hdaps_protect? _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
| Back to top |
|
 |
broch Tux's lil' helper

Joined: 09 Jul 2005 Posts: 94
|
Posted: Tue Aug 08, 2006 4:38 am Post subject: |
|
|
| great patch, I like the inclusion of grsecurity. I hope that you will keep hardening patch in the future. |
|
| Back to top |
|
 |
vipernicus Veteran


Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Tue Aug 08, 2006 4:39 am Post subject: |
|
|
| broch wrote: | | great patch, I like the inclusion of grsecurity. I hope that you will keep hardening patch in the future. |
I will, I like the looks of it, I'm trying a few of the features now. Are there any other hardening patches you'd like included? _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
| Back to top |
|
 |
b33fc0d3 Retired Dev

Joined: 22 Jun 2006 Posts: 128
|
Posted: Tue Aug 08, 2006 6:57 am Post subject: |
|
|
| vipernicus wrote: | | Can you post your dmesg when you try to suspend, and also when you try to use hdaps_protect? |
Same problems as emission5 here maybe what others above are experiencing. Suspend2's /proc directories are completely missing so no suspend or resume could really work. Suspend can probably work but it wont resume without /proc dirs. |
|
| Back to top |
|
 |
martin.k Guru


Joined: 28 Nov 2004 Posts: 492 Location: Wylatowo, Polska
|
Posted: Tue Aug 08, 2006 7:24 am Post subject: |
|
|
| vipernicus wrote: | | If there are any new features you'd like to see in future versions of -emission, or any new drivers, feel free to request them, and I will look them over. |
My requests:
Genetic io-scheduler and io-fingerprinting from Jake Moilanen: http://kernel.jakem.net/patches/genetic/2.6.17/2.6.17-gl1/ as described here http://www.linuxsymposium.org/2006/
I know... I know... latencies... But I like this stuff. So maybe optional as a USE flag. _________________ linux-2.6.17 +ck +R4 +lockless +genetic-as +... więcej nie pamiętam
LRU #299256 |
|
| Back to top |
|
 |
predatorfreak l33t


Joined: 13 Jan 2005 Posts: 708 Location: USA, Michigan.
|
Posted: Tue Aug 08, 2006 11:39 am Post subject: |
|
|
| martin.k wrote: | | vipernicus wrote: | | If there are any new features you'd like to see in future versions of -emission, or any new drivers, feel free to request them, and I will look them over. |
My requests:
Genetic io-scheduler and io-fingerprinting from Jake Moilanen: http://kernel.jakem.net/patches/genetic/2.6.17/2.6.17-gl1/ as described here http://www.linuxsymposium.org/2006/
I know... I know... latencies... But I like this stuff. So maybe optional as a USE flag. |
and CPU overhead and waste-of-code for 99% of all workloads in the world. _________________ System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up. |
|
| Back to top |
|
 |
Whoopie n00b

Joined: 27 May 2006 Posts: 17
|
Posted: Wed Aug 09, 2006 5:33 am Post subject: |
|
|
| b33fc0d3 wrote: |
Same problems as emission5 here maybe what others above are experiencing. Suspend2's /proc directories are completely missing so no suspend or resume could really work. Suspend can probably work but it wont resume without /proc dirs. |
That's not a bug, it's a feature. Nigel skipped /proc for /sys. You need to adjust your scripts to point to /sys/power/suspend2/{do_suspend,do_resume}. |
|
| Back to top |
|
 |
b33fc0d3 Retired Dev

Joined: 22 Jun 2006 Posts: 128
|
Posted: Wed Aug 09, 2006 2:57 pm Post subject: |
|
|
| Whoopie wrote: | | b33fc0d3 wrote: |
Same problems as emission5 here maybe what others above are experiencing. Suspend2's /proc directories are completely missing so no suspend or resume could really work. Suspend can probably work but it wont resume without /proc dirs. |
That's not a bug, it's a feature. Nigel skipped /proc for /sys. You need to adjust your scripts to point to /sys/power/suspend2/{do_suspend,do_resume}. |
Grr, why was that decision made ? |
|
| Back to top |
|
 |
b33fc0d3 Retired Dev

Joined: 22 Jun 2006 Posts: 128
|
Posted: Wed Aug 09, 2006 3:08 pm Post subject: |
|
|
| Whoopie wrote: |
That's not a bug, it's a feature. Nigel skipped /proc for /sys. You need to adjust your scripts to point to /sys/power/suspend2/{do_suspend,do_resume}. |
Confirmed working here. Thanks. |
|
| Back to top |
|
 |
kernelOfTruth Watchman


Joined: 20 Dec 2005 Posts: 5345 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Thu Aug 10, 2006 3:51 pm Post subject: |
|
|
works fine !
Thanks
running on a Samsung X20, Pentium M 740 (Dothan on Sonoma), undervolt patch works great!, Pax Memory Sanitizing enabled, reiser4, ... _________________ Unofficial minimal livecd x86/amd64 w/reiser4+truecrypt (by Neo2)
2.6.37.2_plus_v1: BFS, CFS,THP,compaction, zcache or TOI
Hardcore Linux user since 2004  |
|
| Back to top |
|
 |
beltazore Apprentice


Joined: 30 Oct 2003 Posts: 174 Location: Norway
|
Posted: Wed Aug 16, 2006 10:22 am Post subject: |
|
|
Almost everything works fine here, except suspend2.
Suspend2 is compiled in to the source, both file- and swapwriter, under bootup the kernel confirms this. But when i use the command 'hibernate' I get this error:
| Code: |
hibernate: WARNING: Filewriter location given, but kernel does not have filewriter
hibernate: support. Ignoring.
Your kernel does not appear to have Software Suspend 2 support compiled in.
Please follow the HOWTO linked from http://www.suspend2.net/ for instructions
on how to compile Software Suspend into your kernel.
hibernate: Aborting.
|
What can cause this? |
|
| Back to top |
|
 |
EAD Guru

Joined: 05 Jul 2006 Posts: 352
|
Posted: Wed Aug 16, 2006 12:24 pm Post subject: |
|
|
Can I use the same .config file from 3 or there something new? also I have Nvidia and ALSA not in the kernel, Mean I need to install them like new?
 |
|
| Back to top |
|
 |
vipernicus Veteran


Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Wed Aug 16, 2006 1:05 pm Post subject: |
|
|
| EAD wrote: | Can I use the same .config file from 3 or there something new? also I have Nvidia and ALSA not in the kernel, Mean I need to install them like new?
 |
Yes no, yes yes, and yes. _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
| Back to top |
|
 |
beltazore Apprentice


Joined: 30 Oct 2003 Posts: 174 Location: Norway
|
Posted: Wed Aug 16, 2006 1:17 pm Post subject: |
|
|
| A little note: I think everyone that uses suspend2 should upgrade hibernate-script to the latest version. |
|
| Back to top |
|
 |
vipernicus Veteran


Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
|
| Back to top |
|
 |
EAD Guru

Joined: 05 Jul 2006 Posts: 352
|
Posted: Wed Aug 16, 2006 5:21 pm Post subject: |
|
|
Ok I am using this kernel, seem to be fast and stable.
A good replacment for emmission 3  |
|
| Back to top |
|
 |
|