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

kernel panic #10

Open
wlwatkins opened this issue Feb 11, 2022 · 3 comments
Open

kernel panic #10

wlwatkins opened this issue Feb 11, 2022 · 3 comments

Comments

@wlwatkins
Copy link

I know this is old so it is more for new users.
I managed to get everything working on an old RPI (yellow jack) but if i leave it running too many times of try to crlt +C I get a kernel panic and need to repare the SD card. Am not sure if it is the fault of the sd card or the program

@Kingdread
Copy link
Owner

Hey, that certainly sounds odd. I haven't followed the Pi development too closely in the last years, so I don't know if there are any hardware changes that broke floppymusic.

Do you by any chance use one of those models ("yellow jack")?

Raspberry Pi Model B
image

Raspberry Pi Model A
image

(More devices available on https://thepihut.com/blogs/raspberry-pi-roundup/raspberry-pi-comparison-table)

I'm not aware of anything special that should trigger kernel panics (other than it overwriting kernel memory by accident) or SD corruption in floppymusic, does the same problem also occur with other applications (especially those that also use GPIO)? Or do you have a spare SD card to try with?

@wlwatkins
Copy link
Author

I believe I have the model B. I had it work for now. When it panics I can plug it to my VM and run fsck -y /dev/sdb2 which apparently fixes it til next time.
It must be something to do with the SD card if you say that your code should be doing anything.
I need to change the sd card but I don't have a spare one right now

@Kingdread
Copy link
Owner

I have an old model B myself and didn't experience such issues back when developing floppymusic. I don't think floppymusic should cause this, but of course, I cannot be 100% sure. Sadly I don't have too much experience with debugging Pis or that kind of hardware, so if you get any new information, it might help me too :)

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

2 participants