Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
VMware 5 doesn't like new kernel 2.6.12 [CLOSED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Karsten from Berlin
Guru
Guru


Joined: 28 Feb 2004
Posts: 446
Location: Berlin/Germany

PostPosted: Fri Jul 08, 2005 11:02 am    Post subject: VMware 5 doesn't like new kernel 2.6.12 [CLOSED] Reply with quote

Hi folks!

When trying to configure my VMware 5 to use the new 2.6.12-Kernel, I get the following:

Code:

/dev/vmmon[9612]: Module vmmon: registered with major=10 minor=165
/dev/vmmon[9612]: Module vmmon: initialized
/dev/vmmon[9628]: Module vmmon: unloaded
/dev/vmmon[9794]: Module vmmon: registered with major=10 minor=165
/dev/vmmon[9794]: Module vmmon: initialized
/dev/vmnet: open called by PID 9831 (vmnet-bridge)
/dev/vmnet: hub 0 does not exist, allocating memory.
/dev/vmnet: port on hub 0 successfully opened
bridge-eth0: enabling the bridge
Unable to handle kernel NULL pointer dereference at virtual address 00000069
 printing eip:
c02f781b
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: vmnet vmmon ext3 jbd nvidia
CPU:    0
EIP:    0060:[<c02f781b>]    Tainted: P      VLI
EFLAGS: 00010282   (2.6.12-gentoo-r4)
EIP is at sk_alloc+0x1b/0xe0
eax: 00000020   ebx: f162b200   ecx: 0000000b   edx: 00000020
esi: 00000001   edi: 00000000   ebp: f162b20c   esp: f1a51df4
ds: 007b   es: 007b   ss: 0068
Process vmnet-bridge (pid: 9831, threadinfo=f1a50000 task=f1a18590)
Stack: f7c15800 f7c15934 f162b200 f162b20c 00000000 f162b20c f91f79d5 00000010
       00000020 00000001 00000000 f162b200 f7c15805 f162b211 f91f7b92 f162b200
       f162b20c f66b62a0 000000ab f7c15800 f162b200 00000000 f162b200 c02fe822
Call Trace:
 [<f91f79d5>] VNetBridgeUp+0xc5/0x190 [vmnet]
 [<f91f7b92>] VNetBridgeNotify+0x82/0x170 [vmnet]
 [<c02fe822>] register_netdevice_notifier+0x72/0x80
 [<f91f736a>] VNetBridge_Create+0x8a/0x290 [vmnet]
 [<c01bd4f6>] copy_from_user+0x46/0x80
 [<f91f4647>] VNetFileOpIoctl+0x1b7/0x520 [vmnet]
 [<c01122ec>] do_page_fault+0x19c/0x5d5
 [<c014fafb>] dentry_open+0xdb/0x1d0
 [<c014fa18>] filp_open+0x68/0x70
 [<c0162538>] do_ioctl+0x58/0x80
 [<c01626b5>] vfs_ioctl+0x65/0x1e0
 [<c0162875>] sys_ioctl+0x45/0x70
 [<c01029bf>] sysenter_past_esp+0x54/0x75
Code: 0a 0f 94 c0 e9 0a fe ff ff 8d b4 26 00 00 00 00 83 ec 18 8b 54 24 20 89 74 24 0c 8b 74 24 24 89 5c 24 08 89 7c 24 10 89 6c 24 14 <8b> 46 68 85 c0 0f 84 9a 00 00 00 89 54 24 04 89 04 24 e8 ee 43


This happens when the kernel tries to load a module, that is used to bridge the VMware virtual ethernet with my real Linux ethernet. Any idea how to fix this?

[EDIT]
VMware Workstation 5.0.0 build-13124
Kernel 2.6.12-gentoo-r4 (Gentoo Sources)
[/EDIT]
_________________
Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians.


Last edited by Karsten from Berlin on Sat Jul 09, 2005 10:44 am; edited 1 time in total
Back to top
View user's profile Send private message
ter_roshak
Apprentice
Apprentice


Joined: 31 Jan 2004
Posts: 171
Location: Everett, WA

