Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.21-viper1: The Quick And The Dead | (SDv0.46)
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
vipernicus
Veteran
Veteran


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

PostPosted: Fri Apr 27, 2007 4:15 am    Post subject: 2.6.21-viper1: The Quick And The Dead | (SDv0.46) Reply with quote

Viper Sources is pretty much my playground for new patches.
The main goal of this patchset is pretty much to offer the latest features, decrease latencies, decrease overhead, and improve interactivity. The only difference is experimental versions of everything. I boot test each release and run for an extended amount of time.

/* Notes */
04/27/2007
Updated to 2.6.21, SD 0.46. Dyntick is default in 2.6.21. If you want CFS, check out -nicus.


Extended changelog, downloads, and support requests have been moved to http://forums.nesl247.org/viewforum.php?f=18

2.6.21-viper1: The Quick And The Dead
Code:
/* Patch List */
2.6.21-sd-0.46.patch
2.6.21-sd-0.46-boost.patch
2.6.21-sd-0.46-boost-tunable.patch
genpatches-rollup-2.6.21-1.patch
ck-desktop-rollup-2.6.21.patch
cpu-support-rollup.patch
rcu-preempt-rollup-2.6.21.patch
adaptive-readahead-2.6.21.patch
realtime-lsm.patch
suspend2-2.2.9.13-for-2.6.21.patch
linux-phc-0.2.9-for-2.6.21.patch
thinkpad-for-2.6.21-1.patch
fs-ext4-2.6.21-update1.patch
fs-reiser4-for-2.6.21.patch
fs-unionfs-2.0-for-2.6.21.patch
enable-4k-stacks-default-2.6.21.patch
hz-864-kconfig-option.patch
daconfig-2.3.1-2.6.21.patch
viper-version.patch


Enjoy!

Patch:
http://vipernicus.org/files/patches/2.6.21/viper1/linux-2.6.21-viper1.bz2

Ebuild:
http://vipernicus.org/files/patches/2.6.21/viper1/viper-sources-2.6.21-r1.ebuild

Broken-Out:
http://vipernicus.org/files/patches/2.6.21/viper1/linux-2.6.21-viper1-broken-out.tar.bz2

Broken-Out (Directory):
http://vipernicus.org/files/patches/2.6.21/viper1/broken-out/


Need Help?
Kernel How-to


If you want to chat with us, we can now be found in #nesl247 on irc.freenode.org.

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


Joined: 25 Mar 2005
Posts: 1030

PostPosted: Fri Apr 27, 2007 5:11 am    Post subject: Reply with quote

unfortunately i have temperature problems both with CFS and SD.
am trying plain staircase or nicksched to see if it's related. with 72-74°
my system is pretty useless.
_________________
this is a strange strange world.
Back to top
View user's profile Send private message
mbar
Veteran
Veteran


Joined: 19 Jan 2005
Posts: 1902
Location: Poland

PostPosted: Fri Apr 27, 2007 6:32 am    Post subject: Reply with quote

thanks, now I have to check on *two* patchsets during this weekend :)
Back to top
View user's profile Send private message
Slavo
Apprentice
Apprentice


Joined: 26 May 2005
Posts: 229

PostPosted: Fri Apr 27, 2007 8:17 am    Post subject: Reply with quote

alsa-driver compile fails

Code:

make[5]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/pci/emu10k1/emu10k1_callback.o] Error 1
make[4]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/pci/emu10k1] Error 2
make[3]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/pci] Error 2
make[2]: *** [_module_/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.21-viper1'
make: *** [compile] Error 2

!!! ERROR: media-sound/alsa-driver-1.0.14_rc2-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4303:   Called src_compile
  alsa-driver-1.0.14_rc2-r1.ebuild, line 129:   Called die

Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Fri Apr 27, 2007 8:32 am    Post subject: Reply with quote

Slavo: as kernel changelog reports, the builtin alsa version is 1.0.14rc3, which is also the latest available in portage
Vipernicus: what about coretemp patch? Ive just compiled it, Im going to reboot now and post results

edit: coretemp driver works ;)
Back to top
View user's profile Send private message
Phlogiston
Veteran
Veteran


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

PostPosted: Fri Apr 27, 2007 9:08 am    Post subject: Reply with quote

ah time to update, I'm still running a .19 kernel :)

I hope you used latest tp_smapi in the thinkpad patches.

Thanks in advance!
_________________
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: Fri Apr 27, 2007 10:38 am    Post subject: Reply with quote

The new kernel looks not that bad, but I can't get phc to work.

According to the documentation here: https://www.dedigentoo.org/trac/linux-phc/wiki/UsingTheSysFsInterface i should be able to use the sysfs under /sys/devices/system/cpu/cpu0/cpufreq/op_points_table

but I don't even have that entries.

Anyone here using newer undervolting patches?

Or what am I doing wrong?

By the way when I set the kernel config option: [*] Use ACPI tables to decode valid frequency/voltage pairs (deprecated)

then I have that sysfs entry, but whenever I try to access it the process hangs.
_________________
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
yngwin
Developer
Developer


