Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.17-emission6: Shock Treatment
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
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: Sun Aug 06, 2006 1:57 pm    Post subject: 2.6.17-emission6: Shock Treatment Reply with quote

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
View user's profile Send private message
protex
Tux's lil' helper
Tux's lil' helper


Joined: 03 Mar 2006
Posts: 88

PostPosted: Sun Aug 06, 2006 4:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
vipernicus
Veteran
Veteran


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

PostPosted: Sun Aug 06, 2006 5:38 pm    Post subject: Reply with quote

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.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


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

PostPosted: Mon Aug 07, 2006 7:43 pm    Post subject: Reply with quote

Oh you included hdaps_protect? Need to try that out right now 8)
_________________
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
vipernicus
Veteran
Veteran


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

PostPosted: Mon Aug 07, 2006 8:09 pm    Post subject: Reply with quote

Phlogiston wrote:
Oh you included hdaps_protect? Need to try that out right now 8)


Note: I also included tp_smapi-0.27, so you can 'emerge -C' your old one.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


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

PostPosted: Mon Aug 07, 2006 8:16 pm    Post subject: Reply with quote

vipernicus wrote:
Phlogiston wrote:
Oh you included hdaps_protect? Need to try that out right now 8)


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
View user's profile Send private message
Phlogiston
Veteran
Veteran


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

PostPosted: Mon Aug 07, 2006 8:19 pm    Post subject: Reply with quote

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. :roll:
_________________
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
vipernicus
Veteran
Veteran


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

PostPosted: Mon Aug 07, 2006 9:04 pm    Post subject: Reply with quote

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. :roll:


Try without lockless.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


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

PostPosted: Mon Aug 07, 2006 9:18 pm    Post subject: Reply with quote

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. :roll:


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
View user's profile Send private message
vipernicus
Veteran
Veteran


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

PostPosted: Mon Aug 07, 2006 9:19 pm    Post subject: Reply with quote

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. :roll:


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
View user's profile Send private message
broch
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2005
Posts: 94

PostPosted: Tue Aug 08, 2006 4:38 am    Post subject: Reply with quote

great patch, I like the inclusion of grsecurity. I hope that you will keep hardening patch in the future.
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: Tue Aug 08, 2006 4:39 am    Post subject: Reply with quote

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
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Tue Aug 08, 2006 6:57 am    Post subject: Reply with quote

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
View user's profile Send private message
martin.k
Guru
Guru


Joined: 28 Nov 2004
Posts: 492
Location: Wylatowo, Polska

PostPosted: Tue Aug 08, 2006 7:24 am    Post subject: Reply with quote

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
View user's profile Send private message
predatorfreak
l33t
l33t


Joined: 13 Jan 2005
Posts: 708
Location: USA, Michigan.

PostPosted: Tue Aug 08, 2006 11:39 am    Post subject: Reply with quote

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
View user's profile Send private message
Whoopie
n00b
n00b


Joined: 27 May 2006
Posts: 17

PostPosted: Wed Aug 09, 2006 5:33 am    Post subject: Reply with quote

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
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Wed Aug 09, 2006 2:57 pm    Post subject: Reply with quote

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
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Wed Aug 09, 2006 3:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
kernelOfTruth
Watchman
Watchman


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

PostPosted: Thu Aug 10, 2006 3:51 pm    Post subject: Reply with quote

works fine !

Thanks :D

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 :D
Back to top
View user's profile Send private message
beltazore
Apprentice
Apprentice


Joined: 30 Oct 2003
Posts: 174
Location: Norway

PostPosted: Wed Aug 16, 2006 10:22 am    Post subject: Reply with quote

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
View user's profile Send private message
EAD
Guru
Guru


Joined: 05 Jul 2006
Posts: 352

PostPosted: Wed Aug 16, 2006 12:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
vipernicus
Veteran
Veteran


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

PostPosted: Wed Aug 16, 2006 1:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
beltazore
Apprentice
Apprentice


Joined: 30 Oct 2003
Posts: 174
Location: Norway

PostPosted: Wed Aug 16, 2006 1:17 pm    Post subject: Reply with quote

A little note: I think everyone that uses suspend2 should upgrade hibernate-script to the latest version.
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: Wed Aug 16, 2006 1:19 pm    Post subject: Reply with quote

beltazore wrote:
A little note: I think everyone that uses suspend2 should upgrade hibernate-script to the latest version.


Did doing that fix your problem?
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
EAD
Guru
Guru


Joined: 05 Jul 2006
Posts: 352

PostPosted: Wed Aug 16, 2006 5:21 pm    Post subject: Reply with quote

Ok I am using this kernel, seem to be fast and stable.
A good replacment for emmission 3 :twisted:
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
Goto page 1, 2  Next
Page 1 of 2

 
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