Re: [2.6.1-bk2] Might sleep while loading st.ko

From: Mike Fedyk
Date: Tue Jan 20 2004 - 14:45:09 EST


On Tue, Jan 20, 2004 at 09:30:57PM +0200, Kai Makisara wrote:
> Added linux-scsi which may be better list for this problem.
>
[snip]
> I thought I used enough debugging options to catch this but I did not...
>
> The patch below fixes this problem (introduced in 2.6.1) by moving cdev
> code outside the lock protecting st internal data. The patched driver
> compiles and seems to work in my tests.
>
> The sysfs link to /sys/cdev/major/st?m0 is not made any more because I have
> understood that it is a bad idea.
>
> Thanks for reporting the bug.
>

I'll put this patch in my next kernel compile.

Thanks.
-
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/