07-06-2008
You can find the source code in /usr/src/sys directory. If there isn't such a directory on your system you can install it with sysinstall.
Run sysinstall as root, choose Configure, then Distributions, then src, then base and sys.
Regards
Last edited by Franklin52; 07-06-2008 at 09:40 AM..
9 More Discussions You Might Find Interesting
1. BSD
Does anyone know how to enter the Kernel Configuration program in FreeBSD before installation to resolve conflicts of hardware?:confused: (3 Replies)
Discussion started by: Enoch Chan
3 Replies
2. UNIX for Advanced & Expert Users
I got the freebsd kernel source from the first install CD(in directory:\7.0-RELEASE\src\),isn't right? if so,how can i read it? Is there any tools? (1 Reply)
Discussion started by: zhouq3132
1 Replies
3. BSD
All,
I am a bit of a BSD newbie and haven't really played with it for years, but I have had a recent situation whereby someone attempted to load a custom kernel module and ended up breaking my BSD server.
I managed to fix it by doing the following:
Booting into loader mode:
unload
set... (3 Replies)
Discussion started by: drbabbers
3 Replies
4. BSD
FreeBSD Kernel Internals, Dr. Marshall Kirk McKusick
nwbqBdghh6E
The first hour of Marshall Kirk McKusick's course on FreeBSD kernel internals based on his book, The Design and Implementation of the FreeBSD Operating System. (0 Replies)
Discussion started by: Neo
0 Replies
5. UNIX Benchmarks
Just for fun:
CPU/Speed: 2x AMD Opteron Model 2384 (2.7GHz/512KB) quad core processor
Ram: 4 x2GB ECC DDR2-667 single rank memory
in RAID 0 mode (strip 128KB, Read Caching enabled, Write Caching disabled) with 2 HDD, CPUTYPE=opteron, CFLAGS= -O2 -fno-strict-aliasing -pipe, CXXFLAGS+=... (0 Replies)
Discussion started by: Success_Tree
0 Replies
6. Solaris
Hi gurus
Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value
Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
I recently downloaded the Linux kernel source code, added them all to a project in MS VC++ and plan to read through it so that I can improve the way I code, read/understand a large code database and hopefully contribute something to the development of the Linux OS.
I have taken a... (3 Replies)
Discussion started by: clavian
3 Replies
8. UNIX for Dummies Questions & Answers
During installation of one of driver i needed to
Remove any earlier version drivers using
make clean -r command.
Where i m getting following error.
# make clean -r
Kernel source is not installed
make: *** Error 1
My kernel version
# uname -r
2.6.18-128.2.1.4.9.el5xen
Where... (4 Replies)
Discussion started by: pinga123
4 Replies
9. UNIX for Dummies Questions & Answers
Hello,
i'm having a problem here with FreeBSD 9.2 . I've created a directory and downloaded the latest ntp-4.2.8p1-beta2 from ntp.org. Untar then into the directory and then
./configure all went OK. Then i had to modify some parameters in the config.h created with ./configure . Then
make... (2 Replies)
Discussion started by: Board27
2 Replies
LEARN ABOUT FREEBSD
bhyveload
BHYVELOAD(8) BSD System Manager's Manual BHYVELOAD(8)
NAME
bhyveload -- load a FreeBSD guest inside a bhyve virtual machine
SYNOPSIS
bhyveload [-c cons-dev] [-d disk-path] [-e name=value] [-h host-path] [-m mem-size] vmname
DESCRIPTION
bhyveload is used to load a FreeBSD guest inside a bhyve(4) virtual machine.
bhyveload is based on loader(8) and will present an interface identical to the FreeBSD loader on the user's terminal.
The virtual machine is identified as vmname and will be created if it does not already exist.
OPTIONS
The following options are available:
-c cons-dev
cons-dev is a tty(4) device to use for bhyveload terminal I/O.
The text string "stdio" is also accepted and selects the use of unbuffered standard I/O. This is the default value.
-d disk-path
The disk-path is the pathname of the guest's boot disk image.
-e name=value
Set the FreeBSD loader environment variable name to value.
The option may be used more than once to set more than one environment variable.
-h host-path
The host-path is the directory at the top of the guest's boot filesystem.
-m mem-size [K|k|M|m|G|g|T|t]
mem-size is the amount of memory allocated to the guest.
The mem-size argument may be suffixed with one of K, M, G or T (either upper or lower case) to indicate a multiple of Kilobytes,
Megabytes, Gigabytes or Terabytes respectively.
The default value of mem-size is 256M.
EXAMPLES
To create a virtual machine named freebsd-vm that boots off the ISO image /freebsd/release.iso and has 1GB memory allocated to it:
bhyveload -m 1G -d /freebsd/release.iso freebsd-vm
To create a virtual machine named test-vm with 256MB of memory allocated, the guest root filesystem under the host directory
/user/images/test and terminal I/O sent to the nmdm(4) device /dev/nmdm1B
bhyveload -m 256MB -h /usr/images/test -c /dev/nmdm1B test-vm
SEE ALSO
bhyve(4), nmdm(4), vmm(4), bhyve(8), loader(8)
HISTORY
bhyveload first appeared in FreeBSD 10.0, and was developed at NetApp Inc.
AUTHORS
bhyveload was developed by Neel Natu <neel@FreeBSD.org> at NetApp Inc with a lot of help from Doug Rabson <dfr@FreeBSD.org>.
BUGS
bhyveload can only load FreeBSD as a guest.
BSD
January 7, 2012 BSD