View previous topic :: View next topic |
Author |
Message |
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Wed Feb 14, 2007 5:04 pm Post subject: 2.6.20-nicus2: Royale With Cheese |
|
|
Nicus Sources is pretty much my other 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 */
02/14/2007
Updated Suspend2, and Linux-PHC. Added thinkpad patches, and sorry no hdaps-protect this time around, ran into some compile issues that I don't want to even attempt to fix relating to libata-core.c. Added Unionfs 2.0. Also added syslets to play around with.
Information on "Syslets":
http://people.redhat.com/mingo/syslet-patches/async-ANNOUNCE.txt
02/08/2007
New PlugSched was released the other day, so I decided to play around with it. Created tunables for Nicksched and Staircase. Here are my results.
Example of Nicus Tunables:
Code: | CPU Schedulers --->
(64) Nicksched - Base Timeslice
(6) Staircase - Minimum Round Robin Timeslice
(19) Staircase - Factor For Default Value
(0) Staircase - Compute CPU Scheduling
(1) Staircase - Interactive CPU Scheduling |
2.6.20-nicus2: Royale With Cheese
Code: | /* Patch List */
plugsched-6.5-for-2.6.20.patch
adaptive-readahead-2.6.20.patch
ck-desktop-rollup-2.6.20.patch
genpatches-rollup-2.6.20.patch
suspend2-2.2.9.7-for-2.6.20.patch
plugsched-kconfig-add-1.patch
plugsched-nicksched-tunables-1.patch
plugsched-staircase-tunables-1.patch
rcu-preempt-rollup-2.6.20.patch
linux-phc-0.2.9-for-2.6.20.patch
thinkpad-for-2.6.20.patch
reiser4-2.6.20.patch
unionfs-2.0-for-2.6.20.patch
syslets-2.6.20.patch
daconfig-2.3.1-2.6.20.patch
nicus-version.patch |
Enjoy!
Patch:
http://vipernicus.evolution-mission.org/files/patches/2.6.20/nicus2/linux-2.6.20-nicus2.bz2
Ebuild:
http://vipernicus.evolution-mission.org/files/patches/2.6.20/nicus2/nicus-sources-2.6.20-r2.ebuild
Broken-Out:
http://vipernicus.evolution-mission.org/files/patches/2.6.20/nicus2/linux-2.6.20-nicus2-broken-out.tar.bz2
Broken-Out (Directory):
http://vipernicus.evolution-mission.org/files/patches/2.6.20/nicus2/broken-out/
Making it work:
Ebuild Method:
Code: | mkdir -p /usr/local/portage/sys-kernel/nicus-sources/files
cd /usr/local/portage/sys-kernel/nicus-sources/
wget http://vipernicus.evolution-mission.org/files/patches/2.6.20/nicus2/nicus-sources-2.6.20-r2.ebuild
ebuild nicus-sources-2.6.20-r2.ebuild digest
USE="symlink" emerge nicus-sources
cd /usr/src/linux
make MENUCONFIG_COLOR=blackbg menuconfig |
Manual Method:
Code: | cd /usr/src
rm linux
wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.tar.bz2
tar -xvjf linux-2.6.20.tar.bz2
mv linux-2.6.20 linux-2.6.20-nicus2
ln -s linux-2.6.20-nicus2 linux
cd linux
wget http://vipernicus.evolution-mission.org/files/patches/2.6.20/nicus2/linux-2.6.20-nicus2.bz2
bzcat linux-2.6.20-nicus2.bz2 | patch -p1
make MENUCONFIG_COLOR=blackbg menuconfig |
Applying Hotfixes:
Code: | cd /usr/src/linux
wget http://vipernicus.evolution-mission.org/files/patches/2.6.20/nicusX/broken-out/{hotfix1-name}.patch
patch -p1 < ./{hotfix1-name}.patch
wget http://vipernicus.evolution-mission.org/files/patches/2.6.20/nicusX/broken-out/{hotfix2-name}.patch
patch -p1 < ./{hotfix2-name}.patch
make clean
make MENUCONFIG_COLOR=blackbg menuconfig
make && make modules_install && make install |
_________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
Back to top |
|
|
jmajor1111 n00b
Joined: 04 Mar 2005 Posts: 33 Location: Denver
|
Posted: Wed Feb 14, 2007 10:38 pm Post subject: Thinkpad t60p |
|
|
Thinkpad t60p
What works:
boot time ~3 minutes
suspend to ram
suspend to disk
sierra cellular wireless (with maxsize patch)
IPW3945
What Doesn't:
ultrabay... again.
ATI-DRIVERS fail to compile... but xorg loads. granted it SUCKS with vesa drivers
lets see, i'll look at it more when I get home. work is boring, time to go home _________________ Run, run away! |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Wed Feb 14, 2007 11:02 pm Post subject: Re: Thinkpad t60p |
|
|
jmajor1111 wrote: | Thinkpad t60p
What works:
boot time ~3 minutes
suspend to ram
suspend to disk
sierra cellular wireless (with maxsize patch)
IPW3945
What Doesn't:
ultrabay... again.
ATI-DRIVERS fail to compile... but xorg loads. granted it SUCKS with vesa drivers
lets see, i'll look at it more when I get home. work is boring, time to go home |
When I had my ati, I always used the OSS drivers. AIGLX is nice. _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
Back to top |
|
|
jmajor1111 n00b
Joined: 04 Mar 2005 Posts: 33 Location: Denver
|
Posted: Thu Feb 15, 2007 12:03 am Post subject: Re: Thinkpad t60p |
|
|
vipernicus wrote: |
When I had my ati, I always used the OSS drivers. AIGLX is nice. |
I wish the oss drivers worked for the Firegl 5200 card, until then I must use ATI's closed source.
for what its worth, here is my error :
Code: |
* Building fgl_glxgears
fgl_glxgears.c:70:22: error: GL/glATI.h: No such file or directory
!!! ERROR: x11-drivers/ati-drivers-8.33.6-r2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4055: Called src_compile
ati-drivers-8.33.6-r2.ebuild, line 169: Called die
!!! fgl_glxgears build 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/x11-drivers/ati-drivers-8.33.6-r2/temp/build.log'.
|
_________________ Run, run away! |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Thu Feb 15, 2007 12:26 am Post subject: Re: Thinkpad t60p |
|
|
jmajor1111 wrote: | vipernicus wrote: |
When I had my ati, I always used the OSS drivers. AIGLX is nice. |
I wish the oss drivers worked for the Firegl 5200 card, until then I must use ATI's closed source.
for what its worth, here is my error :
Code: |
* Building fgl_glxgears
fgl_glxgears.c:70:22: error: GL/glATI.h: No such file or directory
!!! ERROR: x11-drivers/ati-drivers-8.33.6-r2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4055: Called src_compile
ati-drivers-8.33.6-r2.ebuild, line 169: Called die
!!! fgl_glxgears build 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/x11-drivers/ati-drivers-8.33.6-r2/temp/build.log'.
|
|
Try applying this patch in your ebuild:
http://whoopie.gmxhome.de/linux/patches/2.6.20/fglrx-8.33.6-for-2.6.20.patch _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
Back to top |
|
|
jmajor1111 n00b
Joined: 04 Mar 2005 Posts: 33 Location: Denver
|
Posted: Thu Feb 15, 2007 1:01 am Post subject: Working |
|
|
FGLRX seems to be working now, had to re-emerge xorg-server since my logs indicated it failed on last install and removed all input devices :/
I'll update my status later tonight. _________________ Run, run away! |
|
Back to top |
|
|
jmajor1111 n00b
Joined: 04 Mar 2005 Posts: 33 Location: Denver
|
Posted: Thu Feb 15, 2007 2:42 am Post subject: Thinkpad t60p |
|
|
This in on a Thinkpad T60p 2500 2.0ghz, 2gb ram and 100gb HD. with an ATI 256mb FireGL 5200 video, Verizon EVDO Cell, IPW3945 and 15 in monitor
Well, the kernel built just fine and here's what works:
Suspend to ram
Suspend to disk
Boot time is about 3 minutes
Verizon evdo (with maxsize patch)
IPW3945
ATI proprietary drivers
What does not work:
Ultrabay swaping, ACPI see's the eject but I cannot tell the controller to eject "echo eject > /proc/acpi/ibm/bay " it just floods the syslog.
Weird things abound...:
Mouse randomly freezes, but I'll rule out my config since I was jacking with it to get xorg working.
Nice work! I'll update later if anything new comes about. _________________ Run, run away! |
|
Back to top |
|
|
kernelOfTruth Watchman
Joined: 20 Dec 2005 Posts: 6111 Location: Vienna, Austria; Germany; hello world :)
|
Posted: Thu Feb 15, 2007 12:09 pm Post subject: Re: Thinkpad t60p |
|
|
vipernicus wrote: | jmajor1111 wrote: | Thinkpad t60p
What works:
boot time ~3 minutes
suspend to ram
suspend to disk
sierra cellular wireless (with maxsize patch)
IPW3945
What Doesn't:
ultrabay... again.
ATI-DRIVERS fail to compile... but xorg loads. granted it SUCKS with vesa drivers
lets see, i'll look at it more when I get home. work is boring, time to go home |
When I had my ati, I always used the OSS drivers. AIGLX is nice. |
ati oss drivers are unfortunately no option to me since battery life reduces to >=2 hours, with ati-drivers set to powerstate 1 I achieve almost 5 hours ...
rovclock also doesn't help ... _________________ https://github.com/kernelOfTruth/ZFS-for-SystemRescueCD/tree/ZFS-for-SysRescCD-4.9.0
https://github.com/kernelOfTruth/pulseaudio-equalizer-ladspa
Hardcore Gentoo Linux user since 2004 |
|
Back to top |
|
|
jmajor1111 n00b
Joined: 04 Mar 2005 Posts: 33 Location: Denver
|
Posted: Thu Feb 15, 2007 2:55 pm Post subject: follow up |
|
|
Had to boot into my old beyond4 kernel, I can't pin down the reason but my graphics start to mess up after about 2 hours and my mouse freezes randomly. The weirdest thing was suspending this morning and putting the pc in its dock at work, it refused to unsuspend. That was a working feature on past builds.
I'm thinking there is some major changes made in the .20 kernel, I'm going to go and look through the change logs.
Thanks Viper. _________________ Run, run away! |
|
Back to top |
|
|
cybrjackle Apprentice
Joined: 09 Jan 2003 Posts: 248 Location: USA
|
Posted: Thu Feb 15, 2007 5:25 pm Post subject: |
|
|
I'm getting this:
Code: |
CC [M] drivers/firmware/thinkpad_ec.o
drivers/firmware/thinkpad_ec.c:83: warning: type defaults to 'int' in declaration of 'DECLARE_MUTEX'
drivers/firmware/thinkpad_ec.c:83: warning: parameter names (without types) in function declaration
drivers/firmware/thinkpad_ec.c: In function 'thinkpad_ec_lock':
drivers/firmware/thinkpad_ec.c:94: warning: implicit declaration of function 'down_interruptible'
drivers/firmware/thinkpad_ec.c:94: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
drivers/firmware/thinkpad_ec.c:94: error: (Each undeclared identifier is reported only once
drivers/firmware/thinkpad_ec.c:94: error: for each function it appears in.)
drivers/firmware/thinkpad_ec.c: In function 'thinkpad_ec_try_lock':
drivers/firmware/thinkpad_ec.c:109: warning: implicit declaration of function 'down_trylock'
drivers/firmware/thinkpad_ec.c:109: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
drivers/firmware/thinkpad_ec.c: In function 'thinkpad_ec_unlock':
drivers/firmware/thinkpad_ec.c:122: warning: implicit declaration of function 'up'
drivers/firmware/thinkpad_ec.c:122: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
make[2]: *** [drivers/firmware/thinkpad_ec.o] Error 1
make[1]: *** [drivers/firmware] Error 2
make: *** [drivers] Error 2
|
|
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Thu Feb 15, 2007 8:52 pm Post subject: |
|
|
cybrjackle wrote: | I'm getting this:
Code: |
CC [M] drivers/firmware/thinkpad_ec.o
drivers/firmware/thinkpad_ec.c:83: warning: type defaults to 'int' in declaration of 'DECLARE_MUTEX'
drivers/firmware/thinkpad_ec.c:83: warning: parameter names (without types) in function declaration
drivers/firmware/thinkpad_ec.c: In function 'thinkpad_ec_lock':
drivers/firmware/thinkpad_ec.c:94: warning: implicit declaration of function 'down_interruptible'
drivers/firmware/thinkpad_ec.c:94: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
drivers/firmware/thinkpad_ec.c:94: error: (Each undeclared identifier is reported only once
drivers/firmware/thinkpad_ec.c:94: error: for each function it appears in.)
drivers/firmware/thinkpad_ec.c: In function 'thinkpad_ec_try_lock':
drivers/firmware/thinkpad_ec.c:109: warning: implicit declaration of function 'down_trylock'
drivers/firmware/thinkpad_ec.c:109: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
drivers/firmware/thinkpad_ec.c: In function 'thinkpad_ec_unlock':
drivers/firmware/thinkpad_ec.c:122: warning: implicit declaration of function 'up'
drivers/firmware/thinkpad_ec.c:122: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
make[2]: *** [drivers/firmware/thinkpad_ec.o] Error 1
make[1]: *** [drivers/firmware] Error 2
make: *** [drivers] Error 2
|
|
Try this patch out:
Code: | diff -purN linux-2.6.20-viper2/drivers/firmware/thinkpad_ec.c linux-2.6.20-viper2-test/drivers/firmware/thinkpad_ec.c
--- linux-2.6.20-viper2/drivers/firmware/thinkpad_ec.c 2007-02-14 22:02:47.000000000 -0600
+++ linux-2.6.20-viper2-test/drivers/firmware/thinkpad_ec.c 2007-02-15 07:59:52.000000000 -0600
@@ -35,6 +35,7 @@
#include <linux/thinkpad_ec.h>
#include <linux/jiffies.h>
#include <asm/io.h>
+#include <asm/semaphore.h>
#define TP_VERSION "0.30"
diff -purN linux-2.6.20-viper2/drivers/hwmon/hdaps.c linux-2.6.20-viper2-test/drivers/hwmon/hdaps.c
--- linux-2.6.20-viper2/drivers/hwmon/hdaps.c 2007-02-14 22:02:47.000000000 -0600
+++ linux-2.6.20-viper2-test/drivers/hwmon/hdaps.c 2007-02-15 08:00:29.000000000 -0600
@@ -34,6 +34,7 @@
#include <linux/timer.h>
#include <linux/dmi.h>
#include <linux/thinkpad_ec.h>
+#include <linux/jiffies.h>
/* Embedded controller accelerometer read command and its result: */
static const struct thinkpad_ec_row ec_accel_args = |
_________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
Back to top |
|
|
cybrjackle Apprentice
Joined: 09 Jan 2003 Posts: 248 Location: USA
|
Posted: Fri Feb 16, 2007 4:27 am Post subject: |
|
|
Thanks, I'll give it a try tomorrow, I'm rebuilding world on that box right now, maybe tomorrow. |
|
Back to top |
|
|
Phlogiston Veteran
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Fri Feb 16, 2007 3:49 pm Post subject: |
|
|
The patch does not apply cleanly here:
Code: |
bzcat ../linux-2.6.20-nicus2.bz2 | patch -p1
patching file fs/proc/array.c
patching file fs/proc/proc_misc.c
patching file include/asm-x86_64/system.h
patching file include/linux/init_task.h
patching file include/linux/sched.h
patching file include/linux/sched_drv.h
patching file include/linux/sched_pvt.h
patching file include/linux/sched_runq.h
patching file include/linux/sched_spa.h
patching file include/linux/sched_task.h
patching file init/Kconfig
patching file init/main.c
patching file kernel/Kconfig.cpusched
patching file kernel/Makefile
patching file kernel/ingo_ll.c
patching file kernel/ingosched.c
patching file kernel/nicksched.c
patching file kernel/sched.c
patching file kernel/sched_drv.c
patching file kernel/sched_spa.c
patching file kernel/sched_spa_ebs.c
patching file kernel/sched_spa_svr.c
patching file kernel/sched_spa_ws.c
patching file kernel/sched_zaphod.c
patching file kernel/staircase.c
patching file mm/oom_kill.c
patching file mm/Kconfig
patching file mm/readahead.c
patching file include/linux/radix-tree.h
patching file lib/radix-tree.c
patching file include/linux/pagemap.h
patching file mm/filemap.c
patching file include/linux/page-flags.h
patching file mm/page_alloc.c
patching file fs/mpage.c
patching file Documentation/sysctl/vm.txt
patching file include/linux/mm.h
patching file kernel/sysctl.c
patching file include/linux/mmzone.h
patching file mm/vmscan.c
patching file include/linux/fs.h
patching file block/ll_rw_blk.c
patching file include/linux/backing-dev.h
patching file include/linux/writeback.h
patching file mm/page-writeback.c
patching file drivers/block/loop.c
patching file fs/nfs/client.c
patching file fs/nfsd/vfs.c
patching file kernel/Kconfig.hz
patching file arch/i386/defconfig
patching file arch/x86_64/defconfig
patching file include/linux/swap.h
patching file include/linux/sysctl.h
patching file mm/Makefile
patching file mm/swap.c
The next patch would create the file mm/swap_prefetch.c,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file mm/swap_prefetch.c.rej
patching file mm/swap_state.c
patching file include/linux/mm_inline.h
The next patch would create the file include/linux/swap-prefetch.h,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file include/linux/swap-prefetch.h.rej
patching file fs/buffer.c
patching file Documentation/filesystems/proc.txt
patching file arch/i386/Kconfig
patching file drivers/net/Kconfig
patching file drivers/md/Kconfig
patching file drivers/md/Makefile
The next patch would create the file drivers/md/dm-bbr.c,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file drivers/md/dm-bbr.c.rej
The next patch would create the file drivers/md/dm-bbr.h,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file drivers/md/dm-bbr.h.rej
patching file Documentation/fb/00-INDEX
The next patch would create the file Documentation/fb/splash.txt,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Documentation/fb/splash.txt.rej
patching file drivers/Makefile
patching file drivers/video/Kconfig
patching file drivers/video/Makefile
The next patch would create the file drivers/video/cfbsplash.c,
which already exists! Assume -R? [n] Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file drivers/video/cfbsplash.c.rej
patching file drivers/video/console/bitblit.c
patching file drivers/video/console/fbcon.c
patching file drivers/video/fbcmap.c
The next patch would create the file drivers/video/fbsplash.c,
which already exists! Assume -R? [n] |
BTW: The main difference between nicus and viper is the rsdl thing right? _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Fri Feb 16, 2007 4:30 pm Post subject: |
|
|
Phlogiston wrote: | The patch does not apply cleanly here:
Code: |
bzcat ../linux-2.6.20-nicus2.bz2 | patch -p1
patching file fs/proc/array.c
patching file fs/proc/proc_misc.c
patching file include/asm-x86_64/system.h
patching file include/linux/init_task.h
patching file include/linux/sched.h
patching file include/linux/sched_drv.h
patching file include/linux/sched_pvt.h
patching file include/linux/sched_runq.h
patching file include/linux/sched_spa.h
patching file include/linux/sched_task.h
patching file init/Kconfig
patching file init/main.c
patching file kernel/Kconfig.cpusched
patching file kernel/Makefile
patching file kernel/ingo_ll.c
patching file kernel/ingosched.c
patching file kernel/nicksched.c
patching file kernel/sched.c
patching file kernel/sched_drv.c
patching file kernel/sched_spa.c
patching file kernel/sched_spa_ebs.c
patching file kernel/sched_spa_svr.c
patching file kernel/sched_spa_ws.c
patching file kernel/sched_zaphod.c
patching file kernel/staircase.c
patching file mm/oom_kill.c
patching file mm/Kconfig
patching file mm/readahead.c
patching file include/linux/radix-tree.h
patching file lib/radix-tree.c
patching file include/linux/pagemap.h
patching file mm/filemap.c
patching file include/linux/page-flags.h
patching file mm/page_alloc.c
patching file fs/mpage.c
patching file Documentation/sysctl/vm.txt
patching file include/linux/mm.h
patching file kernel/sysctl.c
patching file include/linux/mmzone.h
patching file mm/vmscan.c
patching file include/linux/fs.h
patching file block/ll_rw_blk.c
patching file include/linux/backing-dev.h
patching file include/linux/writeback.h
patching file mm/page-writeback.c
patching file drivers/block/loop.c
patching file fs/nfs/client.c
patching file fs/nfsd/vfs.c
patching file kernel/Kconfig.hz
patching file arch/i386/defconfig
patching file arch/x86_64/defconfig
patching file include/linux/swap.h
patching file include/linux/sysctl.h
patching file mm/Makefile
patching file mm/swap.c
The next patch would create the file mm/swap_prefetch.c,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file mm/swap_prefetch.c.rej
patching file mm/swap_state.c
patching file include/linux/mm_inline.h
The next patch would create the file include/linux/swap-prefetch.h,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file include/linux/swap-prefetch.h.rej
patching file fs/buffer.c
patching file Documentation/filesystems/proc.txt
patching file arch/i386/Kconfig
patching file drivers/net/Kconfig
patching file drivers/md/Kconfig
patching file drivers/md/Makefile
The next patch would create the file drivers/md/dm-bbr.c,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file drivers/md/dm-bbr.c.rej
The next patch would create the file drivers/md/dm-bbr.h,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file drivers/md/dm-bbr.h.rej
patching file Documentation/fb/00-INDEX
The next patch would create the file Documentation/fb/splash.txt,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file Documentation/fb/splash.txt.rej
patching file drivers/Makefile
patching file drivers/video/Kconfig
patching file drivers/video/Makefile
The next patch would create the file drivers/video/cfbsplash.c,
which already exists! Assume -R? [n] Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file drivers/video/cfbsplash.c.rej
patching file drivers/video/console/bitblit.c
patching file drivers/video/console/fbcon.c
patching file drivers/video/fbcmap.c
The next patch would create the file drivers/video/fbsplash.c,
which already exists! Assume -R? [n] |
BTW: The main difference between nicus and viper is the rsdl thing right? |
Your tree isn't clean, swap-prefetch.c doesn't exist on a vanilla kernel. First remove the tree, then follow the Manual Install instructions. _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
Back to top |
|
|
Phlogiston Veteran
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Fri Feb 16, 2007 4:33 pm Post subject: |
|
|
Ok I could patch it with the ebuild.
Boots fine but hibernate does not work. It panics with no message while resuming.
You can find my config here: http://pastebin.ca/359185 _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
|
cybrjackle Apprentice
Joined: 09 Jan 2003 Posts: 248 Location: USA
|
Posted: Mon Feb 19, 2007 6:04 am Post subject: |
|
|
vipernicus wrote: | cybrjackle wrote: | I'm getting this:
Code: |
CC [M] drivers/firmware/thinkpad_ec.o
drivers/firmware/thinkpad_ec.c:83: warning: type defaults to 'int' in declaration of 'DECLARE_MUTEX'
drivers/firmware/thinkpad_ec.c:83: warning: parameter names (without types) in function declaration
drivers/firmware/thinkpad_ec.c: In function 'thinkpad_ec_lock':
drivers/firmware/thinkpad_ec.c:94: warning: implicit declaration of function 'down_interruptible'
drivers/firmware/thinkpad_ec.c:94: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
drivers/firmware/thinkpad_ec.c:94: error: (Each undeclared identifier is reported only once
drivers/firmware/thinkpad_ec.c:94: error: for each function it appears in.)
drivers/firmware/thinkpad_ec.c: In function 'thinkpad_ec_try_lock':
drivers/firmware/thinkpad_ec.c:109: warning: implicit declaration of function 'down_trylock'
drivers/firmware/thinkpad_ec.c:109: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
drivers/firmware/thinkpad_ec.c: In function 'thinkpad_ec_unlock':
drivers/firmware/thinkpad_ec.c:122: warning: implicit declaration of function 'up'
drivers/firmware/thinkpad_ec.c:122: error: 'thinkpad_ec_mutex' undeclared (first use in this function)
make[2]: *** [drivers/firmware/thinkpad_ec.o] Error 1
make[1]: *** [drivers/firmware] Error 2
make: *** [drivers] Error 2
|
|
Try this patch out:
Code: | diff -purN linux-2.6.20-viper2/drivers/firmware/thinkpad_ec.c linux-2.6.20-viper2-test/drivers/firmware/thinkpad_ec.c
--- linux-2.6.20-viper2/drivers/firmware/thinkpad_ec.c 2007-02-14 22:02:47.000000000 -0600
+++ linux-2.6.20-viper2-test/drivers/firmware/thinkpad_ec.c 2007-02-15 07:59:52.000000000 -0600
@@ -35,6 +35,7 @@
#include <linux/thinkpad_ec.h>
#include <linux/jiffies.h>
#include <asm/io.h>
+#include <asm/semaphore.h>
#define TP_VERSION "0.30"
diff -purN linux-2.6.20-viper2/drivers/hwmon/hdaps.c linux-2.6.20-viper2-test/drivers/hwmon/hdaps.c
--- linux-2.6.20-viper2/drivers/hwmon/hdaps.c 2007-02-14 22:02:47.000000000 -0600
+++ linux-2.6.20-viper2-test/drivers/hwmon/hdaps.c 2007-02-15 08:00:29.000000000 -0600
@@ -34,6 +34,7 @@
#include <linux/timer.h>
#include <linux/dmi.h>
#include <linux/thinkpad_ec.h>
+#include <linux/jiffies.h>
/* Embedded controller accelerometer read command and its result: */
static const struct thinkpad_ec_row ec_accel_args = |
|
Thanks, that worked. I was able to rebuild ipw3945 and fglrx too.
Code: |
module-rebuild rebuild
|
|
|
Back to top |
|
|
ethaniel n00b
Joined: 07 Nov 2006 Posts: 24
|
Posted: Mon Feb 19, 2007 6:53 pm Post subject: Re: Thinkpad t60p |
|
|
vipernicus wrote: | jmajor1111 wrote: | vipernicus wrote: |
When I had my ati, I always used the OSS drivers. AIGLX is nice. |
I wish the oss drivers worked for the Firegl 5200 card, until then I must use ATI's closed source.
for what its worth, here is my error :
Code: |
* Building fgl_glxgears
fgl_glxgears.c:70:22: error: GL/glATI.h: No such file or directory
!!! ERROR: x11-drivers/ati-drivers-8.33.6-r2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4055: Called src_compile
ati-drivers-8.33.6-r2.ebuild, line 169: Called die
!!! fgl_glxgears build 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/x11-drivers/ati-drivers-8.33.6-r2/temp/build.log'.
|
|
Try applying this patch in your ebuild:
http://whoopie.gmxhome.de/linux/patches/2.6.20/fglrx-8.33.6-for-2.6.20.patch |
I have the same problem merging the 8.33.6-r2 ...
How can I use the patch and which file I have to patch?
Thank you,
Federico |
|
Back to top |
|
|
vipernicus Veteran
Joined: 17 Jan 2005 Posts: 1462 Location: Your College IT Dept.
|
Posted: Tue Feb 20, 2007 2:07 am Post subject: Re: Thinkpad t60p |
|
|
ethaniel wrote: | vipernicus wrote: | jmajor1111 wrote: | vipernicus wrote: |
When I had my ati, I always used the OSS drivers. AIGLX is nice. |
I wish the oss drivers worked for the Firegl 5200 card, until then I must use ATI's closed source.
for what its worth, here is my error :
Code: |
* Building fgl_glxgears
fgl_glxgears.c:70:22: error: GL/glATI.h: No such file or directory
!!! ERROR: x11-drivers/ati-drivers-8.33.6-r2 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 4055: Called src_compile
ati-drivers-8.33.6-r2.ebuild, line 169: Called die
!!! fgl_glxgears build 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/x11-drivers/ati-drivers-8.33.6-r2/temp/build.log'.
|
|
Try applying this patch in your ebuild:
http://whoopie.gmxhome.de/linux/patches/2.6.20/fglrx-8.33.6-for-2.6.20.patch |
I have the same problem merging the 8.33.6-r2 ...
How can I use the patch and which file I have to patch?
Thank you,
Federico |
Try out -viper3, which is more updated, and see if it works. _________________ Viper-Sources Maintainer || nesl247 Projects || vipernicus.org blog |
|
Back to top |
|
|
|