DS-2CD3332-I is rebooting every 30sec

madrian

n3wb
Joined
Mar 11, 2014
Messages
13
Reaction score
9
Hi,

I have two DS-2CD3332-I Hikvision cameras which are rebooting every 30 sec. They are quite old and it is interesting that they both behave in a similar way and this issue started at the same time (2 weeks ago I have this issue).

Cameras are not exposed to the internet.

Code:
64 bytes from 192.168.1.60: icmp_seq=751 ttl=64 time=250.312 ms
64 bytes from 192.168.1.60: icmp_seq=752 ttl=64 time=2.218 ms
64 bytes from 192.168.1.60: icmp_seq=753 ttl=64 time=1.488 ms
64 bytes from 192.168.1.60: icmp_seq=754 ttl=64 time=1.364 ms
64 bytes from 192.168.1.60: icmp_seq=755 ttl=64 time=2.167 ms
64 bytes from 192.168.1.60: icmp_seq=756 ttl=64 time=1.620 ms
64 bytes from 192.168.1.60: icmp_seq=757 ttl=64 time=1.517 ms
64 bytes from 192.168.1.60: icmp_seq=758 ttl=64 time=2.419 ms
64 bytes from 192.168.1.60: icmp_seq=759 ttl=64 time=2.444 ms
64 bytes from 192.168.1.60: icmp_seq=760 ttl=64 time=2.041 ms
64 bytes from 192.168.1.60: icmp_seq=761 ttl=64 time=1.596 ms
64 bytes from 192.168.1.60: icmp_seq=762 ttl=64 time=2.620 ms
64 bytes from 192.168.1.60: icmp_seq=763 ttl=64 time=1.584 ms
64 bytes from 192.168.1.60: icmp_seq=764 ttl=64 time=3.233 ms
64 bytes from 192.168.1.60: icmp_seq=765 ttl=64 time=2.359 ms
64 bytes from 192.168.1.60: icmp_seq=766 ttl=64 time=1.544 ms
64 bytes from 192.168.1.60: icmp_seq=767 ttl=64 time=2.292 ms
64 bytes from 192.168.1.60: icmp_seq=768 ttl=64 time=2.055 ms
64 bytes from 192.168.1.60: icmp_seq=769 ttl=64 time=2.080 ms
64 bytes from 192.168.1.60: icmp_seq=770 ttl=64 time=2.524 ms
64 bytes from 192.168.1.60: icmp_seq=771 ttl=64 time=1.281 ms
64 bytes from 192.168.1.60: icmp_seq=772 ttl=64 time=1.243 ms
64 bytes from 192.168.1.60: icmp_seq=773 ttl=64 time=3.368 ms
64 bytes from 192.168.1.60: icmp_seq=774 ttl=64 time=2.058 ms
64 bytes from 192.168.1.60: icmp_seq=775 ttl=64 time=1.532 ms
64 bytes from 192.168.1.60: icmp_seq=776 ttl=64 time=1.573 ms
64 bytes from 192.168.1.60: icmp_seq=777 ttl=64 time=2.126 ms
64 bytes from 192.168.1.60: icmp_seq=778 ttl=64 time=2.272 ms
64 bytes from 192.168.1.60: icmp_seq=779 ttl=64 time=1.472 ms
64 bytes from 192.168.1.60: icmp_seq=780 ttl=64 time=3.086 ms
64 bytes from 192.168.1.60: icmp_seq=781 ttl=64 time=1.439 ms
64 bytes from 192.168.1.60: icmp_seq=782 ttl=64 time=1.838 ms
64 bytes from 192.168.1.60: icmp_seq=783 ttl=64 time=1.716 ms
64 bytes from 192.168.1.60: icmp_seq=784 ttl=64 time=1.194 ms
64 bytes from 192.168.1.60: icmp_seq=785 ttl=64 time=1.454 ms
64 bytes from 192.168.1.60: icmp_seq=786 ttl=64 time=2.317 ms
64 bytes from 192.168.1.60: icmp_seq=787 ttl=64 time=1.521 ms
64 bytes from 192.168.1.60: icmp_seq=788 ttl=64 time=1.265 ms
Request timeout for icmp_seq 789
Request timeout for icmp_seq 790
Request timeout for icmp_seq 791
Request timeout for icmp_seq 792
Request timeout for icmp_seq 793
Request timeout for icmp_seq 794
Request timeout for icmp_seq 795
Request timeout for icmp_seq 796
Request timeout for icmp_seq 797
Request timeout for icmp_seq 798
Request timeout for icmp_seq 799
Request timeout for icmp_seq 800
Request timeout for icmp_seq 801
Request timeout for icmp_seq 802
Request timeout for icmp_seq 803
Request timeout for icmp_seq 804
Request timeout for icmp_seq 805
Request timeout for icmp_seq 806
Request timeout for icmp_seq 807
Request timeout for icmp_seq 808
Request timeout for icmp_seq 809
Request timeout for icmp_seq 810
Request timeout for icmp_seq 811
Request timeout for icmp_seq 812
Request timeout for icmp_seq 813
Request timeout for icmp_seq 814
Request timeout for icmp_seq 815
Request timeout for icmp_seq 816
Request timeout for icmp_seq 817
Request timeout for icmp_seq 818
Request timeout for icmp_seq 819
Request timeout for icmp_seq 820
Request timeout for icmp_seq 821
Request timeout for icmp_seq 822
Request timeout for icmp_seq 823
Request timeout for icmp_seq 824
Request timeout for icmp_seq 825
Request timeout for icmp_seq 826
Request timeout for icmp_seq 827
Request timeout for icmp_seq 828
Request timeout for icmp_seq 829
64 bytes from 192.168.1.60: icmp_seq=830 ttl=64 time=108.836 ms
64 bytes from 192.168.1.60: icmp_seq=831 ttl=64 time=1.453 ms
64 bytes from 192.168.1.60: icmp_seq=832 ttl=64 time=1.649 ms
64 bytes from 192.168.1.60: icmp_seq=833 ttl=64 time=2.606 ms
64 bytes from 192.168.1.60: icmp_seq=834 ttl=64 time=1.339 ms
64 bytes from 192.168.1.60: icmp_seq=835 ttl=64 time=2.231 ms
64 bytes from 192.168.1.60: icmp_seq=836 ttl=64 time=1.302 ms
64 bytes from 192.168.1.60: icmp_seq=837 ttl=64 time=1.564 ms
64 bytes from 192.168.1.60: icmp_seq=838 ttl=64 time=2.336 ms
64 bytes from 192.168.1.60: icmp_seq=839 ttl=64 time=1.697 ms
64 bytes from 192.168.1.60: icmp_seq=840 ttl=64 time=2.336 ms
64 bytes from 192.168.1.60: icmp_seq=841 ttl=64 time=1.921 ms
64 bytes from 192.168.1.60: icmp_seq=842 ttl=64 time=1.519 ms
64 bytes from 192.168.1.60: icmp_seq=843 ttl=64 time=1.917 ms
64 bytes from 192.168.1.60: icmp_seq=844 ttl=64 time=2.994 ms
64 bytes from 192.168.1.60: icmp_seq=845 ttl=64 time=1.511 ms
64 bytes from 192.168.1.60: icmp_seq=846 ttl=64 time=2.847 ms
64 bytes from 192.168.1.60: icmp_seq=847 ttl=64 time=1.473 ms
64 bytes from 192.168.1.60: icmp_seq=848 ttl=64 time=1.121 ms
64 bytes from 192.168.1.60: icmp_seq=849 ttl=64 time=2.125 ms
64 bytes from 192.168.1.60: icmp_seq=850 ttl=64 time=1.465 ms
64 bytes from 192.168.1.60: icmp_seq=851 ttl=64 time=1.559 ms
64 bytes from 192.168.1.60: icmp_seq=852 ttl=64 time=2.092 ms
64 bytes from 192.168.1.60: icmp_seq=853 ttl=64 time=1.727 ms
64 bytes from 192.168.1.60: icmp_seq=854 ttl=64 time=1.969 ms
64 bytes from 192.168.1.60: icmp_seq=855 ttl=64 time=1.668 ms
64 bytes from 192.168.1.60: icmp_seq=856 ttl=64 time=2.242 ms
64 bytes from 192.168.1.60: icmp_seq=857 ttl=64 time=1.582 ms
In that short time I can login trough telnet:

