LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-11-2003, 11:46 PM   #1
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 355

Rep: Reputation: 30
Alsa modules & a win4lin kernel


I have recently compiled a win4lin patched kernel
to install win4lin. Everything worked fine, and I was
able to install win4lin and win98 within it.

TO patch the kernel I followed the recommended
procedure which was to copy the /usr/src/linux-2.4.20
source code to another directory, patch that code
and then compile from that directory. To distinguish
it from my normal kernel, it wa suggested that the
makefile be altered as follows:

EXTRAVERSION=mywin4lin

which I did and after compiling, /lib/modules contained
the directory 2.4.20-mywin4lin containing all loadable
kernel modules.

I now want to add ALSA sound modules and tried but
they did not install in /lib/modules/2.4.20-mywin4lin.

Is there a Makefile or some other setting that must
be changed in order to make the modules install properly?

TIA
 
Old 04-13-2003, 05:29 PM   #2
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 355

Original Poster
Rep: Reputation: 30
Never mind; I seemed to have found the problem.

I originally untarred the ALSA sources in /usr/src
which contains the the kernel source code for both
2.4.20 and the 2.4.20-mywin4lin.

This, apparently, was the wrong place to put the
ALSA sources and must have caused a problem
although I could not find out exactly why.

BTW, this is where I put the ALSA sources to install
with the default 2.4.20 kernel and there were no
problems then.

I installed the ALSA sources in /tmp and installed
from there when running under the win4lin enabled
kernel.

Works fine now.
 
Old 04-18-2003, 07:22 AM   #3
myst
LQ Newbie
 
Registered: Apr 2003
Distribution: Slackware 9
Posts: 24

Rep: Reputation: 15
could you please point to some doc/howto to apply win4lin patches & recompile kernel with it? i'm using Slackware 9 ad 2.4.20 kernel. thank you.
 
Old 04-18-2003, 10:03 AM   #4
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 355

Original Poster
Rep: Reputation: 30
First, I would suggest you go to the CNET download site:

http://download.com.com/3000-2034-10....html?tag=list

where you can download the Win4Lin install and obtain info
on requesting a trial license ($89.99 otherwise).

Patching your 2.4.20 kernal in Slackware (there are no
pre-enabled kernels for Slackware) is explained here:

http://www.netraverse.com/support/do....html#patching

Read carefully; you'll need both the kernel patch and the
mki-adapter patch.

After patching, you'll see an extra menu selection in 'make
menuconfig' .

Hope this helps.
 
Old 04-22-2003, 06:31 AM   #5
myst
LQ Newbie
 
Registered: Apr 2003
Distribution: Slackware 9
Posts: 24

Rep: Reputation: 15
thank you! i followed instruction, i compiled succesfully kernel, i installed netraverse win4lin with netraverse installer. Now when i try to re-execute again the installer to setup windows, it says "it appears that you have booted in a netraverse enabled kernel, but the modules have failed to load, you must correct this problem before it will be possible to continue with the installation"

if i try to modprobe mki-adapter it says:

/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: unresolved symbol _mmx_memcpy
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o:
Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.

/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: insmod /lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o failed
/lib/modules/2.4.20/kernel/arch/i386/mki-adapter/mki-adapter.o: insmod mki-adapter failed

Hint: You are trying to load a module without a GPL compatible license
and it has unresolved symbols. Contact the module supplier for
assistance, only they can help you.

any idea?
 
Old 04-22-2003, 10:21 AM   #6
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 355

Original Poster
Rep: Reputation: 30
Yeah, that is kind of silly isn't it. You'd think that the
Win4Lin people would be a little more circumspect in
describing just what is needed to make things work
correctly. I had to contact them to solve this problem
myself and I apologize for not including the solution
in my former post.

Put this in one of your startup scripts (I used rc.local):

/etc/rc.d/init.d/Win4Lin start

The Win4Lin people seem to focus on providing good
install methods for the major distributions (RH, Debian,
Suse etc.). Seems like Slackware is not considered all
that big anymore, however it was the first from what I
understand. Takes a little more work to install & run
properly.

You might want to get a username/password for support
on the Win4Lin web site and peruse their support sections
including FAQ's.

Best of luck!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alsa-modules kernel 2.6.8-2-k7 Where? Bodkin Debian 4 09-04-2005 09:31 AM
alsa & microfone modules pauloref Linux - Newbie 5 10-01-2004 03:02 PM
Various New Kernel Issues(modules loading, ALSA) DvChWi Slackware 3 07-09-2004 08:03 PM
kernel failing loading unnessary modules && issues upgrading to kde 3.2.2 promark Slackware 2 06-09-2004 05:03 PM
ALSA installation. Can't load modules into the kernel actteoh Linux - Hardware 7 05-07-2004 11:32 PM


All times are GMT -5. The time now is 06:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration