Brad Hards wrote:

> Bill Ryder wrote:
> 
>>Tony Battersby wrote:
>>
>>>
>>>Thanks for the tip.  I set a number of port options using tcsetattr() and it no 
>longer
>>>panics.  My problem is now solved, but the kernel panic should still be fixed.
>>>
>>I think I know what it is thaxn to the good debugging info from Tony. I
>>should have a patch in a few nights.
>>
> Is it possible that the use of (small) statically allocated buffers for
> transfers can cause these panics? 
> 


You have to use kmalloced memory for transfers because the HC
needs to know the HW-address and the mapping just works with
kmalloced memory.

- Roman


> I have a couple of reports of people who get kernel panics from the CDCEther
> driver, after I added some very experimental code into the multicast routine.
> The only thing that I can identify that is probably wrong is the use of a
> static buffer.
> 
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
> 
> 
> 





_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to