Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Is win4lin supported by the gentoo kernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
amdonati
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2002
Posts: 89
Location: Italy

PostPosted: Thu Feb 27, 2003 8:46 am    Post subject: Is win4lin supported by the gentoo kernel Reply with quote

Hi,

With the upcoming release of gentoo 1.4 I wanted to try the gentoo kernel, with all his improvements, but as I use win4lin I need to have it supported in the kernel.

I started with a patched vanilla kernel and use now the win4lin kernel source.

I know that XFS kernel have the support too.

But what about the gentoo kernel?

Cna I try it or should I use the XFS kernel instead?

Thanks for the answer,
Bye
Adalberto
Back to top
View user's profile Send private message
ravenq
Apprentice
Apprentice


Joined: 19 Feb 2003
Posts: 161

PostPosted: Thu Feb 27, 2003 8:54 am    Post subject: Reply with quote

Backup your config files for your Gentoo sources, then try applying the patch for Win4Lin. If you don't get any hunk failed messages, then it should probably work.
_________________
--
The Game is Nothing,
the Playing of it Everything.
Back to top
View user's profile Send private message
amdonati
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2002
Posts: 89
Location: Italy

PostPosted: Thu Feb 27, 2003 11:16 am    Post subject: Reply with quote

The problem is that, as far as I can understand (I am definetly not a "kernel hacker"! :( ), the win4lin patches have some probelms with the preempt patches, and they are included in the gentoo kernel.
That is why I was using the vanilla kernels pathced by me.

But I was hoping that, as we now have a "gentoo win4lin version" as well as ebuilds, maybe the gentoo kernel maintainer could have solved this problems (there are some patches for the preempt kernels in netraverse' site).

If not, I'll stick with the XFS kernel and maybe try later the gentoo one.

Adalberto
Back to top
View user's profile Send private message
ravenq
Apprentice
Apprentice


Joined: 19 Feb 2003
Posts: 161

PostPosted: Thu Feb 27, 2003 11:20 am    Post subject: Reply with quote

Hmm, hadn't though of that :) I'm by no means a kernel hacker either *grin* In that case, then yeah, there could be some compatibility issues.

As a suggestion, have two kernels on there, the gentoo one for everyday use and an xfs+win4lin one when you need to use win4lin. Just a thought.
_________________
--
The Game is Nothing,
the Playing of it Everything.
Back to top
View user's profile Send private message
Robert
Tux's lil' helper
Tux's lil' helper


Joined: 19 Apr 2002
Posts: 103
Location: Syracuse, NY

PostPosted: Fri Feb 28, 2003 2:16 am    Post subject: Reply with quote

amdonati wrote:
the win4lin patches have some probelms with the preempt patches, and they are included in the gentoo kernel.
That is why I was using the vanilla kernels pathced by me.


FYI Win4Lin now does work with preempt. They do not (AFAIK) "support" preempt, but they did do some work a while back to make sure Win4Lin works ok with a preemptable kernel. I have been running Win4Lin w/ preempt for months now with no conflicts or problems of any kind.
Back to top
View user's profile Send private message
yokem55
Guru
Guru


Joined: 18 Apr 2002
Posts: 360
Location: Oregon

PostPosted: Fri Feb 28, 2003 3:37 am    Post subject: Reply with quote

Code:
#emerge win4lin-sources


This will install a win4lin patched kernel for you. I'm pretty sure this is just a stock vanilla kernel though with the win4lin patches.
Back to top
View user's profile Send private message
amdonati
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2002
Posts: 89
Location: Italy

PostPosted: Sat Mar 01, 2003 12:33 pm    Post subject: Reply with quote

Yes, the win4lin sources are an already patched vanilla kernel.
I think I'll try to patch the gentoo kernel or stick with xfs

Thanks

Adalberto
Back to top
View user's profile Send private message
amdonati
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2002
Posts: 89
Location: Italy

PostPosted: Wed Mar 05, 2003 9:27 am    Post subject: Reply with quote

I tried to download and patch the gentoo kernel, but I receive a loto of HUNK errors, I think in the MKI component

And then I am not bale to compile the kernel.

I tried to use the premept patch of netraverse too, but with no result.
I hope that some kernel hackers out there finds a way to solve this.

I would really like to try the new kernels.

especially beacuse, when I now use win4lin (not only but especially), for some reasons the CPU load goes up to 99% and the system "freezes" fr a while.
I really do not like to stay there for 5-10 seconds waiting that my cursor works again or looking at a window moving as slow as a turtle.
One of the reasons I moved to linux was or not having to see these things anymore! :!:

Adalberto
Back to top
View user's profile Send private message
phypor
n00b
n00b


Joined: 25 Jun 2002
Posts: 68
Location: Texas

PostPosted: Tue Mar 11, 2003 6:25 pm    Post subject: Win4Lin supported kernels: Reply with quote

linux-2.4.20-win4lin
linux-2.4.21_pre5-gss

-gss is (from what i can tell) the future gentoo kernel, as it is is being developed. It has preempt, lowlatency, and other good patches.

its ~x86, so youll have to do
ACCEPT_KEYWORDS='~x86' emerge gs-sources

I run it at home (cause it also has SiImage drivers for the excellent Silicon Image PCI->IDE (w/raid-but-i-dont-use-it) card) and i dont see any snags, hangs, instablities, issues with it on my 1700xp... even when rippingdvd&burningcd&playingmp3s&browsing.

And the win4lin support works... I have win98se installed and i can sorta guess that it runs faster than native (ive not installed win98se on anything above a 1gig machine, so i cant say for sure).


~phypor
_________________
ALWAYS stay away from tanks enguled in fire.
- 2000 Emergency Response Guidebook, pg307
Back to top
View user's profile Send private message
graybeard
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2003
Posts: 118
Location: a blue state

PostPosted: Sun Mar 16, 2003 5:46 am    Post subject: Reply with quote

Quote:
And the win4lin support works...


Not for me, not yet ... any suggestions appreciated ...

I emerged the linux-2.4.21_pre5-gss kernel as suggested, and turned on the Windows support in menuconfig. Noticed that the Win stuff can't be a module, thought that was odd. Now when I try to start Win4Kin, I get the following:

Code:

root@localhost root # /etc/init.d/Win4Lin start
Starting Win4Lin: Failed to insert the mki-adapter module. Please install the
mki-adapter kernel module that matches this kernel:
2.4.21-pre5-gss
 
See /var/win4lin/log/insmod.log for additional messages.
done.
root@localhost root # cat /var/win4lin/log/insmod.log
SESSIONS=1
MERGE_TUNE: _M_max_num_sessions=10
SERIAL_TUNE:
Trying modprobe mki-adapter
modprobe: Can't locate module mki-adapter
Trying insmod on generic /lib/modules/mki-adapter.o
insmod: /lib/modules/mki-adapter.o: No such file or directory
module adapter version:
root@localhost root #



There is no mki-adapter.o anywhere on the system. This is a brand-new gentoo system built from stage one running gnome 2.2, nvidia drivers 4191, and everything else works (well ok not alsa but that is another email).

-dan
Back to top
View user's profile Send private message
phypor
n00b
n00b


Joined: 25 Jun 2002
Posts: 68
Location: Texas

PostPosted: Sun Mar 16, 2003 1:58 pm    Post subject: Sorry, caveat emptor Reply with quote

The -gs support was only half put in.

First grab mki-adapter.patch from win4lin-sources or use this one
Save it to /usr/src/linux-2.4.21_pre5-gss.

Then
Code:

emerge unmerge win4lin                    # if you merged it the first time
cd /usr/src/linux-2.4.21_pre5-gss
patch -p1 < mki-adapter.patch
make modules modules_install
emerge win4lin


That should do for a system that's halfway there, iirc.




graybeard wrote:
Quote:
And the win4lin support works...


Not for me, not yet ... any suggestions appreciated ...

I emerged the linux-2.4.21_pre5-gss kernel as suggested, and turned on the Windows support in menuconfig. Noticed that the Win stuff can't be a module, thought that was odd. Now when I try to start Win4Kin, I get the following:

Code:

root@localhost root # /etc/init.d/Win4Lin start
Starting Win4Lin: Failed to insert the mki-adapter module. Please install the
mki-adapter kernel module that matches this kernel:
2.4.21-pre5-gss
 
See /var/win4lin/log/insmod.log for additional messages.
done.
root@localhost root # cat /var/win4lin/log/insmod.log
SESSIONS=1
MERGE_TUNE: _M_max_num_sessions=10
SERIAL_TUNE:
Trying modprobe mki-adapter
modprobe: Can't locate module mki-adapter
Trying insmod on generic /lib/modules/mki-adapter.o
insmod: /lib/modules/mki-adapter.o: No such file or directory
module adapter version:
root@localhost root #



There is no mki-adapter.o anywhere on the system. This is a brand-new gentoo system built from stage one running gnome 2.2, nvidia drivers 4191, and everything else works (well ok not alsa but that is another email).

-dan

_________________
ALWAYS stay away from tanks enguled in fire.
- 2000 Emergency Response Guidebook, pg307
Back to top
View user's profile Send private message
graybeard
Tux's lil' helper
Tux's lil' helper


Joined: 16 Mar 2003
Posts: 118
Location: a blue state

PostPosted: Sun Mar 16, 2003 6:44 pm    Post subject: more on win4lin Reply with quote

Quote:

The -gs support was only half put in.


You know, I figured that out after I hit the send button. :oops:

Thanks anyway for your help. It works great now, or at least it works as well as Windows can be expected to.

-dan
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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