Re: more on: [kldload] Vmware (1.x) port broken in -current

2000-09-09 Thread Julian Elischer

Julian Elischer wrote:
> 
> Julian Elischer wrote:
> >
> > David Malone wrote:
> > >
> > > On Fri, Sep 08, 2000 at 11:57:46PM -0700, Julian Elischer wrote:
> > >
> > > > sh vmware.sh start
> > > > kldload: can't load /usr/local/lib/vmware/lib/modules/vmmon.ko: Exec
> > > > format error
>
[...]

> > I believe so too, but there is no clue as to what might be failing.
> 
> I just noticed... buried in the logs
> 
> linux_ioctl_register_handler is the symbol not  found.
> 
> I wonder what it's been replaced with?

The plot thickens..
the linker is unable to find the symbol if linux is a module.

it would appear that it is unable to link cross module symbols..


> 
> 
>
-- 
  __--_|\  Julian Elischer
 /   \ [EMAIL PROTECTED]
(   OZ) World tour 2000
---> X_.---._/  presently in:  Perth
v


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: more on: Vmware (1.x) port broken in -current

2000-09-09 Thread Julian Elischer

Julian Elischer wrote:
> 
> David Malone wrote:
> >
> > On Fri, Sep 08, 2000 at 11:57:46PM -0700, Julian Elischer wrote:
> >
> > > sh vmware.sh start
> > > kldload: can't load /usr/local/lib/vmware/lib/modules/vmmon.ko: Exec
> > > format error
> > > kldload: can't load /usr/local/lib/vmware/lib/modules/vmnet.ko: Exec
> > > format error
> > >
> > > I have NO idea wha that means.. (how can a module I just compile
> > > 30 seconds before be in the wrong format?)
> >
> > I thought this was the generic error that loading a module gave if
> > anything unusual went wrong (like missing symbols and so on).
> 
> I believe so too, but there is no clue as to what might be failing.


I just noticed... buried in the logs

linux_ioctl_register_handler is the symbol not  found.

I wonder what it's been replaced with?


> 
> >
> > David.
> 
> --
>   __--_|\  Julian Elischer
>  /   \ [EMAIL PROTECTED]
> (   OZ) World tour 2000
> ---> X_.---._/  presently in:  Perth
> v
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-current" in the body of the message

-- 
  __--_|\  Julian Elischer
 /   \ [EMAIL PROTECTED]
(   OZ) World tour 2000
---> X_.---._/  presently in:  Perth
v


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: more on: Vmware (1.x) port broken in -current

2000-09-09 Thread Julian Elischer

David Malone wrote:
> 
> On Fri, Sep 08, 2000 at 11:57:46PM -0700, Julian Elischer wrote:
> 
> > sh vmware.sh start
> > kldload: can't load /usr/local/lib/vmware/lib/modules/vmmon.ko: Exec
> > format error
> > kldload: can't load /usr/local/lib/vmware/lib/modules/vmnet.ko: Exec
> > format error
> >
> > I have NO idea wha that means.. (how can a module I just compile
> > 30 seconds before be in the wrong format?)
> 
> I thought this was the generic error that loading a module gave if
> anything unusual went wrong (like missing symbols and so on).

I believe so too, but there is no clue as to what might be failing.

> 
> David.

-- 
  __--_|\  Julian Elischer
 /   \ [EMAIL PROTECTED]
(   OZ) World tour 2000
---> X_.---._/  presently in:  Perth
v


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: more on: Vmware (1.x) port broken in -current

2000-09-09 Thread David Malone

On Fri, Sep 08, 2000 at 11:57:46PM -0700, Julian Elischer wrote:

> sh vmware.sh start
> kldload: can't load /usr/local/lib/vmware/lib/modules/vmmon.ko: Exec
> format error
> kldload: can't load /usr/local/lib/vmware/lib/modules/vmnet.ko: Exec
> format error
> 
> I have NO idea wha that means.. (how can a module I just compile
> 30 seconds before be in the wrong format?)

I thought this was the generic error that loading a module gave if
anything unusual went wrong (like missing symbols and so on).

David.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: more on: Vmware (1.x) port broken in -current

2000-09-08 Thread Julian Elischer

Julian Elischer wrote:
> 
> Just a warning, that the current vmware 1.x port doesn;t compile
> under -current.
> I'm looking at it at the moment (as I only have a licence for 1.x)
> 
 
responding to myself:
the linux include files that have moved to /sys/compat/linux
need to be changed in a couple of files:
./work/vmware-distrib/vmnet-only/freebsd/vmnet_linux.c
./work/vmware-distrib/vmmon-only/freebsd/linux_emu.c
the following change needs to be made to
./work/vmware-distrib/vmnet-only/freebsd/vmnet.c:

#if (__FreeBSD__ == 5)
ether_ifattach(ifp, 1);
#else /* ORIGINAL CODE */
if_attach(ifp);
ether_ifattach(ifp);
bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
#endif

After that, it all compiles but it doesn't run due to:

sh vmware.sh start
kldload: can't load /usr/local/lib/vmware/lib/modules/vmmon.ko: Exec
format error
kldload: can't load /usr/local/lib/vmware/lib/modules/vmnet.ko: Exec
format error

I have NO idea wha that means.. (how can a module I just compile
30 seconds before be in the wrong format?)


-- 
  __--_|\  Julian Elischer
 /   \ [EMAIL PROTECTED]
(   OZ) World tour 2000
---> X_.---._/  presently in:  Perth
v


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Vmware (1.x) port broken in -current

2000-09-08 Thread Julian Elischer

Just a warning, that the current vmware 1.x port doesn;t compile 
under -current.
I'm looking at it at the moment (as I only have a licence for 1.x)

julian

-- 
  __--_|\  Julian Elischer
 /   \ [EMAIL PROTECTED]
(   OZ) World tour 2000
---> X_.---._/  presently in:  Perth
v


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message