ksmbd is a kernel module and WEBUI

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 677
Location: Hung Hom, Hong Kong

PostPosted: Thu Jun 04, 2020 18:48    Post subject: ksmbd is a kernel module and WEBUI Reply with quote
It seemed that ksmbd is part of the kernel instead of a separate process. So it's impossible to kill it should it goes haywire.

I tried to rmmod (remove module) ksmbd, but it didn't work.

Is it better NOT to compile ksmbd into the kernel if Samba is to be enabled/disabled via the WEBUI?

And when a kernel module goes haywire, it could cause the kernel to panic and hence reboot???

BTW, where is kworker? Smile
Code:
lsmod

Module                  Size  Used by
ksmbd                 247679 13
ext4                  306550  1
jbd2                   44234  1 ext4
mbcache                 4637  1 ext4
crc16                   1060  1 ext4
usb_storage            37395  1
sr_mod                 10937  0
cdrom                  24089  1 sr_mod
sd_mod                 24427  2
scsi_mod               82926  3 usb_storage,sr_mod,sd_mod
xhci_plat_hcd           2116  0
xhci_pci                2632  0
xhci_hcd               83548  2 xhci_plat_hcd,xhci_pci
ohci_pci                2157  0
ohci_hcd               15681  1 ohci_pci
ehci_pci                2829  0
ehci_hcd               33009  1 ehci_pci
usbcore               125255  9 usb_storage,xhci_plat_hcd,xhci_pci,xhci_hcd,ohci_pci,ohci_hcd,ehci_pci,ehci_hcd
usb_common              1589  1 usbcore
ccm                     6300  0
gcm                     8761  0
ghash_generic           1539  0
ctr                     2832  0
gf128mul                5953  1 ghash_generic
md5                     1475  0
md4                     2973  0
cmac                    2025  1
seqiv                   2493  0
sha512_generic          7556  0
nls_utf8                 970 12
fast_classifier       140713  0
jffs2                  88692  1
lzo_decompress          1764  0
lzo_compress            1828  0
lzma_decompress         8228  1 jffs2
lzma_compress          23664  1 jffs2
wl                   4385098  0
switch_robo            13526  0
switch_core             5449  1 switch_robo
et                     42909  0



_________________
Router: Asus RT-N18U (rev. A1)

May the Force and farces be with you! Live long and proper!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 6879
Location: Texas, USA

PostPosted: Thu Jun 04, 2020 19:22    Post subject: Reply with quote
Quote:
"kworker" is a placeholder process for kernel worker threads, which perform most of the actual processing for the kernel, especially in cases where there are interrupts, timers, I/O, etc. These typically correspond to the vast majority of any allocated "system" time to running processes.


https://wiki.samba.org/index.php/Linux_Kernel_Server

_________________
Official Forum Rules, Guidelines, and Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW - TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum.

---------------------------------------------------------

Linux User #377467 counter.li.org / linuxcounter.net
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum