Debug

共 105 篇文章。

Recently committed changes is causing locking problem on FreeBSD

• Kernel

The SMP case seems to have something wrong with it. My MARCH=p4 and -O optimized kernel often crashes when shutting down on beastieng.frontfree.net. Apparantly this is lock related (we can see the panic strings there not to be outputing atomically, and they just mixed with each other).

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

令人呕吐的Java DK

• Development

一直以为自己能够调试所有的程序,因为我一直以能够不依赖IDE调试,用一组assert,printf就能改掉别人花几个礼拜也没办法track down的东西,然而今天JDK让我折服了,用Java写的程序,如果没有IDE,简直就不具备可调试性!

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

sysctl spining fixed

• Kernel

Don Lewis (truckman@) has committed a fix for the sysctl spinning problem I mentioned here some days before. Currently, beastie.frontfree.net is running a workaround which made it possible to skip the deadlock, however, will not guarantee the correct result.

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

Windows memory dump options

• Kernel

From Microsoft’s KB:

You can configure Microsoft Windows 2000, Microsoft Windows XP, and Microsoft Windows Server 2003 to write debugging information to three different file formats (also known as memory dump files) when your computer stops unexpectedly as a result of a Stop error (also known as a “blue screen”, system crash, or bug check). You can also configure Windows not to write debugging information to a memory dump file. Windows can generate any one of the following three memory dump file types:

  1. Complete memory dump
  2. Kernel memory dump
  3. Small memory dump (64 KB)
阅读全文… ( 本文约 203 字,阅读大致需要 1 分钟 )

FreeBSD 5-CURRENT bug?

• Kernel

Several servers I manage running FreeBSD 5-CURRENT as of 20040228 appears to bearing wierd deadlocks, which could be triggered by ps(1), top(1) and w(1).

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

FreeBSD/DragonFlyBSD VM bug

• Kernel

I have sent a headsup to bugs list of DragonflyBSD, which mentions the recent bugfixes on FreeBSD-CURRENT committed by Dr. Alan Cox.

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

lock problem triggered by umount

• Kernel

I have just tried to umount /usr on my test box in order to get all outstanding writes to be sync’ed to disk (as Kirk McKusick said, the umount system call will do true sync of a file system).

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