Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.15-no4 "Love is Dead" (2.6.15.4 and more fixes*)
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
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Tue Feb 14, 2006 10:43 pm    Post subject: 2.6.15-no4 "Love is Dead" (2.6.15.4 and more fixes Reply with quote

2.6.15-no4 "Love is Dead"
Tribute to love-sources on valentines day!
-----
NICKSCHED TIMESLICE BUG
This will be resolved very soon, with a patch to apply, until then, you need to edit the following file to 16,32,64,128, or 256 - IF YOU ARE USING NICKSCHED
Code:
# nano /sys/cpusched/nicksched/base_timeslice (assuming you are using nano)

You need to change the value that says '256' to the value you want, by default in the Kconfig it is set to 128.
-----
PATCH TO MAKE NICKSCHED THE DEFAULT CPU SCHEDULER
This was intended to go into mainline no-sources, but it did not, so here is the patch (it is not needed, but it will be used in the future)
Code:
# cd /usr/src/linux (clean kernel, assuming make clean has been ran)
# wget bfgraphics.net/nicksched_default.diff
# patch -p1 -i nicksched_default.diff

This is not really a *fix*, it is what will be done in all future -no releases, nicksched can simply be made default in the, General Setup > CPU Schedulers, menu
-----
Due to valentine's day, a lot of the text in this post will have a pretty indigo color
-----
New release, RECCOMENDED UPRGADE!, fixed suspend2 issues, upgraded to vanill 2.6.15.4, added a few fixes from -mm (e.x. a bluetooth fix), Added eCryptfs support,FIXED NICKSCHED TIMESLICE!, by adding it to the CPU Schedulers kernel config, and setting the default to 128*, Fixed hdaps in mm, added lufs support, added the mapped watermark patch from -ck
-----
SUPPORT
IRC: #no-sources (at FreeNode)
Otherwise, post in this thread

-----
[_CPUSCHED_]
Code:
{ There are 7 available cpu scheduler you can choose from , either from the kernel config or by using cpusched="nicksched" in /boot/grub/grub.conf
  (assuming you are using grub) as a kernel parameter.

  Available options are:
  cpusched="nicksched"
  cpusched="staircase"
  cpusched="zaphod"
  cpusched="spa_no_frills"
  cpusched="spa_ws"
  cpusched="spa_svr"
  cpusched="ingosched"
}

-----
Patches: -->
CHANGELOG: http://enderandrew.com/conrad/no-sources/2.6.15-no4/Changelog.txt
NOTES (Detailed patchlist): http://enderandrew.com/conrad/no-sources/2.6.15-no4/Notes.txt

Code:
01_patches-from-2.6.15-mm4_and-2.6.15.4-micro-upgrade.patch | Apply 119 nice mm patches and upgrade to the latest vanilla release, 2.6.15.4

02_reiser4-from-mm.patch | Support for the Reiser V4 FileSystem, patches from -mm

03_patches-from-2.6.15-ck3.patch | a few nice patches from -ck

04_plugsched-6.1.6-for-2.6.15.patch | Multiple cpu schedulers

05_daconfig-menuconfig.patch | A cool script by damouse

# modified to work with 2.6.15.4 upgrade
06_suspend2-2.2-rc16.patch | Suspend2 Power mangement

07_vesafb-tng-1.0-rc1-r3.patch | Support for the vesafb-tng framebuffer

08_fbsplash-0.9.2-r5.patch | Support for the gensplash FrameBuffer Splash screen

09_bdz_undervolt.2006.01.07.patch | Allows underclocking and undervolting on pentium-m/centrino CPUs

10_kernel-2.6.13-2.6.15-layer7-2.1.patch | iptables layer7 support

11_ibm_fancontrol.patch | Extended fancontrol for certain IBM Notebooks

12_squashfs-2.2.patch | SquashFS Support (Squashed filesystem)

13_unionfs-1.1.2.patch | UnionFS Support

14_config-nr-tty-devices.patch | configure amount of ttys in /dev

15_sata_pm.2.6.15.patch | SATA Power Mangement patch

16_usbhid-readd-kconfig.patch | Configurable Mouse Polling

17_realtime-lsm-0.1.1.patch | Realtime linux security Module

18_sky2_and_deprecate-sk98lin.patch | Add sky2 ethernet driver to kernel

19_revert-mm-hdaps-changes.patch | Fix hdaps in -mm

20_suppress-deprecated-unusedresult.patch | Patch from nitro-sources, suppress unused result warnings

21_ecryptfs-0.1.patch | eCrypt FS Support

22_lufs-0.9.7.patch | Linux userland FS Support

# modified to work with other patches
23_vm-mapped.patch | Con Kolivas Swap hack

24_cpu-schedulars-menu.patch | Add CPU Scheduler choices in General Setup - CPU Schedulers, also include Nicksched timeslice option, with default @ 128

version.diff | Brand the kernel for latest no-sources

-----
All files temporarily on enderandrew mirror

DOWNLOADS:

EBUILD
PATCH
PATCH MD5
BROKEN-OUT
DETAILED PATCHLIST
CHANGELOG

-----
MINI-HOWTO
GENTOO:
# nano /etc/make.conf
<set PORTDIR_OVERLAY="/usr/local/portage", in make.conf, unless already set>
# wget http://enderandrew.com/conrad/no-sources/2.6.15-no4/no-sources-2.6.15-r4.ebuild
# mkdir -p /usr/local/portage/sys-kernel/no-sources
# mv no-sources-2.6.15-r4.ebuild /usr/local/portage/sys-kernel/no-sources
# ebuild /usr/local/portage/sys-kernel/no-sources/no-sources-2.6.15-r4.ebuild digest
<ALL users running stable x86 do the following step>
# echo sys-kernel/no-sources ~x86 >> /etc/portage/package.keywords
# emerge no-sources
OTHER DISTROS:
# cd /usr/src
# rm linux
# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.15.tar.bz2
# wget http://enderandrew.com/conrad/no-sources/2.6.15-no4/2.6.15-no4.bz2
# tar jxvf linux-2.6.15.tar.bz2
# ln -s linux-2.6.15 linux
# cd linux
# bzcat /usr/src/2.6.15-no4.bz2 | patch -p1

_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.


Last edited by cheater1034 on Fri Feb 17, 2006 8:32 pm; edited 2 times in total
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Wed Feb 15, 2006 3:04 am    Post subject: Reply with quote

Nicksched default scheduler patch.

It is not needed, but I totally forgot to include this one in the menuconfig patch :X

the patch just enabled nicksched as the default in the Kconfig

Patch:
http://bfgraphics.net/nicksched_default.diff
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1990
Location: Poland

PostPosted: Wed Feb 15, 2006 6:00 am    Post subject: Reply with quote

happy_followers_count++;
Back to top
View user's profile Send private message
Tiger683
Veteran
Veteran


Joined: 08 Jan 2005
Posts: 1347
Location: Heffner's House

PostPosted: Wed Feb 15, 2006 11:07 am    Post subject: Reply with quote

you are using an outdated suspend2 patch ;)
_________________
Retired gentoo user
Back to top
View user's profile Send private message
Zyne
Guru
Guru


Joined: 08 Jun 2004
Posts: 334

PostPosted: Wed Feb 15, 2006 2:11 pm    Post subject: Reply with quote

sweet!
Love-sources have always been my favourite patchset :)


Thanks for the newest update!


edit: there appears to be something wrong with the CIFS module... Whenever I try to access a windows share, my computer just freezes... It's not even accessible through ssh anymore.
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Wed Feb 15, 2006 7:41 pm    Post subject: Reply with quote

Tiger683 wrote:
you are using an outdated suspend2 patch ;)


:X I downgraded because the 2.2 one I was using appeared broken. When the next release of no-sources comes back in (2.6.16 release probally) I will hack up a suspend2 patch for 2.6.16 ;)

Zyne wrote:

edit: there appears to be something wrong with the CIFS module... Whenever I try to access a windows share, my computer just freezes... It's not even accessible through ssh anymore.


I do not use cifs, but it is right for me to assume the git-cifs patch from -mm is breaking it. You may wish to try installing the module seperately, for now, until this is cleared up.

http://linux-cifs.samba.org/cifs/cifs_download.html
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
predatorfreak
l33t
l33t


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

PostPosted: Thu Feb 16, 2006 2:16 pm    Post subject: Reply with quote

Something to consider: Instead of using MD5 hashes (which have been cracked), try SHA256.

I've switched all the hashing work I can over to SHA256 and lately a number of other folks have started switching to SHA256. On Gentoo, as far as I know there isn't an SHA256 hashing utility installed by default, but more recent versions of md5deep support SHA256 and a number of other hashing schemes. You could provide them side by side, but most people who are doing serious integrity checking have switched to SHA256.
_________________
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
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Thu Feb 16, 2006 8:42 pm    Post subject: Reply with quote

predatorfreak wrote:
Something to consider: Instead of using MD5 hashes (which have been cracked), try SHA256.

I've switched all the hashing work I can over to SHA256 and lately a number of other folks have started switching to SHA256. On Gentoo, as far as I know there isn't an SHA256 hashing utility installed by default, but more recent versions of md5deep support SHA256 and a number of other hashing schemes. You could provide them side by side, but most people who are doing serious integrity checking have switched to SHA256.


I will probally do this.

I broke my system accidently, as I was attempting to downgrade glibc from 2.3.90* to 2.3.6. So I am reinstalling currently.

When I get my system up (by tomorrow w/ X+OB3) I will work on 2.6.16-rc3-no1, Which I planned to work on initially, before I broke my system :X
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
justin82
n00b
n00b


Joined: 03 Feb 2006
Posts: 28

PostPosted: Fri Feb 17, 2006 4:10 am    Post subject: Reply with quote

EDIT: nevermind
Back to top
View user's profile Send private message
Vla
Tux's lil' helper
Tux's lil' helper


Joined: 09 Sep 2005
Posts: 135
Location: Somewhere in the middle

PostPosted: Fri Feb 17, 2006 6:17 pm    Post subject: Reply with quote

Hello!
I noticed that if i do a cat /sys/cpusched/nicksched/base_timeslice it shows me 256 although I set it to 64 in kernel config.
How can I fix this?
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Fri Feb 17, 2006 6:36 pm    Post subject: Reply with quote

Vla wrote:
Hello!
I noticed that if i do a cat /sys/cpusched/nicksched/base_timeslice it shows me 256 although I set it to 64 in kernel config.
How can I fix this?


Really? I will research that issue, it should not look like that.

you can change it manually to 64 via that file, it should work.

I will double check the kernel config to make sure it is configuring the right option.
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
no idea
n00b
n00b


Joined: 03 Jan 2006
Posts: 43
Location: Zagreb

PostPosted: Fri Feb 17, 2006 8:08 pm    Post subject: Reply with quote

cheater1034 wrote:
Really? I will research that issue, it should not look like that.

you can change it manually to 64 via that file, it should work.

I will double check the kernel config to make sure it is configuring the right option.

Yep, Vla is right.........now that I looked, it also says 256 but I've set 128 in kernel configuration :)
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Fri Feb 17, 2006 8:31 pm    Post subject: Re: 2.6.15-no4 "Love is Dead" (2.6.15.4 and more f Reply with quote

marked as bug, posted fix.

Thankyou very much :)

There will be a patch to fix this soon!
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
Back to top
View user's profile Send private message
Tiger683
Veteran
Veteran


Joined: 08 Jan 2005
Posts: 1347
Location: Heffner's House

PostPosted: Fri Feb 17, 2006 8:53 pm    Post subject: Reply with quote

lol, an easy one .... :lol:

If you put something in the Kconfig, you should use it in the code too ;)
_________________
Retired gentoo user
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1990
Location: Poland

PostPosted: Sun Mar 26, 2006 9:32 am    Post subject: Reply with quote

Pls cheater update this series to 2.6.15.6 version :)
Back to top
View user's profile Send private message
mirek
Guru
Guru


Joined: 20 Sep 2004
Posts: 489
Location: Oslo Norway

PostPosted: Sun Mar 26, 2006 12:38 pm    Post subject: Reply with quote

Have anybody got problems with suspend2 with gcc4.1 My kernel
Code:
# uname -r
2.6.16-rc5-no3

I have upgraded gcc and xorg-x11 to v.7.0 and Suspend2 is not working now.
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1990
Location: Poland

PostPosted: Sun Mar 26, 2006 12:44 pm    Post subject: Reply with quote

Suspend2 is working in 2.6.15-noX series only. That's why I asked for updating it a little...
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Mon Mar 27, 2006 12:45 am    Post subject: Reply with quote

that is expected, I will re-write a patch for 2.6.16-no1, suspend2 works with THIS and previous versions only.

The reason is because the entire 2.16.x series was based off of -mm, and there is no suspend2 patch for -mm, so I had to rewrite major chunks of a few major suspend2 files, and I couldn't test it myself.
_________________
IRC!: #zen-sources on irc.rizon.net
zen-kernel.org
--
Lost in android development land.
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