[RLUG] Ubuntu Breezy problems

Brian Morris bmorris at cyberarmor.net
Thu Nov 3 14:05:24 PST 2005


Dennis,

It looks like you updated from the stock i386 kernel to the i586
version, but never updated your kernel headers to
linux-headers-2.6.12-9-586, so vmware is trying to compile against the
wrong headers.

Brian

On Thu, 2005-11-03 at 13:58 -0800, dbagley at 775.net wrote:
> Brian when I executed line 3 
> I got the following and it aborted.
> 
> Dennis
> 
> /tmp/vmware-config1/vmnet-only/bridge.c:586: warning: passing arg 3 of `sk_alloc' makes pointer from integer without a cast
> /tmp/vmware-config1/vmnet-only/bridge.c:586: warning: passing arg 4 of `sk_alloc' makes integer from pointer without a cast
>   CC [M]  /tmp/vmware-config1/vmnet-only/procfs.o
>   LD [M]  /tmp/vmware-config1/vmnet-only/vmnet.o
>   Building modules, stage 2.
>   MODPOST
> Warning: could not open /tmp/vmware-config1/vmnet-only/includeCheck.h: Invalid argument
> *** Warning: "skb_copy_datagram" [/tmp/vmware-config1/vmnet-only/vmnet.ko] undefined!
>   CC      /tmp/vmware-config1/vmnet-only/vmnet.mod.o
>   LD [M]  /tmp/vmware-config1/vmnet-only/vmnet.ko
> make[1]: Leaving directory `/usr/src/linux-headers-2.6.12-9-386'
> cp -f vmnet.ko ./../vmnet.o
> make: Leaving directory `/tmp/vmware-config1/vmnet-only'
> Unable to make a vmnet module that can be loaded in the running kernel:
> insmod: error inserting '/tmp/vmware-config1/vmnet.o': -1 Unknown symbol in module
> There is probably a slight difference in the kernel configuration between the
> set of C header files you specified and your running kernel.  You may want to
> rebuild a kernel based on that directory, or specify another directory.
> 
> For more information on how to troubleshoot module-related problems, please
> visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
> "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
> 
> Execution aborted.
> 
> 
> ----- Original Message -----
> From: Brian Morris [mailto:bmorris at cyberarmor.net]
> Sent: 11/3/2005 1:44:27 PM
> To: dbagley at 775.net
> Cc: rlug at rlug.org
> Subject: Re: [RLUG] Ubuntu Breezy problems
> 
> Dennis,
> 
> You do not need to recompile your kernel for vmware.  Just do this:
> 
> sudo rm -f /usr/bin/gcc
> sudo ln -s /usr/bin/gcc-3.4 /usr/bin/gcc
> sudo /usr/bin/vmware-config.pl 
> sudo rm -f /usr/bin/gcc
> sudo ln -s /usr/bin/gcc-4.0 /usr/bin/gcc
> 
> 
> Brian
> 
> On Thu, 2005-11-03 at 12:48 -0800, dbagley at 775.net wrote:
> > ARGHHHHHHHHH!!!!!!!!
> > 
> > I am cursing this new version of Ubuntu - I do not think it was really ready for prime time.   It started by breaking dependancies like crazy (on the version I was running) until it totally screwed my system and I could not even boot into a terminal session to try to fix things.
> > 
> > I had current backups on (most) of my critical stuff so I said the heck with it and installed Breezy from scratch via cd, wiping the drive.
> > 
> > Install ran just fine, all the appropriate things are there.   
> > 
> > Then I attempted to install Skype, which won't, install that is.  A fix is promised.
> > 
> > I can live without that, but I need VMWare.  When I tried to install that - all sorts of things were not on my system.  Attempted to fix that, then it said the version of gcc used to build my kernel doesn't match any version of gcc on my system.  It advises me to recompile the kernel.
> > 
> > 
> > OK folks.  I have actually managed to use linux for 5 years without ever having to re-compile the kernel.  I have looked on the web and the info I've found makes a LOT of assumptions - 
> > 
> > Does anyone have a usable tutorial on re-compiling the kernel (safely - as in saving the old one in case the new blows too.)?
> > 
> > Or should I just junk the whole thing and re-install the old version of Ubuntu?
> > 
> > Dennis
> > 
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > RLUG mailing list
> > RLUG at rlug.org
> > http://lists.rlug.org/mailman/listinfo/rlug
> > 
> 
> 




More information about the RLUG mailing list