有感于「否则上Linux专题」
我一直不是一个认为「酒香不怕巷子深」的人,不过这位老兄的话还是多少让人觉得有点不爽。其实挺好的一个事情,非得搞到*BSD和Linux对决不可吗?
共692篇文章。
我一直不是一个认为「酒香不怕巷子深」的人,不过这位老兄的话还是多少让人觉得有点不爽。其实挺好的一个事情,非得搞到*BSD和Linux对决不可吗?
Apparantly des@ has pointed out a serious problem with my patchset,say, the inconsistency of underlying API is the root of evil™, and should be corrected.
Let’s go go go!
So I got this in libmsun’s bsdsrc :-)
I have enabled PREEMPTION, FULL_PREEMPTION with ULE. Now I get strange result here:
propagate_priority gets a TD_ON_LOCK(td)panic(), unfortunatelly, ts->ts_lockobj here is NULLIt seems that ts was touched by sched_lend_prio, for unknown reasons. Maybe there is some lock releases?
Finally I caught the kernel panic caused by some strange bugs found in thread scheduling. Investigating the crashdump.
The following change is considered as a new errata candadite from my view:
|
This can improve stability, however we can not easily prove that it is producable :-) So I have turned that to re@.
To quote him:
So I finally tried DragonFly on one of our test servers (not my desktop :-). It seems that DragonFly still have some issues with the SATA devices. I am trying to fix it, maybe by porting some good FreeBSD ATAng code.
DragonFly has gave us some good examples that how a user-friendly operating system should, and some different way on designing a MP-capable architecture. Thanks, Matt!
Sometimes you may need to build some packages for older/newer versions of FreeBSD. That is simple if you use jail and other mechanisms.
In order to be successful, you need a “Full jail” say ordinary jail, installed with binary that is built from the target version of FreeBSD. For instance, build a 6.0 userland by sync’ing code to -HEAD.
Secondly, you need to replace two files in the jail: uname(1) and sysctl(1). What you have to do is to use sed to replace both FreeBSD version and __FreeBSDVersion (say, kern.osreldate), according to porters’ handbook.
Cameron Grant, the developer of FreeBSD newpcm driver, has untimely died on 20th March, 2005. May him rest in peace.