Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6.10-rc3-bk12-nitro1 "Now with 3 times more calcium!
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
discomfitor
l33t
l33t


Joined: 21 Feb 2003
Posts: 927
Location: None

PostPosted: Tue Dec 21, 2004 8:52 pm    Post subject: 2.6.10-rc3-bk12-nitro1 "Now with 3 times more calcium! Reply with quote

EDIT: Do not use this kernel.

Here goes nothing!

For those of you who missed the original post:

Darckness wrote:
I couldn't wait for seppe to come out of hibernation, so I whipped up a new version of nitro which applies on top of 2.6.9. It has the following patches:
Code:
-ck1
alsa 1.0.7 (finally!)
win4lin
reiser4     
vesafb-tng
fbsplash
swsusp2
-bk12
config_hz
chmp
cflags-selection-for-nitro


I'm running it now and it seems to work quite nicely, but I haven't tested all the stuff (win4lin, reiser4, swsusp2) since I don't use them. Anyway, I've sent it off to seppe so that I can get his blessing. If he approves, it will be called "Now with 3 times more calcium!".


Anyway, seppe appears to have approved it, which means that I'm putting it out. I'm going to need someone to mirror it ASAP because I don't have much bandwidth to spare. If you can do it, then by all means go right ahead.

About the actual kernel, the patches are listed above. I've been running it since I made it on Saturday and it seems to be a little quicker (maybe I'm just imagining things). Bottom line is that it's definitely stable for me.

EDIT: swsusp2 and win4lin do NOT work. If you need them, go elsewhere.

I finally got that alsa update patch in there too (after how many nitros of being lazy?), so hopefully somebody somewhere will appreciate that.

Reiser 4 SHOULD work. I can't verify that since I don't use it, but I've got a good feeling about it...

Yes, I KNOW the ebuild isn't portable. It isn't supposed to be.

Thanks to Macumba for mirroring.

Ebuild
Patch
_________________
There is no substitute for experience.
Imperfection indicates a lack of effort.


Last edited by discomfitor on Wed Dec 22, 2004 10:48 pm; edited 6 times in total
Back to top
View user's profile Send private message
kontol
n00b
n00b


Joined: 19 Dec 2004
Posts: 31

PostPosted: Tue Dec 21, 2004 9:00 pm    Post subject: Reply with quote

Darkness....how about add some patches..orinoco and hostap?...is it ok....thanks in advanced


cheers
Back to top
View user's profile Send private message
Macumba
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2004
Posts: 112

PostPosted: Tue Dec 21, 2004 9:14 pm    Post subject: Reply with quote

Patch Mirror
Patch
Ebuild
Ebuild is changed to my mirror
_________________
Code:
dd if=/dev/urandom of=/dev/speech

ogg - mp3


Last edited by Macumba on Tue Dec 21, 2004 9:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
discomfitor
l33t
l33t


Joined: 21 Feb 2003
Posts: 927
Location: None

PostPosted: Tue Dec 21, 2004 9:22 pm    Post subject: Reply with quote

I tried to get hostap and orinoco in, but they were too much of a hassle with all the other changes to the tree of late.

Macumba: when you get it up, let me know and I'll change the links. Make sure you update the ebuild too!

Bollucks: I may update it if I get some spare time. It's tough because of World of Warcraft. :wink:
_________________
There is no substitute for experience.
Imperfection indicates a lack of effort.


Last edited by discomfitor on Tue Dec 21, 2004 9:55 pm; edited 2 times in total
Back to top
View user's profile Send private message
bollucks
l33t
l33t


Joined: 27 Oct 2004
Posts: 606

PostPosted: Tue Dec 21, 2004 9:41 pm    Post subject: Re: 2.6.10-rc3-bk12-nitro1 "Now with 3 times more calci Reply with quote

Darckness wrote:
Code:
latest ck


Is this 2.6.10-rc3-ck2 based? -ck just released that with yummy goodies.
Back to top
View user's profile Send private message
Macumba
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2004
Posts: 112

PostPosted: Tue Dec 21, 2004 10:01 pm    Post subject: Re: 2.6.10-rc3-bk12-nitro1 "Now with 3 times more calci Reply with quote

Code:
-ck1


i think there is a 1... :wink:

but the patch doesn't work at my pc, there is a patch-error.

Code:
>>> Unpacking linux-2.6.9.tar.bz2 to /var/tmp/portage/nitro-sources-2.6.10_rc3-r1/work
 * Applying patch-2.6.10-rc3.patch (-p0+) ...                                                                                                         [ ok ]
 * Applying patch-2.6.10-rc3-nitro1.patch (-p0+) ...
patch: pch.c:621: intuit_diff_type: Assertion `i0 != NONE' failed.
patch: pch.c:621: intuit_diff_type: Assertion `i0 != NONE' failed.                                                                                    [ !! ]
 * Please attach /var/tmp/portage/nitro-sources-2.6.10_rc3-r1/temp/patch-2.6.10-rc3-nitro1.err to any bug you may post.

!!! ERROR: sys-kernel/nitro-sources-2.6.10_rc3-r1 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.


_________________
Code:
dd if=/dev/urandom of=/dev/speech

ogg - mp3
Back to top
View user's profile Send private message
discomfitor
l33t
l33t


Joined: 21 Feb 2003
Posts: 927
Location: None

PostPosted: Tue Dec 21, 2004 10:07 pm    Post subject: Reply with quote

It's supposed to be applied on top of 2.6.9 if you're trying to do it manually. I didn't actually test the ebuild because I just assumed it would work. Perhaps that was a mistake?

Ah yes. Change the patch file name to "patch-2.6.10-rc3-nitro1.bz2" and it should work. You'll have to update the ebuild too. I guess I'll test the ebuild quickly now...

[UPDATE]
Agh. I just realized that the ebuild patches differently, which explains why it isn't working. I probably should engage my brain before I attempt to do this kind of stuff. I'm making a new patch which will work. Macumba, if you could download it again from my server, that would be great.
_________________
There is no substitute for experience.
Imperfection indicates a lack of effort.


Last edited by discomfitor on Tue Dec 21, 2004 10:58 pm; edited 2 times in total
Back to top
View user's profile Send private message
Macumba
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2004
Posts: 112

PostPosted: Tue Dec 21, 2004 10:29 pm    Post subject: Reply with quote

downloading the new patchset to my server...

patching worked...

Patch
Ebuild
both are updated
_________________
Code:
dd if=/dev/urandom of=/dev/speech

ogg - mp3


Last edited by Macumba on Tue Dec 21, 2004 10:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Tue Dec 21, 2004 10:53 pm    Post subject: Reply with quote

hmmm

Code:
>>> Downloading http://83.246.77.119/patch-2.6.10-rc3-nitro1.bz2
--23:06:57--  http://83.246.77.119/patch-2.6.10-rc3-nitro1.bz2
           => `/usr/portage/distfiles/patch-2.6.10-rc3-nitro1.bz2'
Connecting to 83.246.77.119:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,747,033 [text/plain]

100%[====================================>] 1,747,033    480.89K/s    ETA 00:00

23:07:01 (469.24 KB/s) - `/usr/portage/distfiles/patch-2.6.10-rc3-nitro1.bz2' saved [1747033/1747033]

!!! Couldn't download patch-2.6.10-rc3-nitro1.bz2. Aborting.


odd, it downloads it, but then says it can't download it 8O
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Macumba
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2004
Posts: 112

PostPosted: Tue Dec 21, 2004 10:55 pm    Post subject: Reply with quote

retry it, i changed the path and the name... :lol:

nice download-speed....


