Kernel

bin/71404

| Kernel

About 9 Years ago, FreeBSD has introduced a functionality in sysinstall(8)’s partition editor, which is to mark a partition “active”.

However, unfortunatelly, the implementation contained a flow from the day 0 it was introduced. Sysinstall(8) depends on user’s sanity not to mark only one partition as active on one disk.

This turned out to a potential damage of disk partition table. With two partitions marked “ACTIVE”, you will get the following message:

“Invalid partition table.”

Then system will halt.

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

delphijfork 20040904

| Kernel

It’s here:

ftp://cnftp.bjut.edu.cn/pub/iso/delphijfork-5.3/

This is mostly equal to 5.3-BETA3.

参与评论

OpenBSD's new logo

| Kernel

Just found from their site…

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

Enter the great FreeBSD 5.3!

| Kernel

Today obrien@ has committed a somewhat determintic code to distinguish FreeBSD RELENG_5 from 5.2-CURRENT to 5.3-BETA:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
obrien      2004-08-23 03:28:01 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/sys              param.h 
    contrib/gcc/config   freebsd-spec.h 
  Log:
  Enter the great FreeBSD 5.3!
  
  Approved by:    re(kensmith)
  
  Revision   Changes    Path
  1.17.2.1   +2 -2      src/contrib/gcc/config/freebsd-spec.h
  1.209.2.1  +1 -1      src/sys/sys/param.h
阅读全文…( 本文约 78 字,阅读大致需要 1 分钟 )

ps(1) patch for FreeBSD 6-CURRENT

| Kernel

I have finished a preliminary patchset based on Pawel’s (kern/54604), which will make ps -e usable under FreeBSD’s recent versions, without having procfs mounted.

My patchset has introduced reduced security IMO (due to my merge and rooted from recent removal of ps_argsopen sysctl, I’m not sure why this change has been taken place) so I will have to review the code more carefully. Maybe I need to introduce more sysctl?

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

FreeBSD 5-STABLE branched

| Kernel

Now we have RELENG_5 branched, and HEAD is now 6.0-CURRENT.

delphijfork will be a mixture of RELENG_5 and HEAD for recent days. I will build a RELENG_5’ifyed version so the code is fresh enough for RELENG_5.

参与评论

delphijfork 20040814 released

| Kernel

I was quite busy recently however it is time to release delphijfork as 5-STABLE is imminent.

As always, it can be obtained from ftp://ftp.freebsdchina.org/pub/china_ports/delphijfork.

In this release, I have added a (untested) ATA workaround for CD-ROMs that is not installed in correct slot.

参与评论

Is this a problem?

| Kernel

While reading the snapshot code in FFS Soft Updates’s FreeBSD implementation, I got a question about the following code:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
		/*
		 * If there is a fragment, clear it here.
		 */
		blkno = 0;
		loc = howmany(xp->i_size, fs->fs_bsize) - 1;
		if (loc < NDADDR) {
			__len = fragroundup(fs, blkoff(fs, xp->i\_size));__
			if (len < fs->fs_bsize) {
				ffs_blkfree(copy_fs, vp, DIP(xp, i_db[loc]),
				    len, xp->i_number);
				blkno = DIP(xp, i_db[loc]);
				DIP_SET(xp, i_db[loc], 0);
			}
		}
阅读全文…( 本文约 141 字,阅读大致需要 1 分钟 )

FreeBSD have TLS now!

| Kernel

TLS(Thread Local Storage) is a vital part of thread support. Now FreeBSD have it, too!

参与评论

Disabled Native Preemption on beastie

| Kernel

I have decided to disable it as a workaround of the recent instablity of beastie, whose console I can’t easily touched. junsu has suggested this workaround and it seems to work :-(

I will install a local copy of delphijfork and figure out why it is stalling.

参与评论