Comments (8)
can you post the relevant part of dmesg/syslog that has info about the DMA errors?
from rpio.
the last try resulted in
[Sun Apr 28 18:01:41 2013] mmc0: Timeout waiting for hardware interrupt - cmd25.
[Sun Apr 28 18:01:41 2013] mmc0: resetting ongoing cmd 25DMA before 4096/4096 [1]/[1] complete
[Sun Apr 28 18:01:41 2013] mmcblk0: error -110 transferring data, sector 110240, nr 8, cmd response 0x900, card status 0xc00
[Sun Apr 28 18:01:41 2013] end_request: I/O error, dev mmcblk0, sector 110240
[Sun Apr 28 18:01:41 2013] Buffer I/O error on device mmcblk0p2, logical block 468
[Sun Apr 28 18:01:41 2013] lost page write due to I/O error on mmcblk0p2
system is still running but I had much more weird effects before - resulting in system crash:
Apr 28 15:56:21 localhost kernel: [ 290.686107] mmc0: Timeout waiting for hardware interrupt - cmd25.
Apr 28 15:56:21 localhost kernel: [ 290.692270] mmc0: resetting ongoing cmd 25DMA before 8192/8192 [1]/[1] complete
Apr 28 15:56:21 localhost kernel: [ 290.694635] mmcblk0: error -110 transferring data, sector 106496, nr 16, cmd response 0x900, card status 0xc00
Apr 28 15:56:21 localhost kernel: [ 290.708460] end_request: I/O error, dev mmcblk0, sector 106496
Apr 28 15:56:21 localhost kernel: [ 290.714351] Buffer I/O error on device mmcblk0p2, logical block 0
Apr 28 15:56:21 localhost kernel: [ 290.722330] lost page write due to I/O error on mmcblk0p2
Apr 28 15:56:21 localhost kernel: [ 290.722391] end_request: I/O error, dev mmcblk0, sector 106504
Apr 28 15:56:21 localhost kernel: [ 290.730531] Buffer I/O error on device mmcblk0p2, logical block 1
Apr 28 15:56:21 localhost kernel: [ 290.738024] lost page write due to I/O error on mmcblk0p2
Apr 28 15:57:01 localhost kernel: [ 330.727189] mmc0: Timeout waiting for hardware interrupt - cmd25.
Apr 28 15:57:01 localhost kernel: [ 330.733365] mmc0: resetting ongoing cmd 25DMA before 4096/4096 [1]/[1] complete
Apr 28 15:57:01 localhost kernel: [ 330.736721] mmcblk0: error -110 transferring data, sector 200392, nr 8, cmd response 0x900, card status 0xc00
Apr 28 15:57:01 localhost kernel: [ 330.749926] end_request: I/O error, dev mmcblk0, sector 200392
Apr 28 15:57:01 localhost kernel: [ 330.755832] Buffer I/O error on device mmcblk0p2, logical block 11737
Apr 28 15:57:01 localhost kernel: [ 330.763777] JBD2: Detected IO errors while flushing file data on mmcblk0p2-8
Apr 28 15:57:01 localhost kernel: [ 330.763843] EXT4-fs warning (device mmcblk0p2): ext4_end_bio:250: I/O error writing to inode 4458 (offset 143360 size 4096 starting block 25050)
Apr 28 15:57:01 localhost kernel: [ 330.780691] ------------[ cut here ]------------
Apr 28 15:57:01 localhost kernel: [ 330.780762] WARNING: at fs/buffer.c:1106 mark_buffer_dirty+0xb8/0xdc()
Apr 28 15:57:01 localhost kernel: [ 330.780774] Modules linked in: bnep bluetooth evbug rfkill autofs4
Apr 28 15:57:01 localhost kernel: [ 330.780847] from
Apr 28 15:57:01 localhost kernel: [ 330.780875] from
Apr 28 15:57:01 localhost kernel: [ 330.780941] from
Apr 28 15:57:01 localhost kernel: [ 330.780975] from
Apr 28 15:57:01 localhost kernel: [ 330.781006] from
Apr 28 15:57:01 localhost kernel: [ 330.781038] from
Apr 28 15:57:01 localhost kernel: [ 330.781066] from
Apr 28 15:57:01 localhost kernel: [ 330.781100] from
Apr 28 15:57:01 localhost kernel: [ 330.781113] ---[ end trace 079fdde119f36658 ]---
Apr 28 15:57:06 localhost kernel: [ 336.038042] JBD2: Detected IO errors while flushing file data on mmcblk0p2-8
Apr 28 15:57:12 localhost kernel: [ 342.033191] JBD2: Detected IO errors while flushing file data on mmcblk0p2-8
the errors occur when playing around with the servo for longer that approx 30s or when using them e.g. only once and then leaving the system untouched (of course, having used "servo.stop_servo" before).
from rpio.
I should have asked before, but what GPIO pins are you using? and what does your circuit look like? I.E. are you trying to drive the servo directly from the IO pin?
from rpio.
I tried different ones - with same result (also with piblaster). Currently GPIO 4 is used.
Yes, servo control is directly connected to the pin P1-07 (only a resistor is between) - ground is common with the PI, power is separate.
from rpio.
I've also had issues with using DMA Ch0 on Fedora resulting in system crashes, most recently:
kernel:[ 1371.332993] journal commit I/O error
I'm willing to spend some time trying to get to the bottom of this if there's still interest.
from rpio.
Sounds to be power source problem. Have you tried metering?
from rpio.
The issues I had with DMA Ch0 crashing fedora manifested when I had a current-limited LED attached, so power source issues seem less likely. That said, I'm pretty much out of ideas, so I'll check it out.
from rpio.
Bump? Still open issue.
from rpio.
Related Issues (20)
- RPIO ver.2 HOT 1
- Input function doen't work
- System hangs during reboot with RPIO python script running in docker HOT 1
- SystemError: This module can only be run on a Raspberry Pi! HOT 4
- Raspberry CM3 module unsupported. HOT 1
- Debian buster need #include <sys/sysmacros.h> inside pwm.c
- After upgrading to buster branch v2 stops working HOT 1
- Uncaught Error: Cannot find 'rpio'
- RPI 4 Model HOT 1
- RuntimeError: This module can only be run on a Raspberry Pi! HOT 2
- SystemError: This module can only be run on a Raspberry Pi!
- _PWM.cpython-37m-arm-linux-gnueabihf.so: undefined symbol: makedev HOT 4
- how disable debbug ?
- RPIO-0.10.0-py3.5-linux-armv7l.egg SystemError: This module can only be run on a Raspberry Pi! HOT 1
- Interrupted by signal 11: SIGSEGV
- mmap check
- System error
- Problem running RPIO on Raspberry Pi 4 HOT 2
- RPIO won't run on my Raspberry Pi 4, how to remove? HOT 1
- https://pythonhosted.org/RPIO/#installation seems outdated
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpio.