des@ on my gcc4 cleanup patchset
Apparantly des@ has pointed out a serious problem with my patchset, say, the inconsistency of underlying API is the root of evil(tm), and should be corrected.
Let’s go go go!
共691篇文章。
Apparantly des@ has pointed out a serious problem with my patchset, say, the inconsistency of underlying API is the root of evil(tm), 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:
It seems that ts->ts_lockobj 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:
peter 2005-04-18 21:36:17 UTC FreeBSD src repository
Modified files: (Branch: RELENG_5_4)
sys/i386/i386 genassym.c vm86bios.s
sys/i386/include pcb.h
Log:
MFC: stop i386_vm86() from either panicing or trashing random pages.
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.
方法A: 使用代理。
在/etc/make.conf中设置:
FETCH_ENV= “HTTP_PROXY=IP[:端口]”
如果需要,在FETCH_ENV值后面加入空格,
HTTP_PROXY_AUTH=basic:*:user:password