The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > BSD
Google UNIX.COM



Thread: Kernel Problems
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 04-19-2005
Sergiu-IT's Avatar
Sergiu-IT Sergiu-IT is offline
Registered User
 

Join Date: Mar 2005
Location: Transilvania
Posts: 125
Hi !
Have you tried to compile a new version of the kernel ? Or the kernel that came with your install CD ? Anyway, the problem seems to be in one of the files... try to reinstall the sources from your install CD. If you are new and you don't want to do something complicate simply try the sysinstall command (as root). It's a very easy-to-use interface for installing packages. The same you used when you installed FreeBSD. You'll have the install menu and select from the packages the kernel sources to install.
Another option, fetching the source tree, it's a little more complicated and... not so good. At least, I don't like it This is how I'm doing this:

1. Create a "supfile" that contains something like this :
Code:
*default host=cvsup.ro.FreeBSD.org
*default base=/usr
*default prefix=/usr/ncvs
*default compress
*default release=cvs tag=.
*default delete use-rel-suffix

src-sys
2. Create the /usr/ncvs directory
3. Go into the directory where your supfle is and try : cvsup -g -L 2 supfile. This will download (fetch) the last kernel source tree to your computer and will put it in /usr/ncvs. After that, you have to do the normal compilation (config newKernel, make depend, make, make install clean) with your new fetched kernel source.
You should also take a look at this links:
http://www.freebsd.org/doc/en_US.ISO...nelconfig.html (for more details on kernel build)
http://www.freebsd.org/doc/en_US.ISO...ook/cvsup.html (for using cvsup)

Well... I hope this helps... sorry for my bad english, it's not my native language
Good luck !
Bye-Bye!
Reply With Quote