[Click] ToUserDevice path

Roman Chertov rchertov at purdue.edu
Mon Jul 14 13:34:01 EDT 2008


Hello,
    I just added a small patch to ToUserDevice.  The problem occurs when 
a script fails, because some element is not configured correctly.  Then, 
click-install bails and calls "cleanup" of ToUserDevice.  However, 
"configure" of ToUserDevice was never called, resulting in a soft 
lockup, as an uninitialized spin_lock is acquired.  I have made a small 
change in cleanup which will detect this situation and avoid the soft 
lockup.

Roman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: touserdevice.patch
Type: text/x-diff
Size: 1822 bytes
Desc: not available
Url : http://amsterdam.lcs.mit.edu/pipermail/click/attachments/20080714/b098a702/attachment.patch 


More information about the click mailing list