View previous topic :: View next topic |
Author |
Message |
amdonati Tux's lil' helper
Joined: 13 Oct 2002 Posts: 89 Location: Italy
|
Posted: Thu Feb 27, 2003 8:46 am Post subject: Is win4lin supported by the gentoo kernel |
|
|
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 |
|
|
ravenq Apprentice
Joined: 19 Feb 2003 Posts: 161
|
Posted: Thu Feb 27, 2003 8:54 am Post subject: |
|
|
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 |
|
|
amdonati Tux's lil' helper
Joined: 13 Oct 2002 Posts: 89 Location: Italy
|
Posted: Thu Feb 27, 2003 11:16 am Post subject: |
|
|
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 |
|
|
ravenq Apprentice
Joined: 19 Feb 2003 Posts: 161
|
Posted: Thu Feb 27, 2003 11:20 am Post subject: |
|
|
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 |
|
|
Robert Tux's lil' helper
Joined: 19 Apr 2002 Posts: 103 Location: Syracuse, NY
|
Posted: Fri Feb 28, 2003 2:16 am Post subject: |
|
|
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 |
|
|
yokem55 Guru
Joined: 18 Apr 2002 Posts: 360 Location: Oregon
|
Posted: Fri Feb 28, 2003 3:37 am Post subject: |
|
|
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 |
|
|
amdonati Tux's lil' helper
Joined: 13 Oct 2002 Posts: 89 Location: Italy
|
Posted: Sat Mar 01, 2003 12:33 pm Post subject: |
|
|
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 |
|
|
amdonati Tux's lil' helper
Joined: 13 Oct 2002 Posts: 89 Location: Italy
|
Posted: Wed Mar 05, 2003 9:27 am Post subject: |
|
|
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 |
|
|
phypor n00b
Joined: 25 Jun 2002 Posts: 68 Location: Texas
|
Posted: Tue Mar 11, 2003 6:25 pm Post subject: Win4Lin supported kernels: |
|
|
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 |
|
|
graybeard Tux's lil' helper
Joined: 16 Mar 2003 Posts: 118 Location: a blue state
|
Posted: Sun Mar 16, 2003 5:46 am Post subject: |
|
|
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 |
|
|
phypor n00b
Joined: 25 Jun 2002 Posts: 68 Location: Texas
|
Posted: Sun Mar 16, 2003 1:58 pm Post subject: Sorry, caveat emptor |
|
|
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 |
|
|
graybeard Tux's lil' helper
Joined: 16 Mar 2003 Posts: 118 Location: a blue state
|
Posted: Sun Mar 16, 2003 6:44 pm Post subject: more on win4lin |
|
|
Quote: |
The -gs support was only half put in.
|
You know, I figured that out after I hit the send button.
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 |
|
|
|