OK tested, So The size thing is real, my 500GB Drive shows up as 1.81TB thank you very much ksmbd for making my drive bigger. This happens only when share is mapped to a drive, but tbh I never saw any value in mapping samba shares to a drive letter, Im quite happy with the Networking folders Windows side, and if anything needs mounting I do it directly on the target applications like VLC.
Anyway HDD size bug is real via kmsbd so bug needs to be reported upstream. (Im looking at the op)
As for share NOT showing up on Android, I guess this depends on Android, app or user?
On my android File manager it shows up just fine on auto detect, VLC side, not so much even though all my other shares show up fine, but this is a VLC bug and its a long standing bug (I'm a beta tester), the trick is to add your share manually, and VLC side its an interesting way to do it, you need to add any share as a favorite and edit that share with correct IP blablabla and voilla.
Laptop side Linux OS, no issues, share available and visible and works, Can't test on SmartTV cause my TV doent pretend to be smart, it knows its just a TV and is very happy being just a TV and doesn't want to be smart either, Ill assume those last parts, I dont have conversations with the TV .
Media Center side (KODI) running on my home grown custom rolled distro Linux based, Share appears just fine and is obviously working.
Only real issue is the HDD size when share is mapped to a letter, the rest, works and keeps working.
I dont particularly think the DD-WRT drive detection via ntfs3 is all that, but it works.
Attached is my basic test config.
Code:
~# mount
/dev/sda1 on /tmp/mnt/sda1 type ntfs3 (rw,noatime,nls=utf8,nodiratime)
There were some issues which I have corrected by fixing it directly connected to a Windows machine, but appears ntfs3 didn't like my umount /dev/sda1
Code:
dmesg| grep sda1
[ 44.776348] sda: sda1
[ 2847.648862] Buffer I/O error on dev sda1, logical block 786436, lost async page write
[ 2847.657006] Buffer I/O error on dev sda1, logical block 786441, lost async page write
[ 2847.665149] Buffer I/O error on dev sda1, logical block 786442, lost async page write
[ 2847.673292] Buffer I/O error on dev sda1, logical block 786443, lost async page write
[ 2847.681445] Buffer I/O error on dev sda1, logical block 786444, lost async page write
[ 2847.689693] Buffer I/O error on dev sda1, logical block 786445, lost async page write
[ 2847.697867] Buffer I/O error on dev sda1, logical block 786446, lost async page write
[ 2847.697886] Buffer I/O error on dev sda1, logical block 786447, lost async page write
[ 2847.697900] Buffer I/O error on dev sda1, logical block 786449, lost async page write
[ 2847.697913] Buffer I/O error on dev sda1, logical block 786450, lost async page write
[ 2924.431369] Buffer I/O error on dev sda1, logical block 19342, lost async page write
[ 2924.439161] Buffer I/O error on dev sda1, logical block 19624, lost async page write
[ 2924.446918] Buffer I/O error on dev sda1, logical block 19627, lost async page write
[ 2924.454754] Buffer I/O error on dev sda1, logical block 19628, lost async page write
[ 2924.462622] Buffer I/O error on dev sda1, logical block 20600, lost async page write
[ 2924.470697] Buffer I/O error on dev sda1, logical block 2, lost async page write
[ 2924.478364] VFS: Dirty inode writeback failed for block device sda1 (err=-5).
Things to investigate?!
Code:
~# dmesg| grep ksmbd
[ 1622.085093] Out of memory in ksmbd_auth_ntlmv2:476
[ 1623.272589] Out of memory in ksmbd_auth_ntlmv2:476
[ 2846.932092] ksmbd: kill command received
[ 2849.903648] ksmbd: Server reset is in progress, can't start daemon
[ 2850.631429] ksmbd: sock_read failed: -108
Syslog
Code:
Aug 15 20:15:14 Nexus local5.err ksmbd: [ksmbd-worker/5170]: ERROR: Recv() error Invalid input data or parameter [-7]
Aug 15 20:15:14 Nexus local5.err ksmbd: [ksmbd-manager/5169]: ERROR: WARNING: child process exited abnormally: 5170
Aug 15 20:15:14 Nexus local5.err ksmbd: [ksmbd-manager/5169]: ERROR: Fatal IPC error. Terminating. Check dmesg.
Aug 15 20:15:14 Nexus local5.err ksmbd: [ksmbd-manager/5169]: ERROR: can't execute kill 5170: No such process
Aug 15 20:15:14 Nexus local5.info ksmbd: [ksmbd-manager/5169]: INFO: Exiting. Bye!
Aug 15 19:32:38 Nexus local5.err ksmbd: [ksmbd-manager/2763]: ERROR: Can't open `/tmp/ksmbd.subauth': No such file or directory
Aug 15 19:32:38 Nexus local5.info ksmbd: [ksmbd-worker/2764]: INFO: User already exists
Aug 15 19:33:11 Nexus local5.err ksmbd: [ksmbd-worker/2764]: ERROR: Unsupported share info level (write): 2
Aug 15 19:33:11 Nexus local5.err ksmbd: [ksmbd-worker/2764]: ERROR: Unsupported share info level (read): 2
Thank you for taking the time and confirming the bug. Regarding Android & VLC
I would like to point out, that BEFORE Android AND VLC was able to detect the samba folder. So it can not be just an Android bug or VLC. With Android you may use an App such as Xplorer and u can see the device. However, before it used to work with any android version / app etc. I know that cos on my phone I used the standard file manager and had no issues. On my smart TV I can not connect / find it at all as I am not able to install a different app and this is actually a big issue as on my NAS I have plenty of photos / videos... So I can assure you that this issue is not an Android bug, rather has something to do with DD-WRT firmware update, as it worked perfectly before.
For all the other effort u did BIG THANKS AND RESPECT!
Joined: 31 Jul 2021 Posts: 2146 Location: All over YOUR webs
Posted: Mon Aug 15, 2022 22:43 Post subject:
@FireStorm@ I dont use xplorer, its the default file manager and beta vlc android 11/12 side, and smart tvs are bullcrap, have you tried upgrading its firmware? I cant test smart TVs my tv is dumb and works just fine as do all the shares anywhere but the moon as reported.
Besides the report is about wrong HDD size, confirmed issue ksmbd side when mapping shares to drive letter windows side.
Please get it, its not dd-wrt the fault is 3rd party project not developed by DD-WRT.
Before was before and now is now, the bug needs to be reported upstream, else it wont be fixed.
I guess we should petition the master wizard to not display the root physical drive partition information (sda) in the webUI?
Actually this would be necessary to keep as is. I have one USB flash in a router which has no partitions and it is quite literally mounted as /dev/sda. Not sda1. Also, we have drives on my work servers which are partition-less and mounted in the same way (sda, sdb, etc) but they are LVM drives. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
Joined: 08 May 2018 Posts: 14217 Location: Texas, USA
Posted: Tue Aug 16, 2022 17:23 Post subject:
lexridge wrote:
kernel-panic69 wrote:
I guess we should petition the master wizard to not display the root physical drive partition information (sda) in the webUI?
Actually this would be necessary to keep as is. I have one USB flash in a router which has no partitions and it is quite literally mounted as /dev/sda. Not sda1. Also, we have drives on my work servers which are partition-less and mounted in the same way (sda, sdb, etc) but they are LVM drives.
Apparently I didn't absorb enough caffeine this morning. Went right over my head haha. _________________ Linksys EA8500 (Internet Gateway, AP/VAP) - DD-WRT r53562
Features in use: WDS-AP, Multiple VLANs, Samba, WireGuard, Entware: mqtt, mlocate
Wireless 5ghz only
Netgear R7800 (WDS-AP, WAP, VAP) - DD-WRT r55779
Features in use: multiple VLANs over single trunk port
Linksys EA8500 WDS Station x2 - DD-WRT r55799
Netgear R6400v2 WAP, VAP 2.4ghz only w/VLANs over single trunk port. DD-WRT r55779
OSes: Fedora 38, 9 RPis (2,3,4,5), 20 ESP8266s: Straight from Amiga to Linux in '94, never having owned a Windows PC.
@FireStorm@ I dont use xplorer, its the default file manager and beta vlc android 11/12 side, and smart tvs are bullcrap, have you tried upgrading its firmware? I cant test smart TVs my tv is dumb and works just fine as do all the shares anywhere but the moon as reported.
Besides the report is about wrong HDD size, confirmed issue ksmbd side when mapping shares to drive letter windows side.
Please get it, its not dd-wrt the fault is 3rd party project not developed by DD-WRT.
Before was before and now is now, the bug needs to be reported upstream, else it wont be fixed.
So big up George Foreman and his grills and KOs. Big up George and his thermal designs for the r9000 heatsinks.
Am I wrong, but I think u mentioned that u have reported it, haven't u? I hope it gets fixed soon.