[haiku-development] timeout in acquire_sem_etc not working
- From: Marcus Overhagen <marcusoverhagen@xxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Mon, 24 Dec 2007 03:31:35 +0100 (CET)
Hi all,
I'm trying to debug the IDE stack and located a deadlock during boot on some
systems in scan_device_int().
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
The relevant debug output is the last line of "switch_sem_etc: setting timeout
sem for 100000 usecs, sem 1290, thread 7" but there is no "sem_timeout:" for
that thread. Concurrently, thread 5 does a 100ms timeout that works fine.
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
- Follow-Ups:
- [haiku-development] Re: timeout in acquire_sem_etc not working
- From: Axel Dörfler
Other related posts:
- » [haiku-development] Re: timeout in acquire_sem_etc not working
- » [haiku-development] timeout in acquire_sem_etc not working
- » [haiku-development] Re: timeout in acquire_sem_etc not working
- [haiku-development] Re: timeout in acquire_sem_etc not working
- From: Axel Dörfler