Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280204 - app-emulation/vmware-modules wont build with 2.6.30 kernel
Summary: app-emulation/vmware-modules wont build with 2.6.30 kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo VMWare Bug Squashers [disabled]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-03 19:37 UTC by Michele Schiavo
Modified: 2009-08-30 00:32 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
vmware-modules-1.0.0.23-r1 ebuild (vmware-modules-1.0.0.23-r1.ebuild,861 bytes, text/plain)
2009-08-03 19:37 UTC, Michele Schiavo
Details
patch for 2.6.30 module (1.0.0.23-r1-kernel-2.6.30.patch,661 bytes, patch)
2009-08-03 19:37 UTC, Michele Schiavo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Schiavo 2009-08-03 19:37:06 UTC
app-emulation/vmware-modules-1.0.0.23-r1 (from overlay) wont build with 2.6.30 kernel.

CC [M] /tmp/vmware-root/modules/vmblock-only/linux/block.o
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/control.o
/tmp/vmware-root/modules/vmblock-only/linux/control.c: In function ‘SetupProcDevice’:
/tmp/vmware-root/modules/vmblock-only/linux/control.c:159: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/tmp/vmware-root/modules/vmblock-only/linux/control.c:171: error: ‘struct proc_dir_entry’ has no member named ‘owner’



Reproducible: Always

Steps to Reproduce:
1.try to emerge vmware module


Actual Results:  
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/block.o
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/control.o
/tmp/vmware-root/modules/vmblock-only/linux/control.c: In function ‘SetupProcDevice’:
/tmp/vmware-root/modules/vmblock-only/linux/control.c:159: error: ‘struct proc_dir_entry’ has no member named ‘owner’
/tmp/vmware-root/modules/vmblock-only/linux/control.c:171: error: ‘struct proc_dir_entry’ has no member named ‘owner’

Expected Results:  
vmware-module build.
Comment 1 Michele Schiavo 2009-08-03 19:37:40 UTC
Created attachment 200043 [details]
vmware-modules-1.0.0.23-r1 ebuild
Comment 2 Michele Schiavo 2009-08-03 19:37:57 UTC
Created attachment 200045 [details, diff]
patch for 2.6.30 module
Comment 3 Michele Schiavo 2009-08-03 19:39:39 UTC
uname -a
Linux uzzmaster 2.6.30-gentoo-r4 #1 SMP PREEMPT Mon Aug 3 13:33:02 CEST 2009 x86_64 Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz GenuineIntel GNU/Linux
uzzmaster ~ # lsmod
Module                  Size  Used by
vmnet                  36508  5 
vmmon                  64176  8 
vmci                   45128  1 
nvidia               8112344  26 
gspca_zc3xx            49616  0 
Comment 4 Mike Auty (RETIRED) gentoo-dev 2009-08-03 19:53:09 UTC
Thanks Michele,

Could you please try the modules in the main tree?  I know that vadimk's been doing a lot of work on them recently, and they may be fixed there but not in the vmware overlay...
Comment 5 Sander Dalemans 2009-08-05 12:19:28 UTC
I've got exactly the same problem with =app-emulation/vmware-modules-1.0.0.23-r1 without the vmware overlay.
Comment 6 Vadim Kuznetsov (RETIRED) gentoo-dev 2009-08-05 13:13:11 UTC
Please try 1.0.0.24 from main tree.
Comment 7 Paul Healy 2009-08-06 12:52:19 UTC
(In reply to comment #6)
> Please try 1.0.0.24 from main tree.

That suggestion works very well here with 2.6.30-gentoo-r4 - many thanks.

=app-emulation/vmware-modules-1.0.0.24 ~x86
=app-emulation/vmware-player-2.5.2.156735-r1 ~x86


Comment 8 3PO 2009-08-16 08:55:32 UTC
vmware-server-1.0.x dont compile with vmware-modules-1.0.0.24
Here you can find a Patch for kernel 2.6.30 -r4:

http://communities.vmware.com/thread/208963

my someone can implant this in vmware-modules-1.0.0.15-r2
Comment 9 Vadim Kuznetsov (RETIRED) gentoo-dev 2009-08-30 00:32:53 UTC
fixed in 1.0.0.24 and 1.0.0.25