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

From: Ingo Molnar
Date: Sat Apr 02 2005 - 00:14:26 EST



* Gene Heskett <gene.heskett@xxxxxxxxxxx> 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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/