Re: [PATCH/RFC] 2.5.42 partial fix for older pl2303

From: Greg KH (greg@kroah.com)
Date: Tue Oct 15 2002 - 00:52:11 EST


On Sun, Oct 13, 2002 at 09:17:56PM -0700, Barry K. Nathan wrote:
>
> followed by tons of these oopses (I think it's one per LCP echo
> request/reply pair on my PPP connection but I'm not sure):
>
> Debug: sleeping function called from illegal context at
> include/asm/semaphore.h:119
> Call Trace:
> [<c02095f7>] serial_write+0x77/0x170
> [<c01da4e8>] ppp_async_push+0x138/0x1c0
> [<c01da3a5>] ppp_async_send+0x45/0x50
> [<c01d674e>] ppp_channel_push+0x7e/0x1a0
> [<c01d548d>] ppp_write+0xfd/0x130
> [<c013d67d>] vfs_write+0xcd/0x140
> [<c013d78c>] sys_write+0x3c/0x60
> [<c01075cb>] syscall_call+0x7/0xb

Heh, I didn't think that serial_write() would sleep, but I know the
pl2303 driver could have this problem. But it's just a warning, I know
the usb-serial drivers have some issues regarding PPP. Check the lkml
archives for a discussion about this only a week or so ago.

> Under 2.4.20-pre10 + my 2.4 fix, the device always gets ttyUSB0, and
> always works there.

Glad this is working.

thanks,

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



This archive was generated by hypermail 2b29 : Tue Oct 15 2002 - 22:00:53 EST