Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Win4Lin problems
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
scap1784
Apprentice
Apprentice


Joined: 25 Dec 2002
Posts: 225

PostPosted: Wed May 28, 2003 6:11 pm    Post subject: Win4Lin problems Reply with quote

Well i bought Win4Lin 5 from their web site however whenever i try to install it it says that "It appears that you have booted into a Netraverse-enabled kernel, but the modules have failed to load. You must correct the problem before it will be possible to continue with the installation." So i talked to the Netraverse people and they told me to do a bunch of stuff and then they said that i should use the ebuild for gentoo well the ebuild is for version 4 not 5 so now i am pretty much back where i started. Has anyone had experiance with version 5 in gentoo and if so how do i get this to work.
Back to top
View user's profile Send private message
cbradney
Apprentice
Apprentice


Joined: 08 May 2003
Posts: 245
Location: Luxembourg

PostPosted: Wed May 28, 2003 7:12 pm    Post subject: Reply with quote

Hi. Similar issue here. I emerged the win4lin kernel and booted it up. I can install the win4lin 5 from their site (with an evalutaion code), and either win98 or me. I can then install applications but if I reboot after installing win4lin, I cant get the modules to load after the reboot. So in the end, same issue as me I think. You do not mention rebooting at all. Perhaps this is what you have done too? If this problem is fixed I'll be buying it for sure. Perhaps if you run the ebuild for version 4, and then run the 5 installer to upgrade? I havent tried that yet.. it might work though.
Back to top
View user's profile Send private message
scap1784
Apprentice
Apprentice


Joined: 25 Dec 2002
Posts: 225

PostPosted: Wed May 28, 2003 10:49 pm    Post subject: Reply with quote

yes the is exactly the case it did happen after a reboot... i dunno i may try the upgrade thing
Back to top
View user's profile Send private message
cbradney
Apprentice
Apprentice


Joined: 08 May 2003
Posts: 245
Location: Luxembourg

PostPosted: Wed May 28, 2003 11:17 pm    Post subject: Reply with quote

/etc/init.d/Win4Lin start

simple as that. found that after trying in vain to emerge v4 and getting licence code issues even with evalution ones that the script was supposed to generate. The ebuild mentions doing an rc-update add Win4Lin default and while screwing around i eventually found that there was a Win4Lin file in /etc/init.d and it matched the /etc/rc.d/init.d/Win4Lin (0 diffs). Thought I'd give it a go copying the file across to /etc/init.d if it wasnt there in a 5.0 installation. It was there.. so, just run the above. Tested by doing the 5.0 install.. installing win me, then rebooting.. Of course, no drivers. ran the above.. worked. Happy. Will test more and buy a non eval licence if this is better than my testing on CXOffice
Back to top
View user's profile Send private message
Ralphus Maximus
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 148
Location: At Large

PostPosted: Thu May 29, 2003 8:00 pm    Post subject: Reply with quote

I had the same problem when I first switched to Gentoo. I contacted the NeTraverse Tech support and we found the /etc/rc.d to /etc/init.d solution. They said the documentation would be updated. That was last year.

As an aside, I've been using it for a couple of years now, and for the few winders programs I still need to run (video editing/conversion), Win4Lin is great. I ran an unofficial benchmark of sorts, using Nandub with the same source video, Win2k (native) processed the video 15 seconds faster than win98se (Win4Lin). I can live with that.

Cheers,
RM
_________________
Hero for hire. Dragons rescued, Virgins slain.

You say "Cheesy" like it's a bad thing!

In a society that is drug infested, violence-wracked and polluted by chemical greed, no one has ever died from an overdose of pornography.
Back to top
View user's profile Send private message
cbradney
Apprentice
Apprentice


Joined: 08 May 2003
Posts: 245
Location: Luxembourg

PostPosted: Sun Jun 01, 2003 4:44 pm    Post subject: Reply with quote

Ralpus, just wondering what kernel you run with win4lin support? The win4lin-sources? gs-sources? or something else?
Back to top
View user's profile Send private message
Ralphus Maximus
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jul 2002
Posts: 148
Location: At Large

