Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.22-dark4: Under Jolly Roger
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
predatorfreak
l33t
l33t


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

PostPosted: Mon Aug 06, 2007 9:41 pm    Post subject: 2.6.22-dark4: Under Jolly Roger Reply with quote

New release, sorry it took so long, but I've been both lazy and busy lately, with a lot of things you can't really plan for popping up on me.

Quote:

Release: 2.6.22-dark4
Name: Under Jolly Roger!
Patchset produced by: predatorfreak

Comments: Updated to CFS 19.1, some cleanups from -mm, NCQ support on nVidia chipsets supporting it set as default.

Build and boot-test certified: Built with a modified Arch Linux kernel26 config, booted on my system, seems to run fine.

Additional Information: To adjust the CFS granularity, use sysctl kernel.sched_granularity_ns = VAL, where VAL is the proper value.
To disable NCQ on nVidia chipsets which support it, either pass swncq=0 to the kernel (if sata_nv is built-in) or put options sata-nv swncq=0
in /etc/modprobe.conf (optionally including that file in your initrd if you use one).

Uvesafb: Gentoo users should refer to http://dev.gentoo.org/~spock/projects/uvesafb/ for help setting up uvesafb, skipping the parts pertaining to patching
the kernel. Arch users wishing to use it should use the v86d and klibc PKGBUILD's at http://www.dcaf-security.org/abs/local/.

Patch list:
mainline/patch-2.6.22.1
alsa/alsa-git-2007-07-20.patch
ingo/sched-cfs-v2.6.22.1-v19.1.patch
ck-old/sched-add-above-background-load-function.patch
ck/mm-swap_prefetch-41.patch
ck/mm-lots_watermark.diff
ck/mm-kswapd_inherit_prio-1.patch
ck/mm-prio_dependant_scan-2.patch
ck/mm-background_scan-2.patch
ck/mm-filesize_dependant_lru_cache_add.patch
ck/kconfig-expose_vmsplit_option.patch
ck/hz-default_1000.patch
ck/hz-no_default_250.patch
mm/git-newsetup.patch
mm/git-newsetup-fixup.patch
mm/sata_nv-ncq-support-for-mcp51-mcp55-mcp61.patch
mm/floppy-do-a-very-minimal-style-cleanup-of-the-floppy-driver.patch
mm/floppy-remove-dead-commented-out-code-from-floppy-driver.patch
mm/floppy-remove-register-keyword-use-from-floppy-driver.patch
mm/fs-superc-use-list_for_each_entry-instead-of-list_for_each.patch
mm/fs-superc-use-list_for_each_entry-instead-of-list_for_each-fix.patch
mm/fs-use-kmem_cache_zalloc-instead.patch
genpatches/2700_usbaudio-logitech-id.patch
genpatches/2900_powernow-k8-acpi.patch
spock/uvesafb-0.1-rc2-2.6.22-rc6.patch
dark/execshield-2.6.22.patch
dark/exec-shield-kconfig.patch
dark/realtime-lsm.patch
dark/git-gccbug.patch
dark/decrease-isn-wraparound-time.patch
dark/BadRAM-2.6.22.patch
dark/powertop-2.6.22.patch
dark/ondemand-fix.patch
dark/dark-tag.patch


Download patch: http://www.dcaf-security.org/dark-sources/patch-2.6.22-dark4.patch.bz2
Download patch without BadRAM (x86_64 users): http://www.dcaf-security.org/dark-sources/patch-2.6.22-dark4-r1.patch.bz2
Download broken-out: http://www.dcaf-security.org/dark-sources/broken-out-2.6.22-dark4.tar.bz2
_________________
System: predatorbox
Distro: Arch Linux x86_64
Current projects: blackhole, convmedia and anything else I cook up.


Last edited by predatorfreak on Tue Aug 07, 2007 5:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
AaronPPC
Guru
Guru


Joined: 29 May 2005
Posts: 522
Location: Tucson, AZ

PostPosted: Mon Aug 06, 2007 10:38 pm    Post subject: Reply with quote

Hmmm....
Code:
ERROR 404: Not Found.

:)
_________________
--Aaron
Back to top
View user's profile Send private message
predatorfreak
l33t
l33t


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

PostPosted: Mon Aug 06, 2007 10:47 pm    Post subject: Reply with quote

AaronPPC wrote:
Hmmm....
Code:
ERROR 404: Not Found.

:)


Whoops, I uploaded it too the wrong area on my server by accident XD
_________________
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
seren
Guru
Guru


Joined: 27 Aug 2005
Posts: 448
Location: Wisconsin

PostPosted: Tue Aug 07, 2007 1:57 am    Post subject: Reply with quote

Any news on whether ck is going to maintain some of his work? or if anyone is going to pick it up? im concerned about swap prefetch as i have been using it for some time now.

http://rafb.net/p/WtJ0Q850.html ebuild for dark-2.6.22-r4
Back to top
View user's profile Send private message
AaronPPC
Guru
Guru


Joined: 29 May 2005
Posts: 522
Location: Tucson, AZ

PostPosted: Tue Aug 07, 2007 4:13 am    Post subject: Reply with quote

My computer got a headache:
Code:
  CC      mm/bootmem.o
  CC      mm/filemap.o
  CC      mm/mempool.o
  CC      mm/oom_kill.o
  CC      mm/fadvise.o
  CC      mm/page_alloc.o
mm/page_alloc.c: In function 'badram_markpages':
mm/page_alloc.c:3436: error: 'mem_map' undeclared (first use in this function)
mm/page_alloc.c:3436: error: (Each undeclared identifier is reported only once
mm/page_alloc.c:3436: error: for each function it appears in.)
mm/page_alloc.c: In function 'badram_setup':
mm/page_alloc.c:3457: error: 'mem_map' undeclared (first use in this function)
mm/page_alloc.c:3461: warning: passing argument 3 of 'get_longoptions' from incompatible pointer type
make[1]: *** [mm/page_alloc.o] Error 1
make: *** [mm] Error 2


Quote:
im concerned about swap prefetch as i have been using it for some time now.

I hope someone picks it up too--which I think will happen. It's too good. I think Con is moving on to other things, unfortunately.
_________________
--Aaron
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 07, 2007 5:23 am    Post subject: Reply with quote

AaronPPC wrote:
My computer got a headache:
Code:
  CC      mm/bootmem.o
  CC      mm/filemap.o
  CC      mm/mempool.o
  CC      mm/oom_kill.o
  CC      mm/fadvise.o
  CC      mm/page_alloc.o
mm/page_alloc.c: In function 'badram_markpages':
mm/page_alloc.c:3436: error: 'mem_map' undeclared (first use in this function)
mm/page_alloc.c:3436: error: (Each undeclared identifier is reported only once
mm/page_alloc.c:3436: error: for each function it appears in.)
mm/page_alloc.c: In function 'badram_setup':
mm/page_alloc.c:3457: error: 'mem_map' undeclared (first use in this function)
mm/page_alloc.c:3461: warning: passing argument 3 of 'get_longoptions' from incompatible pointer type
make[1]: *** [mm/page_alloc.o] Error 1
make: *** [mm] Error 2



Arch and kernel config?
_________________
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
AaronPPC
Guru
Guru


Joined: 29 May 2005
Posts: 522
Location: Tucson, AZ

PostPosted: Tue Aug 07, 2007 6:51 am    Post subject: Reply with quote

Yeah, I should have posted them earlier. My .config is here and my arch is x86_64 with 2 gigs of RAM.
_________________
--Aaron
Back to top
View user's profile Send private message
tranquilcool
Veteran
Veteran


Joined: 25 Mar 2005
Posts: 1179

PostPosted: Tue Aug 07, 2007 8:19 am    Post subject: Reply with quote

kernel patchset running sweet and dandy on both gentoo and archlinux.

thanks!
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
buddabrod
Apprentice
Apprentice


Joined: 15 Oct 2006
Posts: 241
Location: Germany

PostPosted: Tue Aug 07, 2007 12:30 pm    Post subject: Reply with quote

seren wrote:
Any news on whether ck is going to maintain some of his work? or if anyone is going to pick it up? im concerned about swap prefetch as i have been using it for some time now.

http://rafb.net/p/WtJ0Q850.html ebuild for dark-2.6.22-r4
Waninkoko is going to port CK patches to every new kernel release.
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 07, 2007 5:37 pm    Post subject: Reply with quote

AaronPPC wrote:
Yeah, I should have posted them earlier. My .config is here and my arch is x86_64 with 2 gigs of RAM.


Urg, for some reason, BadRAM either really likes x86_64 or really hates it. I think I'm just going to drop the patch, as it constantly busts sooner-or-later.

