Hikvision DS-2DE2202-DE3 (reboot/fail init -i problem)

Cr1mz

n3wb
Joined
Jun 1, 2016
Messages
2
Reaction score
0
Hello guys,

I need some help with my IPCAM, since it stopped working a few days ago.
I buy this model @aliexpress, and it was working like charm until it somehow stopped working, and as far as i can can saw it was impossible to diagnose, because no scam service was running. I open it up, and found a serial console header, and i used it to try "debugginz" the problem, but in fact i cannot translate the problem focus to something i can work with. The problem is, when it launches the /home/initrun.sh script it comes with the message above, and after sometime trying to initialize DSP(i am not sure about it), it automatically reboots when the script ends.
Does anyone got a problem related with Hikvision IP Cams before? Thx in advance for you time.

Error after script run:
([06-01 15:58:14][pid:852][SYSINIT][ERROR]hwif_dsp_init error force sys reboot,ret=-12!!!!)

Output from /home/initrun.sh:

route: ioctl 0x890c failed: No such processcp: can't stat 't1': No such file or directory
/dav
map_size = 0x300000
nr_item = 3
addr_offset = 0x0 filename = orccode.bin
addr_offset = 0x200000 filename = orcme.bin
addr_offset = 0x2a0000 filename = default_binary.bin
mmap returns 0x403a9000
loading ./orccode.bin...addr = 0x403a9000, size = 0x19fd27
loading ./orcme.bin...addr = 0x405a9000, size = 0x399c4
loading ./default_binary.bin...addr = 0x40649000, size = 0x40000
===============================
u_code version = 2014/5/9 3.0
===============================
ln: /dev/rtc: File exists
=====check_config start=====
===main db is ok===
start unix bus daemon
netprocess version: 1.0.14 [14:39:01-Jul 23 2014].
[06-01 17:04:37][pid:841][IPC_UNIX][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[06-01 17:04:37][pid:846][IPC_UNIX][ERROR] from daemon ack, dst not work len 0 , load_type is [10012]
[06-01 17:04:37][pid:846][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[06-01 17:04:37][pid:846][UNI_IF][ERROR]communicaite_to_davinci failed!!!
==================PPPoE is disable!!!
No need to recover kernel pri partition.
No need to recover ramdisk pri partition.
[06-01 17:04:38][pid:841][IPC_UNIX][ERROR]daemon can not find Dst process.load_type 0x10012 is_need_ack 1
[06-01 17:04:38][pid:846][IPC_UNIX][ERROR] from daemon ack, dst not work len 0 , load_type is [10012]
[06-01 17:04:38][pid:846][UNI_IF][ERROR]65554:ipc_unix_call_service failed, ret = -3.
[06-01 17:04:38][pid:846][UNI_IF][ERROR]communicaite_to_davinci failed!!!
hal_getport port init ok
Camera:HIK DS2NETF0207 interface:pSEUDO
-------------------------pInfo->resolution:1325------------------------
[06-01 17:04:39][pid:855][OTHER][ERROR]Error, failed to access '/proc/debug/chip/dev_feature'
insmod: can't insert 'uart232.ko': File exists
davinci receive cmd_query_davinci_param.
[06-01 17:04:39][pid:855][OTHER][ERROR]get_ipaddr ioctl error and errno=99
[06-01 17:04:39][pid:855][OTHER][ERROR]get_ipaddr failed.
[06-01 17:04:39][pid:855][OTHER][ERROR]inet_aton failed ,errno = 99, ip =
S: cmd_query_davinci_param
 
Last edited by a moderator:

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,975
Reaction score
6,799
Location
Scotland
I think it's hard to tell for sure if the problem is hardware or firmware.
Do you have a note of the firmware that is / was running, and any idea of the region?
That would help if a firmware refresh was tried as a possible fix.

If you are really quick (eg copy / paste the command into PuTTY) before the reboot - you might get some more info with 'cat /proc/kmsg' or 'dmesg' at the serial console.
 

Enabler

Getting the hang of it
Joined
Oct 11, 2015
Messages
265
Reaction score
41
Location
Bolton
Did you change any config settings before it stopped working?

I assume it's got CH in the serial number (meaning Chinese)?
 

Cr1mz

n3wb
Joined
Jun 1, 2016
Messages
2
Reaction score
0
Hi there guys,

I buy it on aliexpress, but it doens't have CH in the serial number. I has a 5.3.9 version which i dunno if it's a offcial version, but i came this way. Mention you request about kernel messages, all i got is a i2c oper problem, i tried to fire up the script manually and then stop it to check kernel messages:

# cat /proc/kmsg
<3>[ 133.940000] ambarella-i2c ambarella-i2c.0: No ACK from address 0x24, 0:0!
<3>[ 133.940000] ambarella-i2c ambarella-i2c.0: I2C state 0x9, please check address 0x24!
<4>[ 133.940000] ambarella-i2c ambarella-i2c.0: ambarella_i2c_stop[1] from 1 to 9
<3>[ 133.940000] ambarella-i2c ambarella-i2c.0: ambarella_i2c_irq in wrong state[0x9]
<3>[ 133.940000] ambarella-i2c ambarella-i2c.0: status_reg[0x40]
<3>[ 133.940000] ambarella-i2c ambarella-i2c.0: control_reg[0x3]
<3>[ 134.940000] ambarella-i2c ambarella-i2c.0: No ACK from address 0x24, 0:0!
<3>[ 134.940000] ambarella-i2c ambarella-i2c.0: I2C state 0x9, please check address 0x24!
<4>[ 134.940000] ak4954: write i2c failed,-16
<4>[ 134.940000] ambarella-i2c ambarella-i2c.0: ambarella_i2c_stop[1] from 1 to 9
<3>[ 134.940000] ambarella-i2c ambarella-i2c.0: ambarella_i2c_irq in wrong state[0x9]
<3>[ 134.940000] ambarella-i2c ambarella-i2c.0: status_reg[0x40]
<3>[ 134.940000] ambarella-i2c ambarella-i2c.0: control_reg[0x3]
<3>[ 135.940000] ambarella-i2c ambarella-i2c.0: No ACK from address 0x24, 0:0!
<3>[ 135.940000] ambarella-i2c ambarella-i2c.0: I2C state 0x9, please check address 0x24!
<4>[ 135.940000] ambarella-i2c ambarella-i2c.0: ambarella_i2c_stop[1] from 1 to 9
<3>[ 135.940000] ambarella-i2c ambarella-i2c.0: ambarella_i2c_irq in wrong state[0x9]
<3>[ 135.940000] ambarella-i2c ambarella-i2c.0: status_reg[0x40]
<3>[ 135.940000] ambarella-i2c ambarella-i2c.0: control_reg[0x3]
<3>[ 136.940000] ambarella-i2c ambarella-i2c.0: No ACK from address 0x24, 0:0!
<3>[ 136.940000] ambarella-i2c ambarella-i2c.0: I2C state 0x9, please check address 0x24!
<4>[ 136.940000] ambarella-i2c ambarella-i2c.0: ambarella_i2c_stop[1] from 1 to 9
<3>[ 136.940000] ambarella-i2c ambarella-i2c.0: ambarella_i2c_irq in wrong state[0x9]
<3>[ 136.940000] ambarella-i2c ambarella-i2c.0: status_reg[0x40]
<3>[ 136.940000] ambarella-i2c ambarella-i2c.0: control_reg[0x3]
<3>[ 137.940000] ambarella-i2c ambarella-i2c.0: No ACK from address 0x24, 0:0!
<3>[ 137.940000] ambarella-i2c ambarella-i2c.0: I2C state 0x9, please check address 0x24!
<4>[ 137.940000] ak4954: write i2c failed,-16
<4>[ 137.940000] ambarella-i2c ambarella-i2c.0: ambarella_i2c_stop[1] from 1 to 9
<3>[ 137.940000] ambarella-i2c ambarella-i2c.0: ambarella_i2c_irq in wrong state[0x9]
<3>[ 137.940000] ambarella-i2c ambarella-i2c.0: status_reg[0x40]
<3>[ 137.940000] ambarella-i2c ambarella-i2c.0: control_reg[0x3]
<3>[ 138.940000] ambarella-i2c ambarella-i2c.0: No ACK from address 0x24, 0:0!
I didn't changed anything so far in the standard configuration.

:(

Thx guys
 

Enabler

Getting the hang of it
Joined
Oct 11, 2015
Messages
265
Reaction score
41
Location
Bolton
If after that it still doesn't work then perhaps it's developed a hardware fault (maybe evidenced in the kernel messages and hwif_dsp_init error ). Could just be a loose cable inside given it's an i2c error.

OR if it's factory English version (so no CH in full serial, no Chinese writing on camera - therefore not using hacked firmware) then I would TFTP the English firmware to it.

I think your camera uses http://www.hikvisioneurope.com/portal/index.php?dir=Product%20Firmware/Speed%20Dome/DS-2DExxxxW%2CDS-2DFxxxxW/

Or just return it.
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,975
Reaction score
6,799
Location
Scotland
Hikvision have re-organised that website - it looks like there is a wide selection of possible firmware versions here : http://www.hikvisioneurope.com/portal/index.php?dir=Product Firmware/Front-ends/00--Speed Dome/Megapixel/
I'd agree with @Enabler that your logs suggest that a hardware problem has developed. Certainly worth checking for possible cable issues on a moving platform, even if it looks like an i2C comms error, which as far as I know is most usually but not exclusively for intra-board communications as opposed to down a cable.
 
Last edited by a moderator:
Top