10 More Discussions You Might Find Interesting
1. What is on Your Mind?
Hello,
Long-time Unix hacker here - I've worked on four variants of the kernel prior to the introduction of Linux. In my spare time, I've written Linux (Ubuntu) device drivers, kernel modules, cross-compiled, and built the kernel.
I'd like to do Linux internals/device drivers as a day job,... (1 Reply)
Discussion started by: OriginalVersion
1 Replies
2. Hardware
Hi,
I would like to ask related to video graphics driver specifically the AMD (radeon HD 7000 series) or had someone with the same experience or problem that im currently experiencing and willing to share some info. I understand that the kernel is self contain it will not affect the installed... (3 Replies)
Discussion started by: jao_madn
3 Replies
3. 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
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. Linux
Hi,
Does anybody have a good pointer on Linux kernel internals for ARM architecture? I can locate plenty for x86 but since ARM is RISC I think there would be subtle changes. So if somebody has a knowledge of good document on Linux Kernel internals for ARM or even a comparative study of kernel on... (0 Replies)
Discussion started by: Rakesh Ranjan
0 Replies
6. 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
7. UNIX for Dummies Questions & Answers
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? (4 Replies)
Discussion started by: zhouq3132
4 Replies
8. 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
9. 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
10. UNIX for Dummies Questions & Answers
I have set-up FreeBSD on an HP Vectra Intel Based PC, now when I go to /stand/sysinstall and "do a post installation configuration" and try to set-up the XFree86 server under Video card the model of my card does not exist. My video card model is SiS 6205 but FreeBSD supports or listed only 5205. I... (5 Replies)
Discussion started by: charlie499
5 Replies
FREEBSD-VERSION(1) BSD General Commands Manual FREEBSD-VERSION(1)
NAME
freebsd-version -- print the version and patch level of the installed system
SYNOPSIS
freebsd-version [-ku]
DESCRIPTION
The freebsd-version utility makes a best effort to determine the version and patch level of the installed kernel and / or userland.
The following options are available:
-k Print the version and patch level of the installed kernel. Unlike uname(1), if a new kernel has been installed but the system
has not yet rebooted, freebsd-version will print the version and patch level of the new kernel.
-u Print the version and patch level of the installed userland. These are hardcoded into freebsd-version during the build.
If both -k and -u are specified, freebsd-version will print the kernel version first, then the userland version, on separate lines. If nei-
ther is specified, it will print the userland version only.
IMPLEMENTATION NOTES
The freebsd-version utility should provide the correct answer in the vast majority of cases, including on systems kept up-to-date using
freebsd-update(8), which does not update the kernel version unless the kernel itself was affected by the latest patch.
To determine the name (and hence the location) of a custom kernel, the freebsd-version utility will attempt to parse
/boot/defaults/loader.conf and /boot/loader.conf, looking for definitions of the kernel and bootfile variables, both with a default value of
``kernel''. It may however fail to locate the correct kernel if either or both of these variables are defined in a non-standard location,
such as in /boot/loader.rc.
ENVIRONMENT
ROOT Path to the root of the filesystem in which to look for loader.conf and the kernel.
EXAMPLES
To determine the version of the currently running userland:
/bin/freebsd-version -u
To inspect a system being repaired using a live CD:
mount -rt ufs /dev/ada0p2 /mnt
env ROOT=/mnt /mnt/bin/freebsd-version -ku
SEE ALSO
uname(1), loader.conf(5), freebsd-version(8)
HISTORY
The freebsd-version command appeared in FreeBSD 10.0.
AUTHORS
The freebsd-version utility and this manual page were written by Dag-Erling Smorgrav <des@FreeBSD.org>.
BSD
October 5, 2013 BSD