....i give up....
2.6.10-x doesn't work at my machine. I think, the amd64 support isn't so good.... :? :( :cry:
Code:

[...]
  CC      arch/x86_64/kernel/vsyscall.o
In file included from arch/x86_64/kernel/vsyscall.c:50:
include/asm/io.h: In function `memset_io':
include/asm/io.h:265: warning: implicit declaration of function `memset'
[...]
In file included from include/asm/dma.h:13,
                 from include/linux/bootmem.h:8,
                 from arch/x86_64/kernel/e820.c:10:
include/asm/io.h: In function `memset_io':
include/asm/io.h:265: warning: implicit declaration of function `memset'
[...]
  CC      arch/x86_64/kernel/aperture.o
In file included from include/asm/dma.h:13,
                 from include/linux/bootmem.h:8,
                 from arch/x86_64/kernel/aperture.c:17:
include/asm/io.h: In function `memset_io':
include/asm/io.h:265: warning: implicit declaration of function `memset'
[...]
  CC      kernel/intermodule.o
kernel/intermodule.c:179: warning: `inter_module_register' is deprecated (declared at kernel/intermodule.c:38)
kernel/intermodule.c:180: warning: `inter_module_unregister' is deprecated (declared at kernel/intermodule.c:79)
kernel/intermodule.c:183: warning: `inter_module_put' is deprecated (declared at kernel/intermodule.c:160)
[...]
  CC      kernel/power/process.o
kernel/power/process.c: In function `to_be_frozen':
kernel/power/process.c:192: error: `TASK_ZOMBIE' undeclared (first use in this function)
kernel/power/process.c:192: error: (Each undeclared identifier is reported only once
kernel/power/process.c:192: error: for each function it appears in.)
make[2]: *** [kernel/power/process.o] Error 1
make[1]: *** [kernel/power] Error 2
make: *** [kernel] Error 2


there is a lot more warnings when i disable the power managemant...

i will wait for the next kernel-version
_________________
Code:
dd if=/dev/urandom of=/dev/speech

ogg - mp3
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Tue Dec 21, 2004 11:09 pm    Post subject: Reply with quote

yeah cool eh?

My provider just upped my speed to 4/1 Mbit.

you have a German university connection judging from your IP. So yeah, that's pretty fast :D :D :D
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Moloch
Apprentice
Apprentice


Joined: 17 Mar 2003
Posts: 293
Location: Albuquerque, NM, US

PostPosted: Tue Dec 21, 2004 11:09 pm    Post subject: Reply with quote

Yes! Thank you. So exctied to see another nitro. Emerging as I type.
_________________
Understanding is a three-edged sword: your side, their side, and the truth. --Kosh
1010011010
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Tue Dec 21, 2004 11:19 pm    Post subject: Reply with quote

Code:
root@Medusa# patch --dry-run -p0 < /tmp/patch                  (/usr/src/linux)
patching file Documentation/Changes
patching file Documentation/DMA-API.txt
patching file Documentation/arm/Sharp-LH/IOBarrier
can't find file to patch at input line 107
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN Documentation/dvb/README.dibusb Documentation/dvb/README.dibusb
|--- Documentation/dvb/README.dibusb    2004-12-21 17:32:00.627559360 -0500
|+++ Documentation/dvb/README.dibusb    2004-12-18 04:38:51.000000000 -0500
--------------------------
File to patch:


Do I need to apply a patch to vanilla 2.6.9 before applying this one?
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Macumba
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2004
Posts: 112

PostPosted: Tue Dec 21, 2004 11:20 pm    Post subject: Reply with quote

no, not an university connection...
it's a vserver... :wink:
try http://www.ripe.net/whois :wink:
nice page to see from where you downloading

@rainmaker
i think you need to patch to 2.6.10-rc3
and then to nitro-sources
Code:
>> Unpacking linux-2.6.9.tar.bz2 to /var/tmp/portage/nitro-sources-2.6.10_rc3-$
 ^[[32;01m*^[[0m Applying patch-2.6.10-rc3.patch (-p0+) ...
^[[A^[[149G  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying patch-2.6.10-rc3-nitro1.patch (-p0+) ...
^[[A^[[149G  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m

_________________
Code:
dd if=/dev/urandom of=/dev/speech

ogg - mp3


Last edited by Macumba on Tue Dec 21, 2004 11:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
discomfitor
l33t
l33t


Joined: 21 Feb 2003
Posts: 927
Location: None

PostPosted: Tue Dec 21, 2004 11:21 pm    Post subject: Reply with quote

If you're doing it manually, you need to apply the -rc3 patch first. Then apply nitro on top of that.
_________________
There is no substitute for experience.
Imperfection indicates a lack of effort.
Back to top
View user's profile Send private message
den_RDC
Apprentice
Apprentice


Joined: 25 Aug 2002
Posts: 166
Location: beercountry, Belgium;)

PostPosted: Tue Dec 21, 2004 11:24 pm    Post subject: Reply with quote

I have the same problem as macumba
Quote:

CC kernel/power/process.o
kernel/power/process.c: In function `to_be_frozen':
kernel/power/process.c:192: error: `TASK_ZOMBIE' undeclared (first use in this function)
kernel/power/process.c:192: error: (Each undeclared identifier is reported only once
kernel/power/process.c:192: error: for each function it appears in.)
make[2]: *** [kernel/power/process.o] Error 1
make[1]: *** [kernel/power] Error 2
make: *** [kernel] Error 2

_________________
Fan of the "Survivor Warriors of the Evil Empire of Bloody Destruction and Bloody Darkness"
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Tue Dec 21, 2004 11:26 pm    Post subject: Reply with quote

Macumba wrote:
no, not an university connection...
it's a vserver... :wink:
try http://www.ripe.net/whois :wink:
nice page to see from where you downloading

@rainmaker
i think you need to patch to 2.6.10-rc3
and then to nitro-sources
Code:
>> Unpacking linux-2.6.9.tar.bz2 to /var/tmp/portage/nitro-sources-2.6.10_rc3-$
 ^[[32;01m*^[[0m Applying patch-2.6.10-rc3.patch (-p0+) ...
^[[A^[[149G  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying patch-2.6.10-rc3-nitro1.patch (-p0+) ...
^[[A^[[149G  ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m


I used that, that's why I thought you were on university:

Quote:
netname: INTERNETUNIVERSUM-NET
descr: InternetUniversum GmbH
descr: Waldenburger Str. 10, 48231 Warendorf, Germany
descr: Housing/Colocation @ RZ-Hannover
descr: Germany
country: DE


I read to fast, it's universum. My german sucks anyway :P

--------

I can;t get it to work with the ebuild. Keep getting the above error. Tried clearing distfiles and digests, but same error....

Quote:
>>> Resuming download...
>>> Downloading http://83.246.77.119/patch-2.6.10-rc3-nitro1.bz2
--23:45:26-- http://83.246.77.119/patch-2.6.10-rc3-nitro1.bz2
=> `/usr/portage/distfiles/patch-2.6.10-rc3-nitro1.bz2'
Connecting to 83.246.77.119:80... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

Continued download failed on this file, which conflicts with `-c'.
Refusing to truncate existing file `/usr/portage/distfiles/patch-2.6.10-rc3-nitro1.bz2'.

!!! Couldn't download patch-2.6.10-rc3-nitro1.bz2. Aborting.


This is without cleaning out distfiles
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.


Last edited by Rainmaker on Tue Dec 21, 2004 11:31 pm; edited 1 time in total
Back to top
View user's profile Send private message
Macumba
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2004
Posts: 112

PostPosted: Tue Dec 21, 2004 11:30 pm    Post subject: Reply with quote

hmm...
it worked...

you have to use
Code:
ebuild nitro-sources-2.6.10_rc3-r1.ebuild digest

then you can emerge nitro-sources

when you don't have ~86, then you have to eneable it for this ebuild
or change the ebuild

good night!
dammn, tomorrow i have to write a biology-test, at the last day before the holidays...
_________________
Code:
dd if=/dev/urandom of=/dev/speech

ogg - mp3


Last edited by Macumba on Tue Dec 21, 2004 11:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
discomfitor
l33t
l33t


Joined: 21 Feb 2003
Posts: 927
Location: None

PostPosted: Tue Dec 21, 2004 11:32 pm    Post subject: Reply with quote

People who are having errors: do you have power management of some sort turned on? Try turning it off.

It's probably caused by my attempt to get swsusp in. So if you disable stuff related to that, it will work. Oh well. I guess I'll have to make another one in the next couple days (without stupid buggy patches...).
_________________
There is no substitute for experience.
Imperfection indicates a lack of effort.


Last edited by discomfitor on Tue Dec 21, 2004 11:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Tue Dec 21, 2004 11:32 pm    Post subject: Reply with quote

got it now.

Cleaning out digest WITHOUT cleaning distfiles did the trick :roll:
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Tue Dec 21, 2004 11:49 pm    Post subject: Reply with quote

changing

Quote:
(p->state == TASK_ZOMBIE)

to
Quote:
(p->state == 0)

in kernel/power/process.c, line 192, makes it compile. Don't know if it'll still work though. I'll report back ASAP

Also remove the last line of drivers/base/power/suspend.c

Don't know why it's in there twice
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Rainmaker
Veteran
Veteran


Joined: 12 Feb 2004
Posts: 1650
Location: /home/NL/ehv/

PostPosted: Wed Dec 22, 2004 12:15 am    Post subject: Reply with quote

the above 2 modifications and the kernel compiles+ boots (on 32 bit at least)

reiser4 works
nvidia works
alsa 1.1 works!

great patchset
_________________
If you can't dazzle them with brilliance, baffle them with bullshit.
Back to top
View user's profile Send private message
Moloch
Apprentice
Apprentice


Joined: 17 Mar 2003
Posts: 293
Location: Albuquerque, NM, US

PostPosted: Wed Dec 22, 2004 1:15 am    Post subject: Reply with quote

Well the error message is simply regarding an undefined constant... "TASK_ZOMBIE"

If you look at the other constants... TASK_TRACED, TASK_STOPPED. I determined they are defined in /usr/src/linux/include/linux/sched.h

There is a definition
Code:
#define EXIT_ZOMBIE             16
The question is maybe that is what TASK_ZOMBIE is supposed to be or is it completely different. Then what is the proper value of TASK_ZOMBIE?

EDIT:
I googled and found a couple of sources saying TASK_ZOMBIE should be 4. I believe that was for the 2.4 kernel.
Then I found this: http://svn.drbd.org/drbd/branches/drbd-0.7/drbd.spec.in CTRL-F "TASK_ZOMBIE".

Changing it to EXIT_ZOMBIE is the solution. I am just going to add a "#define TASK_ZOMBIE 16" because TASK_ZOMBIE shows up in a few other places.

Compiling now!
_________________
Understanding is a three-edged sword: your side, their side, and the truth. --Kosh
1010011010
Back to top
View user's profile Send private message
Moloch
Apprentice
Apprentice


Joined: 17 Mar 2003
Posts: 293
Location: Albuquerque, NM, US

PostPosted: Wed Dec 22, 2004 1:43 am    Post subject: Reply with quote

Another error:
Code:
  CC      drivers/base/power/suspend.o
drivers/base/power/suspend.c:155: error: redefinition of `__kstrtab_device_power_down'
drivers/base/power/suspend.c:153: error: `__kstrtab_device_power_down' previously defined here
drivers/base/power/suspend.c:155: error: redefinition of `__ksymtab_device_power_down'
drivers/base/power/suspend.c:153: error: `__ksymtab_device_power_down' previously defined here
{standard input}: Assembler messages:
{standard input}:395: Error: symbol `__kstrtab_device_power_down' is already defined
{standard input}:401: Error: symbol `__ksymtab_device_power_down' is already defined
make[3]: *** [drivers/base/power/suspend.o] Error 1
make[2]: *** [drivers/base/power] Error 2
make[1]: *** [drivers/base] Error 2
make: *** [drivers] Error 2


edit /usr/src/linux/drivers/base/power/suspend.c ... goto line 155. Delete that line it's just typed twice.

For the the record I do not have suspend1/2 enabled. However I do have Power Management and ACPI enabled. I'm almost done compiling. Will post back after I rebot. Hopefully no more errors show.

EDIT: Everything works so far!
_________________
Understanding is a three-edged sword: your side, their side, and the truth. --Kosh
1010011010
Back to top
View user's profile Send private message
Zyne
Guru
Guru


Joined: 08 Jun 2004
Posts: 334

PostPosted: Wed Dec 22, 2004 8:45 am    Post subject: Reply with quote

compiling my new kernel as I type... :)
thanks for the latest patchset!!!

edit: compilation went perfect! a few minor errors on the way, but the kernel did compile in the end, so it shouldn't matter :D
thanks m8! I'm off for a quick reboot now :p


Last edited by Zyne on Wed Dec 22, 2004 8:55 am; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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