* [Linux-ia64] 2.4.3 + 010405 hanging
@ 2001-04-19 17:06 Gustavo Niemeyer
2001-04-19 19:23 ` Jes Sorensen
2001-04-23 18:38 ` Gustavo Niemeyer
0 siblings, 2 replies; 3+ messages in thread
From: Gustavo Niemeyer @ 2001-04-19 17:06 UTC (permalink / raw)
To: linux-ia64
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!
--
Gustavo Niemeyer
[ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Linux-ia64] 2.4.3 + 010405 hanging
2001-04-19 17:06 [Linux-ia64] 2.4.3 + 010405 hanging Gustavo Niemeyer
@ 2001-04-19 19:23 ` Jes Sorensen
2001-04-23 18:38 ` Gustavo Niemeyer
1 sibling, 0 replies; 3+ messages in thread
From: Jes Sorensen @ 2001-04-19 19:23 UTC (permalink / raw)
To: linux-ia64
>>>>> "Gustavo" = Gustavo Niemeyer <niemeyer@conectiva.com> 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
diff -urN lia64/arch/ia64/kernel/semaphore.c lia64-kdb/arch/ia64/kernel/semaphore.c
--- lia64/arch/ia64/kernel/semaphore.c Wed Dec 6 18:36:35 2000
+++ lia64-kdb/arch/ia64/kernel/semaphore.c Fri Apr 13 20:48:40 2001
@@ -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 */
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Linux-ia64] 2.4.3 + 010405 hanging
2001-04-19 17:06 [Linux-ia64] 2.4.3 + 010405 hanging Gustavo Niemeyer
2001-04-19 19:23 ` Jes Sorensen
@ 2001-04-23 18:38 ` Gustavo Niemeyer
1 sibling, 0 replies; 3+ messages in thread
From: Gustavo Niemeyer @ 2001-04-23 18:38 UTC (permalink / raw)
To: linux-ia64
> 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!!
--
Gustavo Niemeyer
[ 2AAC 7928 0FBF 0299 5EB5 60E2 2253 B29A 6664 3A0C ]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-04-23 18:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-19 17:06 [Linux-ia64] 2.4.3 + 010405 hanging Gustavo Niemeyer
2001-04-19 19:23 ` Jes Sorensen
2001-04-23 18:38 ` Gustavo Niemeyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox