The URL above is in Russian, but the error message is the same one that I hit. After compiling my kernel with the CONFIG_COMPAT_NET_DEV_OPS set to "y", vmware-modules was able to build. We should tell the user to enable CONFIG_COMPAT_NET_DEV_OPS before proceeding with compile. Reproducible: Always Steps to Reproduce: 1.emerge vmware-modules 2. 3. Actual Results: You get the following error message: CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.o /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.c: In function 'VNetNetIfSetup': /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.c:225: error: 'struct net_device' has no member named 'init' /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.c:226: error: 'struct net_device' has no member named 'open' /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.c:227: error: 'struct net_device' has no member named 'hard_start_xmit' /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.c:228: error: 'struct net_device' has no member named 'stop' /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.c:229: error: 'struct net_device' has no member named 'get_stats' /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.c:230: error: 'struct net_device' has no member named 'set_mac_address' /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.c:231: error: 'struct net_device' has no member named 'set_multicast_list' make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.o] Error 1 make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r1'
I am trying the latesst vanilla 2.6.31-rc3 where is the CONFIG_COMPAT_NET_DEV_OPS ?
by the way upstream the vmware team has patched the bug here is the link of their thread http://communities.vmware.com/thread/221724 I attach the upstream patch and script I have tried to modify the ebuild still without success... please help (In reply to comment #0) > The URL above is in Russian, but the error message is the same one that I hit. > After compiling my kernel with the CONFIG_COMPAT_NET_DEV_OPS set to "y", > vmware-modules was able to build. > > We should tell the user to enable CONFIG_COMPAT_NET_DEV_OPS before proceeding > with compile. > > Reproducible: Always > > Steps to Reproduce: > 1.emerge vmware-modules > 2. > 3. > > Actual Results: > You get the following error message: > > CC [M] > /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.o > /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.c: > In function 'VNetNetIfSetup': > /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.c:225: > error: 'struct net_device' has no member named 'init' > /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.c:226: > error: 'struct net_device' has no member named 'open' > /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.c:227: > error: 'struct net_device' has no member named 'hard_start_xmit' > /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.c:228: > error: 'struct net_device' has no member named 'stop' > /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.c:229: > error: 'struct net_device' has no member named 'get_stats' > /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.c:230: > error: 'struct net_device' has no member named 'set_mac_address' > /var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.c:231: > error: 'struct net_device' has no member named 'set_multicast_list' > make[3]: *** > [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only/netif.o] > Error 1 > make[2]: *** > [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.24/work/vmnet-only] > Error 2 > make[1]: *** [sub-make] Error 2 > make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r1' >
Created attachment 198587 [details] upstream patch script
Created attachment 198589 [details, diff] upstream patch
renato, the config option is in Device Drivers -> Network device support -> Enable older network device compatability
as of 2.6.31-rc3 --- Network device support │ │ │ │ <*> Intermediate Functional Block support │ │ │ │ < > Dummy net driver support │ │ │ │ <M> Bonding driver support │ │ │ │ <*> MAC-VLAN support (EXPERIMENTAL) │ │ │ │ <*> EQL (serial line load balancing) support │ │ │ │ <*> Universal TUN/TAP device driver support │ │ │ │ <*> Virtual ethernet pair device │ │ │ │ <M> General Instruments Surfboard 1000 │ │ │ │ <*> ARCnet support ---> │ │ │ │ -*- PHY Device support and infrastructure ---> │ │ │ │ [*] Ethernet (10 or 100Mbit) ---> │ │ │ │ [*] Ethernet (1000 Mbit) ---> │ │ │ │ [*] Ethernet (10000 Mbit) ---> │ │ │ │ <*> Token Ring driver support ---> │ │ │ │ Wireless LAN ---> │ │ │ │ WiMAX Wireless Broadband devices ---> │ │ │ │ USB Network Adapters ---> │ │ │ │ [*] PCMCIA network device support ---> │ │ │ │ [*] Wan interfaces support ---> │ │ │ │ [*] ATM drivers ---> │ │ │ │ <*> IEEE 802.15.4 drivers ---> │ │ │ │ <*> FDDI driver support │ │ │ │ <M> Digital DEFTA/DEFEA/DEFPA adapter support │ │ │ │ [*] Use MMIO instead of PIO │ │ │ │ <M> SysKonnect FDDI PCI support │ │ │ │ [*] HIPPI driver support (EXPERIMENTAL) │ │ │ │ <M> Essential RoadRunner HIPPI PCI adapter support (EXPERIMENTAL) │ │ │ │ [ ] Use large TX/RX rings (EXPERIMENTAL) │ │ │ │ <M> PLIP (parallel port) support │ │ │ │ <M> PPP (point-to-point protocol) support [*] PPP multilink support (EXPERIMENTAL) │ │ │ │ [*] PPP filtering │ │ │ │ <M> PPP support for async serial ports │ │ │ │ <M> PPP support for sync tty ports │ │ │ │ <M> PPP Deflate compression │ │ │ │ <M> PPP BSD-Compress compression │ │ │ │ <M> PPP MPPE compression (encryption) (EXPERIMENTAL) │ │ │ │ <M> PPP over Ethernet (EXPERIMENTAL) │ │ │ │ <M> PPP over ATM │ │ │ │ <M> PPP over L2TP (EXPERIMENTAL) │ │ │ │ <M> SLIP (serial line) support │ │ │ │ [*] CSLIP compressed headers │ │ │ │ [*] Keepalive and linefill │ │ │ │ [*] Six bit SLIP encapsulation │ │ │ │ [*] Fibre Channel driver support │ │ │ │ <M> Network console logging support (EXPERIMENTAL) │ │ │ │ [*] Dynamic reconfiguration of logging targets (EXPERIMENTAL) │ │ │ │ [*] Netpoll traffic trapping (In reply to comment #5) > renato, the config option is in Device Drivers -> Network device support -> > Enable older network device compatability >
it seems to me that the option will be removed in the stable tree and it has been already wiped out from rc... so i suggest, since installing the modules patched with the upstream patch worked for me, to find a way to apply the patch with the official emerge mechanism. (In reply to comment #5) > renato, the config option is in Device Drivers -> Network device support -> > Enable older network device compatability >
I would not call it "upstream" patch. More like community patch. *** This bug has been marked as a duplicate of bug 274173 ***
without it = no vmware with kernel 2.6.31 with it = all is working (In reply to comment #8) > I would not call it "upstream" patch. More like community patch. > > *** This bug has been marked as a duplicate of bug 274173 *** >
Well the stock patch would not work for me (a LOT of failed hunks) so I reduced it to the two hunks that made the package build. This patch works for me: http://pastebin.com/fb1383b4