Re: Kernel NFS lockd freezes notebook on shutdown (Linux 2.6.22-rc1 + CFS v12)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Oleg Nesterov
Date: Friday, May 18, 2007 - 1:28 pm

On 05/18, Zilvinas Valinskas wrote:

Yes, but this preemption should be very unlikely, but it happens every time
for you, strange. lockd in turn spins with preemption enabled, but somehow
rpciod/1 can't make progress. system_state == SYSTEM_HALT, but this shouldn't
affect preempt_schedule_irq(). So I think there is something else.


So it hangs waiting for cwq->thread == NULL, as expected.

OK. I still can't see how this code could be wrong, but it is bad anyway and
should be changed. The 2nd patch was done more than a month ago, but was
delayed for some stupid reasons. I'll send it today.

Still, it is not clear to me what happens, and you have other crashes with
nfs stop/start

	http://marc.info/?l=linux-kernel&m=117939027602591
	http://marc.info/?l=linux-kernel&m=117939257630947

which probaly need some attention.

Thanks!

Oleg.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Kernel NFS lockd freezes notebook on shutdown (Linux 2.6.2 ..., Zilvinas Valinskas, (Wed May 16, 11:00 am)
Re: Kernel NFS lockd freezes notebook on shutdown (Linux 2 ..., Zilvinas Valinskas, (Wed May 16, 11:17 pm)
Re: Kernel NFS lockd freezes notebook on shutdown (Linux 2 ..., Zilvinas Valinskas, (Thu May 17, 1:21 am)
Re: Kernel NFS lockd freezes notebook on shutdown (Linux 2 ..., Zilvinas Valinskas, (Thu May 17, 2:00 am)
Re: Kernel NFS lockd freezes notebook on shutdown (Linux 2 ..., Zilvinas Valinskas, (Fri May 18, 3:47 am)
Re: Kernel NFS lockd freezes notebook on shutdown (Linux 2 ..., Zilvinas Valinskas, (Fri May 18, 5:17 am)
Re: Kernel NFS lockd freezes notebook on shutdown (Linux 2 ..., Oleg Nesterov, (Fri May 18, 1:28 pm)