Open jmandawg opened 2 years ago
share directory is located in usb storage ?
Yes it is a USB drive. I believe the USB disconnect is me switching the keyboard and mouse to my other computer via a 4 port USB hub connected to a USB selector switch.
Okay, I just can check problem is happening in smb2_open(). Don't know what line cause kernel oops at smb2_open(). So trying to reproduce it. Can you tell me some info of your environment ?
But I can see usb is connected again under usb disconnect message.
[44792.462420] usb 1-2.1: new high-speed USB device number 11 using xhci_hcd
[44792.606456] usb 1-2.1: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=92.23
[44792.606459] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[44792.606462] usb 1-2.1: Product: USB2.0 Hub
[44792.606463] usb 1-2.1: Manufacturer: GenesysLogic
[44792.670116] hub 1-2.1:1.0: USB hub found
[44792.670832] hub 1-2.1:1.0: 4 ports detected
So Is it true that USB storage is unplugged ?
[global]
server = delli5
netbios name = delli5
map to guest = Bad User
guest account = nobody
[root] comment = root file system path = / writable = yes browseable = no read only = no hide dot files = no guest ok = no valid users = jman create mask = 0777 directory mask = 02777 force user = jman force group = jman
[media] comment = 4TB Media path = /mnt/8TB-seagate/media read only = no writable = yes hide dot files = no guest ok = yes create mask = 0777 directory mask = 02777 force user = jman force group = jman
3. Can you tell me what operation is being performed in ksmbd? e.g. copy files to ksmbd share ?
I'm not sure, because it just randomly happens. Sometimes just wake up and it is crashed in the morning.
4. So Is it true that USB storage is unplugged ?
No, usb drive is never unplugged. Only the hub with keyboard/mouse is switched to other computer.
Hey, i'm running Archlinux (Kernel version: 5.18.2-arch1-1), and ksmbd to serve files to my other computers. Recently I will hear the fans start running full speed and X is unresponsive. When i look at dmesg i see this error and the system is semi-crashed, i'm going to switch back to samba and see if the problem resolves: