Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.18-rc5-no1 "No? Hell No!" | Preemptiable RCU!
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
eremini
Apprentice
Apprentice


Joined: 27 May 2005
Posts: 157

PostPosted: Fri Sep 08, 2006 11:00 pm    Post subject: 2.6.18-rc5-no1 "No? Hell No!" | Preemptiable RCU! Reply with quote

- {/ 2.6.18-rc5-no1 "No? Hell No!" \} -
Release Status: Unstable
Reason: -rc kernel releases, experimental patches
---------------------------------
-{ Release-Specific }-
- Finally a new release, based off 2.6.18-rc5-mm1. Both ingosched and staircase code has been synced with the latest sched.c and -ck patchset. More useful patches were grabbed from -ck and also the experimental preempt RCU patches. All -mm hotfixes have also been included. Squashfs has been updated to 3.1-r2 and both SquashFS and UnionFS have been fixed for compiling (at least it was failing to compile on my system. See the Changelog for more changes. Unfortunately, broken out patches are not available in this really, blame me (eremini). Note: eremini is the mainaner of this release, so please direct all bug reports to him.

-{ Patchset-Specific }-
- No-sources is a kernel patchset based on Andrew Morton's -mm patchset. It contains
numerous user-requested features, other things gathered from various sources, and
some of our own items/patches to make it no-certified.

"No-sources was founded during the end of love-source's reign by JasonF and myself.
Our intention was to create a patchset that would be able to continue on regardless
of maintainer and still live in the spirit of -love's original -mm base and featureset.
Given there have been numerous changes throughout the releases, including different
maintainers, but I believe through this philosophy a useful patchset can continue to be made."
-joecool

-{ Changelog > 2.6.18-rc4-no1 }-
* Based off of a new -mm release (2.6.18-rc5-mm1)
* Includes hot-fixes for the -mm patchset
* NoSched series updated
* Added a patch to prevent automatic debug messages if kernel is tainted (useful to people using nvidia drivers)
* Updated SquashFS to 3.1-r2
* Added patches to fix building SquashFS and UnionFS on cerain systems
* More -ck patches
* Lockless RCU

-{ Patches }- (please not that this list may not be completely accurate)
# No-Sched Series:
01_NoSched-prep.patch
02_NoSched-Makefile.patch
03_NoSched-Kconfig.patch
04_NoSched-implement-ingosched.patch
05_NoSched-implement-staircase.patch
06_NoSched-implement-staircase-tunables.patch
07_NoSched-implement-staircase-sched-iso.patch
08_NoSched-implement-staircase-idleprio.patch
09_NoSched-implement-ifdefs.patch
10_NoSched-implement-max_delay-stat.patch
11_NoSched-implement-max_delay-stat-2.patch

# Hot-Fixes for -mm
drivers-md-kconfig-fix-block-dependency.patch
provide-kernel_execve-on-all-architectures-fix-3.patch
revert-acpi-mwait-c-state-fixes.patch
revert-ide-hpa-resume-fix.patch

# from Spock
fbsplash-0.9.2-r5.patch | gensplash
vesafb-tng-1.0-rc2.patch | vesa-tng

# from -ck
kconfig-expose_vmsplit-option.patch | improve explanations and make vmsplit visible
mm-convert_swappiness_to_mapped.patch | convert swappiness to mapped watermark
mm-lots_watermark.patch | Add the pages_lots watermark
cfq-ioprio_inherit_rt_class.patch
cfq-iso_idleprio_ionice.patch
mm-background_scan-2.patch
mm-decrease_minimum_dirty_ratio.patch
mm-kswapd_inherit_prio-1.patch
mm-prio_dependant_scan-1.patch
mm-set_zero_dirty_ratio.patch
sched-add-above-background-load-function.patch
track_mutexes-1.patch

# Preemptiable RCU
rcu-split-classic.patch
rcu-softirq.patch
rcu-preempt.patch
rcu-preempt-trace.patch

# from -tiny
cpu-support.patch
movsl-mask.patch
mtrr-cpusupport.patch

# Thinkpad Patches
ibm-fancontrol.patch
ibm_acpi-thermal.patch
linux-phc-0.2.6-2.6.18-rc4-no2.patch

# Convert joydev for digital presses (optional/Kconfig Option)
linux-joydev-analogdigital.patch
linux-joydev-analogdigital-fix.patch

# Fix support for ATI-Drivers
fix-ati-build-1.patch
fix-ati-build-2.patch

# Random Stuff
HZ-864-Kconfig-Option.patch
add-clockinfo-to-timerc.patch
prevent-backwards-time.patch
no-preferred-desktop-opts.patch
config-nr-tty-devices-r3.patch
realtime-lsm.patch

# File Systems
squashfs3.1.patch
unionfs-svn.patch

# USB
usb-mouse-polling.patch
usbxchange5.patch

# from DaMouse
daconfig-2.3.1.patch

# tag
no-tag.patch

# Build Fixes.
#
# To fix all build errors from the other patches.
final-build-fixes.patch

Downloads:

EBUILD
PATCH
Notes

HOWTO
GENTOO and ANY DISTRIBUTION
A how-to can be found at:
http://gentoo-wiki.com/HOWTO_no-sources

TESTING
This release has been allmodconfig tested, rcupreempt and rcuclassic staircase tested. Ran personally by me for a few days now, I noticed the system overall more responsive.

Good Luck!
I look forward to any feedback.
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Sat Sep 09, 2006 12:21 am    Post subject: Reply with quote

Good work!

With my new system up and running, I will definitely use this as my kernel after installation.
_________________
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
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Sat Sep 09, 2006 12:44 am    Post subject: Reply with quote

I just upgraded portage to 2.1.1
Now I want to emerge the newest no-sources and this is the output I get when digesting an ebuild
Code:
localhost no-sources # ebuild no-sources-2.6.18_rc5-r1.ebuild digest
: command not found/no-sources/sys-kernel/no-sources/no-sources-2.6.18_rc5-r1.ebuild: line 4:
: command not found/no-sources/sys-kernel/no-sources/no-sources-2.6.18_rc5-r1.ebuild: line 7:
: command not found/no-sources/sys-kernel/no-sources/no-sources-2.6.18_rc5-r1.ebuild: line 9:
: command not found/no-sources/sys-kernel/no-sources/no-sources-2.6.18_rc5-r1.ebuild: line 12:
", must be "sources" or "headers"

!!! ERROR: sys-kernel/no-sources-2.6.18_rc5-r1 failed.
Call stack:
  ebuild.sh, line 1454:   Called source '/usr/local/overlays/no-sources/sys-kernel/no-sources/no-sources-2.6.18_rc5-r1.ebuild'
' no-sources-2.6.18_rc5-r1.ebuild, line 14:   Called inherit 'kernel-2' 'eutils
  ebuild.sh, line 1207:   Called source '/usr/portage/eclass/kernel-2.eclass'
  kernel-2.eclass, line 315:   Called die

", must be "sources" or "headers"
!!! If you need support, post the topmost build error, and the call stack if relevant.


aux_get(): (0) Error in sys-kernel/no-sources-2.6.18_rc5-r1 ebuild. (1)
               Check for syntax error or corruption in the ebuild. (--debug)


--- EDIT ---
Doesn't work with older portage too. I looked at the ebuild. I just don't get what's wroGn.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Sat Sep 09, 2006 2:03 am    Post subject: Reply with quote

Patched mm myself.
When making this is the output.
Code:

localhost linux # make && make modules && make modules_install && make install
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86_64/Kconfig
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  CHK     include/linux/utsrelease.h
  UPD     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86_64
  CC      arch/x86_64/kernel/asm-offsets.s
In file included from include/linux/module.h:9,
                 from include/linux/crypto.h:21,
                 from arch/x86_64/kernel/asm-offsets.c:7:
include/linux/sched.h:782: error: redefinition of 'above_background_load'
include/linux/sched.h:685: error: previous definition of 'above_background_load' was here
make[1]: *** [arch/x86_64/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
ilikelinux
n00b
n00b


Joined: 19 Dec 2003
Posts: 50

PostPosted: Sat Sep 09, 2006 4:23 am    Post subject: Reply with quote

Been using this kernel for about an hour now, seems fine, ati-drivers compiled fine, etc etc.

Another great no-sources kernel !
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Sat Sep 09, 2006 4:35 am    Post subject: Reply with quote

How did you emerge it
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
ilikelinux
n00b
n00b


Joined: 19 Dec 2003
Posts: 50

PostPosted: Sat Sep 09, 2006 4:43 am    Post subject: Reply with quote

I copied one of the old .ebuild files over the top of another one.
Code:
cp no-sources-2.6.18_rc4-r2.ebuild no-sources-2.6.18_rc5-r1

Worked perfectly for me.. Dunno why the new ebuild didn't work...[/code]
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Sat Sep 09, 2006 5:06 am    Post subject: Reply with quote

Copying works, but I still get the error when making. Sheet :(
Maybe its because of amd64?

--- EDIT --

I had to disable SMP support. Now it is happyly compiling. :D
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
eremini
Apprentice
Apprentice


Joined: 27 May 2005
Posts: 157

PostPosted: Sat Sep 09, 2006 8:43 am    Post subject: Reply with quote

Something must have messed up during the ebuild upload, because the same copy I gave cheater is on my box right now working fine.
I knew I should've tested SMP, I have a one processor system, so I didn't even think about it. I will take a look and hopefully fix it in the next release (rc6-mm1 is out)
Thanks guys.
Back to top
View user's profile Send private message
n0rbi666
l33t
l33t


Joined: 04 Mar 2005
Posts: 707
Location: \Poland\Krakow

PostPosted: Sat Sep 09, 2006 8:53 am    Post subject: Reply with quote

The reason of error is End of line - should be unix style, but is windows style. Try to open ebuild with Kate, select end of line - Unix, cut everything and pase, then save ebuild. And now it should work.
Back to top
View user's profile Send private message
eremini
Apprentice
Apprentice


Joined: 27 May 2005
Posts: 157

PostPosted: Sat Sep 09, 2006 9:01 am    Post subject: Reply with quote

ummm thats weird since all my edits were done in nano. I'll resave the ebuild and pm cheater to reupload it
Back to top
View user's profile Send private message
masterdriverz
Retired Dev
Retired Dev


Joined: 28 Mar 2006
Posts: 391
Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the galaxy

PostPosted: Sat Sep 09, 2006 11:05 am    Post subject: Reply with quote

I get this error:
Code:
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/i386/Kconfig
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  CHK     include/linux/utsrelease.h
  UPD     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-i386
  CC      arch/i386/kernel/asm-offsets.s
In file included from include/linux/module.h:9,
                 from include/linux/crypto.h:21,
                 from arch/i386/kernel/asm-offsets.c:7:
include/linux/sched.h:782: error: redefinition of 'above_background_load'
include/linux/sched.h:685: error: previous definition of 'above_background_load' was here
make[1]: *** [arch/i386/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2


EDIT: Removed patch, use Eremini's.


Last edited by masterdriverz on Sun Sep 10, 2006 6:18 pm; edited 3 times in total
Back to top
View user's profile Send private message
Zubzub
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2006
Posts: 91
Location: ::1

PostPosted: Sat Sep 09, 2006 1:32 pm    Post subject: Reply with quote

yeah I get the same error, I tried applying the patch but it doesnt seem to work or Im doin something wrong.
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Sat Sep 09, 2006 2:20 pm    Post subject: Reply with quote

Disable SMP. Then it compiles....
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
eremini
Apprentice
Apprentice


Joined: 27 May 2005
Posts: 157

PostPosted: Sat Sep 09, 2006 2:25 pm    Post subject: Reply with quote

THIS is the patch

Code:

--- linux/include/linux/sched.h   2006-09-08 04:38:58.000000000 +0100
+++ linux.new/include/linux/sched.h   2006-09-08 22:55:41.000000000 +0100
@@ -675,23 +675,6 @@
 
 #define test_sd_flag(sd, flag)   ((sd && (sd->flags & flag)) ? 1 : 0)
 
-/*
- * A runqueue laden with a single nice 0 task scores a weighted_cpuload of
- * SCHED_LOAD_SCALE. This function returns 1 if any cpu is laden with a
- * task of nice 0 or enough lower priority tasks to bring up the
- * weighted_cpuload
- */
-static inline int above_background_load(void)
-{
-   unsigned long cpu;
-
-   for_each_online_cpu(cpu) {
-      if (weighted_cpuload(cpu) >= SCHED_LOAD_SCALE)
-         return 1;
-   }
-   return 0;
-}
-
 struct sched_group {
    struct sched_group *next;   /* Must be a circular list */
    cpumask_t cpumask;
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Sat Sep 09, 2006 2:58 pm    Post subject: Reply with quote

re-uploaded the ebuild, it should work now.

My mistake, I uploaded the wrong ebuild file from my system. (I edited an old no-sources ebuild in doze, I knew it wouldn't work so i asked eremini for his and when i saved it it went has no-sources-2.6.18-rc5-no1(2).ebuild) so I accidently didn't upload the (2) like I should of.
_________________
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
eremini
Apprentice
Apprentice


Joined: 27 May 2005
Posts: 157

PostPosted: Sat Sep 09, 2006 6:49 pm    Post subject: Reply with quote

Is anyone interested in Suspend 2? Or are there any other feature requests for the next release?
Back to top
View user's profile Send private message
Zubzub
Tux's lil' helper
Tux's lil' helper


Joined: 14 Jun 2006
Posts: 91
Location: ::1

PostPosted: Sat Sep 09, 2006 8:43 pm    Post subject: Reply with quote

zxy wrote:
Disable SMP. Then it compiles....


yeah well I have a turion dualcore so disabling smp and using no for perfomance is kinda riding a porsche in first gear...

btw patch still refuses to apply :s what am I doing wrong?

I open nano, c/p the code, save it to a file in the lowest dir as stated in the code. and do "patch -p0 < filewithpatch" it says it rejects in line 672 or something... :s
Back to top
View user's profile Send private message
cheater1034
Veteran
Veteran


Joined: 09 Sep 2004
Posts: 1558

PostPosted: Sat Sep 09, 2006 9:17 pm    Post subject: Reply with quote

Zubzub wrote:
zxy wrote:
Disable SMP. Then it compiles....


yeah well I have a turion dualcore so disabling smp and using no for perfomance is kinda riding a porsche in first gear...

btw patch still refuses to apply :s what am I doing wrong?

I open nano, c/p the code, save it to a file in the lowest dir as stated in the code. and do "patch -p0 < filewithpatch" it says it rejects in line 672 or something... :s


You might have to go for this one manually (Edit the file manually with what the patch suggests)
_________________
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
eremini
Apprentice
Apprentice


Joined: 27 May 2005
Posts: 157

PostPosted: Sat Sep 09, 2006 10:59 pm    Post subject: Reply with quote

yeah, try it manually, but it really should work, because that patch was diffed by me from the no-sources you all have
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sat Sep 09, 2006 11:49 pm    Post subject: Reply with quote

I was hoping to test this one but I think I'll wait for the dust to settle.

Does 2.6.18-rc4-no1 suffer from mem leaks ? I'm having some odd crashes on thunar snv builds that suggest a kernel bug.

TIA 8)
_________________
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
View user's profile Send private message
eremini
Apprentice
Apprentice


Joined: 27 May 2005
Posts: 157

PostPosted: Sun Sep 10, 2006 7:52 am    Post subject: Reply with quote

Not unless someone else can confirm this, I've been running this for about 3-4 days now everything is fine.
Back to top
View user's profile Send private message
nbvcxz
Guru
Guru


Joined: 02 Sep 2005
Posts: 379
Location: Kraków / PL

PostPosted: Sun Sep 10, 2006 7:57 am    Post subject: Reply with quote

eremini & cheater
another great kernel patchset working here - so far with no errors
but last time I noticed a big speed increase - I dont't know if it is because compiling with different CFLAGS or just emerging new E17 ; but my proposal is to include a possibility to include own set of CFLAGS_KERNEL eg. during make menuconfig - is it possible and worth?
_________________
nBVCXz
zen-kernel (bfq compcache) | /tmp -> tmpfs | ext4 | zsh | xfce | schedtool
Back to top
View user's profile Send private message
masterdriverz
Retired Dev
Retired Dev


Joined: 28 Mar 2006
Posts: 391
Location: Far out in the uncharted backwaters of the unfashionable end of the Western Spiral arm of the galaxy

PostPosted: Sun Sep 10, 2006 8:13 am    Post subject: Reply with quote

eremini wrote:
Is anyone interested in Suspend 2?


It would be great if you could get it in the next no-sources. Also, is there any possibility of getting the Bad Ram patch in?
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5350
Location: France, Old Europe

PostPosted: Sun Sep 10, 2006 8:21 am    Post subject: Reply with quote

eremini wrote:
Not unless someone else can confirm this, I've been running this for about 3-4 days now everything is fine.


you seem to have miss read, I was asking about 2.6.18-rc4-no1

did that have any memory issues. I thought it was good patchset but just checking.

thx 8)
_________________
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
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, 3, 4  Next
Page 1 of 4

 
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