Debug

共 105 篇文章。

Bug with sched_lend_prio?

• Kernel

I have enabled PREEMPTION, FULL_PREEMPTION with ULE. Now I get strange result here:

  • propagate_priority gets a TD_ON_LOCK(td)
  • It tries to panic(), unfortunatelly, ts->ts_lockobj here is NULL
  • A fatal trap 12 happens.

It seems that ts->ts_lockobj was touched by sched_lend_prio, for unknown reasons. Maybe there is some lock releases?

参与评论

老了一刚 :'(

• Kernel

调试能力明显下降了,本来早就应该想到的,结果整整花了一个钟头才找到故障点,老了,明明看到堆栈毁了的居然还去相信调试器:(

参与评论

About integrating my WARNS=6 cleanups to FreeBSD tree

• Development

I started the work almost four months ago, but I have lost all my work last month. Therefore, I’m trying to integrate as much as possible whenever possible. The current workflow is:

  • Bump WARNS
  • Fix errors
  • Testdrive on almost all T1 platform I can touch
  • Commit
阅读全文… ( 本文约 105 字,阅读大致需要 1 分钟 )

Strange panic as Christmas eve's gift?

• Kernel

Sigh, I got this:

This doesn’t seem to be possible to my best of knowledge. What happend?

It’s 5.3-RELEASE-p2, and the panic string was: panic: pmap_enter: invalid page directory pdir=0xc1e063, va=0xffc00000

参与评论

Finally got GNOME running at full speed

• Kernel

I have been suffered by the speed of GNOME because it usually gets “jitter”.

It seems that marcus@ have the same problem. I have tried HZ=100 but it seems that nothing was changed. Then I have disabled ACPI and it seems the issue was worked around.

What happend in ACPI, so? Still under investigate.

参与评论

Matt's DragonFly VM fix

• Kernel

Matt has committed a critical VM fix and kindly reminded that FreeBSD has also the issue. I have ported the patch here and requested a review by Dr. Alan Cox. I’d like to commit it at once it is approved.

参与评论

Cleaning up FreeBSD userland to make them WARNS=6 clean

• Development

I have started to clean up certain code of FreeBSD userland I interest or use at company, to make them WARNS=6 clean. A patchset separated by categories would be posted on my home directory at freefall right after I have a preliminary test.

Ruslan has suggested that I should have used ``make universe’’ to test my patches and I’ll try this on some 1750 boxes - my laptop is too slow and its hard disk is too small to finish a full make universe build :-)

参与评论