Firmware 5.1.2 and 5.1.6 NAS observations and questions

raptor1418

n3wb
Joined
Jul 21, 2014
Messages
2
Reaction score
0
First I want to say thanks to everyone for the insightful info that helped me pick my camera on this forum (along with cameracritic and other forums).

As I have read lots of others are having issues with the NAS connections. I myself have daily issues with the NAS connection to a linux SMB/CIFS share from a 2CD2032 with it going uninitialized and I haven't seen any hex fix for 5.1.2 and considering the difference between hex values of each version I wasn't so sure if editing 5.1.2 to match one of them would ultimately brick the camera. Does anyone one know if there is a different hex value for 5.1.2 or if there is really any need to be on 5.1.2 versus a lower version (5.1.6 wouldn't even mount the CIFS stating invalid directory)?

Anyone know what this function is checking for and comparing too [check_and_repair_unformat_nas] and is it some portion of this function that is being disabled when you do the hex edit (I know you would need access to the source code but hoping someone who does might answer)? I notice the failure comes on that execution from that function based on a line in the logging
Code:
[07-18 12:09:35][NAS][DEBUG][nfsApp/nfsapp.c 381][check_and_repair_unformat_nas]nfs disk(8, 0) nas directory test error, but no umount
Eventually it seems to find a problem and does what appears to be an attempt at a clean unmount then immediately follows with executing a mount. All of this was observed with no changes done to the camera at the time.
Code:
[07-18 12:13:05][NAS][DEBUG][nfsApp/nfsapp.c 332][check_and_repair_unformat_nas]nfs disk(8, 0) nas directory is OK!, rt_er 0 hdstat 0x4000019
[07-18 12:13:05][NAS][DEBUG][nfsApp/nfsapp.c 347][check_and_repair_unformat_nas]nfs disk hkws(/mnt/nfs00/datadir0/HIKWS) is OK! then umount nsf
[07-18 12:13:05][NAS][ERROR][nfsApp/nfsapp.c 238][has_unmount_status]Ó²ÅÌ(8, 0)Òò·ÃÎÊʧ°Ü¶øжÔØ
[07-18 12:13:05][NAS][DEBUG][nfsApp/nfsapp.c 741][nfs_client_task]nfs disk /mnt/nfs00 inavailable.
[07-18 12:13:05][NAS][DEBUG][nfsApp/nfsmount.c 364][nas_unmount]umount success!
[07-18 12:13:05][NAS][DEBUG][nfsApp/nfsapp.c 749][nfs_client_task]unmount nfs disk /mnt/nfs00 over.
[07-18 12:13:15][NAS][DEBUG][nfsApp/nfsapp.c 611][nfs_client_task]nfs disk(8, 0)try to mount NFS disk /mnt/nfs00.
[07-18 12:13:15][NAS][DEBUG][nfsApp/nfsmount.c 241][cifs_mount]mount cifs success!
[07-18 12:13:15][NAS][DEBUG][nfsApp/nfsapp.c 640][nfs_client_task]nfs disk(8, 0)mounted
I am just thinking maybe I can build some server side fix, instead of having to edit a file on the camera just until Hikvision releases a good fix for the underlying issue.

As far as 5.1.6 goes I see it is having some issues with the mount commands and telling me a directory is invalid even when the exact same setup works in 5.1.2. Anyone else seen this yet on the new firmware?
Code:
[07-14 16:11:48][NAS][DEBUG][nfsApp/nfsapp.c 577][init_mount_param][MOUNT_SMB_CIFS]The nas server adrres is ipv4
[07-14 16:11:48][NAS][DEBUG][nfsApp/nfsapp.c 752][nfs_client_task]nfs disk(8, 0): remotedir = //[I]<my_IP_addr>[/I]/NVR, localdir = /mnt/nfs00
[07-14 16:11:48][NAS][DEBUG][nfsApp/nfsapp.c 756][nfs_client_task]nfs disk(8, 0) try to mount NFS disk /mnt/nfs00.
[07-14 16:11:48][NAS][ERROR][nfsApp/nfsmount.c 237][cifs_mount]mount cifs failed![mount -t cifs -o sec=ntlm,rsize=4096,wsize=4096,nolock,noac,soft,noserverino,username="[I]<my_userID>[/I]",password="[I]<my_password>[/I]" "//[I]<my_IP_addr>[/I]/NVR" /mnt/nfs00],errno 2
[07-14 16:11:48][NAS][DEBUG][nfsApp/nfsapp.c 773][nfs_client_task]nfs disk(8, 0) mount /mnt/nfs00 failed, errno = 115.
[07-14 16:11:52][NAS][DEBUG][nfsApp/nfsapp.c 577][init_mount_param][MOUNT_SMB_CIFS]The nas server adrres is ipv4
[07-14 16:11:52][NAS][ERROR][nfsApp/nfsmount.c 237][cifs_mount]mount cifs failed![mount -t cifs -o sec=ntlm,rsize=4096,wsize=4096,nolock,noac,soft,noserverino,username="[I]<my_userID>[/I]",password="[I]<my_password>[/I]" "//[I]<my_IP_addr>[/I]/NVR" /mnt/mount_test_dir0],errn
[07-14 16:11:52][UNI_IF][ERROR]mount failed, no directory or directory is wrong.
 
Top