LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   stock kernel 2.4.31 compiled with wrong gcc? (https://www.linuxquestions.org/questions/slackware-14/stock-kernel-2-4-31-compiled-with-wrong-gcc-366527/)

uselpa 09-24-2005 08:22 AM

stock kernel 2.4.31 compiled with wrong gcc?
 
This is what I get when configuring VMWare for the stock kernel 2.4.31:
===========================================================
Your kernel was built with "gcc" version "3.3.5", while you are trying to use
"/usr/bin/gcc" version "3.3.6". This configuration is not recommended and VMware
Workstation may crash if you'll continue. Please try to use exactly same
compiler as one used for building your kernel.
===========================================================
Is this a problem or can I ignore this warning (in general, not just for VMWare)?

jong357 09-24-2005 01:36 PM

Yea, I just built myself a slak-pak of vmware last night and noticed the same thing. The modules build and insert just fine using 3.3.6....

It's possible there is something in /usr/doc/vmware mentioning it.. ;) Not sure tho..

uselpa 09-24-2005 03:16 PM

For me, VMWare did not work with the stock 2.4.31 kernel (but it did with the earlier 2.4.29 in Slack 10.1).
Neither did it work with the stock 2.6.13 kernel, it complained about some file missing in the kernel headers - probably a different problem.
I recompiled my kernel 2.6.11.12 with the new gcc and now everything works.

jong357 09-24-2005 06:27 PM

I had problems too with 2.6.13

http://ftp.cvut.cz/vmware/vmware-any...pdate94.tar.gz

That fixed it. Who knows, it may solve your 2.4.31 problem as well.

uselpa 09-25-2005 04:28 AM

I have always been reluctant to apply this patch, but I've given it a try now.
With a 2.6.13.2 kernel from kernel.org, using Pat's config file with very few changes, there's progress: the VMWare modules start correctly and VMWare appears to be working (just did a quick check). However, when shutting down the system, there's some kind of crash ("unable to handle paging request"). Not good, the machine hangs.
The good news is that after the patch VMWare is still working with my 2.6.11.12 kernel, without crashes though. I'll stick to this kernel at this point.

jong357 09-25-2005 07:41 PM

I find this slightly odd but I'm having the same problem (2.6.13) only when I boot up. Right before it's supposed to throw you to the prompt I get the "unable to handle kernel paging request" and then the kernel goes into an Oops. I think you jinxed me... ;)

I tracked it down to my initrd tho. Has nothing to do with vmware. I thought it might because it happens right where rc.local executes rc.vmware but it's not. On multiple reboots, the problem goes away when I comment my initrd line out in grub. As soon as I uncomment it, it will Oops on me again....

Don't know if that helps or if you even care, but there it is... This new development/stable kernel branch idea has really been starting to get on my nerves the past half year or so... Bad, bad idea.... Most software devs aren't able to keep up with the changes from what I've seen...

uselpa 09-26-2005 01:35 AM

When I compiled by 2.6.13.2 I compiled the ReiserFS modules static so I don't even have an initrd there. So I don't get an Oops when booting up, but the same message appears when shutting down (without an Oops, though).

No worries with the 2.6.11.12 (also without initrd).

I agree with you regarding the development process and of course I care. A stable branch is necessary. But then, we should have followed Pat's advice and stick to kernel 2.4* for now ;-)


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