Sparky loose Connection to usbridge and sometime hangs at boottime

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
senior.god
Posts: 1
Joined: Sun Jan 13, 2019 11:33 am

Sparky loose Connection to usbridge and sometime hangs at boottime

Post by senior.god »

Dear all,

I‘m using allo usbridge since some days and try to set it to my needs. I experience two problems.
1. loose Connection to usbridge
I hear music via mpd for some hours. Today morning, i can‘t hear Music via mpd. I searched kern.log and found the following entries:
Jan 13 01:10:45 DietPi kernel: [ 638.217649] read phy reg-5
Jan 13 01:11:13 DietPi kernel: [ 667.126401] irqvector:67, 0x43
Jan 13 01:11:13 DietPi kernel: [ 667.126414] hcd ep err ep_num:3, is_in:1
Jan 13 01:11:13 DietPi kernel: [ 667.126420] err_type :4
Jan 13 01:11:13 DietPi kernel: [ 667.126425] td->err_count:0
Jan 13 01:11:13 DietPi kernel: [ 667.130392] irqvector:67, 0x43
Jan 13 01:11:13 DietPi kernel: [ 667.130398] hcd ep err ep_num:3, is_in:1
Jan 13 01:11:13 DietPi kernel: [ 667.130403] err_type :4
Jan 13 01:11:13 DietPi kernel: [ 667.130408] td->err_count:1
Jan 13 01:11:13 DietPi kernel: [ 667.134392] irqvector:67, 0x43
Jan 13 01:11:13 DietPi kernel: [ 667.134398] hcd ep err ep_num:3, is_in:1
Jan 13 01:11:13 DietPi kernel: [ 667.134403] err_type :4
Jan 13 01:11:13 DietPi kernel: [ 667.134407] td->err_count:2
Jan 13 01:11:13 DietPi kernel: [ 667.138396] irqvector:67, 0x43
Jan 13 01:11:13 DietPi kernel: [ 667.138406] hcd ep err ep_num:3, is_in:1
Jan 13 01:11:13 DietPi kernel: [ 667.138412] err_type :4
Jan 13 01:11:13 DietPi kernel: [ 667.138417] td->err_count:3
Jan 13 01:11:13 DietPi kernel: [ 667.142392] irqvector:67, 0x43
Jan 13 01:11:13 DietPi kernel: [ 667.142399] hcd ep err ep_num:3, is_in:1
Jan 13 01:11:13 DietPi kernel: [ 667.142404] err_type :4
Jan 13 01:11:13 DietPi kernel: [ 667.142408] td->err_count:4
Jan 13 01:11:13 DietPi kernel: [ 667.146395] irqvector:67, 0x43
Jan 13 01:11:13 DietPi kernel: [ 667.146405] hcd ep err ep_num:3, is_in:1
Jan 13 01:11:13 DietPi kernel: [ 667.146411] err_type :4
Jan 13 01:11:13 DietPi kernel: [ 667.146416] td->err_count:5
Jan 13 01:11:13 DietPi kernel: [ 667.146455] aotg_hcd aotg_hcd.1: HC IN ep 3 error [0x13] error type [0x04], reset it... Jan 13 01:11:13 DietPi kernel: [ 667.149521] irqvector:67, 0x43
Jan 13 01:11:13 DietPi kernel: [ 667.149530] hcd ep err ep_num:3, is_in:1
Jan 13 01:11:13 DietPi kernel: [ 667.149535] err_type :4
Jan 13 01:11:13 DietPi kernel: [ 667.149540] td->err_count:0
Jan 13 01:11:13 DietPi kernel: [ 667.153517] irqvector:67, 0x43

Any Ideas what i can change?


2. sometime the system hang at boot time. Only a „hard reset“ of the sparky helps. I check again kern.log and found several entries, which shows alerts (at least they have red colored background):

Jan 13 10:27:54 DietPi kernel: [ 0.916111] owl_dss DSI: error!dsihw_parse_params, fail to get lcd reset g
......
Jan 13 10:27:54 DietPi kernel: [ 0.964332] owl_wdt b0020600.twd-watchdog: watchdog soft mode
Jan 13 10:27:54 DietPi kernel: [ 0.965501] no blk dev
Jan 13 10:27:54 DietPi kernel: [ 0.965515] read MiscInfoHeader failed
Jan 13 10:27:54 DietPi kernel: [ 0.965524] read Head failed
Jan 13 10:27:54 DietPi kernel: [ 0.965533] OWL_HDMI_ERR: failed to read hdcp key from secure storage
Jan 13 10:27:54 DietPi kernel: [ 0.965595] device-mapper: uevent: version 1.0.3

