Kernel 2.6.22.6 hangs in synchronize_rcu

From: llandre
Date: Fri Jan 18 2008 - 10:22:19 EST


I'm porting kernel 2.6.22.6 on custom embedded system (ARM1136).
During network subsystem initialization, kernel hangs in function synchronize_rcu invoked by synchronize_net. In particular
wait_for_completion(&rcu.completion);
never returns and wakeme_after_rcu is never hit.
Anybody can give me any advice about how to investigate this issue?

void synchronize_rcu(void)
{
struct rcu_synchronize rcu;

init_completion(&rcu.completion);
/* Will wake me after RCU finished */
call_rcu(&rcu.head, wakeme_after_rcu);

/* Wait for it */
wait_for_completion(&rcu.completion);
}


Thanks in advance,
llandre

DAVE Electronics System House - R&D Department
web: http://www.dave-tech.it
email: r&d2@xxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/