* Unknown symbol _exit when compiling VMware vmmon.o module
@ 2004-02-07 17:40 Felipe Alfaro Solana
2004-02-07 17:48 ` Valdis.Kletnieks
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Felipe Alfaro Solana @ 2004-02-07 17:40 UTC (permalink / raw)
To: Linux Kernel Mailinglist
Hi!
After installing VMware Workstation 4.5.0-7174 and running
vmware-config.pl, I get the following error when trying to insert
vmmon.ko into the kernel:
vmmon: Unknown symbol _exit
What can I use instead of _exit(code) inside a module?
Thanks!
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Unknown symbol _exit when compiling VMware vmmon.o module
2004-02-07 17:40 Unknown symbol _exit when compiling VMware vmmon.o module Felipe Alfaro Solana
@ 2004-02-07 17:48 ` Valdis.Kletnieks
2004-02-07 18:12 ` Felipe Alfaro Solana
2004-02-07 18:01 ` Andreas Steinmetz
2004-02-07 18:11 ` Måns Rullgård
2 siblings, 1 reply; 7+ messages in thread
From: Valdis.Kletnieks @ 2004-02-07 17:48 UTC (permalink / raw)
To: Felipe Alfaro Solana; +Cc: Linux Kernel Mailinglist
[-- Attachment #1: Type: text/plain, Size: 447 bytes --]
On Sat, 07 Feb 2004 18:40:16 +0100, Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> said:
> Hi!
>
> After installing VMware Workstation 4.5.0-7174 and running
> vmware-config.pl, I get the following error when trying to insert
> vmmon.ko into the kernel:
>
> vmmon: Unknown symbol _exit
>
> What can I use instead of _exit(code) inside a module?
panic()? (Where would the kernel _exit() *TO*?)
I think you misbuilt the kernel module...
[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Unknown symbol _exit when compiling VMware vmmon.o module
2004-02-07 17:40 Unknown symbol _exit when compiling VMware vmmon.o module Felipe Alfaro Solana
2004-02-07 17:48 ` Valdis.Kletnieks
@ 2004-02-07 18:01 ` Andreas Steinmetz
2004-02-07 18:11 ` Måns Rullgård
2 siblings, 0 replies; 7+ messages in thread
From: Andreas Steinmetz @ 2004-02-07 18:01 UTC (permalink / raw)
To: Felipe Alfaro Solana; +Cc: Linux Kernel Mailinglist
Felipe Alfaro Solana wrote:
> Hi!
>
> After installing VMware Workstation 4.5.0-7174 and running
> vmware-config.pl, I get the following error when trying to insert
> vmmon.ko into the kernel:
>
> vmmon: Unknown symbol _exit
>
> What can I use instead of _exit(code) inside a module?
> Thanks!
>
If I do interpret this right please read:
http://linux.bkbits.net:8080/linux-2.5/cset@1.1500.1.161?nav=index.html|ChangeSet@-7d
--
Andreas Steinmetz
D.O.M. Datenverarbeitung GmbH
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Unknown symbol _exit when compiling VMware vmmon.o module
2004-02-07 17:40 Unknown symbol _exit when compiling VMware vmmon.o module Felipe Alfaro Solana
2004-02-07 17:48 ` Valdis.Kletnieks
2004-02-07 18:01 ` Andreas Steinmetz
@ 2004-02-07 18:11 ` Måns Rullgård
2004-02-07 18:53 ` Felipe Alfaro Solana
2 siblings, 1 reply; 7+ messages in thread
From: Måns Rullgård @ 2004-02-07 18:11 UTC (permalink / raw)
To: linux-kernel
Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> writes:
> Hi!
>
> After installing VMware Workstation 4.5.0-7174 and running
> vmware-config.pl, I get the following error when trying to insert
> vmmon.ko into the kernel:
>
> vmmon: Unknown symbol _exit
I've seen it too. I just removed that call from the source and
rebuilt. It's not supposed to ever get there anyway. I still don't
understand what it was doing there in the first place. Oddly, it
compiled with kernel 2.6.2, but not with some later updates.
--
Måns Rullgård
mru@kth.se
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Unknown symbol _exit when compiling VMware vmmon.o module
2004-02-07 17:48 ` Valdis.Kletnieks
@ 2004-02-07 18:12 ` Felipe Alfaro Solana
0 siblings, 0 replies; 7+ messages in thread
From: Felipe Alfaro Solana @ 2004-02-07 18:12 UTC (permalink / raw)
To: Valdis.Kletnieks; +Cc: Linux Kernel Mailinglist
On Sat, 2004-02-07 at 18:48, Valdis.Kletnieks@vt.edu wrote:
> On Sat, 07 Feb 2004 18:40:16 +0100, Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> said:
> > Hi!
> >
> > After installing VMware Workstation 4.5.0-7174 and running
> > vmware-config.pl, I get the following error when trying to insert
> > vmmon.ko into the kernel:
> >
> > vmmon: Unknown symbol _exit
> >
> > What can I use instead of _exit(code) inside a module?
>
> panic()? (Where would the kernel _exit() *TO*?)
>
> I think you misbuilt the kernel module...
No, I don't think so... look at this code:
#ifdef MODULE_X86_64
exit(1);
#else
_exit(1);
#endif
for (;;); /* To suppress warning. */
This is a snippet from driver.c.
Bah! I've simply removed the #ifdef...#endif code and it seems to work,
but I was really curious why VMware was using _exit() for i386 and
exit() for x86_64.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Unknown symbol _exit when compiling VMware vmmon.o module
2004-02-07 18:11 ` Måns Rullgård
@ 2004-02-07 18:53 ` Felipe Alfaro Solana
2004-02-08 6:33 ` Eugene Teo
0 siblings, 1 reply; 7+ messages in thread
From: Felipe Alfaro Solana @ 2004-02-07 18:53 UTC (permalink / raw)
To: Måns Rullgård; +Cc: linux-kernel
On Sat, 2004-02-07 at 19:11, Måns Rullgård wrote:
> Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> writes:
>
> > Hi!
> >
> > After installing VMware Workstation 4.5.0-7174 and running
> > vmware-config.pl, I get the following error when trying to insert
> > vmmon.ko into the kernel:
> >
> > vmmon: Unknown symbol _exit
>
> I've seen it too. I just removed that call from the source and
> rebuilt. It's not supposed to ever get there anyway. I still don't
> understand what it was doing there in the first place. Oddly, it
> compiled with kernel 2.6.2, but not with some later updates.
Yeah! I experienced the same with -mm kernels... It seems the changes
that motivated that have been integrated in mainline now. For now, I've
removed any reference to _exit from the module sources.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Unknown symbol _exit when compiling VMware vmmon.o module
2004-02-07 18:53 ` Felipe Alfaro Solana
@ 2004-02-08 6:33 ` Eugene Teo
0 siblings, 0 replies; 7+ messages in thread
From: Eugene Teo @ 2004-02-08 6:33 UTC (permalink / raw)
To: Felipe Alfaro Solana; +Cc: M?ns Rullg?rd, linux-kernel
<quote sender="Felipe Alfaro Solana">
> On Sat, 2004-02-07 at 19:11, M??ns Rullg??rd wrote:
> > Felipe Alfaro Solana <felipe_alfaro@linuxmail.org> writes:
> > > After installing VMware Workstation 4.5.0-7174 and running
> > > vmware-config.pl, I get the following error when trying to insert
> > > vmmon.ko into the kernel:
> > >
> > > vmmon: Unknown symbol _exit
> >
> > I've seen it too. I just removed that call from the source and
> > rebuilt. It's not supposed to ever get there anyway. I still don't
> > understand what it was doing there in the first place. Oddly, it
> > compiled with kernel 2.6.2, but not with some later updates.
>
> Yeah! I experienced the same with -mm kernels... It seems the changes
> that motivated that have been integrated in mainline now. For now, I've
> removed any reference to _exit from the module sources.
reverse this patch:
http://www.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.1/2.6.1-mm5/broken-out/gcc-35-exit-fix.patch
for more info, see http://www.anomalistic.org/#vmware
Eugene
--
Eugene TEO - <eugeneteo%eugeneteo!net> <http://www.anomalistic.org/>
1024D/14A0DDE5 print D851 4574 E357 469C D308 A01E 7321 A38A 14A0 DDE5
main(i) { putchar(182623909 >> (i-1) * 5&31|!!(i<7)<<6) && main(++i); }
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-02-08 6:33 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-07 17:40 Unknown symbol _exit when compiling VMware vmmon.o module Felipe Alfaro Solana
2004-02-07 17:48 ` Valdis.Kletnieks
2004-02-07 18:12 ` Felipe Alfaro Solana
2004-02-07 18:01 ` Andreas Steinmetz
2004-02-07 18:11 ` Måns Rullgård
2004-02-07 18:53 ` Felipe Alfaro Solana
2004-02-08 6:33 ` Eugene Teo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.