View previous topic :: View next topic |
Author |
Message |
discomfitor l33t
Joined: 21 Feb 2003 Posts: 927 Location: None
|
Posted: Wed Dec 22, 2004 11:23 pm Post subject: 2.6.10-rc3-bk15-ck2-nitro2 "Too Fast For Your Eyes" |
|
|
NOW I've got a good kernel. This one should fix all the problems that were i the previous version, including the broken win4lin/swsusp2 and power management stuff.
That's not to say that it will definitely work, but you won't have the same problemsyou had before.
With that said, here's the list done in patch format:
Code: |
- ck1
alsa 1.0.7 (finally!)
-win4lin
reiser4
vesafb-tng
fbsplash
-swsusp2
- bk12
config_hz
chmp
cflags-selection-for-nitro
===================================
+ ck2
+ bk15
alsa 1.0.7 (finally!)
reiser4
vesafb-tng
fbsplash
config_hz
chmp
cflags-selection-for-nitro
+ orinoco
+ hostap |
YANK! swsusp2+win4lin patch is gone. Not coming back. Too much irritation.
I got it done as fast as I could to reduce the time that the other buggy version wason the market, so that means I haven't had time to give it the 3-day test. It runs n my machine, and very smoothly at that.
There will be no ebuild problems this time, and there shouldn't be many other probles.
For the ati fix, go here.
For a cool automotive background picture made by M@rijn, go here.
More updates on fixes as they come, but I think this kernel should last me at least a few days before I get bored of stability.
Ebuild
Patch
EDIT: Just after I made this, I noticed that bk15 is out and I missed it. I will NOT be releasing another nitro until at least next Monday. So don't feel like you're going to wait it out. You know you want this patch. You can't wait until Monday.
EDIT: I lied. When I took out swsusp2+win4lin, my obsessive compulsive disorder took control with regard to the bk15 patch. It's in now. _________________ There is no substitute for experience.
Imperfection indicates a lack of effort.
Last edited by discomfitor on Thu Dec 23, 2004 8:42 pm; edited 5 times in total |
|
Back to top |
|
|
Macumba Tux's lil' helper
Joined: 13 Sep 2004 Posts: 112
|
Posted: Wed Dec 22, 2004 11:29 pm Post subject: |
|
|
hehe....
everytime don't think to fix the url of the patch in the ebuild....
well, i will test the kernel now...
don't want to say something, but could it be, that du did the same error like the last time...
Code: |
|diff -urN linux-2.6.9-original/kernel/sched.c linux-2.6.10-rc3-nitro2/kernel/sched.c
|--- linux-2.6.9-original/kernel/sched.c 2004-12-21 17:32:45.000000000 -0500
|+++ linux-2.6.10-rc3-nitro2/kernel/sched.c 2004-12-22 15:14:20.000000000 -0500
|
The kernel is automatically patched to the 2.6.10-rc3 kernel with the ebuild... or my pc doesn't want nitro-sources... _________________
Code: | dd if=/dev/urandom of=/dev/speech |
ogg - mp3
Last edited by Macumba on Wed Dec 22, 2004 11:37 pm; edited 1 time in total |
|
Back to top |
|
|
YourDoom123 Apprentice
Joined: 06 Mar 2004 Posts: 163
|
Posted: Wed Dec 22, 2004 11:36 pm Post subject: |
|
|
hmm i'm using the ebuild and when i try to emerge it it says its masked by missing keyword. whats the emerge command i'm supposed to use? i'm trying to use emerge nitro-sources right now, and my package.keywords file has the line "sys-kernel/nitro-sources ~amd64" in it. thanks for any help you can give me! _________________ Acer Aspire 5672 |
|
Back to top |
|
|
Macumba Tux's lil' helper
Joined: 13 Sep 2004 Posts: 112
|
Posted: Wed Dec 22, 2004 11:38 pm Post subject: |
|
|
change the line
in the ebuild to
Code: | KEYWORDS="~x86 ~amd64" |
or Code: | KEYWORDS="~x86 amd64" |
_________________
Code: | dd if=/dev/urandom of=/dev/speech |
ogg - mp3 |
|
Back to top |
|
|
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Wed Dec 22, 2004 11:43 pm Post subject: |
|
|
Code: | >>> Unpacking linux-2.6.9.tar.bz2 to /var/tmp/portage/nitro-sources-2.6.10_rc3-r2/work
* Applying patch-2.6.10-rc3.patch (-p0+)... [ ok ]
* Applying patch-2.6.10-rc3-nitro2.patch (-p0+)... [ !! ]
* Please attach /var/tmp/portage/nitro-sources-2.6.10_rc3-r2/temp/patch-2.6.10-rc3-nitro2.err to any bug you may post.
!!! ERROR: sys-kernel/nitro-sources-2.6.10_rc3-r2 failed.
|
sorry....
Code: | root@Medusa# tail /var/tmp/portage/nitro-sources-2.6.10_rc3-r2/temp/patch-2.6.10-rc3-nitro2.err
can't find file to patch at input line 284473
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.6.9-original/sound/usb/usx2y/usbusx2yaudio.c linux-2.6.10-rc3-nitro2/sound/usb/usx2y/usbusx2yaudio.c
|--- linux-2.6.9-original/sound/usb/usx2y/usbusx2yaudio.c 2004-12-21 17:32:54.000000000 -0500
|+++ linux-2.6.10-rc3-nitro2/sound/usb/usx2y/usbusx2yaudio.c 2004-12-22 15:04:21.000000000 -0500
--------------------------
No file to patch. Skipping patch.
13 out of 13 hunks ignored
|
_________________ If you can't dazzle them with brilliance, baffle them with bullshit. |
|
Back to top |
|
|
Macumba Tux's lil' helper
Joined: 13 Sep 2004 Posts: 112
|
Posted: Wed Dec 22, 2004 11:47 pm Post subject: |
|
|
i think, the resolution could be to emerge a development-sources in version 2.6.9 and manually update the kernel with this patch-set
like here
will try it this evening, have to buy christmas-presents tomorrow.... _________________
Code: | dd if=/dev/urandom of=/dev/speech |
ogg - mp3 |
|
Back to top |
|
|
discomfitor l33t
Joined: 21 Feb 2003 Posts: 927 Location: None
|
Posted: Wed Dec 22, 2004 11:49 pm Post subject: |
|
|
For some reason the patch isn't working for me either any more...
This is quite possibly the most infuriating thing I've ever encountered. I should have a new patch within a minute or two.
Apparently I made the patch incorrectly somehow. Interestingly though, it was done correctly enough to work when I tested the ebuild. _________________ There is no substitute for experience.
Imperfection indicates a lack of effort.
Last edited by discomfitor on Thu Dec 23, 2004 12:04 am; edited 1 time in total |
|
Back to top |
|
|
YourDoom123 Apprentice
Joined: 06 Mar 2004 Posts: 163
|
Posted: Wed Dec 22, 2004 11:59 pm Post subject: |
|
|
well, now i get this error:
Code: |
emerge nitro-sources
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-kernel/nitro-sources-2.6.10_rc3-r2 to /
>>> md5 src_uri ;-) patch-2.6.10-rc3.bz2
>>> md5 src_uri ;-) linux-2.6.9.tar.bz2
>>> md5 src_uri ;-) patch-2.6.10-rc3-nitro2.bz2
>>> Preparing to unpack ...
>>> Unpacking source...
>>> Unpacking linux-2.6.9.tar.bz2 to /var/tmp/portage/nitro-sources-2.6.10_rc3-r2/work
* Applying patch-2.6.10-rc3.patch (-p0+)... [ ok ]
* Applying patch-2.6.10-rc3-nitro2.patch (-p0+)... [ !! ]
* Please attach /var/tmp/portage/nitro-sources-2.6.10_rc3-r2/temp/patch-2.6.10-rc3-nitro2.err to any bug you may post.
!!! ERROR: sys-kernel/nitro-sources-2.6.10_rc3-r2 failed.
!!! Function unipatch, Line 542, Exitcode 0
!!! Unable to dry-run patch.
!!! If you need support, post the topmost build error, NOT this status message.
|
and the first part of the error log is (the whole thing is MUCH to loong to post):
Code: |
Attempting Dry-run:
cmd: patch -p0 --dry-run -f < /var/tmp/portage/nitro-sources-2.6.10_rc3-r2/work/patches/2/patch-2.6.10-rc3-nitro2.patch
=======================================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.6.9-original/Documentation/Changes linux-2.6.10-rc3-nitro2/Documentation/Changes
|--- linux-2.6.9-original/Documentation/Changes 2004-12-18 04:36:24.000000000 -0500
|+++ linux-2.6.10-rc3-nitro2/Documentation/Changes 2004-12-22 15:05:07.000000000 -0500
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 40
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.6.9-original/Documentation/DMA-API.txt linux-2.6.10-rc3-nitro2/Documentation/DMA-API.txt
|--- linux-2.6.9-original/Documentation/DMA-API.txt 2004-12-18 04:36:24.000000000 -0500
|+++ linux-2.6.10-rc3-nitro2/Documentation/DMA-API.txt 2004-12-22 14:54:12.000000000 -0500
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 52
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN linux-2.6.9-original/Documentation/arm/Sharp-LH/IOBarrier linux-2.6.10-rc3-nitro2/Documentation/arm/Sharp-LH/IOBarrier
|--- linux-2.6.9-original/Documentation/arm/Sharp-LH/IOBarrier 2004-12-18 04:36:23.000000000 -0500
|+++ linux-2.6.10-rc3-nitro2/Documentation/arm/Sharp-LH/IOBarrier 2004-12-22 14:54:12.000000000 -0500
--------------------------
|
again thanks for any help you can give me. _________________ Acer Aspire 5672 |
|
Back to top |
|
|
discomfitor l33t
Joined: 21 Feb 2003 Posts: 927 Location: None
|
Posted: Thu Dec 23, 2004 12:20 am Post subject: |
|
|
Ok, I fixed it. I'm currently uploading it to a site that Macumba was kind enough to provide. I'll change the links when it finishes. Don't forget to delete your digests!
Done. _________________ There is no substitute for experience.
Imperfection indicates a lack of effort.
Last edited by discomfitor on Thu Dec 23, 2004 12:29 am; edited 1 time in total |
|
Back to top |
|
|
seppe Guru
Joined: 01 Sep 2003 Posts: 431 Location: Hove, Antwerp, Belgium
|
Posted: Thu Dec 23, 2004 12:23 am Post subject: |
|
|
Darckness wrote: | For some reason the patch isn't working for me either any more...
This is quite possibly the most infuriating thing I've ever encountered. I should have a new patch within a minute or two.
Apparently I made the patch incorrectly somehow. Interestingly though, it was done correctly enough to work when I tested the ebuild. |
I had that many times as well ... there is a difference between the Linux kernel at kernel.org and the one in portage (like "emerge development-sources"). There is one file added in development-sources from portage (patches.txt I think).
If you see that emerge nitro-sources fails like the post right above this one, it is because the Linux kernel where it patches against is different than the one it expected (= the one you patched against).
To fix this, cd to /var/tmp/portage/nitro-sources-2.6.10_rc3-r2/work
There is the full Linux kernel source where portage wants to patch patch-2.6.10-rc3-nitro2.patch against. Now copy over that directory and all it's contents to /usr/src/linux-2.6.10-rc3 and /usr/src/linux-2.6.10-rc3-nitro2
Now apply your patch-2.6.10-rc3-nitro2.bz2 on /usr/src/linux-2.6.10-rc3-nitro2. Normally, you should only see something like "I should delete patches.txt but it's not there - patch ignored". If you see that, it's all ok and you can do diff -Nuar /usr/src/linux-2.6.10-rc2 /usr/src/linux-2.6.10-rc2-nitro2 > patch-2.6.10-rc2-nitro2 to create the fixed patch file.
Your patch patches now against the same Linux kernel as the one in portage, so your ebuild should be fine now.
Sorry if my solution is not clear, but it's late here and I drawed too many ugly UML models *yuk* _________________ nitro-sources, because between stable and experimental there exists only speed
Latest release I made: 2.6.13.2-nitro1 |
|
Back to top |
|
|
discomfitor l33t
Joined: 21 Feb 2003 Posts: 927 Location: None
|
Posted: Thu Dec 23, 2004 12:31 am Post subject: |
|
|
Thanks seppe, but my problem was a little more simple than that.
Should be good to go now. _________________ There is no substitute for experience.
Imperfection indicates a lack of effort. |
|
Back to top |
|
|
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Thu Dec 23, 2004 12:34 am Post subject: |
|
|
Wrong filename.
Please rename file on server from patch-2.6.10-rc3-nitro2.bz2 to patch-2.6.10-rc3-nitro2.patch.bz2. That should fix it.
*edit
Nope, that won't fix it . Searches for a file on the server called patch-2.6.10-rc3-nitro2.patch.bz2, but tries to patch patch-2.6.10-rc3-nitro2.bz2
*edit: patches apply cleanly now. (manually downloaded file, stcuk it in /usr/portage/distfiles and symlinked it ) It's only the ebuild which is causing the problems _________________ If you can't dazzle them with brilliance, baffle them with bullshit. |
|
Back to top |
|
|
rmh3093 Advocate
Joined: 06 Aug 2003 Posts: 2138 Location: Albany, NY
|
Posted: Thu Dec 23, 2004 12:47 am Post subject: |
|
|
ok im so lost now...... what do I have to do to get this to emerge, what files to I need to download and put where and symlink? _________________ Do not meddle in the affairs of wizards, for they are subtle and quick to anger. |
|
Back to top |
|
|
rmh3093 Advocate
Joined: 06 Aug 2003 Posts: 2138 Location: Albany, NY
|
Posted: Thu Dec 23, 2004 12:51 am Post subject: |
|
|
never mind I get it now _________________ Do not meddle in the affairs of wizards, for they are subtle and quick to anger. |
|
Back to top |
|
|
discomfitor l33t
Joined: 21 Feb 2003 Posts: 927 Location: None
|
Posted: Thu Dec 23, 2004 1:00 am Post subject: |
|
|
Edited ebuild on server to point to correct file. Whoops! _________________ There is no substitute for experience.
Imperfection indicates a lack of effort. |
|
Back to top |
|
|
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Thu Dec 23, 2004 1:04 am Post subject: |
|
|
compile error
Code: | CC arch/i386/kernel/init_task.o
arch/i386/kernel/init_task.c:37: error: `MKI_INIT_TASK' undeclared here (not in a function)
arch/i386/kernel/init_task.c:37: error: syntax error before '{' token
arch/i386/kernel/init_task.c:37: warning: initialization from incompatible pointer type
arch/i386/kernel/init_task.c:37: error: syntax error before '.' token
make[1]: *** [arch/i386/kernel/init_task.o] Error 1
make: *** [arch/i386/kernel] Error 2
|
_________________ If you can't dazzle them with brilliance, baffle them with bullshit. |
|
Back to top |
|
|
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Thu Dec 23, 2004 1:18 am Post subject: |
|
|
it's because of this:
Code: | #ifdef CONFIG_MKI
/* mki task info structure */
void *mki_task_info;
#define MKI_INIT_TASK .mki_task_info = NULL,
#else
#define MKI_INIT_TASK
#endif
}; |
That's win4lin stuff, isn't it?
edit: solve it by removing the comma after = NULL
in include/linux/sched.h
*edit: it compiled once with the comma removed, but refused to compile a second time
[had few suggestions for code change here]
can't get it to compile... even a lonely #define in sched.h didn't work... Can you take out win4lin? _________________ If you can't dazzle them with brilliance, baffle them with bullshit. |
|
Back to top |
|
|
discomfitor l33t
Joined: 21 Feb 2003 Posts: 927 Location: None
|
Posted: Thu Dec 23, 2004 1:38 am Post subject: |
|
|
Unfortunately, win4lin and swsusp2 are both in the same patchfile. Taking out one means taking out the other. I suppose I could take them out unless someone has an objection within the next few minutes... _________________ There is no substitute for experience.
Imperfection indicates a lack of effort. |
|
Back to top |
|
|
Rainmaker Veteran
Joined: 12 Feb 2004 Posts: 1650 Location: /home/NL/ehv/
|
Posted: Thu Dec 23, 2004 1:45 am Post subject: |
|
|
I just wanna try if it works
If you want, you can just send me the patch, I'll see if it works.
Email: rainmaker52@gmail.com _________________ If you can't dazzle them with brilliance, baffle them with bullshit. |
|
Back to top |
|
|
rmh3093 Advocate
Joined: 06 Aug 2003 Posts: 2138 Location: Albany, NY
|
Posted: Thu Dec 23, 2004 2:02 am Post subject: |
|
|
i definately dont object, swsups sucks with nvidia anyway and i dont use win4lin _________________ Do not meddle in the affairs of wizards, for they are subtle and quick to anger. |
|
Back to top |
|
|
discomfitor l33t
Joined: 21 Feb 2003 Posts: 927 Location: None
|
Posted: Thu Dec 23, 2004 2:22 am Post subject: |
|
|
New patch is out. Use the same ebuild, just delete the digests and redownload the patch. No more win4lin/swsusp2! Updated bk!
Hopefully that will be the last of my kernel tinkering for a few days. _________________ There is no substitute for experience.
Imperfection indicates a lack of effort. |
|
Back to top |
|
|
kontol n00b
Joined: 19 Dec 2004 Posts: 31
|
Posted: Thu Dec 23, 2004 2:31 am Post subject: Re: 2.6.10-rc3-bk14-ck2-nitro2 "Too Fast For Your Eyes& |
|
|
Darckness wrote: | NOW I've got a good kernel. This one should fix all the problems that were i the previous version, including the broken win4lin/swsusp2 and power management stuff.
That's not to say that it will definitely work, but you won't have the same problemsyou had before.
With that said, here's the list done in patch format:
Code: |
- ck1
alsa 1.0.7 (finally!)
-win4lin
reiser4
vesafb-tng
fbsplash
-swsusp2
- bk12
config_hz
chmp
cflags-selection-for-nitro
===================================
+ ck2
+ bk15
alsa 1.0.7 (finally!)
reiser4
vesafb-tng
fbsplash
config_hz
chmp
cflags-selection-for-nitro
+ orinoco
+ hostap |
YANK! swsusp2+win4lin patch is gone. Not coming back. Too much irritation.
I got it done as fast as I could to reduce the time that the other buggy version wason the market, so that means I haven't had time to give it the 3-day test. It runs n my machine, and very smoothly at that.
There will be no ebuild problems this time, and there shouldn't be many other probles.
For the ati fix, go here.
For a cool automotive background picture made by M@rijn, go here.
More updates on fixes as they come, but I think this kernel should last me at least a few days before I get bored of stability.
Ebuild
Patch
EDIT: Just after I made this, I noticed that bk15 is out and I missed it. I will NOT be releasing another nitro until at least next Monday. So don't feel like you're going to wait it out. You know you want this patch. You can't wait until Monday.
EDIT: I lied. When I took out swsusp2+win4lin, my obsessive compulsive disorder took control with regard to the bk15 patch. It's in now. |
Thanks alot for the patches..for orinoco and hostap (as requested), I really appreciated....
Now back to compiling the kernels.
Cheers |
|
Back to top |
|
|
YourDoom123 Apprentice
Joined: 06 Mar 2004 Posts: 163
|
Posted: Thu Dec 23, 2004 3:52 am Post subject: |
|
|
seppe: sry but i'm a total noob when it comes to this...
i cd into /var/tmp/portage/nitro-sources-2.6.10_rc3-r2/work but then i have no idea where to copy the files to... both places you said don't exist... can anyone clarify for me? _________________ Acer Aspire 5672 |
|
Back to top |
|
|
discomfitor l33t
Joined: 21 Feb 2003 Posts: 927 Location: None
|
Posted: Thu Dec 23, 2004 4:10 am Post subject: |
|
|
YourDoom123: Ignore what he said; that was meant for me. All you have to do is delete the patch file in /usr/portage/distfiles, then delete the digest for it in ${PORTDIR_OVERLAY}/sys-kernel/nitro-sources/files. Then emerge it again and it should work perfectly. _________________ There is no substitute for experience.
Imperfection indicates a lack of effort. |
|
Back to top |
|
|
rmh3093 Advocate
Joined: 06 Aug 2003 Posts: 2138 Location: Albany, NY
|
Posted: Thu Dec 23, 2004 4:39 am Post subject: |
|
|
The orinoco drives dont compile _________________ Do not meddle in the affairs of wizards, for they are subtle and quick to anger. |
|
Back to top |
|
|
|