Re: init scripts problems ?

"Peter T. Breuer" <[email protected]>
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
"Also sprach denis bonnenfant:"
> >>> But I'm not even sure the code sticks in OPEN, rather than at the first
> >>> read. The WCHAN value might indicate.
> > 
> > 
> > OK, i can reproduce it, even with only one nbd device open.
> > 
> > in this case, WCHAN is page_sync for one enbd-client, and select for the 
> > others.
> 
> oups, it's sync_page !

Yes, well, there you are - the client daemons are in perfectly normal
select-on-socket activity, except for one of them which is in
"sync_page" somewhere way down in the kernel.

I don't call that function (at least directly) but it sounds like the
result of a sync from either the kernel or from user space, and maybe
the device isn't communicating with the server yet, so it can't flush
...

Really, one needs a kernel trace at this point when it's stuck. Anyone
out there know how to induce one?

Maybe you can tell me how you get it wedged and I can try looking at it
with one of my debug consle kernels (shudder - the kernel debugger is
NOT a pretty thing).

Peter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.