[Click] ToUserDevice path

Eddie Kohler kohler at cs.ucla.edu
Mon Jul 14 13:55:12 EDT 2008


Hi Roman,

You know you can detect how far the configuration process got with cleanup()'s 
CleanupStage argument, right?

Eddie


Roman Chertov wrote:
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click


More information about the click mailing list