Am Dienstag, 8. Januar 2013, 23:54:20 schrieben Sie:
> BTW. I think I found another bug ... this is minor but probably should
> get fixed. If you rmmod before driver finishes initialisation it
> is likely to get oops.
>
> Try something like this:
>
> # while true; do insmod line6usb.ko; sleep 0.1; rmmod line6usb; sleep 1;
> done
I let this run for ~30 minutes and did normal work during this time, but was
not able to reproduce the crash. Our machines seem to have somewhat different
timings...
Nevertheless, termination of the startup procedure could be done more
carefully, which I checked in as r987. Another problem might be the sysfs
files, which are removed before the startup procedure is terminated, i.e., in
rare occasions those files could be created after the attempt to delete them.
Since the sysfs files will be removed from the driver in the future, I don't
want to spend too much time on them right now. You could try to move the timer
and workqueue related lines in [pod|variax]_destruct into the corresponding
*_disconnect function (before the device_remove_file lines) to see if it makes
a difference (though I don't think so).
Do you get any information on the crash (maybe in the system log file, or on
the console when doing insmod/rmmod on a text console)?
Kind regards,
Markus
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Line6linux-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/line6linux-user