Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo-sources (pfeifer-sources) + win4lin
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
antst
n00b
n00b


Joined: 24 Jul 2003
Posts: 67
Location: Netherlands

PostPosted: Thu Jul 24, 2003 3:10 am    Post subject: gentoo-sources (pfeifer-sources) + win4lin Reply with quote

Did sombody managed to applay win4lin patches to gentoo(pfeifer)-sources?
If not, lets disscuss this.

I'm working on it now, seems that this is possible.
Only two ynigs unclear yet, but I still hope.

Fresh ideas and experience are welcome.

So, let's do it together :D
Back to top
View user's profile Send private message
antst
n00b
n00b


Joined: 24 Jul 2003
Posts: 67
Location: Netherlands

PostPosted: Thu Jul 24, 2003 12:30 pm    Post subject: Reply with quote

Ok, one of two problems I have solved.

Last one...(time to remember assembler :D)
Back to top
View user's profile Send private message
hyper
n00b
n00b


Joined: 24 Jul 2003
Posts: 24
Location: Guarulhos - SP - Brasil

PostPosted: Sat Sep 06, 2003 2:04 am    Post subject: Reply with quote

hi, i'm using gentoo-sources, patched for bootsplash but i can't patch the win4lin. i got it wrong. what do i have to do?
_________________
"A vingança nunca é plena, mata a alma e a invenena!" (Seu Madruga)
Back to top
View user's profile Send private message
nepto
n00b
n00b


Joined: 04 Sep 2003
Posts: 16
Location: Slovakia

PostPosted: Mon Sep 08, 2003 4:02 pm    Post subject: Reply with quote

And where is such win4lin patch of gentoo-sources available?

I'm doing it now, if it will work, I will add patch here.
_________________
Ondrej Jombik
Visit my homepage, review my recent CV or projects and give me some feedback.
Back to top
View user's profile Send private message
nepto
n00b
n00b


Joined: 04 Sep 2003
Posts: 16
Location: Slovakia

PostPosted: Mon Sep 08, 2003 6:10 pm    Post subject: Reply with quote

I solved all assembler related problems, however I have no idea how to integrate win4lin patch with O(1) vm rmap patch. This is the mentioned rejection:

Code:

***************
*** 305,310 ****

        counter = mmlist_nr;
        do {   
                if (unlikely(current->need_resched)) {
                        __set_current_state(TASK_RUNNING);
                        schedule();
--- 310,318 ----
       
        counter = mmlist_nr;
        do {
+ #ifdef CONFIG_MKI
+               CALL_MKI_HOOK(MKI_HOOK_SWAP, (void *)priority, (void *)gfp_mask);
+ #endif       
                if (unlikely(current->need_resched)) {
                        __set_current_state(TASK_RUNNING);
                        schedule();


CALL_MKI_HOOK is in swap_out() call, however in the new (gento-sources) MM there is no function with this name. And there is also nothing similar to this. It seems that we need someone with exhaustive Linux MM knowledges. I will try to figure a right place in new (gento-sources) MM where CALL_MKI_HOOK call should be, however I cannot guarantee success...
_________________
Ondrej Jombik
Visit my homepage, review my recent CV or projects and give me some feedback.
Back to top
View user's profile Send private message
cbradney
Apprentice
Apprentice


Joined: 08 May 2003
Posts: 245
Location: Luxembourg

PostPosted: Tue Sep 09, 2003 6:37 pm    Post subject: Reply with quote

I got about that far about 2 months ago, with the gentoo-sources around at the time. Same approx place. I decided that I also new little about the new schedule stuff that I'd leave it for someone else (it was my first kernel hack/patch). I am very interested to read the source when the solution is found by someone here/Nettraverse. As far as I know its not a gentoo-sources issue, just an issue with any kernel with the O(1) scheduler.. ie, all from 2.4.22 onwards I think. I'm sure there'll be an answer soon with 2.6 moving along.
Back to top
View user's profile Send private message
cbradney
Apprentice
Apprentice


Joined: 08 May 2003
Posts: 245
Location: Luxembourg

PostPosted: Fri Sep 19, 2003 5:55 am    Post subject: Reply with quote

I noticed today theres a preempt patch on the NetTraverse site:
https://www.netraverse.com/member/downloads/miscfiles/preempt-addon.patch
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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