Because of size constraints debugging/printing is often disabled, it has to fit in 8 MB.
So not bad taste but a sensible trade off.
If you are not satisfied you can always ask your money back and go elsewhere
Now that we got that out of the way, how can we debug it?
I've access to multiple macOS versions and I also know that macOS Mojave 10.14.6 was the last version that worked fine. _________________ 1x Netgear R7800 (latest); 3x Netgear R7000 (latest); 2x Asus RT-N16 (v3.0-r47656); 2x Fonera 2100 (v3.0-r45454).
Joined: 18 Mar 2014 Posts: 12922 Location: Netherlands
Posted: Wed Oct 25, 2023 15:39 Post subject:
I honestly do not know, maybe it needs extra compile options maybe you need the userspace tools to enable debugging, anyway you probably need to compile yourself.
Alternatively you have to persuade our head of development to spend time on this.
I personally stay clear of ksmbd it has been buggy from the start. I bought a 5 disk QNAP pro NAS which does the work
Some routers I have and administer have an USB stick for /opt /jfss and swap for local use but that is it.
I honestly do not know, maybe it needs extra compile options maybe you need the userspace tools to enable debugging, anyway you probably need to compile yourself.
Alternatively you have to persuade our head of development to spend time on this.
I personally stay clear of ksmbd it has been buggy from the start. I bought a 5 disk QNAP pro NAS which does the work
Some routers I have and administer have an USB stick for /opt /jfss and swap for local use but that is it.
It is possible that the "real" ksmbd version we are using on Kernel 6.1 is less buggy, I will try it out in the future.
But K6.1 will not come to Broadcom in the near future so no use to wait for that
Interesting, do you think we'll get kernel 6.x in the R7000 and will it be worth it? Maybe the boot time will increase even more. _________________ 1x Netgear R7800 (latest); 3x Netgear R7000 (latest); 2x Asus RT-N16 (v3.0-r47656); 2x Fonera 2100 (v3.0-r45454).
Joined: 18 Mar 2014 Posts: 12922 Location: Netherlands
Posted: Thu Oct 26, 2023 5:34 Post subject:
It is unlikely Kernel 6.1 is coming to Broadcom at least not any time soon.
The closed source drivers are for Kernel 2.6.
That is also the reason Fresh Tomato and Asus WRT Merlin are stuck on kernel 2.6.
So it is actually a miracle we were able to upgrade to K 4.4. But it took a major effort to do that.
Besides K 4.4 is still supported as SLTS release so no need to upgrade.
Keep in mind that if your router is not on the Linux 6.x kernel, that it will use a backported version, so some upstream changes may not be required... but here is what is publicly visible:
https://github.com/namjaejeon/ksmbd-tools _________________ "The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost
"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio
We’ve been over this in the past. This has nothing do with mDNS as you can always bypass it using the “connect to menu” and by specifying an IP and doesn’t work.
What you’re describing on your post seems to be a new issue that DD-WRT now has or a resurgence of something… bugs in DD-WRT, how shocking 😂 _________________ 1x Netgear R7800 (latest); 3x Netgear R7000 (latest); 2x Asus RT-N16 (v3.0-r47656); 2x Fonera 2100 (v3.0-r45454).
Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Fri Jan 05, 2024 11:58 Post subject:
TCB13 wrote:
What you’re describing on your post seems to be a new issue that DD-WRT now has or a resurgence of something… bugs in DD-WRT, how shocking 😂
The problem was with Fedora, not DD-WRT. The Avahi/mDNS/Bonjour in DD-WRT should work fine.
And if MacOS and Apple devices could use Bonjour, maybe they would not need to use Connect To menu via IP addresses, but names. I don't know much about Bonjour. _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
And if MacOS and Apple devices could use Bonjour, maybe they would not need to use Connect To menu via IP addresses, but names. I don't know much about Bonjour.
mDNS/Bonjour is just a way to resolve something like nas.local into an IP address, nothing more. At the end of the day the system will still run into the same issue where the Samba implementation in DD-WRT is broken. _________________ 1x Netgear R7800 (latest); 3x Netgear R7000 (latest); 2x Asus RT-N16 (v3.0-r47656); 2x Fonera 2100 (v3.0-r45454).
Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Sat Jan 06, 2024 7:38 Post subject:
TCB13 wrote:
mDNS/Bonjour is just a way to resolve something like nas.local into an IP address, nothing more. At the end of the day the system will still run into the same issue where the Samba implementation in DD-WRT is broken.
ksmbd (kernel-mode Samba) is not quite broken, just that it's not like the full-featured Samba 4. It's still a work-in-progress. ksmbd is also NOT developed by the original Samba programmers.
It's working with Window$ and Linux, notably public shares.
You might consider installing the full Samba 4 from Entware instead, which has a larger memory footprint.
ksmbd (kernel-mode Samba) is not quite broken, just that it's not like the full-featured Samba 4. It's still a work-in-progress. ksmbd is also NOT developed by the original Samba programmers.
It's working with Window$ and Linux, notably public shares.
It is broken under DD-WRT. I've been in contact with namjaejeon, the lead maintainer of ksmbd, we did a lot of tests with macOS including with the version that comes with DD-WRT and but running on Debian 12 and it works just fine. Also posted here: https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1291878#1291878 follow the conversion after that.
The issue seems to be with DD-WRT's backport / hacks required make it work on an older kernels. Maybe something got broken and/or is missing.
Also, under OpenWRT (R7800), kernel 5.15, ksmbd works fine out of the box. _________________ 1x Netgear R7800 (latest); 3x Netgear R7000 (latest); 2x Asus RT-N16 (v3.0-r47656); 2x Fonera 2100 (v3.0-r45454).
Joined: 26 Mar 2013 Posts: 1858 Location: Hung Hom, Hong Kong
Posted: Sat Jan 06, 2024 14:07 Post subject:
TCB13 wrote:
It is broken under DD-WRT. I've been in contact with namjaejeon, the lead maintainer of ksmbd, we did a lot of tests with macOS including with the version that comes with DD-WRT and but running on Debian 12 and it works just fine. Also posted here: https://forum.dd-wrt.com/phpBB2/viewtopic.php?p=1291878#1291878 follow the conversion after that.
The issue seems to be with DD-WRT's backport / hacks...
I can asure that ksmbd is working fine in my setup. I do NOT use MacOS.
Since you know all the right people, you are in a much better position to HELP than me. So solve the puzzle instead of blaming DD-WRT!
And don't forget about the standalone Samba.
(BTW, is ksmbd really being coded by South Korean? Well.... ) _________________ Router: Asus RT-N18U (rev. A1)
Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!
Since you know all the right people, you are in a much better position to HELP than me. So solve the puzzle instead of blaming DD-WRT!
There's nothing to be solved in ksmbd. This is an issue with the backport that was done in DD-WRT and it only affects DD-WRT running on older kernels + macOS.
Read what egc said.
Mod edit/note: Please refrain from swearing, thanks. -KP _________________ 1x Netgear R7800 (latest); 3x Netgear R7000 (latest); 2x Asus RT-N16 (v3.0-r47656); 2x Fonera 2100 (v3.0-r45454).