PostPosted: Fri Jul 08, 2005 12:25 pm    Post subject: Re: VMware 5 doesn't like new kernel 2.6.12 Reply with quote

Karsten from Berlin wrote:
Hi folks!

When trying to configure my VMware 5 to use the new 2.6.12-Kernel, I get the following:

Code:

/dev/vmmon[9612]: Module vmmon: registered with major=10 minor=165
/dev/vmmon[9612]: Module vmmon: initialized
/dev/vmmon[9628]: Module vmmon: unloaded
/dev/vmmon[9794]: Module vmmon: registered with major=10 minor=165
/dev/vmmon[9794]: Module vmmon: initialized
/dev/vmnet: open called by PID 9831 (vmnet-bridge)
/dev/vmnet: hub 0 does not exist, allocating memory.
/dev/vmnet: port on hub 0 successfully opened

...



This happens when the kernel tries to load a module, that is used to bridge the VMware virtual ethernet with my real Linux ethernet. Any idea how to fix this?

[EDIT]
VMware Workstation 5.0.0 build-13124
Kernel 2.6.12-gentoo-r4 (Gentoo Sources)
[/EDIT]


Did you re-run vmware-config.pl after you upgraded your kernel?
_________________
Josh Miller -- RHCE, VCP
Ditree Consulting
http://ditree.com/
Registered Linux User #318200
Back to top
View user's profile Send private message
Karsten from Berlin
Guru
Guru


Joined: 28 Feb 2004
Posts: 446
Location: Berlin/Germany

PostPosted: Fri Jul 08, 2005 12:50 pm    Post subject: Reply with quote

Sure, the error happens while doing that. At the end of the configuration it loads the modules - that's when I get the error.
_________________
Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians.
Back to top
View user's profile Send private message
jschellhaass
Guru
Guru


Joined: 20 Jan 2004
Posts: 341

PostPosted: Fri Jul 08, 2005 4:25 pm    Post subject: Reply with quote

How did you install vmware? You can just emerge vmware-workstation which applies the anyany patch. Or you can get the anyany patch and install manually.

jeff
Back to top
View user's profile Send private message
c4
Guru
Guru


Joined: 21 Feb 2004
Posts: 312
Location: Sweden

PostPosted: Fri Jul 08, 2005 7:18 pm    Post subject: Reply with quote

That's strange. Vmware-workstation worked just fine here when I changed to a 2.6.12 kernel. All required was to re-run vmware-config.pl as usual.

Code:
app-emulation/vmware-workstation
Latest version installed: 5.0.0.13124-r1

sys-kernel/ck-sources
Latest version installed: 2.6.12_p3


Did you make sure that vmware had in fact stopped and unloaded the modules, before building any new modules with the config script? Also, did you check that /usr/src/linux pointed to your new kernel sources?
_________________
AMD64 Gentoo Hardened server
AMD64 Xubuntu Desktop
X86 Dreamlinux Vaio laptop
Back to top
View user's profile Send private message
Karsten from Berlin
Guru
Guru


Joined: 28 Feb 2004
Posts: 446
Location: Berlin/Germany

PostPosted: Sat Jul 09, 2005 10:44 am    Post subject: Reply with quote

Ah, I see that VMware 5 is in portage now... I will give it a try. My actual installation is from the original CD. So maybe the Gentoo guys changed it a bit. Nobody knows.


For sure the symlink is pointing to the right sources. And the script unloads the old and re-loads the new modules itself. And then it bails me out.


But, as said above, I will try the portage one and hope it works with 2.6.12. If not, I'll have to wait till it works and use 2.6.11 instead.


Thanks.

[EDIT]
After installing the portage version of VMware I can confirm that this one works. Currently the VMware 5 is marked as unstable in portage, so you have to add it to your /etc/portage/package.keywords. Till now I got no answer from the guys of the VMware-support, so I cannot give you details why the original CD-installation breaks. But what I saw while installing the portage version was the above mentioned any-any-patch, so I think that's the trick.
[EDIT]
_________________
Heaven: The police are British, the chefs Italian, the mechanics German, the lovers French and it's organized by the Swiss.
Hell: The police are German, the chefs British, the mechanics French, the lovers Swiss and it's organized by the Italians.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum