From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <46EFE328.6060108@gmx.de> Date: Tue, 18 Sep 2007 16:39:36 +0200 From: Kernel Panic User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [9fans] new venti qemu / hang after sync... continued... Topicbox-Message-UUID: c0850c5a-ead2-11e9-9d60-3106f5b1d025 hello just added some debug prints into venti and found out some more details about the "sync..." hang problem. ok, the main thread is spinning and kicking in icache.c / icachealloc() because all blocks (20) in the cache seem dirty and need to be flushed, but that never happens. the icache.ndirty count goes never down and the icachewritecoord thread doesnt flush anything... i dont know why yet. icache.as.arena is 0 in icachewrite.c / icachewritecoord(). for what is that check? who is setting that field? if i comment that test out i see "donewrite err=0" messages but the icache.ndirty doesnt decrease. it should be decremented in icacheclean() called from icachwrite.c / icachewritesect()... but icachewritesect() doesnt then enter the while(iedirty) loop... "icachewritesect enter 0 4294967295 0" and "icachewritesect done" i hope that maybe helps a little bit :-( cinap_lenrek