PostPosted: Sun Jun 01, 2003 7:29 pm    Post subject: Reply with quote

cbradney wrote:
Ralpus, just wondering what kernel you run with win4lin support? The win4lin-sources? gs-sources? or something else?


I'm using the Win4Lin sources. I've heard of folks having good luck using other kernels with the Win4Lin patches, but I'm a big chicken. :D

One of these days I may get brave and try the latest Gentoo kernel.

Cheers,
RM
_________________
Hero for hire. Dragons rescued, Virgins slain.

You say "Cheesy" like it's a bad thing!

In a society that is drug infested, violence-wracked and polluted by chemical greed, no one has ever died from an overdose of pornography.
Back to top
View user's profile Send private message
cbradney
Apprentice
Apprentice


Joined: 08 May 2003
Posts: 245
Location: Luxembourg

PostPosted: Mon Jun 02, 2003 6:52 am    Post subject: Reply with quote

hehe.. fair enough. Yesterday I tried out a test version of vmware to compare. Runs decently, but cost is 299 USD.. OUCH. I built a gentoo-sources r5 kernel last night (and now get DRI and ACPI working unlike with win4lin sources and all the other fixes that arent in win4lin sources). Today.. project.. try and merge the win4lin patches into an r5 source tree.. :) Will let you know how I go (if I have a filesystem etc afterwards :))
Back to top
View user's profile Send private message
D33T
n00b
n00b


Joined: 15 Apr 2002
Posts: 38

PostPosted: Sun Jun 22, 2003 10:02 pm    Post subject: Reply with quote

cbradney wrote:
/etc/init.d/Win4Lin start

simple as that. found that after trying in vain to emerge v4 and getting licence code issues even with evalution ones that the script was supposed to generate. The ebuild mentions doing an rc-update add Win4Lin default and while screwing around i eventually found that there was a Win4Lin file in /etc/init.d and it matched the /etc/rc.d/init.d/Win4Lin (0 diffs). Thought I'd give it a go copying the file across to /etc/init.d if it wasnt there in a 5.0 installation. It was there.. so, just run the above. Tested by doing the 5.0 install.. installing win me, then rebooting.. Of course, no drivers. ran the above.. worked. Happy. Will test more and buy a non eval licence if this is better than my testing on CXOffice


YOU ARE A GOD!!!! I kept trying to run the one that comes in /etc/init.d/ but it kept saying it had errors...... copying the one from /etc/rc.d/init.d/ over worked GREAT. THANK YOU!!!!!
_________________
bling bling
Back to top
View user's profile Send private message
cbradney
Apprentice
Apprentice


Joined: 08 May 2003
Posts: 245
Location: Luxembourg

PostPosted: Mon Jun 23, 2003 9:59 am    Post subject: Reply with quote

doesnt seem to autostart anymore after the baselayout update.. anyone?
Back to top
View user's profile Send private message
fireant_zim
n00b
n00b


Joined: 10 Jun 2003
Posts: 3
Location: San Francisco

PostPosted: Sun Jul 06, 2003 11:28 pm    Post subject: /sbin/rc no longer executes /etc/runlevels/default/Win4Lin Reply with quote

cbradney wrote:
doesnt seem to autostart anymore after the baselayout update.. anyone?


I just discovered this problem the other day after I rebooted my notebook. /sbin/rc appears to be ignoring the Win4Lin init script for some reason. I'm plowing through /sbin/rc to see what the problem might be.

-zim
Back to top
View user's profile Send private message
cbradney
Apprentice
Apprentice


Joined: 08 May 2003
Posts: 245
Location: Luxembourg

PostPosted: Mon Jul 07, 2003 8:52 am    Post subject: Reply with quote

Unfortunately I forget where it was but there was a new Win4Lin script that I was told to use after the baselayout update. Can copy paste if anyone wants it I guess.
Back to top
View user's profile Send private message
fireant_zim
n00b
n00b


Joined: 10 Jun 2003
Posts: 3
Location: San Francisco

