3

I have trouble with some SD Cards so I enabled debug output from SD driver with sd_debug=on in /boot/config.txt. I have looked with journalctl and checked the files in /var/log and in /tmp but cannot find any debug information.

Where to find the debug output from SD driver?

2
  • I believe you might need to use dtparam=sd_debug=on instead. If that doesn't change anything, check sudo vcdbg log msg to get logging information from the VideoCore, it might be output there. Posting this as a comment because I have not tested any of this. Sep 21, 2018 at 22:05
  • @Hitechcomputergeek Thanks, that was it. With dtparam=sd_debug=on I get the debug messages. Please make your comment an answer. I will accept it.
    – Ingo
    Sep 23, 2018 at 9:13

1 Answer 1

2

The correct syntax to enable this is dtparam=sd_debug=on. After putting this in config.txt, debug information from the SD driver should show up in dmesg.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.