Edit: Try this patch here: http://www.dcaf-security.org/dark-sources/patch-2.6.22-dark4-r1.patch.bz2
It removes the BadRAM patch and doesn't touch anything else in the tree.
_________________
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
RobertDavid
Apprentice
Apprentice


Joined: 08 Aug 2005
Posts: 271
Location: Czech Republic

PostPosted: Tue Aug 07, 2007 7:12 pm    Post subject: Reply with quote

Works great here:)

Is there some Suspend2 patch around that can be applyed for this kernel? Tryed that someone?
_________________
Arch & Fluxbox & 2.6.24-rc-zen!!!!
robertek.brevnov.net
Back to top
View user's profile Send private message
AaronPPC
Guru
Guru


Joined: 29 May 2005
Posts: 522
Location: Tucson, AZ

PostPosted: Tue Aug 07, 2007 7:16 pm    Post subject: Reply with quote

predatorfreak wrote:
Edit: Try this patch here: http://www.dcaf-security.org/dark-sources/patch-2.6.22-dark4-r1.patch.bz2

Thanks! That did the trick and I booted successfully.
_________________
--Aaron
Back to top
View user's profile Send private message
newgargamel
n00b
n00b


Joined: 24 Feb 2007
Posts: 9

PostPosted: Thu Aug 23, 2007 9:02 pm    Post subject: Reply with quote

predatorfreak:
will you upgrade your patchset? It would be great to see .5 kernel and v20 CFS

And thanks for your work!
Back to top
View user's profile Send private message
predatorfreak
l33t
l33t


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

PostPosted: Fri Aug 24, 2007 3:12 pm    Post subject: Reply with quote

newgargamel wrote:
predatorfreak:
will you upgrade your patchset? It would be great to see .5 kernel and v20 CFS

And thanks for your work!


Actually, I've got -dark5 sitting here, let me tar up the broken-out and bzip the patch, then I'll release it all.
_________________
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
extalin
n00b
n00b


Joined: 24 Aug 2007
Posts: 3

PostPosted: Fri Aug 24, 2007 4:31 pm    Post subject: Reply with quote

hello, i'm in the middle of installing Gentoo from a stage3 tarball using Conrads Live CD and the v4 "Flying Colors" Guide (lol.. it's just my timing to have done this the week before Conrad v5 will be released). I was going to use the viper2 patches, but they aren't available now :(

I just got done doing emerge '-e world, etc-update, emerge udept, dep -s'

i was about to use patch-2.6.22-dark4-r1.patch.bz2 before compiling the kernel, but i see here dark5 is almost ready.

Should I wait for dark v5 ???

note: I am installing x86_64 with reiser4 and dmraid. Are reiser4 and dmraid in the 2.6.22 kernels by default (if not, are they in dark v5 ? ).

My other option would be to emerge the vanilla sources or gentoo sources and then apply the reiser4 patch and follow the gentoo wiki guide for installing with nvraid support using dmraid. (Wait a minute, does GRUB support Reiser4). Help me please... LoL :P
Back to top
View user's profile Send private message
predatorfreak
l33t
l33t


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

PostPosted: Fri Aug 24, 2007 10:33 pm    Post subject: Reply with quote

extalin wrote:
hello, i'm in the middle of installing Gentoo from a stage3 tarball using Conrads Live CD and the v4 "Flying Colors" Guide (lol.. it's just my timing to have done this the week before Conrad v5 will be released). I was going to use the viper2 patches, but they aren't available now :(

I just got done doing emerge '-e world, etc-update, emerge udept, dep -s'

i was about to use patch-2.6.22-dark4-r1.patch.bz2 before compiling the kernel, but i see here dark5 is almost ready.

Should I wait for dark v5 ???

note: I am installing x86_64 with reiser4 and dmraid. Are reiser4 and dmraid in the 2.6.22 kernels by default (if not, are they in dark v5 ? ).

My other option would be to emerge the vanilla sources or gentoo sources and then apply the reiser4 patch and follow the gentoo wiki guide for installing with nvraid support using dmraid. (Wait a minute, does GRUB support Reiser4). Help me please... LoL :P


Don't wait for -dark5, CFS v20 is unstable and causes my box to hardlock. Reiser4 is not in any mainline kernel nor dark.

Edit: I figured out what the problem was, apparently, you need to rebuild the NVIDIA module after updating to v20 or it hardlocks the system.
_________________
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
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