Archer C7 samba reboot

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
PeterSchuster
DD-WRT Novice


Joined: 20 Sep 2022
Posts: 3

PostPosted: Mon Sep 26, 2022 14:45    Post subject: Archer C7 samba reboot Reply with quote
Hi,

I have an Archer C7 V5 running DD-WRT v3.0-r50176
It is connected to a hard drive formatted as NTFS and I have the following issue: I can access the share from Windows but after browsing a couple of seconds, the router reboots.

There is an old topic dealing with the same issue
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=323463&sid=26cc9ba509fc9e60bb673321e2215e19

It was found out, that the problem came from the NTFS partition.

Anybody knows if there is a solution to this problem or formatting to ext2/3 is the only workaround ?

Regards

Fabien
Sponsor
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 10784
Location: Netherlands

PostPosted: Mon Sep 26, 2022 16:40    Post subject: Reply with quote
You can try to run chkdsk on the disk from a windows machine.

But I would use ext2/4 as format

_________________
Routers:Netgear R7800, R7000, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2143
Location: All over YOUR webs

PostPosted: Mon Sep 26, 2022 16:55    Post subject: Reply with quote
This sounds like of of those quick fix workarounds that shouldn't be a requirement strickly speaking, but and since our ksmbd is not and cannot be in sync with upstream, such issues will likely stay unless there's some patch that can be pulled in that doesn't touch the kernel APIS used by upstream.

Let me ping the upstream dev if he has any ideas.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
PeterSchuster
DD-WRT Novice


Joined: 20 Sep 2022
Posts: 3

PostPosted: Tue Sep 27, 2022 8:41    Post subject: Reply with quote
Hi,

Thank you for replying!
Let’s see if you get an answer from dev

Regards
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 4585

PostPosted: Tue Sep 27, 2022 17:55    Post subject: Reply with quote
egc wrote:
You can try to run chkdsk on the disk from a windows machine.

But I would use ext2/4 as format
Exactly this, use a native file system, otherwise which version OS, and any router settings needed to reproduce.
I am not a dd-wrt dev. Paragon: https://www.theregister.com/2022/04/29/problems_for_the_linux_kernel_ntfs/
https://www.theregister.com/2022/05/09/only_microsoft_can_give_open/
https://www.cosfone.com/the-ntfs-driver-of-the-linux-kernel-may-become-an-orphan-project/
https://www.cosfone.com/paragon-founder-maintenance-for-linux-kernel-ntfs-driver-has-not-stopped/
https://www.cosfone.com/ntfs3-kernel-driver-ushered-in-a-long-lost-update-the-author-sends-a-fix-to-linux-5-19/
https://www.cosfone.com/linux-6-0-opens-up-to-ntfs3-kernel-driver-updates-after-rc1-merge-window/
https://www.phoronix.com/news/NTFS3-Linux-Driver-2022-Sad
https://www.phoronix.com/news/Linus-Torvalds-NTFS3-Comments
https://www.phoronix.com/news/Linux-5.19-NTFS3-Fixes
https://www.phoronix.com/news/NTFS3-Linux-6.0-Updates
https://www.phoronix.com/news/Linux-NTFS3-hidedotfiles
https://www.phoronix.com/news/Linux-NTFS3-nocase
https://lore.kernel.org/lkml/?q=ntfs
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2143
Location: All over YOUR webs

PostPosted: Tue Sep 27, 2022 20:22    Post subject: Reply with quote
Such is the nature of opensource, especially when the only driver (pun intended) goes missing.

Perhaps Microsoft will take care of it, now its inlove with Linux... asif.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
blkt
DD-WRT Guru


Joined: 20 Jan 2019
Posts: 4585

PostPosted: Tue Sep 27, 2022 21:05    Post subject: Reply with quote
Microsoft opened exFAT file system specification so they could allow access, open NTFS spec to Linux developers.
TLDR Paragon NTFS3 is still very much WIP and appears to be slowly stumbling along. NTFS-3G is fairly stagnant.
Would I expect to have reliable write access, any sort of stability or trust either driver with my data? Nope. Nope.
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 10784
Location: Netherlands

PostPosted: Wed Sep 28, 2022 5:43    Post subject: Reply with quote
+1
_________________
Routers:Netgear R7800, R7000, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000, E1200v1, WRT54GS v1.
Install guide R6400v2, R6700v3,XR300:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800/XR500: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2143
Location: All over YOUR webs

PostPosted: Fri Sep 30, 2022 12:14    Post subject: Reply with quote
NTFS-3G works reliably well, I use it never had any issues. NTFS3 however only really over DD-WRT to do tests recently with samba and not on any data I wasn't willing to lose or that I have no backups for, also didn't let me down.

Nothing went up in flames, no kittens drowned and no babies were harmed.

Microsoft has the resources and while semi debatable, the skills to maintain opensource projects to support reading/writing any of their filesystems in Linux, especially since most of their money makers are Linux based. They dont do it likely because all their opensource support rhetoric is just that, rhetoric.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2143
Location: All over YOUR webs

PostPosted: Fri Nov 11, 2022 11:27    Post subject: Reply with quote
Please retest with a current release of DD-WRT more patches went into ksmbd.
_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC 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 cannot attach files in this forum
You cannot download files in this forum