Code:
# dmesg
[    0.000000] Linux version 2.6.38.8 (wangqian@ipcteam2) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) )
[    0.000000] #18 PREEMPT Wed Jan 8 14:47:56 CST 2014
[    0.000000] CPU: ARMv6-compatible processor [4117b365] revision 5 (ARMv6TEJ), cr=00c5387f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: Coconut
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] Ambarella: AHB   = 0x60000000[0xf0000000],0x01000000 0
[    0.000000] Ambarella: APB   = 0x70000000[0xf1000000],0x01000000 0
[    0.000000] Ambarella: PPM   = 0xc0000000[0xe0000000],0x00200000 9
[    0.000000] Ambarella: BSB   = 0xc8c00000[0xe8c00000],0x00400000 9
[    0.000000] Ambarella: DSP   = 0xc9000000[0xe9000000],0x07000000 9
[    0.000000] Ambarella: HAL   = 0xc00a0000[0xfee00000],0x0000e708 9
[    0.000000] On node 0 totalpages: 25344
[    0.000000] free_area_init_node: node 0, pgdat c04dcf88, node_mem_map c0503000
[    0.000000]   Normal zone: 198 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 25146 pages, LIFO batch:7
[    0.000000] bootmem_init: high_memory = 0xc8a00000
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 25146
[    0.000000] Kernel command line: console=ttyS0 initrd=0xc0a00000,0x400000 rw root=/dev/ram dbg=0 KRN_PRT=pri RMD_PRT=pri reserved=0xc6500000,0x100000,99 video=amb0fb:720x480,720x480,1,0
[    0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Memory: 99MB = 99MB total
[    0.000000] Memory: 91192k/91192k available, 10184k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xfe600000 - 0xfee00000   (   8 MB)
[    0.000000]     vmalloc : 0xc9000000 - 0xe0000000   ( 368 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc8a00000   ( 138 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc002d000   ( 148 kB)
[    0.000000]       .text : 0xc002d000 - 0xc04a9000   (4592 kB)
[    0.000000]       .data : 0xc04aa000 - 0xc04dd640   ( 206 kB)
[    0.000000] Preemptable hierarchical RCU implementation.
[    0.000000]  RCU-based detection of stalled CPUs is disabled.
[    0.000000]  Verbose stalled-CPUs detection is disabled.
[    0.000000] NR_IRQS:224
[    0.000000] sched_clock: 32 bits at 72MHz, resolution 13ns, wraps every 59652ms
[    0.000000] sched_clock: wrong multiply/shift: 1864135111>>27 vs calculated 3728270222>>28
[    0.000000] sched_clock: fix multiply/shift to avoid scheduler hiccups
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [ttyS0] enabled
[    0.000600] Calibrating delay loop... 525.92 BogoMIPS (lpj=2629632)
[    0.260144] pid_max: default: 32768 minimum: 301
[    0.260575] Mount-cache hash table entries: 512
[    0.261368] CPU: Testing write buffer coherency: ok
[    0.268012] NET: Registered protocol family 16
[    0.273999] Ambarella Coconut:
[    0.274037]  chip id:                5100
[    0.274052]  board type:             3
[    0.274065]  board revision:         10
[    0.274078]  chip name:              a5m
[    0.274090]  HAL version:            176869
[    0.274106]  reference clock:        24000000
[    0.274123]  system configuration:   0x143004ea
[    0.274141]  boot type:              0x00000002
[    0.274156]  hif type:               0x00000000
[    0.303193] bio: create slab <bio-0> at 0
[    0.305776] ambarella-spi ambarella-spi.0: ambarella SPI Controller 0 created
[    0.316863] ambarella-i2c ambarella-i2c.0: Ambarella Media Processor I2C adapter[i2c-0] probed!
[    0.318475] ambarella-i2c ambarella-i2c.1: Ambarella Media Processor I2C adapter[i2c-1] probed!
[    0.319894] i2c i2c-0: Added multiplexed i2c bus 2
[    0.319935] ambarella-i2cmux ambarella-i2cmux.0: mux on ambarella-i2c adapter
[    0.323003] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.326818] cfg80211: Calling CRDA to update world regulatory domain
[    0.328481] Switching to clocksource ambarella-cs-timer
[    0.330187] Switched to NOHz mode on CPU #0
[    0.393047] NET: Registered protocol family 2
[    0.393414] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.394354] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
[    0.394562] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.394707] TCP: Hash tables configured (established 4096 bind 4096)
[    0.394728] TCP reno registered
[    0.394757] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.394804] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.395440] NET: Registered protocol family 1
[    0.396370] RPC: Registered udp transport module.
[    0.396408] RPC: Registered tcp transport module.
[    0.396428] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.396954] Trying to unpack rootfs image as initramfs...
[    0.399553] rootfs image is not initramfs (no cpio magic); looks like an initrd
[    0.433522] Freeing initrd memory: 4096K
[    0.436508] [ kernel version:  svn-62919 ]
[    0.436613] mmc0 power register success!
[    0.436656] mmc1 power register success!
[    0.436804] reboot times :883
[    0.460381] msgmni has been set to 186
[    0.469168] alg: No test for stdrng (krng)
[    0.469334] io scheduler noop registered
[    0.469364] io scheduler deadline registered
[    0.469545] io scheduler cfq registered (default)
[    0.473318] ambarella-fb ambarella-fb.0: probe p[720x480] v[720x576] c[1] b[0] l[736] @ [0xc5980000:0x00068000]!
[    0.475181] ambarella-uart.0: ttyS0 at MMIO 0x70005000 (irq = 9) is a ambuart
[    0.508714] ambarella-uart.1: ttyS1 at MMIO 0x7001f000 (irq = 25) is a ambuart
[    0.551868] brd: module loaded
[    0.566376] loop: module loaded
[    0.569963] NAND device: Manufacturer ID: 0x98, Chip ID: 0xd1 (Toshiba NAND 128MiB 3,3V 8-bit)
[    0.570012] ambarella_nand_config_flash: 0x02e00140, 0x02c00140
[    0.570435] Bad block table found at page 65472, version 0x01
[    0.570953] Bad block table found at page 65408, version 0x01
[    0.576737] ambarella-nand ambarella-nand: ambarella_nand_probe: Partition infomation found!
[    0.576802] Creating 18 MTD partitions on "ambnand":
[    0.576839] 0x000000000000-0x000000020000 : "bst"
[    0.581003] 0x000000020000-0x000000120000 : "ptb"
[    0.584767] 0x000000120000-0x000000220000 : "bld"
[    0.588889] 0x000000220000-0x000000320000 : "hal"
[    0.592763] 0x000000320000-0x000000420000 : "ano_ptb"
[    0.596743] 0x000000420000-0x0000004a0000 : "env"
[    0.600968] 0x0000004a0000-0x000000520000 : "param"
[    0.605054] 0x000000520000-0x000000620000 : "dpt"
[    0.609401] 0x000000620000-0x000001020000 : "rcvy"
[    0.613496] 0x000001020000-0x000001820000 : "krn_pri"
[    0.617433] 0x000001820000-0x000002020000 : "krn_sec"
[    0.621637] 0x000002020000-0x000002420000 : "rmd_pri"
[    0.625667] 0x000002420000-0x000002820000 : "rmd_sec"
[    0.630002] 0x000002820000-0x000004020000 : "app_pri"
[    0.634186] 0x000004020000-0x000005820000 : "app_sec"
[    0.638366] 0x000005820000-0x000005c20000 : "cfg_pri"
[    0.642895] 0x000005c20000-0x000006020000 : "cfg_sec"
[    0.647137] 0x000006020000-0x000007020000 : "dbg"
[    0.658442] PPP generic driver version 2.4.2
[    0.660116] PPP Deflate Compression module registered
[    0.660159] PPP BSD Compression module registered
[    0.853889] Ambarella MII Bus: probed
[    0.855550] ambarella-eth ambarella-eth.0: MAC Address[44:19:b6:11:e2:b8].
[    0.856331] console [netcon0] enabled
[    0.856360] netconsole: network logging started
[    0.858027] mousedev: PS/2 mouse device common for all mice
[    0.859237] input: AmbInput as /devices/virtual/input/input0
[    0.860310] ambarella_gpio_irq_set_wake: irq[75] = girq[11] = 1
[    0.860353] ambarella-input ambarella-input: AmbInput probed!
[    0.861383] ambarella-adc ambarella-adc: ADC Host Controller [polling mode] probed!
[    0.863080] ambarella-rtc ambarella-rtc: rtc core: registered ambarella-rtc as rtc0
[    0.863669] i2c /dev entries driver
[    0.868535] ambarella-wdt ambarella-wdt: Ambarella Media Processor Watch Dog Timer[ambarella-wdt].
[    0.875505] ALSA device list:
[    0.875538]   No soundcards found.
[    0.875719] Netfilter messages via NETLINK v0.30.
[    0.875941] nf_conntrack version 0.5.0 (1488 buckets, 5952 max)
[    0.876610] ip_tables: (C) 2000-2006 Netfilter Core Team
[    0.876788] TCP cubic registered
[    0.877228] NET: Registered protocol family 10
[    0.880237] Mobile IPv6
[    0.880375] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    0.880659] IPv6 over IPv4 tunneling driver
[    0.884435] NET: Registered protocol family 17
[    0.885270] sctp: Hash tables configured (established 4096 bind 8192)
[    0.885629] sctp: sctp_init_sock(sk: c595cb20)
[    0.885749] lib80211: common routines for IEEE802.11 drivers
[    0.885784] lib80211_crypt: registered algorithm 'NULL'
[    0.890156] ambarella-rtc ambarella-rtc: setting system clock to 2023-01-05 13:59:08 UTC (1672927148)
[    0.890990] RAMDISK: gzip image found at block 0
[    1.651635] VFS: Mounted root (ext2 filesystem) on device 1:0.
[    1.651852] Freeing init memory: 148K
[    3.626290] UBI: attaching mtd13 to ubi1
[    3.626331] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    3.626355] UBI: logical eraseblock size:    129024 bytes
[    3.626373] UBI: smallest flash I/O unit:    2048
[    3.626389] UBI: sub-page size:              512
[    3.626407] UBI: VID header offset:          512 (aligned 512)
[    3.626426] UBI: data offset:                2048
[    3.683914] UBI: max. sequence number:       20233
[    3.709895] UBI: attached mtd13 to ubi1
[    3.709930] UBI: MTD device name:            "app_pri"
[    3.709951] UBI: MTD device size:            24 MiB
[    3.709970] UBI: number of good PEBs:        192
[    3.709986] UBI: number of bad PEBs:         0
[    3.710002] UBI: number of corrupted PEBs:   0
[    3.710018] UBI: max. allowed volumes:       128
[    3.710034] UBI: wear-leveling threshold:    4096
[    3.710050] UBI: number of internal volumes: 1
[    3.710065] UBI: number of user volumes:     1
[    3.710080] UBI: available PEBs:             0
[    3.710096] UBI: total number of reserved PEBs: 192
[    3.710113] UBI: number of PEBs reserved for bad PEB handling: 2
[    3.710133] UBI: max/mean erase counter: 196/104
[    3.710149] UBI: image sequence number:  156479141
[    3.718210] UBI: background thread "ubi_bgt1d" started, PID 625
[    3.792944] UBIFS: recovery needed
[    3.836575] UBIFS: recovery completed
[    3.836623] UBIFS: mounted UBI device 1, volume 0, name "app_pri"
[    3.836651] UBIFS: file system size:   22837248 bytes (22302 KiB, 21 MiB, 177 LEBs)
[    3.836677] UBIFS: journal size:       1161216 bytes (1134 KiB, 1 MiB, 9 LEBs)
[    3.836701] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    3.836719] UBIFS: default compressor: lzo
[    3.836736] UBIFS: reserved for root:  1078659 bytes (1053 KiB)
[    6.222619] UBI: attaching mtd15 to ubi3
[    6.222661] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    6.222684] UBI: logical eraseblock size:    129024 bytes
[    6.222703] UBI: smallest flash I/O unit:    2048
[    6.222720] UBI: sub-page size:              512
[    6.222737] UBI: VID header offset:          512 (aligned 512)
[    6.222757] UBI: data offset:                2048
[    6.231310] UBI: max. sequence number:       19673
[    6.254422] UBI: attached mtd15 to ubi3
[    6.254455] UBI: MTD device name:            "cfg_pri"
[    6.254475] UBI: MTD device size:            4 MiB
[    6.254492] UBI: number of good PEBs:        32
[    6.254508] UBI: number of bad PEBs:         0
[    6.254524] UBI: number of corrupted PEBs:   0
[    6.254540] UBI: max. allowed volumes:       128
[    6.254556] UBI: wear-leveling threshold:    4096
[    6.254572] UBI: number of internal volumes: 1
[    6.254587] UBI: number of user volumes:     1
[    6.254602] UBI: available PEBs:             0
[    6.254618] UBI: total number of reserved PEBs: 32
[    6.254636] UBI: number of PEBs reserved for bad PEB handling: 2
[    6.254656] UBI: max/mean erase counter: 819/614
[    6.254672] UBI: image sequence number:  875392817
[    6.258704] UBI: background thread "ubi_bgt3d" started, PID 635
[    6.337567] UBIFS: recovery needed
[    6.378734] UBIFS: recovery completed
[    6.378783] UBIFS: mounted UBI device 3, volume 0, name "cfg_pri"
[    6.378812] UBIFS: file system size:   2193408 bytes (2142 KiB, 2 MiB, 17 LEBs)
[    6.378838] UBIFS: journal size:       1032193 bytes (1008 KiB, 0 MiB, 6 LEBs)
[    6.378863] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    6.378882] UBIFS: default compressor: lzo
[    6.378900] UBIFS: reserved for root:  103599 bytes (101 KiB)
[    6.460883] UBI: attaching mtd16 to ubi4
[    6.460924] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    6.460947] UBI: logical eraseblock size:    129024 bytes
[    6.460968] UBI: smallest flash I/O unit:    2048
[    6.460984] UBI: sub-page size:              512
[    6.461001] UBI: VID header offset:          512 (aligned 512)
[    6.461020] UBI: data offset:                2048
[    6.469565] UBI: max. sequence number:       19675
[    6.488741] UBI: attached mtd16 to ubi4
[    6.488774] UBI: MTD device name:            "cfg_sec"
[    6.488795] UBI: MTD device size:            4 MiB
[    6.488812] UBI: number of good PEBs:        32
[    6.488828] UBI: number of bad PEBs:         0
[    6.488843] UBI: number of corrupted PEBs:   0
[    6.488858] UBI: max. allowed volumes:       128
[    6.488875] UBI: wear-leveling threshold:    4096
[    6.488890] UBI: number of internal volumes: 1
[    6.488906] UBI: number of user volumes:     1
[    6.488921] UBI: available PEBs:             0
[    6.488936] UBI: total number of reserved PEBs: 32
[    6.488953] UBI: number of PEBs reserved for bad PEB handling: 2
[    6.488974] UBI: max/mean erase counter: 757/614
[    6.488990] UBI: image sequence number:  2092428363
[    6.496956] UBI: background thread "ubi_bgt4d" started, PID 645
[    7.595226] UBIFS: recovery needed
[    7.626797] UBIFS: recovery completed
[    7.626845] UBIFS: mounted UBI device 4, volume 0, name "cfg_sec"
[    7.626874] UBIFS: file system size:   2193408 bytes (2142 KiB, 2 MiB, 17 LEBs)
[    7.626901] UBIFS: journal size:       1032193 bytes (1008 KiB, 0 MiB, 6 LEBs)
[    7.626925] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    7.626946] UBIFS: default compressor: lzo
[    7.626963] UBIFS: reserved for root:  103599 bytes (101 KiB)
[    8.802023] net eth0: Could not find default PHY in 9.
[    8.802065] net eth0: Try PHY[9] whose id is 0x00008201!
[    8.803260] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   10.799892] PHY: 0:09 - Link is Up - 100/Full
[   10.800110] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   12.504189] dsp: module license 'Proprietary' taints kernel.
[   12.504229] Disabling lock debugging due to kernel taint
[   12.583234] img: aaa_fifo2_base malloc c5bd0000
[   13.003602] >>>>>> DSP LOG ADDR START PHY 0xc0080000
[   13.003636] Init software HR timer for DSP communication
[   13.073638] amba_debug_init 248:248.
[   26.437761] AMBARELLA SoC Audio DUMMY Codec
[   26.442656] asoc: AMBARELLA_DUMMY_CODEC <-> ambarella-i2s.0 mapping ok
[   27.293726] MT9T002 sensor ID is 0x2604
[   27.343812] CMEMK module: built on Aug 23 2012 at 17:05:43
[   27.343858]  Reference Linux version 2.6.38
[   27.343877]  File /mnt/data_bsp/data_yuhuanhuan/raptor/a5s_svn2/kernel/hik_drivers/cmem/src/module/cmemk.c
[   27.351476] cmemk initialized
[   29.385363]
[   29.385383]
[   29.385389] write 0x3052 --> 0xA114
[   29.385398]
[   29.385404]
[   29.385424]
[   29.385431]
[   29.385437] write 0x304A --> 0x0070
[   29.385446]
[   29.385452]
[   40.098443] warning: process `ipc_sntptask' used the deprecated sysctl system call with 1.40.
[   41.159829] iav error: Failed to wait for completion!
[   41.203913] ambarella-wdt ambarella-wdt: Not stopping watchdog, V first!
If am not wrong the flash chip is broken in the camera (Bad block table found....in the dmesg log. )? Is there any way to recover it, or it is completely gone now?
This is gone because of the device age? I wrote to an NFS device, I think inside flash chip was not used very much by the camera.
 

ludshed

Getting comfortable
Joined
Sep 14, 2022
Messages
393
Reaction score
478
Location
Us
Unless you were messing around with them when it started I’d say your nvr/switch is going bad.
 

iTuneDVR

Pulling my weight
Joined
Aug 23, 2014
Messages
846
Reaction score
153
Location
Россия
If am not wrong the flash chip is broken in the camera (Bad block table found....in the dmesg log. )? Is there any way to recover it, or it is completely gone now?
Open your ipc & using uart hik-jack with TTL2USB adater and put here boot log & after reboot stop boot (ctrl+u).

Type some command
Code:
help
help setenv
printenv
bad
add output here

Possible boot log the same or similar & need set more detail at u-boot.
bad - is show if some bad....
 

watchful_ip

Pulling my weight
Joined
Nov 24, 2019
Messages
251
Reaction score
226
Location
london
bad block table on the flash is normal.

That wouldn't explain why both cameras seemed to have problems at the same time.

As ludshed said, if you haven't been making changes to them, and both are now refusing to boot, I would suspect switch, power, cabling.

May also be worth disconnecting one while you test the other just in case there is a conflict causing them to reset.

Failing that you could also use TFTP (ensuring the correct firmware & region) and see if that helps as unlike most newer cameras I think the configuration on them might reset with TFTP. But I cannot remember for sure.

Another option is to let the camera simply fail to boot and reset a number of times, and hopefully it will come up in recovery mode. You can monitor for this using SADP.

If all that fails I'd go with what iTuneDVR recommended.
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,930
Reaction score
6,778
Location
Scotland
As@ ludshed said, if you haven't been making changes to them, and both are now refusing to boot, I would suspect switch, power, cabling.
I concur.

Looking at a dmesg I kept from the same model (maybe different firmware), the content is identical.

If am not wrong the flash chip is broken in the camera (Bad block table found....in the dmesg log. )
@watchful_ip is correct - for those flash chips and firmware, a bad block table is normal.
If there were actually any bad blocks, they'd be listed, there are none.

What's missing to determine why the cameras are rebooting is the console log, as opposed to dmesg.
That's where the other various components and modules will post their output as opposed to just what the kernel has to say.
To do that though, you'd need to connect up to the serial console port on the PC circuit board.
Needed :
A USB to serial TTL convertor, such as a PL2303TA-based one.
A 4-pin 1.5mm JST ZH wired connector.
 

madrian

n3wb
Joined
Mar 11, 2014
Messages
13
Reaction score
9
Thank you for the recommendations, I will try the USB/TTL method ASAP. I report back.
 
Top