Re: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.43-00

Ingo Molnar
2005-04-02T05:13:17Z

* Gene Heskett <gene.heskett@verizon.net> wrote:

> Apr 1 18:05:20 coyote ieee1394.agent[6016]: ... no drivers for IEEE1394 product 0x/0x/0x
> Apr 1 18:05:24 coyote kernel:
> Apr 1 18:05:24 coyote kernel: ==========================================
> Apr 1 18:05:24 coyote kernel: [ BUG: lock recursion deadlock detected! |
> Apr 1 18:05:24 coyote kernel: ------------------------------------------
> Apr 1 18:05:24 coyote kernel: already locked: [e4d17228] {(struct semaphore *)(&fi->complete_sem)}
> Apr 1 18:05:24 coyote kernel: .. held by: kino: 6082 [e13ecbb0, 118]
> Apr 1 18:05:24 coyote kernel: ... acquired at: raw1394_read+0x104/0x110 [raw1394]

hm - does the patch below help? (or -43-06 which has the same patch)

Ingo

--- linux/drivers/ieee1394/raw1394-private.h.orig
+++ linux/drivers/ieee1394/raw1394-private.h
@@ -29,7 +29,7 @@ struct file_info {

struct list_head req_pending;
struct list_head req_complete;
- struct semaphore complete_sem;
+ struct compat_semaphore complete_sem;
spinlock_t reqlists_lock;
wait_queue_head_t poll_wait_complete;