Re: linux module problem..

2003-07-05 Thread Stefan Moro
On 5 Jul 2003, Khairil Yusof wrote:

> On Sat, 2003-07-05 at 07:08, Stefan Moro wrote:
> > I'm running FreeBSD 4.8-stable. When i try to load the Linux module to the
> > kernel with kldload it fails.

Adding 

options SYSVSHM
options SYSVMSG
options SYSVSEM

to kernel config solved the problem.


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: linux module problem..

2003-07-05 Thread Stefan Moro
On 5 Jul 2003, Khairil Yusof wrote:

> On Sat, 2003-07-05 at 07:08, Stefan Moro wrote:
> > I'm running FreeBSD 4.8-stable. When i try to load the Linux module to the
> > kernel with kldload it fails.
> 
> You should try using the abi script for this,
> 
> #/etc/rc.d/abi start linux_enable=YES
> 
> for more options
> 
> #/etc/rc.d/abi rcvar
> 
> To start it automatically put it in your /etc/rc.conf 
> linux_enable="YES"

Thanks for your help but it seems that the /etc/rc.d directory does not
exist. I can't install the linux_base from the ports because kldload
fails, if that helps. 

Putting linux_enable="YES" in my rc.conf doesn't start it either.

Thanks,

//Stefan


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: linux module problem..

2003-07-05 Thread Khairil Yusof
On Sat, 2003-07-05 at 07:08, Stefan Moro wrote:
> I'm running FreeBSD 4.8-stable. When i try to load the Linux module to the
> kernel with kldload it fails.

You should try using the abi script for this,

#/etc/rc.d/abi start linux_enable=YES

for more options

#/etc/rc.d/abi rcvar

To start it automatically put it in your /etc/rc.conf 
linux_enable="YES"


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: linux module problem..

2003-07-05 Thread Stefan Moro
On Sat, 5 Jul 2003, Danny Pansters wrote:

> On Saturday 05 July 2003 01:08, Stefan Moro wrote:
> > I'm running FreeBSD 4.8-stable. When i try to load the Linux module
> > to the kernel with kldload it fails.
> >
> > kldload output is as follows:
> > kldload: can't load linux: Exec format error
> >
> > I recently upgraded from 4.7 using make world.
> 
> Hmm, are you sure you used the correct procedure... I mean, couldn't you 
> be running with an old linux kld? You did buildworld, build/install 
> kernel, install world, merge, reboot, right?

Yes.. Exactly like that. I have also recompiled the kernel again without
success. 

I couldn't get the Linux Compability to work even if i compile it in the
kernel.

regards Stefan


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"