PostPosted: Mon Jul 07, 2003 6:45 pm    Post subject: Win4Lin init script Reply with quote

cbradney wrote:
Unfortunately I forget where it was but there was a new Win4Lin script that I was told to use after the baselayout update. Can copy paste if anyone wants it I guess.


For the time being I've just added /etc/init.d/Win4Lin start to /etc/conf.d/local.start It's not very elegant but it works.

-zim
Back to top
View user's profile Send private message
cbradney
Apprentice
Apprentice


Joined: 08 May 2003
Posts: 245
Location: Luxembourg

PostPosted: Mon Jul 07, 2003 7:38 pm    Post subject: Reply with quote

This is my Win4Lin file from /etc/init.d. Works fine here.

#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /home/cvsroot/gentoo-x86/app-emulation/win4lin/files/win4lin.initd.new,v 1.1 2003/06/19 15:55:33 bass Exp $

depend() {
need net
}

start() {
ebegin "Starting Win4Lin"
/etc/rc.d/init.d/Win4Lin start >/tmp/win4lin_init.log
eend $?
}

stop() {
ebegin "Stopping Win4Lin"
/etc/rc.d/init.d/Win4Lin stop >/tmp/win4lin_init.log
eend $?
}
Back to top
View user's profile Send private message
hank scorpio
n00b
n00b


Joined: 06 Jul 2003
Posts: 56

PostPosted: Wed Jul 16, 2003 5:54 am    Post subject: Reply with quote

cbradney wrote:
doesnt seem to autostart anymore after the baselayout update.. anyone?


rc-update add win4lin boot ?
Back to top
View user's profile Send private message
cbradney
Apprentice
Apprentice


Joined: 08 May 2003
Posts: 245
Location: Luxembourg

PostPosted: Wed Jul 16, 2003 6:43 am    Post subject: Reply with quote

default, rather than boot works just fine with the above startup script
Back to top
View user's profile Send private message
hygge
n00b
n00b


Joined: 07 Jan 2003
Posts: 66
Location: Sweden

PostPosted: Mon Nov 24, 2003 5:06 pm    Post subject: Reply with quote

i've just compiled a kernel from the win4lin-sources, the win4lin-sources-2.4.22.ebuild, and its
running just fine... But my win4lin setup has problems. the loadwindowCD step in the ebuildscript gave errors. these are the ones i got after a try by myself:

Code:

duron# loadwindowsCD fromdir /mnt/cdrom/ reload
Checking the system.


A Windows boot floppy is needed to complete the load of
of Windows.

The Windows boot floppy must match the version of Windows
you are loading.

You can use a real floppy or image file of such a floppy.

Do you have an appropriate real Windows boot floppy now ? (y/n/q) y

Insert the floppy in the drive and then press return

Reading the floppy.
2880+0 records in
2880+0 records out

You may now remove the floppy from the drive.

Copying the Windows files.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Copying the Online Services subdirectory.
+
Set locale info for current system.
Pre-Installation Phase: Installing minimal DOS system...
Installing DOS system files.
Configuring DOS image files.
BIOS V2.09 Copyright 1984, 1985 Award Software Inc.
Quadtel Expanded Memory Manager Copyright(c) 1989, 1990 Quadtel Corp.
All Rights Reserved
Making MDA Image.
MERGE_NL: dos: ERROR: Win4Lin drivers are not loaded or
  not available for use.  Cannot run DOS or Windows.
  Either Win4Lin is not fully installed on your system, or the
  drivers cannot load, or too many simultaneous users.
WARNING: MDA image was not made.
(10)
WARNING: No image files were made.
WARNING: Images creation failed.
ERROR: Failed to make all DOS image files.
 Installation of DOS partialy failed.
Error: Minimal automatic pre-installation of DOS7 failed.
duron#


apperantly, the mki-adapter module isnt loaded... but i dont have any in my /lib/modules dir! any suggestions?

the installer from netraverse gives me the It appears that you have booted into a Netraverse-enabled kernel, but the modules have failed to load. You must correct the problem before it will be possible to continue with the installation. too, even after running /etc/init.d/Win4Lin start
Back to top
View user's profile Send private message
hygge
n00b
n00b


