*Nix and Win32 Kernel

New mpt(4) driver ported back to RELENG_5_4

| *nix and Win32 Kernel

You can obtain and test it here:

http://people.freebsd.org/~delphij/MFC-RELENG_5_4/patch-mpt

参与评论

通过Console Server连接控制台

| *nix and Win32 Kernel

Howard最近研究了一下Console Server,很好玩的说。Console Server是一种用于连接大量串口设备的设备,并且可以控制电源。这样调试kernel就方便多了。以前都是用直接连串口的方法。

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

RELENG_6 branched

| *nix and Win32 Kernel

So now we have 6.0-BETA, 7.0-CURRENT, and both are frozen for bugfixes. I would struggle with the SMP ULE issue.

参与评论

抢占、中断风暴与中断线程

| *nix and Win32 Kernel

最近一直在抽空琢磨一些相关的问题。响应时间?抢占?等等。

参与评论

em(4) MT5 patch

| *nix and Win32 Kernel

Available here.

AT YOUR OWN RISK!!

参与评论

Working on ULE

| *nix and Win32 Kernel

My company has offered me some test equipment (namely, a HP 360 with ILO, which is *great* for debugging at home!), and I has started to trip over the ULE code and find for bugs.

参与评论

keys of (j),(z), etc. in FreeBSD scheduler related stuff's comments

| *nix and Win32 Kernel

You can obtain latest list from sys/sys/proc.h:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27

 * Below is a key of locks used to protect each member of struct proc.  The
 * lock is indicated by a reference to a specific character in parens in the
 * associated comment.
 *      * - not yet protected
 *      a - only touched by curproc or parent during fork/wait
 *      b - created at fork, never changes
 *              (exception aiods switch vmspaces, but they are also
 *              marked 'P_SYSTEM' so hopefully it will be left alone)
 *      c - locked by proc mtx
 *      d - locked by allproc_lock lock
 *      e - locked by proctree_lock lock
 *      f - session mtx
 *      g - process group mtx       
 *      h - callout_lock mtx
 *      i - by curproc or the master session mtx
 *      j - locked by sched_lock mtx
 *      k - only accessed by curthread
 *      l - the attaching proc or attaching proc parent
 *      m - Giant
 *      n - not locked, lazy
 *      o - ktrace lock
 *      p - select lock (sellock)
 *      q - td_contested lock
 *      r - p_peers lock
 *      x - created at fork, only changes during single threading in exec
 *      z - zombie threads/ksegroup lock
参与评论

ULE: kseq_nice_rem is called too much!

| *nix and Win32 Kernel

It seems that I have hit a bug, where kseq_nice_rem is being called too much. Have read the code and added some KASSERT/MPASS’es.

参与评论

an(4) fixed

| *nix and Win32 Kernel

Today quakelee@ has reported that an(4) is broken with a recent -CURRENT. I have identified that that was related to our recent ifnet change and has fixed it under scottl@’s approval.

参与评论

Final FreeBSD 6.0-STABLE Code Freeze call!

| *nix and Win32 Kernel

We are only 1 day to the great 6.0-STABLE code freeze, which will result in 7.0-CURRENT, 6.0-STABLE, and finally, 6.0-RELEASE!

Deploy FreeBSD on your spare boxes, g/f’s laptops, etc., to help us toward an excellent release!

参与评论