The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > BSD
.
google unix.com



BSD BSD, sometimes called Berkeley Unix, is a Unix operating system developed by the Computer Systems Research Group of the UC Berkeley.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to convert a partition usin 64 bits kernel to 32 bits kernel? GEIER AIX 2 08-18-2008 03:20 AM
max number of slabs per kernel module (kernel 2.6.17, suse) Brendan Kennedy SuSE 4 01-23-2008 09:40 AM
kernel-kernel call communication aureliano High Level Programming 5 06-05-2007 05:48 PM
Kernel panic - not syncing: cannot execute a PAE-enabled kernel on PAE-less CPU dave043 Linux 2 05-10-2007 01:57 AM
2.4.9 Linux Kernel & PCMCIA Wireless Problems Neo UNIX for Advanced & Expert Users 1 08-19-2001 03:18 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-18-2005
icecoldslimburn icecoldslimburn is offline
Registered User
  
 

Join Date: Apr 2005
Posts: 5
Kernel Problems

Hey guys, I have installed Freebsd 5.3 Release, and I can't compile my custom kernel. I even tried compile the Generic kernel to see if I had some error in my custom kernel, and that didn't compile either. The Freebsd FAQ pages states one solution would be to "re-fetch the source tree". How is that done? Thanks in advanced for you help.
  #2 (permalink)  
Old 04-19-2005
Sergiu-IT's Avatar
Sergiu-IT Sergiu-IT is offline
Registered User
  
 

Join Date: Mar 2005
Location: Transilvania
Posts: 133
Wink

Hi !
What exactly did you tryed ? It never happend to me to fail compiling the kernel... how did you tryed to compile it ?
I usualy compile it like this:

1. cd /usr/src/sys/i386/conf/
2. cp GENERIC newKernel
3. vi newKernel (and edit to fit my options)
4. config newKernel
5. cd ../compile/newKernel/
6. make depend
7. make
8. make install clean

Try this steps. It's the most easyest way to compile the kernel. If it's not working, post here the errors you get and we'll figure it out ;-)
Good luck !
Bye !
  #3 (permalink)  
Old 04-19-2005
icecoldslimburn icecoldslimburn is offline
Registered User
  
 

Join Date: Apr 2005
Posts: 5
Thanks Sergui-IT. I tried those steps and it failed on step 7 in your previous list, "make". The error was "End of file not found". Can you tell me how to re-fetch the source tree, and what exactly does that mean? Thanks alot.
  #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: 133
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!
  #5 (permalink)  
Old 04-20-2005
icecoldslimburn icecoldslimburn is offline
Registered User
  
 

Join Date: Apr 2005
Posts: 5
Thanks alot Sergui-IT. I re-installed from the installation CD and everything seems to be working now. Thanks again.
  #6 (permalink)  
Old 05-19-2005
Zenter Zenter is offline
Registered User
  
 

Join Date: May 2005
Location: GBG Sweden
Posts: 1
Hey, I'm also having a problem with my custom kernel.
After the #cd ../compile/mykernel (some say newkernel) the make depend commando fails. It tells me that it's missing a header file, I think it was called miibus or something. And the installation aborts. Any ideas?

I'm also using the FreeBSD 5.3 release, I tried to reinstall all the packages already.
Closed Thread

Bookmarks

« Java | BSD Links »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:47 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0