On Fri, Jun 02, 2023 at 10:13:35AM +0800, Kent Gibson wrote: > > On a related(??) note, I'm occasionally seeing Oopses when testing this > - when creating a basic sim with a shell script, not when deleting it. > In one case after a fresh reboot and on creating the first sim, so it > looks to be purely the construction. Yay :-(. > I had thought it would be difficult to reproduce this and so difficult to bisect. Fortunately(??) not. If I run my setup and cleanup scripts[1] in a tight loop it occurs very readily. Haven't bisected it yet, but did test it on 6.1-rc1 and it Oopsed there too, so I would need to go back further. What was the initial release containing gpio-sim? The sim setp is pretty simple - a couple of banks each with a few lines and hogs. Could you confirm that you can repeat the problem? Otherwise I might start thinking there is something broken in my test environment. Btw, the loop script is: #!/bin/env bash for (( ; ; )) do echo "create sim..." ./basic_sim.sh echo "destroy sim..." ./clean_sims.sh done Cheers, Kent. [1] https://github.com/warthog618/gpiosim-rs