On Thu, Jan 10, 2013 at 09:24:54PM +0100, Markus Grabner wrote:
> 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).

I'll try to dig a bit deeper on my own. That sounds like a good
exercise. This isn't a big issue anyway but just could get fixed.

> 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)?

No, computer was so dead that nothing was written to disk. All I got was
nice panic message begining of which managed to scroll off the screen
and some leftovers in buffer being played in the loop. I didn't take a
picture but that should be easy to reproduce.

I'll be without access to computer for next few days. I'll try to
reproduce this once I'm back (not sooner than Sunday evening).

Thanks,
-- 
Mariusz Kozlowski

------------------------------------------------------------------------------
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

Reply via email to