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

DietPi-Software | MPD: kernel hung at smb/cifs read #2603

Closed
seniorgod opened this issue Mar 1, 2019 · 2 comments
Closed

DietPi-Software | MPD: kernel hung at smb/cifs read #2603

seniorgod opened this issue Mar 1, 2019 · 2 comments
Labels
Solution available 🥂 Definite solution has been done

Comments

@seniorgod
Copy link

Required Information

G_DIETPI_VERSION_CORE=6
G_DIETPI_VERSION_SUB=21
G_DIETPI_VERSION_RC=1
G_GITBRANCH=master
G_GITOWNER=Fourdee

stretch

Linux DietPi 3.10.38 #22 SMP PREEMPT Fri Dec 22 10:45:41 IST 2017 armv7l GNU/Linux

Allo Sparky with usbridge

  • Power supply used | 2 x 5 V on Sparky and on usbridge
  • SDcard used | emmc

Dear all,

i updated to 6.21.1
i mounted my smb share including music under /mnt/dietpi_userdata/Music
i'm able to walk through the files and directories on shell layer without any problem

I started mpd and run mpc update in order to rescan the music directory of mpd (/mnt/dietpi_userdata/Music ) to find my music files in mpd.
But mpd stops after some files.
In journalctl i found:

INFO: task kworker/0:0:5559 blocked for more than 120 seconds.
Mär 01 20:37:21 DietPi kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mär 01 20:37:21 DietPi kernel: kworker/0:0 D c07bfe48 0 5559 2 0x00000000
Mär 01 20:37:21 DietPi kernel: Workqueue: cifsiod cifs_readv_complete
Mär 01 20:37:21 DietPi kernel: [] (__schedule+0x390/0x7cc) from [] (__down_write_nested+0x70/0xc4)
Mär 01 20:37:21 DietPi kernel: [] (__down_write_nested+0x70/0xc4) from [] (cifsFileInfo_put+0xf0/0x224)
Mär 01 20:37:21 DietPi kernel: [] (cifsFileInfo_put+0xf0/0x224) from [] (cifs_readdata_release+0x18/0x24)
Mär 01 20:37:21 DietPi kernel: [] (cifs_readdata_release+0x18/0x24) from [] (process_one_work+0x134/0x414)
Mär 01 20:37:22 DietPi kernel: [] (process_one_work+0x134/0x414) from [] (worker_thread+0x138/0x37c)
Mär 01 20:37:22 DietPi kernel: [] (worker_thread+0x138/0x37c) from [] (kthread+0xa4/0xb0)
Mär 01 20:37:22 DietPi kernel: [] (kthread+0xa4/0xb0) from [] (ret_from_fork+0x14/0x3c)
Mär 01 20:37:22 DietPi kernel: INFO: task update:5581 blocked for more than 120 seconds.
Mär 01 20:37:22 DietPi kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Mär 01 20:37:22 DietPi kernel: update D c07bfe48 0 5581 1 0x00000800
Mär 01 20:37:22 DietPi kernel: [] (__schedule+0x390/0x7cc) from [] (__down_read+0xac/0xe4)
Mär 01 20:37:22 DietPi kernel: [] (__down_read+0xac/0xe4) from [] (cifs_reopen_file+0x1a4/0x37c)
Mär 01 20:37:22 DietPi kernel: [] (cifs_reopen_file+0x1a4/0x37c) from [] (cifs_retry_async_readv+0x30/0x58)
Mär 01 20:37:22 DietPi kernel: [] (cifs_retry_async_readv+0x30/0x58) from [] (cifs_readpages+0x2ac/0x414)
Mär 01 20:37:22 DietPi kernel: [] (cifs_readpages+0x2ac/0x414) from [] (__do_page_cache_readahead+0x1a8/0x26c)
Mär 01 20:37:22 DietPi kernel: [] (__do_page_cache_readahead+0x1a8/0x26c) from [] (page_cache_sync_readahead+0x44/0x64)
Mär 01 20:37:22 DietPi kernel: [] (page_cache_sync_readahead+0x44/0x64) from [] (generic_file_aio_read+0x4d4/0x700)
Mär 01 20:37:22 DietPi kernel: [] (generic_file_aio_read+0x4d4/0x700) from [] (cifs_strict_readv+0x160/0x184)
Mär 01 20:37:22 DietPi kernel: [] (cifs_strict_readv+0x160/0x184) from [] (do_sync_read+0x78/0xa0)
Mär 01 20:37:22 DietPi kernel: [] (do_sync_read+0x78/0xa0) from [] (vfs_read+0xb8/0x1e0)
Mär 01 20:37:22 DietPi kernel: [] (vfs_read+0xb8/0x1e0) from [] (SyS_read+0x3c/0x70)
Mär 01 20:37:22 DietPi kernel: [] (SyS_read+0x3c/0x70) from [] (__sys_trace_return+0x0/0x18)

what can i do?

@MichaIng
Copy link
Owner

MichaIng commented Mar 2, 2019

@seniorgod
Thanks for reporting.

Did you recheck when applying the permissions fix from the other issue? #2605 (comment)

@MichaIng MichaIng changed the title kernel hung at smb/cifs read ??? DietPi-Software | MPD: kernel hung at smb/cifs read Mar 2, 2019
@seniorgod
Copy link
Author

after setting the user / group to mpd/audio it works or at last i didn't face the problem again.

@MichaIng MichaIng added Solution available 🥂 Definite solution has been done and removed Investigating 🤔 labels Mar 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Solution available 🥂 Definite solution has been done
Projects
None yet
Development

No branches or pull requests

2 participants