......
Jan 13 10:27:54 DietPi kernel: [ 0.966504] Realtek h5 driver version 1.0.1
Jan 13 10:27:54 DietPi kernel: [ 0.966511] Bluetooth: HCI Realtek H5 protocol registration failed
Jan 13 10:27:54 DietPi kernel: [ 0.966518] HCI Realtek H5 protocol registration failed
Jan 13 10:27:54 DietPi kernel: [ 0.966548] cpuidle: using governor ladder
Jan 13 10:27:54 DietPi kernel: [ 0.966558] cpuidle: using governor menu
....
Jan 13 10:27:54 DietPi kernel: [ 0.978126] owl_i2c: owl_i2c_fifo_irq(): [i2c2] no ACK, fifostat 0x20013
Jan 13 10:27:54 DietPi kernel: [ 0.978126]
Jan 13 10:27:54 DietPi kernel: [ 0.978186] pcm512x 2-004c: Failed to reset device: -6
Jan 13 10:27:54 DietPi kernel: [ 0.978718] owl_i2c: owl_i2c_fifo_irq(): [i2c2] no ACK, fifostat 0x20013
Jan 13 10:27:54 DietPi kernel: [ 0.978718]
Jan 13 10:27:54 DietPi kernel: [ 0.978766] pcm512x 2-004d: Failed to reset device: -6
Jan 13 10:27:54 DietPi kernel: [ 0.982675] [SNDRV]:[atm7059_pcm_init] atm7059_pcm_init!!
Jan 13 10:27:54 DietPi kernel: [ 0.982675]
Jan 13 10:27:54 DietPi kernel: [ 0.982982] atm7059-pcm-audio atm7059-pcm-audio: atm7059_pcm_probe!!
Jan 13 10:27:54 DietPi kernel: [ 0.983043] atc2603a_init
Jan 13 10:27:54 DietPi kernel: [ 0.983249] [SNDRV]:[atc2603a_get_cfg] Fail to get device_node^M
Jan 13 10:27:54 DietPi kernel: [ 0.983249]
Jan 13 10:27:54 DietPi kernel: [ 0.983261] [SNDRV]:[atc2603a_init] audio get cfg failed!^M
Jan 13 10:27:54 DietPi kernel: [ 0.983261]
Jan 13 10:27:54 DietPi kernel: [ 0.983271] atc2603c_init
Jan 13 10:27:54 DietPi kernel: [ 0.983333] [SNDRV]:[atc2603c_get_cfg] no earphone detect gpio^M
Jan 13 10:27:54 DietPi kernel: [ 0.983333]
Jan 13 10:27:54 DietPi kernel: [ 0.983617] [SNDRV]:[atc2603c_platform_probe] atc2603c_platform_probe^M
Jan 13 10:27:54 DietPi kernel: [ 0.983617]
Jan 13 10:27:54 DietPi kernel: [ 0.983642] [SNDRV]:[atc2603c_platform_probe] what's my lucky draw 220
Jan 13 10:27:54 DietPi kernel: [ 0.983642]
Jan 13 10:27:54 DietPi kernel: [ 0.984089] [SNDRV]:[atm7059_dai_probe] it's ok 0
Jan 13 10:27:54 DietPi kernel: [ 0.984089]
Jan 13 10:27:54 DietPi kernel: [ 0.984120] owl-audio-i2s b0100000.gl5203-audio-i2s: atm7059_dai_probe
Jan 13 10:27:54 DietPi kernel: [ 0.984491] atm7059-hdmi-audio atm7059-hdmi-audio: atm7059_hdmi_probe!!
Jan 13 10:27:54 DietPi kernel: [ 0.984777] atm7059_spdif_probe 225
Jan 13 10:27:54 DietPi kernel: [ 0.984836] [SNDRV]:[atm7059_link_init] atm7059_link_init
Jan 13 10:27:54 DietPi kernel: [ 0.984836]
Jan 13 10:27:54 DietPi kernel: [ 0.984883] [SNDRV]:[atm7059_audio_gpio_init] find i2s_switch_gpio property fail Jan 13 10:27:54 DietPi kernel: [ 0.984883]
Jan 13 10:27:54 DietPi kernel: [ 0.984897] [SNDRV]:[atm7059_audio_gpio_init] find earphone_detect_gpios property fail

.....

Jan 13 10:27:54 DietPi kernel: [ 2.895831] hub 2-0:1.0: 1 port detected
Jan 13 10:27:54 DietPi kernel: [ 2.896252] ----monitor_wake_lock for 10s
Jan 13 10:27:54 DietPi kernel: [ 2.970119] read_mi_head, line 429, magic 0x0, length 0, item num 0
Jan 13 10:27:54 DietPi kernel: [ 2.970151] read Head null
Jan 13 10:27:54 DietPi kernel: [ 2.970174] OWL_HDMI_ERR: failed to read hdcp key from secure storage
Jan 13 10:27:54 DietPi kernel: [ 5.722104] FAT-fs (mmcblk0p1): codepage cp437 not found
Jan 13 10:27:54 DietPi kernel: [ 5.723810] FAT-fs (mmcblk0p1): codepage cp437 not found
Jan 13 10:27:54 DietPi kernel: [ 5.724987] [EXFAT] ===== ffsMountVol =====
Jan 13 10:27:54 DietPi kernel: [ 5.726429] EXFAT: Codepage cp437 not found
Jan 13 10:27:54 DietPi kernel: [ 10.621333] EXT3-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
Jan 13 10:27:54 DietPi kernel: [ 10.621910] EXT2-fs (mmcblk0p2): error: couldn't mount because of unsupported optional features (240)
Jan 13 10:27:54 DietPi kernel: [ 10.632426] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) Jan 13 10:27:54 DietPi kernel: [ 10.936263] [PowerGate] name: 'usb2_0', on: 1, before SPS_PG_CTL: 0x717761
Jan 13 10:27:54 DietPi kernel: [ 10.944065] [PowerGate] name: 'usb2_0', on: 1, after SPS_PG_CTL: 0x71ff61
Jan 13 10:27:54 DietPi kernel: [ 10.951517] start mon 0 ......


These problems at boot time occur every X boots. Perhaps 20% of boot processes hang and i have to do a "hard reset".

Any ideas whats wrong?

Best regards
Senior.god
User avatar
MichaIng
Site Admin
Posts: 2295
Joined: Sat Nov 18, 2017 6:21 pm

Re: Sparky loose Connection to usbridge and sometime hangs at boottime

Post by MichaIng »

@senior.god
I have no Sparky SBC here and not sure about possible kernel/boot settings that might cause such an issue.

Might I ask you to open an issue on GitHub and at best send a dietpi-bugreport: https://github.com/Fourdee/DietPi/issues
Hopefully Fourdee finds some time to try replication based on your setup.
Post Reply