Joined: 19 Dec 2002
Posts: 4219
Location: Suzhou, China

PostPosted: Fri Apr 27, 2007 11:15 am    Post subject: Reply with quote

Great kernel! Works fine (so far) here. :D
Keep up the good work!
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
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: Fri Apr 27, 2007 12:30 pm    Post subject: Reply with quote

Coretemp patch for anyone that wants it.
http://vipernicus.org/files/patches/2.6.21/viper1/broken-out/driver-coretemp-2.6.21.patch
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
klixon
n00b
n00b


Joined: 14 Feb 2006
Posts: 39
Location: Holland

PostPosted: Fri Apr 27, 2007 12:38 pm    Post subject: Reply with quote

Is there a way to disable 4k stacks? I can't seem to find an option for it in the "Kernel hacking" section and I think the driver for my wireless-card doesn't like them :?
_________________
Stand back, intruder, or I'll blast you out of space. I am Klixon and I don't want any dealings with you human lifeforms... I'm a cyborg!
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: Fri Apr 27, 2007 12:50 pm    Post subject: Reply with quote

klixon wrote:
Is there a way to disable 4k stacks? I can't seem to find an option for it in the "Kernel hacking" section and I think the driver for my wireless-card doesn't like them :?

You can revert the patch and give it a try.

Code:
cd /usr/src/linux
make clean
wget http://vipernicus.org/files/patches/2.6.21/viper1/broken-out/enable-4k-stacks-default-2.6.21.patch
patch -Rp1 < ./enable-4k-stacks-default-2.6.21.patch

_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
santaclaws
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 161
Location: Deeper Underground

PostPosted: Fri Apr 27, 2007 1:07 pm    Post subject: Reply with quote

Alsa fails to compile... :(

Code:

/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h: In function ‘snd_pci_orig_save_state’:
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h:1163: error: too many arguments to function ‘pci_save_state’
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h: In function ‘snd_pci_orig_restore_state’:
/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/include/adriver.h:1167: error: too many arguments to function ‘pci_restore_state’
make[4]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/acore/memalloc.o] Error 1
make[3]: *** [/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2/acore] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [_module_/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/work/alsa-driver-1.0.14rc2] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.21-viper1'
make: *** [compile] Error 2

!!! ERROR: media-sound/alsa-driver-1.0.14_rc2-r1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4318:   Called src_compile
  alsa-driver-1.0.14_rc2-r1.ebuild, line 129:   Called die

!!! Make Failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-sound/alsa-driver-1.0.14_rc2-r1/temp/build.log'.




Besides your new kernel works perfectly.. :D



(e.g. I found out what lead to my genkernel issues: http://forums.gentoo.org/viewtopic-t-544494-highlight-busybox.html?sid=bc8abe9a1adbf07707a8e55ab1a66272)
--> I downgraded kernel-headers --> voila!! :D
_________________
Software is like sex. It is better when ist is free.
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: Fri Apr 27, 2007 1:33 pm    Post subject: Reply with quote

vipernicus wrote:
Coretemp patch for anyone that wants it.
http://vipernicus.org/files/patches/2.6.21/viper1/broken-out/driver-coretemp-2.6.21.patch


thanks :)
_________________
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
yngwin
Developer
Developer


Joined: 19 Dec 2002
Posts: 4219
Location: Suzhou, China

PostPosted: Fri Apr 27, 2007 1:42 pm    Post subject: Reply with quote

