Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Aug 2004 11:03:40 -0400
From:      =?UTF-8?Q?Josh_=C5=8Cckert?= <torstenvl@gmail.com>
To:        DerAlSem <deralsem@inbox.ru>
Cc:        freebsd-newbies@freebsd.org
Subject:   Re: Enabling Linux Mode
Message-ID:  <126eac4804080708032ed2e560@mail.gmail.com>
In-Reply-To: <41147A78.8090801@inbox.ru>
References:  <41147A78.8090801@inbox.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 07 Aug 2004 10:45:12 +0400, DerAlSem <deralsem@inbox.ru> wrote:
> cd /usr/ports/emulators/linux_base
> make install distclean
> 
> blah-blah-blah...
> 
> gmake[2]: Leaving directory `/usr/ports/archivers/rpm/work/rpm-3.0.6'
> gmake[1]: Leaving directory `/usr/ports/archivers/rpm/work/rpm-3.0.6'
> install  -o root -g wheel -m 444
> /usr/ports/archivers/rpm/work/rpm-3.0.6/doc/gendiff.1 /usr/local/man/man1
> install  -o root -g wheel -m 444
> /usr/ports/archivers/rpm/work/rpm-3.0.6/doc/rpm.8 /usr/local/man/man8
> install  -o root -g wheel -m 444
> /usr/ports/archivers/rpm/work/rpm-3.0.6/doc/rpm2cpio.8 /usr/local/man/man8
> ===>   Compressing manual pages for rpm-3.0.6_8
> ===>   Running ldconfig
> /sbin/ldconfig -m /usr/local/lib
> ===>   Registering installation for rpm-3.0.6_8
> ===>   Returning to build of linux_base-7.1_5
> ===>  Configuring for linux_base-7.1_5
> ===>  Installing for linux_base-7.1_5
> Linux mode is not enabled.
> Loading linux kernel module now...
> kldload: can't load linux: No such file or directory
> The linux kernel module could not be loaded.
> Please enable linux mode manually and retry.
> *** Error code 1
> 
> What's going on? ;-(
> _______________________________________________
> freebsd-newbies@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies
> To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org"
> 

It seems like you have a custom kernel with MODULES_OVERRIDE set in
your configuration file? Otherwise, the linux module should be on your
system where kldload is looking for it. Try editing your configuration
file and adding linux to MODULES_OVERRIDE. Then recompile your kernel.
Specifics can be found in the FreeBSD Handbook available at:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

Good luck


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?126eac4804080708032ed2e560>