2.4.3 + 010405 hanging
Hello!
When I try to do a complex task like kernel compiling and I'm running kernel 2.4.3 with ia64 patch 010405, the system is hanging frequently.
Any known issues about this?
Thanks!
Signature · 3 lines
Gustavo Niemeyer [ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Gustavo" = Gustavo Niemeyer <[email protected]> writes:
Gustavo> Hello! When I try to do a complex task like kernel compiling Gustavo> and I'm running kernel 2.4.3 with ia64 patch 010405, the Gustavo> system is hanging frequently.
Gustavo> Any known issues about this?
There is a known problem with the rw semaphores that can cause something like this. David included a basic fix in an ldt patch he posted a couple of days ago.
I think this snippet is the relevant part.
Jes
arch/ia64/kernel/semaphore.c +2 -4
@@ -321,13 +321,11 @@if (count =0 ) {/* wake a writer */ -if (xchg (&sem->write_bias_granted,1 )) -BUG (); +xchg (&sem->write_bias_granted,1 ); wq = &sem->write_bias_wait; }else {/* wake reader(s) */ -if (xchg (&sem->read_bias_granted,1 )) -BUG (); +xchg (&sem->read_bias_granted,1 ); wq = &sem->wait; }wake_up (wq);/* wake up everyone on the wait queue */
Quoted 11 lines
Gustavo> Hello! When I try to do a complex task like kernel compiling Gustavo> and I'm running kernel 2.4.3 with ia64 patch 010405, the Gustavo> system is hanging frequently.
Gustavo> Any known issues about this?
There is a known problem with the rw semaphores that can cause something like this. David included a basic fix in an ldt patch he posted a couple of days ago.
I think this snippet is the relevant part.
Thank you Jes!!
I've been working for a few days with the patched kernel and it seems to be working just fine!!
Signature · 3 lines
Gustavo Niemeyer [ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]