Joined: 07 Jan 2003
Posts: 66
Location: Sweden

PostPosted: Mon Nov 24, 2003 5:50 pm    Post subject: Reply with quote

it should be right as i get this:

Code:

duron# grep mki_version_ /proc/ksyms
c02cded4 mki_version_3_0_1


any suggestions?
Back to top
View user's profile Send private message
hygge
n00b
n00b


Joined: 07 Jan 2003
Posts: 66
Location: Sweden

PostPosted: Mon Nov 24, 2003 8:51 pm    Post subject: Reply with quote

ah, i recompiled the kernel, this time not in a rush. i think the 'make mrproper' i did on the sources removed the applied patches, therefor it didnt work at first!
cheers
Back to top
View user's profile Send private message
alfie
n00b
n00b


Joined: 26 Feb 2004
Posts: 2

PostPosted: Sat Feb 28, 2004 9:37 pm    Post subject: Reply with quote

I just went through an involved debugging session with netraverse on this very problem. It's a simple fix, but it was hard to track down. The netraverse folks found it after a couple weeks of back and forth e-mails. They are *very, very* responsive with their tech support.

The win4lin ebuilds install win4lin device files in /var. If you have /var declared nodev in /etc/fstab, then win4lin will fail in the pre-installation of Windows, with the MERGE_NL error messages. The modules will still show up with lsmod, just that the win4lin devices won't work.

Quick Solution: Check /etc/fstab and see if the mount point with /var has nodev. If so, edit /etc/fstab, and remove that option from the mount point.

I followed the Gentoo Security HOWTO, it recommends making /tmp noexec, nodev and /var nodev. Didn't imagine it could ever make a difference in the installs.
Back to top
View user's profile Send private message
xa0n
n00b
n00b


Joined: 03 Apr 2003
Posts: 12

PostPosted: Wed Apr 21, 2004 6:09 pm    Post subject: thanks !!!! Reply with quote

Hi alfie !

you made it :-) that was my problem since 2 month....
now it is installing !

thanks
Back to top
View user's profile Send private message
robfantini
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2004
Posts: 106
Location: Boston, Massachusetts

PostPosted: Thu Apr 22, 2004 9:58 pm    Post subject: win4lin /etc/init.d/Win4Lin missing Reply with quote

I've got Win4lin up and running.

One thing I noticed is that the install put a file to
/etc/rc.d/init.d/Win4Lin
and not
/etc/init.d/Win4Lin

So I copied the file to /etc/init.d

Win4lin seemed to run ok so far without starting /etc/init.d/Win4Lin ..

I'm using Gentoo Base System version 1.4.9
and
sys-kernel/win4lin-sources-2.6.5-r1 *
app-emulation/win4lin-5.1 *
Back to top
View user's profile Send private message
- NEO -
n00b
n00b


Joined: 16 Aug 2003
Posts: 32
Location: Denmark

PostPosted: Sun Jun 27, 2004 11:44 am    Post subject: Re: win4lin /etc/init.d/Win4Lin missing Reply with quote

robfantini wrote:
I've got Win4lin up and running.

One thing I noticed is that the install put a file to
/etc/rc.d/init.d/Win4Lin
and not
/etc/init.d/Win4Lin

So I copied the file to /etc/init.d

Win4lin seemed to run ok so far without starting /etc/init.d/Win4Lin ..

I'm using Gentoo Base System version 1.4.9
and
sys-kernel/win4lin-sources-2.6.5-r1 *
app-emulation/win4lin-5.1 *


At the end of a succesfully emerge of win4lin you'll see this:

Code:
 * If this is a new Win4Lin Install you will need to run the following command
 * ebuild  /var/db/pkg/app-emulation/win4lin-5.0.8/win4lin-5.0.8.ebuild config
 * to install the windows setup files. You will need your Windows cdrom in the
 * drive in order to complete this step.


After running the ebuild /var/... you'll have the start and stop scripts in: /etc/init.d/
_________________
/Neo
...because I believe in something...
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