Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5230

Troubleshooting • Re: Raspberry 5: Process irq/161-mmc0 causing heavy cpu load

$
0
0
Hi jdb,

here is our last command with sd card inserted although I again booted from usb:

203: op dh pd | hi // SD_IOVDD_SEL/AON_GPIO3 = output
204: op dh pd | hi // SD_PWR_ON/AON_GPIO4 = output
205: a6 pu | lo // SD_CDET_N/AON_GPIO5 = SD_CARD_PRES_G
206: ip pd | hi // SD_FLG_N/AON_GPIO6 = input

No changes when I reloaded it some 2 or 3 seconds later.

This time, I watched top again and there is no process irq/161-mmc0 popping up anymore.

And here is sudo find /sys/kernel/debug/mmc0 -type f -print -exec cat {} \;

/sys/kernel/debug/mmc0/mmc0:1234/status
00000900
/sys/kernel/debug/mmc0/mmc0:1234/state
0x0000000d
/sys/kernel/debug/mmc0/err_stats
# Command Timeout Occurred: 0
# Command CRC Errors Occurred: 0
# Data Timeout Occurred: 0
# Data CRC Errors Occurred: 0
# Auto-Cmd Error Occurred: 0
# ADMA Error Occurred: 0
# Tuning Error Occurred: 0
# CMDQ RED Errors: 0
# CMDQ GCE Errors: 0
# CMDQ ICCE Errors: 0
# Request Timedout: 0
# CMDQ Request Timedout: 0
# ICE Config Errors: 0
# Controller Timedout errors: 0
# Unexpected IRQ errors: 0
/sys/kernel/debug/mmc0/err_state
0
/sys/kernel/debug/mmc0/clock
200000000
/sys/kernel/debug/mmc0/caps2
0x01820000
/sys/kernel/debug/mmc0/caps
0x411c082f
/sys/kernel/debug/mmc0/ios
clock:200000000 Hz
actual clock:200000000 Hz
vdd:21 (3.3 ~ 3.4 V)
bus mode:2 (push-pull)
chip select:0 (don't care)
power mode:2 (on)
bus width:2 (4 bits)
timing spec:6 (sd uhs SDR104)
signal voltage:1 (1.80 V)
driver type:0 (driver type B)
michael@andromache:~$

So this device is looking for an inserted sd card? Strange ... never had any raspberry pi doing this.

Kind regards

Michael

Statistics: Posted by certochrom — Wed Dec 18, 2024 8:54 pm



Viewing all articles
Browse latest Browse all 5230

Trending Articles