Go to the FreeLists Home Page Home Signup Help Login
 



[haiku-development] || [Date Prev] [01-2008 Date Index] [Date Next] || [Thread Prev] [01-2008 Thread Index] [Thread Next]

[haiku-development] Re: timeout in acquire_sem_etc not working

  • From: Marcus Overhagen <marcusoverhagen@xxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 1 Jan 2008 22:27:17 +0100 (CET)
Axel Dörfler  <axeld@xxxxxxxxxxxxxxxx> wrote:


> Marcus Overhagen <marcusoverhagen@xxxxxxxx> wrote:
> > It is doing a call to acquire_sem_etc with 100ms timeout, that never 
> > returnes. How is this possible?
> > 
> > I enabled IDE irq and semphore debugging, the full debug output is 
> > available at http://overhagen.de/> haiku/haiku-idedebug.txt
> 
> How often does this happen?
Always when booting with IDE compatiblility mode. Doesn't happen when using 
AHCI mode (that codepath isn't executed then).

> Is it 100% reproducible? And if so, always at the same location?
Yes. But when using AHCI and 4 cores, I get a couple of other problems, too.
Haiku is only stable atm when limiting to 2 CPUs and AHCI.

> Since the machine in question seems to be a 4 CPU system, and the 
> thread in question is still marked running, I would assume there is 
> some sort of race condition resulting in a busy loop dead lock. Since 
> the thread is still stuck in switch_sem_etc(), it would have been 
> interesting where exactly it is, and where the other threads are - most 
> likely, another one should be stuck, too.
Looks like nothing is stuck. +
I've attached more debug infos to http://dev.haiku-os.org/ticket/1689

regards
Marcus


Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren
ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT FÜR ALLE NEUEINSTEIGER
Jetzt bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket
für clevere Doppel-Sparer, nur  29,95 Euro  inkl. DSL- und ISDN-Grundgebühr!
http://www.arcor.de/rd/emf-dsl-2





[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.