I've had vmware3 working without problems for quite awhile. Today, I
upgraded to the latest CURRENT and when I started vmware I got an error
message that the vmmon module wasn't loaded.
I then tried to kldload it--the module is still showing in
/usr/X11R6/lib/vmware/modules/vmmon_up.ko
I got the message that there was no such file or directory.
One googled solution, although a bit old, suggested reinstalling rtc
then reinstalling vmware3. I tried this solution however, the build
died in vmmon-only. It shows an error at line 1344 of
work/vmware-distrib/vmmon-only/freebsd/driver.c
/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd/driver.c:1344:
error: `avail_end' undeclared (first use in this function)
/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd/driver.c:1344:
error: (Each undeclared identifier is reported only once
/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd/driver.c:1344:
error: for each function it appears in.)
*** Error code 1
(Then it gives the usual stop in /usr/ports/blah/blah).
Those are the only errors I see before the stop error.
So, I'm at a bit of a loss, I'm not sure what the next step would be to
troubleshoot the problem.
Thank you for any help. I'm not sure what other information would be
useful, but can reproduce this consistantly.
--
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
Giles: Since Angel lost his soul, he's regained his sense of
whimsy.
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-curre...@freebsd.org"
-Kip
Scott Robbins wrote:
> >I've had vmware3 working without problems for quite awhile. Today, I
> >upgraded to the latest CURRENT and when I started vmware I got an error
> >message that the vmmon module wasn't loaded.
> >/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd/driver.c:1344:
> >error: `avail_end' undeclared (first use in this function)
> >
> >/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd/driver.c:1344:
> >error: (Each undeclared identifier is reported only once
> >
> >/usr/ports/emulators/vmware3/work/vmware-distrib/vmmon-only/freebsd/driver.c:1344:
> >error: for each function it appears in.)
> >*** Error code 1
> "avail_end" has been gone for a while. If you're up to it, you can update
> the code to calculate it by iterating through the ranges in phys_avail array
> and find the highest address. HTH.
>
> -Kip
That's well beyond my abilities and knowledge. I'll try googling
for information on how to do it, or ask a few programming friends.
Thank you for the hint though.
--
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6
Jenny: You're here again? You kids really dig the library don't
you?
Buffy: We're literary.
Xander: To read makes our speaking English good.
Pass this on to your programming friends:
static vm_paddr_t
get_avail_end(void)
{
vm_paddr_t avail_end;
int i;
avail_end = phys_avail[1];
for (i = 0; phys_avail[i + 1]; i += 2) {
if (phys_avail[i + 1] > avail_end)
avail_end = phys_avail[i + 1];
}
return avail_end;
}
-Kip