Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeated USB disconnect/reconnect causes kernel crash #194

Open
duerig opened this issue Jun 7, 2015 · 2 comments
Open

Repeated USB disconnect/reconnect causes kernel crash #194

duerig opened this issue Jun 7, 2015 · 2 comments

Comments

@duerig
Copy link
Contributor

duerig commented Jun 7, 2015

Using SpreadPi on a Raspberry Pi 2, repeatedly connecting and reconnecting a camera via USB (powering it on and off) will cause a null pointer exception in the kernel and crash the Pi.

@jbaiter
Copy link
Member

jbaiter commented Jun 7, 2015

Can you try and see if this is related to chdkptp/spreads at all? That is, does merely reconnecting the USB devices repeatedly with no application using them also cause a crash?
I've seen messages about device resets in my kernel log when attaching CHDK cameras, maybe these are related? Can you see something in your log?
I noticed that when these errors happened on my machines (Laptop, Desktop and RPi 1 and 2) the device ID would be incremented. This is just a suspicion, but maybe at some point that value overflows and a crash is the result...

@markvdb
Copy link
Member

markvdb commented Jun 7, 2015 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants