*Nix and Win32 Kernel

FreeBSD 4.10-RELEASE released

| *nix and Win32 Kernel

Scott Long has named 4.10-RELEASE yesterday and now the source tree has been tagged. The long awaited release has included the lastest FreeBSD -STABLE improvements, security updates, stablity improvements, and so on.

阅读全文…( 本文约 52 字,阅读大致需要 1 分钟 )

OpenBSD to adopt gdb 6.1

| *nix and Win32 Kernel

It seems (still can’t access to the Internet right now, however, HTTP and cvsup works) that OpenBSD has imported gdb 6.1 into their source tree. I am not sure whether they did some hacks to the source repository (from cvsup result, there is not), but the result is really strange. It seems that the last import was done by using a “cvs add -rCYGNUS” and not “cvs import”…

I hope FreeBSD can import a newer gdb ASAP, as well as gcc 3.4 series.

参与评论

How to debug a live FreeBSD kernel?

| *nix and Win32 Kernel

To quote Matthew Dillon:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
    You can actually run gdb on a live kernel like this:

    gdb -k /dev/mem /path/to/kernel.debug

    You can then use the 'proc' command to switch to a process (give it a
    pid), and do a stack backtrace.  That part only really works if the
    process is blocked on something (i.e. not running).

    But you can also dig around kernel globals and various data structures
    and that can be quite useful on a live system.

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>
参与评论

Kirk McKusick's new book: The Design and Implementation of the FreeBSD Operating System

| *nix and Win32 Kernel

Yes, it is long awaited and Kirk recently announced that his new book (written with George Neville-Neil) about the design and implementation of the FreeBSD 5.2 Operating System has been finished, and will be ready for sale in early August 2004 (ISBN 0-201-70245-2, Addison-Wesley).

阅读全文…( 本文约 96 字,阅读大致需要 1 分钟 )

FreeBSD ported to ARM architecture

| *nix and Win32 Kernel

Olivier Houchard (cognet) has just committed several files to support the ARM architecture. I have already slipped tags for this change.

参与评论

Matthew Dillon's most recent VM work

| *nix and Win32 Kernel

From the commit log:

Close an interrupt race between vm_page_lookup() and (typically) a vm_page_sleep_busy() check by using the correct spl protection. An interrupt can occur inbetween the two operations and unbusy/free the page in question, causing the busy check to fail and for the code to fall through and then operate on a page that may have been freed and possibly even reused. Also note that vm_page_grab() had the same issue between the lookup, busy check, and vm_page_busy() call.

阅读全文…( 本文约 229 字,阅读大致需要 2 分钟 )

Got a FreeBSD 1.1.5.1-RELEASE tarball

| *nix and Win32 Kernel

By Google’ing the web I got a 1.1.5.1-RELEASE tarball. FreeBSD 1.x was based on Net/2 and the USL lawsuit has caused FreeBSD project to re-start from 4.4BSD-Lite2, and 1.1.5.1 was the last 1.x RELEASE permitted to be released.

阅读全文…( 本文约 175 字,阅读大致需要 1 分钟 )

New way on MFC'ing FreeBSD code to delphij fork

| *nix and Win32 Kernel

I have employed the following (ugly) script for MFC’ing, as I do not want to really make big difference between FreeBSD and my fork version:

阅读全文…( 本文约 114 字,阅读大致需要 1 分钟 )

FreeBSD delphij's fork started

| *nix and Win32 Kernel

Today I have finally started my lightweight fork of FreeBSD. The methodlity taken was, use the official mirror (cvsup5.cn)’s cvsup service and derive my own repository with CVSup’s local repository ablity by disabling its delete function, and exploiting FreeBSD’s stock CVS’s local branch numbering feature.

阅读全文…( 本文约 148 字,阅读大致需要 1 分钟 )

New DragonFlyBSD STABLE iso released

| *nix and Win32 Kernel

Shortly after OpenBSD’s 3.5 splash web, Matthew Dillon has released a thrid “known stable” iso for DragonFlyBSD. It can be obtained from ftp://ftp.dragonflybsd.org/iso-images/dfly-20040502.iso.gz.

This snapshot included many new features, yet stable:

阅读全文…( 本文约 693 字,阅读大致需要 4 分钟 )