santaclaws wrote:
Alsa fails to compile... :(

Try _rc3 or in-kernel alsa.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
_sys/sid
Guru
Guru


Joined: 27 Aug 2004
Posts: 346
Location: Asola (Mantova)

PostPosted: Fri Apr 27, 2007 1:54 pm    Post subject: Reply with quote

4 reboot and 4 system freeze

2 when i've tried to run emerge -uDpv world (ext4 on /usr/portage, jfs /var)
1 on X start up...
1 on firefox start up...

system uptime is near 3/4 minutes...
I'm trying to compile nicus...
:(
_________________
http://th30z.netsons.org/
Back to top
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 2637
Location: Gainesville, Florida

PostPosted: Fri Apr 27, 2007 2:07 pm    Post subject: Reply with quote

Compiles and boots fine here. Alsa rc3 rebuilds with no problems with:

module-rebuild populate
module-rebuild rebuild
_________________
Main box- ASRock 880GM-LE AM3
Phenom II x6 1090T, 3.2 GHz, 8GB GSkill DDR3 1333mhz
Samsung SATA 500GB, Radeon HD 4670 1GB DDR3
Gentoo ~x86, ~amd64, glibc-2.15-r1, gcc-4.7.0, kernels 3.3.7, 3.4.0 w/auto-cgroups
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: Fri Apr 27, 2007 2:16 pm    Post subject: Reply with quote

_sys/sid wrote:
4 reboot and 4 system freeze

2 when i've tried to run emerge -uDpv world (ext4 on /usr/portage, jfs /var)
1 on X start up...
1 on firefox start up...

system uptime is near 3/4 minutes...
I'm trying to compile nicus...
:(


That's not good at all. What are your system specs and .config? Maybe you should boot to a LiveCD to build the other kernel.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
Back to top
View user's profile Send private message
_sys/sid
Guru
Guru


Joined: 27 Aug 2004
Posts: 346
Location: Asola (Mantova)

PostPosted: Fri Apr 27, 2007 2:37 pm    Post subject: Reply with quote

I've just rebooted with nicus1
but I've system freeze before reaching the end of init sequence.

The configuration is the same of 2.6.20-viper10
and I'm on Intel(R) Pentium(R) 4 CPU 2.60GHz
_________________
http://th30z.netsons.org/
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Fri Apr 27, 2007 2:38 pm    Post subject: Reply with quote

wrc1944 wrote:
Compiles and boots fine here. Alsa rc3 rebuilds with no problems with:

module-rebuild populate
module-rebuild rebuild

of course, in-kernel alsa IS rc3 ;)
Back to top
View user's profile Send private message
santaclaws
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 161
Location: Deeper Underground

PostPosted: Fri Apr 27, 2007 2:50 pm    Post subject: Reply with quote

yngwin wrote:
santaclaws wrote:
Alsa fails to compile... :(

Try _rc3 or in-kernel alsa.


_rc3 did it. Thanks.
_________________
Software is like sex. It is better when ist is free.
Back to top
View user's profile Send private message
mrcs
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2003
Posts: 137

PostPosted: Fri Apr 27, 2007 3:05 pm    Post subject: Reply with quote

Phlogiston wrote:
The new kernel looks not that bad, but I can't get phc to work.

According to the documentation here: https://www.dedigentoo.org/trac/linux-phc/wiki/UsingTheSysFsInterface i should be able to use the sysfs under /sys/devices/system/cpu/cpu0/cpufreq/op_points_table

but I don't even have that entries.

Anyone here using newer undervolting patches?

Or what am I doing wrong?

By the way when I set the kernel config option: [*] Use ACPI tables to decode valid frequency/voltage pairs (deprecated)

then I have that sysfs entry, but whenever I try to access it the process hangs.

I'm having that problem too. Same thing happened when I tried to patch vanilla with that patch, so I'm guessing there's some incompabilities. I haven't tried patch with 0.3.0 from cvs though, might give it a twirl this weekend if I can find some time.
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Fri Apr 27, 2007 4:35 pm    Post subject: Reply with quote

Hello, ok have one small problem while trying to update from 2.6.17-beyond3, on boot i get error:

Code:

cpufreqd requires kernel

CONFIG_CPU_FREQ


At which point it will not load kdm and if try to do 'make menuconfig' it fails with error 2

I used make configold to build new kernel.

any ideas?


cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
Dottout
l33t
l33t


Joined: 07 Mar 2006
Posts: 882

PostPosted: Fri Apr 27, 2007 4:53 pm    Post subject: Reply with quote

it looks like you didnt enable cpufreq. upgrading a kernel to a pretty different one with make oldconfig can mess up things. try to clean kernel src and restart from a make menuconfig
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Fri Apr 27, 2007 5:09 pm    Post subject: Reply with quote

Dottout wrote:
it looks like you didnt enable cpufreq. upgrading a kernel to a pretty different one with make oldconfig can mess up things. try to clean kernel src and restart from a make menuconfig




That is what i thought so checked and it seemed ok:

Code:

Symbol: X86_ACPI_CPUFREQ [=y]                                                │
  │ Prompt: ACPI Processor P-States driver                                       │
  │   Defined at arch/i386/kernel/cpu/cpufreq/Kconfig:16                         │
  │   Depends on: !X86_VOYAGER && CPU_FREQ && ACPI_PROCESSOR                     │
  │   Location:                                                                  │
  │     -> Power management options (ACPI, APM)                                  │
  │       -> CPU Frequency scaling                                               │
  │         -> CPU Frequency scaling (CPU_FREQ [=y])                             │
  │   Selects: CPU_FREQ_TABLE   



Code:

Symbol: X86_ACPI_CPUFREQ_PROC_INTF [=n]                                      │
  │ Prompt: /proc/acpi/processor/../performance interface (deprecated)           │
  │   Defined at arch/i386/kernel/cpu/cpufreq/Kconfig:308                        │
  │   Depends on: !X86_VOYAGER && CPU_FREQ && PROC_FS && (X86_ACPI_CPUFREQ || X8 │
  │   Location:                                                                  │
  │     -> Power management options (ACPI, APM)                                  │
  │       -> CPU Frequency scaling                                               │
  │         -> CPU Frequency scaling (CPU_FREQ [=y])





Yep i know doing a clean build is better but what a pain going through all the kernel options again as i always miss something.
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
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: Fri Apr 27, 2007 9:20 pm    Post subject: Reply with quote

If any of you would be interested in a "lighter" patchset, check http://vipernicus.org . Don't ask for an ebuild for those two.
_________________
Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog
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