9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] new venti qemu / hang after sync... continued...
@ 2007-09-18 14:39 Kernel Panic
  0 siblings, 0 replies; only message in thread
From: Kernel Panic @ 2007-09-18 14:39 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-18 14:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-18 14:39 [9fans] new venti qemu / hang after sync... continued Kernel Panic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).