Posted: Mon Mar 25, 2024 15:28 Post subject: New Build - 03/25/2024 - r55460
Welcome to x86 / x64 r55460 beta release thread for reporting, feedback to developers & community benefit.
Please do not flash builds until installation is understood, risks involved and device specificrecovery methods.
Avoid discussions, create threads for questions, general problems or use search; this thread is not for support.
List router model & version or revision, operating & wireless modes & exact filename/firmware image flashed.
CLI Flash: 'cd /tmp' then 'wget {file URL}' (httponly) or 'curl -O {file URL}' (http, https, ftp) 'write {file} linux' then 'reboot'.
Issues, observations, and/or workarounds reported:
• WebUI: Clear history or use a portable. Temporary cache bypass: Ctrl+F5, Cmd+Shift+R or new private window/incognito.
• Please report findings with steps needed to reproduce, configuration, clients, output, logs and important information below!
Important:
• Detail issues & relevant configs, logs: syslog klog 'dmesg' 'cat /tmp/var/log/messages' nvram set console_debug=1, serial.
• Firewall NAT: 'iptables -vnL' 'iptables -t nat -vnL' 'iptables -t mangle -vnL' & 'cat /tmp/.ipt'. Debug Analyze: stracetcpdump.
• Gremlins: reboot. cold boot. Reset & reconfigure not restore backup. Search Trac & discuss in forum before opening tickets.
• Include operating & wireless modes (e.g. Gateway, Router, AP, SB, WDS, Mesh) and applicable configurations to reproduce.
Posted: Sat Mar 30, 2024 2:55 Post subject: SAMBA crashing on creating files on NAS drives.
Router/Version: Intel 4770K 16GB ram and 6 port realtek 2.5Gbps card
File/Kernel: Whatever comes with the x64 full version
Previous/Reset: Yes
Mode/Status: Gateway/NAS
Issues/Errors: Creating a file on the NAS drive crashes the DD-WRT system.
Android devices using KODI seems not to be spewing errors while trying to browse shares.
I wonder if Sp1derman NTFS issues are fixed now also?
Last edited by flood404 on Sun Mar 31, 2024 19:30; edited 1 time in total
Samba: Still the same Errors
Editing a *.sh-File on an USB-Samba-Share (ext4) with Notepad++ reboots the Router the moment I press the Save-Button.
Editing a *.txt-File on an USB-Samba-Share (NTFS) with any txt-Editor reboots the Router the moment I press the Save-Button.
After the Reboot all Shares (2x ext4 and 1 x NTFS) are empty in Windows-Explorer also they are mounted in DD-WRT. It needs a second Reboot to show the shares in Windows.
I can reproduce this all the time....
Samba: Still the same Errors
Editing a *.sh-File on an USB-Samba-Share (ext4) with Notepad++ reboots the Router the moment I press the Save-Button.
Editing a *.txt-File on an USB-Samba-Share (NTFS) with any txt-Editor reboots the Router the moment I press the Save-Button.
After the Reboot all Shares (2x ext4 and 1 x NTFS) are empty in Windows-Explorer also they are mounted in DD-WRT. It needs a second Reboot to show the shares in Windows.
I can reproduce this all the time....
So back to 54682.
It seems to be you got some USB issues with this system. I do own a Dell 7040M which is a 6th gen i3 in it. I can see why you need a USB Ethernet adapter. The BIOS is pretty picky with its settings. It's very similar to your system. I just don't have the USB 3.0 Ethernet adapter to test with.
Would it be possible for you to get an SFF system? Those you can throw a PCI-E halF height card Ethernet adapter. I know here in the states you can pickup a Dell SFF G400 for under $50 USD. I got mine for $20 a piece with i3, 8GB ram, DVD drive and no hard drive or ssd.
Last edited by flood404 on Sun Mar 31, 2024 19:53; edited 1 time in total
Joined: 16 Jun 2006 Posts: 216 Location: Germany, BW
Posted: Sun Mar 31, 2024 11:47 Post subject:
flood404 wrote:
I know I can write files to the SATA connected drives just fine with the latest version. I can test the USB in NTFS and ext3 format connected to the USB port to see if I get the same crashes.
The hussle with the USB-NIC is not so important since I found out how to make it work with 4 lines in a startup script (what took some time as I'm not a linux prof.).
But I highly appreciate your time and effort if you could check the SMB stuff with NTFS and ext4 shares.
Just copy an txt-file to the shares, then open it, type something and save it. At this point my box reboots.
I know I can write files to the SATA connected drives just fine with the latest version. I can test the USB in NTFS and ext3 format connected to the USB port to see if I get the same crashes.
The hussle with the USB-NIC is not so important since I found out how to make it work with 4 lines in a startup script (what took some time as I'm not a linux prof.).
But I highly appreciate your time and effort if you could check the SMB stuff with NTFS and ext4 shares.
Just copy an txt-file to the shares, then open it, type something and save it. At this point my box reboots.
Thanks, flood404
I can confirm writing any file to a NAS drives crashes the system. You can read files fine but crashes on creation. As soon as I hit paste to send a file to the NAS drive it crashes with no log or anything. The drives are formatted as EXT4. I can confirm Sp1derman's issue.
Joined: 16 Jun 2006 Posts: 216 Location: Germany, BW
Posted: Mon Apr 01, 2024 12:23 Post subject:
Thank you, flood404
There a only a few SMB issues reported in the other hardware groups and so I was wondering if its an installation/configuration problem.
Now I'm sure it's a bad SMB implementation in DD-WRT.
But obviosly there are not many people using Samba, otherwise there would be tons of reports.
Joined: 18 Mar 2014 Posts: 13296 Location: Netherlands
Posted: Mon Apr 01, 2024 12:31 Post subject:
Sp1derman wrote:
Thank you, flood404
There a only a few SMB issues reported in the other hardware groups and so I was wondering if its an installation/configuration problem.
Now I'm sure it's a bad SMB implementation in DD-WRT.
But obviosly there are not many people using Samba, otherwise there would be tons of reports.
Most stopped using as it is not working.
Two problems:
First KSMBD is buggy to begin with
Second it has to be backported to earlier kernels by DDWRT which also does not get the attention it needs.
Joined: 16 Jun 2006 Posts: 216 Location: Germany, BW
Posted: Mon Apr 01, 2024 13:16 Post subject:
That are bad news, egc
but I'm wondering why Samba works on OpenWRT.
I just searched the OpenWRT Forum, and at least all SMB-problems there were permission related.
Isn't it possible to use OpenWRT Samba-Implementation in DD-WRT?
As I'm using Plex and MiniDLNA with my own configfile by command-line (it never worked with GUI, and there is no Guide for Plex or MiniDLNA) and also using Samba for Family exchange I really need Samba.
Every new or changed setting in a config file is a pain to get it running.
Every time you edit a file its lottery time, because it also crashes sometimes with build 54682.
I also have OpenVPN Site-to-Site-Brigde (TAP) running and would like use DCO as soon as it's confimed 'running and working' but I can't update because of broken Samba...
Joined: 18 Mar 2014 Posts: 13296 Location: Netherlands
Posted: Mon Apr 01, 2024 13:23 Post subject:
Sp1derman wrote:
That are bad news, egc
but I'm wondering why Samba works on OpenWRT.
I just searched the OpenWRT Forum, and at least all SMB-problems there were permission related.
Isn't it possible to use OpenWRT Samba-Implementation in DD-WRT?
As I'm using Plex and MiniDLNA with my own configfile by command-line (it never worked with GUI, and there is no Guide for Plex or MiniDLNA) and also using Samba for Family exchange I really need Samba.
Every new or changed setting in a config file is a pain to get it running.
Every time you edit a file its lottery time, because it also crashes sometimes with build 54682.
I also have OpenVPN Site-to-Site-Brigde (TAP) running and would like use DCO as soon as it's confimed 'running and working' but I can't update because of broken Samba...
Maybe it's time to move on.
OpenWRT also reported problems off and on and DDWRT uses the same KSMBD but as said it has to be backported to older kernels for pre 6.1 and the backports have to be removed for builds using K6.1
See my second point
To be honest I have someone who wants to use SMB on an Asus AC68u and I compile for them (note inclusive language ) with the old SAMBA3 which still works
About OpenVPN, DCO hardly gives any extra performance on these low end routers without crypto acceleration.
If you need a site-to-site bridge use WireGuard with VXLAN or EoIP tunnels
Joined: 16 Jun 2006 Posts: 216 Location: Germany, BW
Posted: Mon Apr 01, 2024 13:55 Post subject:
ho1Aetoo wrote:
And installing samba via entware is not an alternative?
I never used entware so I can't answer. And beside my issue with free time to fígure it out I don't have a 3rd box for testing.
egc wrote:
About OpenVPN, DCO hardly gives any extra performance on these low end routers without crypto acceleration.
If you need a site-to-site bridge use WireGuard with VXLAN or EoIP tunnels
My CPUs support AES-NI so the site-to-site bridge is working well, CPU-load only goes somtimes up to 20%-40%, most time only 5% if there is traffic. DCO would only be the cream topping
The r55615 fixed the crashing issue when creating files on NAS drives! I was able to copy an mp3 without issue. Going to try some large files to see if it remains stable. I am not getting error messages in terminal.