Восстановление IP камеры adsr20e200

Вопросы по восстановлению, настройке, апгрейду, прошивкам и т.п.
Ответить
jean
Новичок
Сообщения: 34
Зарегистрирован: 13 ноя 2014, 22:36

Восстановление IP камеры adsr20e200

Сообщение jean » 23 мар 2016, 23:31

Здравствуйте.

Столкнулся со следующей проблемой. Имеется 3 камеры, одна за одной выключились. Симптомы разные - или сразу в аут или через раз грузились или же в вэб интерфейс входили, но поток не отдавали, менять софт и делать сброс делать тоже не давали. В итоге имеем доступ к 23 порту телнетом, заходит по root (или admin) без пароля, вот dmesg:

Код: Выделить всё

[    0.000000] Linux version 2.6.38.8 (zucker@ubuntu) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #22 PREEMPT Fri Aug 1 20:52:10 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: 35328
[    0.000000] free_area_init_node: node 0, pgdat c045a8f0, node_mem_map c0480000
[    0.000000]   Normal zone: 276 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 35052 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: 35052
[    0.000000] Kernel command line: console=ttyS0 ubi.mtd=lnx root=ubi0:rootfs rw rootfstype=ubifs init=/linuxrc
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 138MB = 138MB total
[    0.000000] Memory: 135360k/135360k available, 5952k 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 - 0xc002a000   ( 136 kB)
[    0.000000]       .text : 0xc002a000 - 0xc0434000   (4136 kB)
[    0.000000]       .data : 0xc0434000 - 0xc045c950   ( 163 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 60MHz, resolution 16ns, wraps every 71582ms
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [ttyS0] enabled
[    0.224129] Calibrating delay loop... 478.41 BogoMIPS (lpj=2392064)
[    0.472911] pid_max: default: 32768 minimum: 301
[    0.478120] Mount-cache hash table entries: 512
[    0.483688] CPU: Testing write buffer coherency: ok
[    0.495647] NET: Registered protocol family 16
[    0.506922] Ambarella Coconut:
[    0.510337]  chip id:                5100
[    0.513251]  board type:             3
[    0.516151]  board revision:         17
[    0.519499]  chip name:              a5m
[    0.522681]  HAL version:            176869
[    0.526125]  reference clock:        24000000
[    0.530030]  system configuration:   0x150004ea
[    0.534631]  boot type:              0x00000002
[    0.538265]  hif type:               0x00000000
[    2.602130] bio: create slab <bio-0> at 0
[    2.617068] ambarella-i2c ambarella-i2c.0: Ambarella Media Processor I2C adapter[i2c-0] probed!
[    2.627927] ambarella-i2c ambarella-i2c.1: Ambarella Media Processor I2C adapter[i2c-1] probed!
[    2.640337] i2c i2c-0: Added multiplexed i2c bus 2
[    2.645332] ambarella-i2cmux ambarella-i2cmux.0: mux on ambarella-i2c adapter
[    2.655586] Switching to clocksource ambarella-cs-timer
[    2.670152] Switched to NOHz mode on CPU #0
[    2.731750] NET: Registered protocol family 2
[    2.736672] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    2.744955] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    2.752764] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    2.759645] TCP: Hash tables configured (established 8192 bind 8192)
[    2.766371] TCP reno registered
[    2.769679] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    2.775859] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    2.783074] NET: Registered protocol family 1
[    2.788519] RPC: Registered udp transport module.
[    2.793716] RPC: Registered tcp transport module.
[    2.798607] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    2.822057] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    2.829946] msgmni has been set to 264
[    2.837734] io scheduler noop registered
[    2.842177] io scheduler deadline registered
[    2.846849] io scheduler cfq registered (default)
[    2.853749] ambarella-uart.0: ttyS0 at MMIO 0x70005000 (irq = 9) is a ambuart
[    2.901448] ambarella-uart.1: ttyS1 at MMIO 0x7001f000 (irq = 25) is a ambuart
[    2.944735] brd: module loaded
[    2.963581] loop: module loaded
[    2.970345] NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
[    2.979701] ambarella_nand_config_flash: 0x02e00140, 0x02c00140
[    2.986524] Bad block table found at page 65472, version 0x09
[    2.986885] Bad block table found at page 65408, version 0x09
[    2.987244] nand_read_bbt: Bad block at 0x000001020000
[    2.987287] nand_read_bbt: Bad block at 0x0000030c0000
[    2.987308] nand_read_bbt: Bad block at 0x000003240000
[    2.987327] nand_read_bbt: Bad block at 0x000003440000
[    2.987352] nand_read_bbt: Bad block at 0x000004880000
[    2.987384] nand_read_bbt: Bad block at 0x0000069e0000
[    2.987406] nand_read_bbt: Bad block at 0x0000073c0000
[    2.987426] nand_read_bbt: Bad block at 0x0000079c0000
[    2.987805] ambarella-nand ambarella-nand: ambarella_nand_probe: Partition infomation found!
[    2.996739] Creating 10 MTD partitions on "ambnand":
[    3.002003] 0x000000000000-0x000000020000 : "bst"
[    3.010859] 0x000000020000-0x000000120000 : "ptb"
[    3.019980] 0x000000120000-0x0000003a0000 : "bld"
[    3.029224] 0x0000003a0000-0x000000620000 : "hal"
[    3.038523] 0x000000620000-0x000000e20000 : "pri"
[    3.047854] 0x000000e20000-0x000000f20000 : "rmd"
[    3.057239] 0x000000f20000-0x000001020000 : "dsp"
[    3.066470] 0x000001020000-0x000003020000 : "lnx"
[    3.075662] 0x000003020000-0x000004820000 : "add"
[    3.084889] 0x000004820000-0x000007a20000 : "adc"
[    3.096368] UBI: attaching mtd7 to ubi0
[    3.100375] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    3.107184] UBI: logical eraseblock size:    126976 bytes
[    3.112968] UBI: smallest flash I/O unit:    2048
[    3.117856] UBI: VID header offset:          2048 (aligned 2048)
[    3.124196] UBI: data offset:                4096
[    3.299545] UBI: max. sequence number:       2807281
[    3.314202] UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 1, need 2
[    3.327170] UBI: attached mtd7 to ubi0
[    3.331091] UBI: MTD device name:            "lnx"
[    3.336204] UBI: MTD device size:            32 MiB
[    3.341410] UBI: number of good PEBs:        255
[    3.346210] UBI: number of bad PEBs:         1
[    3.350809] UBI: number of corrupted PEBs:   0
[    3.355503] UBI: max. allowed volumes:       128
[    3.360303] UBI: wear-leveling threshold:    4096
[    3.365250] UBI: number of internal volumes: 1
[    3.369853] UBI: number of user volumes:     1
[    3.374514] UBI: available PEBs:             0
[    3.379135] UBI: total number of reserved PEBs: 255
[    3.384249] UBI: number of PEBs reserved for bad PEB handling: 1
[    3.390481] UBI: max/mean erase counter: 12292/10973
[    3.395691] UBI: image sequence number:  870443726
[    3.400701] UBI: background thread "ubi_bgt0d" started, PID 647
[    3.407195] console [netcon0] enabled
[    3.411010] netconsole: network logging started
[    3.417507] mousedev: PS/2 mouse device common for all mice
[    3.426803] using rtc device, ambarella-rtc, for alarms
[    3.432389] ambarella-rtc ambarella-rtc: rtc core: registered ambarella-rtc as rtc0
[    3.442938] ambarella-wdt ambarella-wdt: Ambarella Media Processor Watch Dog Timer[ambarella-wdt].
[    3.454289] TCP cubic registered
[    3.457675] NET: Registered protocol family 17
[    3.466852] ambarella-rtc ambarella-rtc: setting system clock to 2016-03-23 15:42:15 UTC (1458747735)
[    3.514333] UBIFS: recovery needed
[    3.594694] UBIFS: recovery completed
[    3.598699] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    3.605162] UBIFS: file system size:   30347264 bytes (29636 KiB, 28 MiB, 239 LEBs)
[    3.613210] UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
[    3.620801] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    3.626914] UBIFS: default compressor: lzo
[    3.631173] UBIFS: reserved for root:  0 bytes (0 KiB)
[    3.638291] VFS: Mounted root (ubifs filesystem) on device 0:14.
[    3.644804] Freeing init memory: 136K
[    4.403736] Switching to clocksource jiffies
[    4.403736] Switching to clocksource ambarella-cs-timer
[    4.055673] i2c /dev entries driver
[    4.101657] ambarella-spi ambarella-spi.0: ambarella SPI Controller 0 created
[    4.112730] ambarella-spi ambarella-spi.1: ambarella SPI Controller 1 created
[    4.564356] Ambarella MII Bus: probed
[    4.570493] ambarella-eth ambarella-eth.0: MAC Address[00:00:1b:02:98:91].
[    4.869614] fio_dma_parse_error: fio dma read error 0x5000800.
[    4.875730] ambarella-nand ambarella-nand: nand_amb_request: cmd=0xe, addr_hi=0x0, addr=0x1081000, dst=0x0, buf=0xc8a7d000, len=0x800, area=0x2, ecc=0x2, block addr=0x1080000!
[    4.892325] UBI error: ubi_io_read: error -74 (ECC error) while reading 2892 bytes from PEB 3:4096, read 2892 bytes
[    4.903129] UBIFS error (pid 725): try_read_node: cannot read node type 1 from LEB 16:0, error -74
[    4.912652] fio_dma_parse_error: fio dma read error 0x5000800.
[    4.918678] ambarella-nand ambarella-nand: nand_amb_request: cmd=0xe, addr_hi=0x0, addr=0x1081000, dst=0x0, buf=0xc8a7d000, len=0x800, area=0x2, ecc=0x2, block addr=0x1080000!
[    4.935292] UBI error: ubi_io_read: error -74 (ECC error) while reading 2892 bytes from PEB 3:4096, read 2892 bytes
[    4.946170] UBIFS error (pid 725): ubifs_check_node: bad CRC: calculated 0x6e96717b, read 0x75c192bd
[    4.955612] UBIFS error (pid 725): ubifs_check_node: bad node at LEB 16:0
[    4.962654] UBIFS error (pid 725): ubifs_read_node: expected node type 1
[    4.969518] UBIFS error (pid 725): do_readpage: cannot read page 3 of inode 214, error -117
[    4.978434] fio_dma_parse_error: fio dma read error 0x5000800.
[    4.984553] ambarella-nand ambarella-nand: nand_amb_request: cmd=0xe, addr_hi=0x0, addr=0x1081000, dst=0x0, buf=0xc8a7d000, len=0x800, area=0x2, ecc=0x2, block addr=0x1080000!
[    5.001173] UBI error: ubi_io_read: error -74 (ECC error) while reading 2892 bytes from PEB 3:4096, read 2892 bytes
[    5.011972] UBIFS error (pid 725): try_read_node: cannot read node type 1 from LEB 16:0, error -74
[    5.021994] UBIFS error (pid 725): ubifs_check_node: bad CRC: calculated 0xef74c35b, read 0x75c192bd
[    5.031461] UBIFS error (pid 725): ubifs_check_node: bad node at LEB 16:0
[    5.038422] UBIFS error (pid 725): ubifs_read_node: expected node type 1
[    5.045360] UBIFS error (pid 725): do_readpage: cannot read page 3 of inode 214, error -117
[    5.079647] fio_dma_parse_error: fio dma read error 0x5000800.
[    5.085787] ambarella-nand ambarella-nand: nand_amb_request: cmd=0xe, addr_hi=0x0, addr=0x1081000, dst=0x0, buf=0xc8a7d000, len=0x800, area=0x2, ecc=0x2, block addr=0x1080000!
[    5.102458] UBI error: ubi_io_read: error -74 (ECC error) while reading 2892 bytes from PEB 3:4096, read 2892 bytes
[    5.113260] UBIFS error (pid 733): try_read_node: cannot read node type 1 from LEB 16:0, error -74
[    5.122759] fio_dma_parse_error: fio dma read error 0x5000800.
[    5.128785] ambarella-nand ambarella-nand: nand_amb_request: cmd=0xe, addr_hi=0x0, addr=0x1081000, dst=0x0, buf=0xc8a7d000, len=0x800, area=0x2, ecc=0x2, block addr=0x1080000!
[    5.145410] UBI error: ubi_io_read: error -74 (ECC error) while reading 2892 bytes from PEB 3:4096, read 2892 bytes
[    5.156307] UBIFS error (pid 733): ubifs_check_node: bad CRC: calculated 0x2f5c860b, read 0x75c192bd
[    5.165769] UBIFS error (pid 733): ubifs_check_node: bad node at LEB 16:0
[    5.172789] UBIFS error (pid 733): ubifs_read_node: expected node type 1
[    5.179670] UBIFS error (pid 733): do_readpage: cannot read page 3 of inode 214, error -117
[    5.209310] fio_dma_parse_error: fio dma read error 0x5000800.
[    5.215438] ambarella-nand ambarella-nand: nand_amb_request: cmd=0xe, addr_hi=0x0, addr=0x1081000, dst=0x0, buf=0xc8a7d000, len=0x800, area=0x2, ecc=0x2, block addr=0x1080000!
[    5.232111] UBI error: ubi_io_read: error -74 (ECC error) while reading 2892 bytes from PEB 3:4096, read 2892 bytes
[    5.242932] UBIFS error (pid 734): try_read_node: cannot read node type 1 from LEB 16:0, error -74
[    5.252440] fio_dma_parse_error: fio dma read error 0x5000800.
[    5.258453] ambarella-nand ambarella-nand: nand_amb_request: cmd=0xe, addr_hi=0x0, addr=0x1081000, dst=0x0, buf=0xc8a7d000, len=0x800, area=0x2, ecc=0x2, block addr=0x1080000!
[    5.275071] UBI error: ubi_io_read: error -74 (ECC error) while reading 2892 bytes from PEB 3:4096, read 2892 bytes
[    5.285967] UBIFS error (pid 734): ubifs_check_node: bad CRC: calculated 0x301c644f, read 0x75c192bd
[    5.295415] UBIFS error (pid 734): ubifs_check_node: bad node at LEB 16:0
[    5.302448] UBIFS error (pid 734): ubifs_read_node: expected node type 1
[    5.309313] UBIFS error (pid 734): do_readpage: cannot read page 3 of inode 214, error -117
[    5.339678] fio_dma_parse_error: fio dma read error 0x5000800.
[    5.345794] ambarella-nand ambarella-nand: nand_amb_request: cmd=0xe, addr_hi=0x0, addr=0x1081000, dst=0x0, buf=0xc8a7d000, len=0x800, area=0x2, ecc=0x2, block addr=0x1080000!
[    5.362479] UBI error: ubi_io_read: error -74 (ECC error) while reading 2892 bytes from PEB 3:4096, read 2892 bytes
[    5.373288] UBIFS error (pid 735): try_read_node: cannot read node type 1 from LEB 16:0, error -74
[    5.382787] fio_dma_parse_error: fio dma read error 0x5000800.
[    5.388802] ambarella-nand ambarella-nand: nand_amb_request: cmd=0xe, addr_hi=0x0, addr=0x1081000, dst=0x0, buf=0xc8a7d000, len=0x800, area=0x2, ecc=0x2, block addr=0x1080000!
[    5.405434] UBI error: ubi_io_read: error -74 (ECC error) while reading 2892 bytes from PEB 3:4096, read 2892 bytes
[    5.416327] UBIFS error (pid 735): ubifs_check_node: bad CRC: calculated 0x6e96717b, read 0x75c192bd
[    5.425787] UBIFS error (pid 735): ubifs_check_node: bad node at LEB 16:0
[    5.432813] UBIFS error (pid 735): ubifs_read_node: expected node type 1
[    5.439694] UBIFS error (pid 735): do_readpage: cannot read page 3 of inode 214, error -117
[    5.469439] fio_dma_parse_error: fio dma read error 0x5000800.
[    5.475582] ambarella-nand ambarella-nand: nand_amb_request: cmd=0xe, addr_hi=0x0, addr=0x1081000, dst=0x0, buf=0xc8a7d000, len=0x800, area=0x2, ecc=0x2, block addr=0x1080000!
[    5.492261] UBI error: ubi_io_read: error -74 (ECC error) while reading 2892 bytes from PEB 3:4096, read 2892 bytes
[    5.503080] UBIFS error (pid 736): try_read_node: cannot read node type 1 from LEB 16:0, error -74
[    5.512585] fio_dma_parse_error: fio dma read error 0x5000800.
[    5.518583] ambarella-nand ambarella-nand: nand_amb_request: cmd=0xe, addr_hi=0x0, addr=0x1081000, dst=0x0, buf=0xc8a7d000, len=0x800, area=0x2, ecc=0x2, block addr=0x1080000!
[    5.535207] UBI error: ubi_io_read: error -74 (ECC error) while reading 2892 bytes from PEB 3:4096, read 2892 bytes
[    5.546081] UBIFS error (pid 736): ubifs_check_node: bad CRC: calculated 0x2f5c860b, read 0x75c192bd
[    5.555549] UBIFS error (pid 736): ubifs_check_node: bad node at LEB 16:0
[    5.562588] UBIFS error (pid 736): ubifs_read_node: expected node type 1
[    5.569450] UBIFS error (pid 736): do_readpage: cannot read page 3 of inode 214, error -117
[    5.623637] ambarella_udc: version 2 August 2011
[    5.665989] ambarella-crypto ambarella-crypto: Ambarella Media Processor Cryptography Engine probed(polling mode).
[    5.864483] UBIFS error (pid 764): ubifs_check_node: bad CRC: calculated 0x1cab7b9c, read 0xbba111e3
[    5.873951] UBIFS error (pid 764): ubifs_check_node: bad node at LEB 49:0
[    5.880982] UBIFS error (pid 764): ubifs_read_node: expected node type 1
[    5.887856] UBIFS error (pid 764): do_readpage: cannot read page 8 of inode 344, error -117
[    5.896631] UBIFS error (pid 764): ubifs_check_node: bad CRC: calculated 0x1cab7b9c, read 0xbba111e3
[    5.906107] UBIFS error (pid 764): ubifs_check_node: bad node at LEB 49:0
[    5.913158] UBIFS error (pid 764): ubifs_read_node: expected node type 1
[    5.920026] UBIFS error (pid 764): do_readpage: cannot read page 8 of inode 344, error -117
[    6.106315] UBIFS error (pid 773): ubifs_check_node: bad CRC: calculated 0x1cab7b9c, read 0xbba111e3
[    6.115780] UBIFS error (pid 773): ubifs_check_node: bad node at LEB 49:0
[    6.122830] UBIFS error (pid 773): ubifs_read_node: expected node type 1
[    6.129700] UBIFS error (pid 773): do_readpage: cannot read page 8 of inode 344, error -117
[    6.149987] UBIFS error (pid 774): ubifs_check_node: bad CRC: calculated 0x1cab7b9c, read 0xbba111e3
[    6.159516] UBIFS error (pid 774): ubifs_check_node: bad node at LEB 49:0
[    6.166580] UBIFS error (pid 774): ubifs_read_node: expected node type 1
[    6.173549] UBIFS error (pid 774): do_readpage: cannot read page 8 of inode 344, error -117
[    6.204909] UBIFS error (pid 775): ubifs_check_node: bad CRC: calculated 0x1cab7b9c, read 0xbba111e3
[    6.214400] UBIFS error (pid 775): ubifs_check_node: bad node at LEB 49:0
[    6.221434] UBIFS error (pid 775): ubifs_read_node: expected node type 1
[    6.228302] UBIFS error (pid 775): do_readpage: cannot read page 8 of inode 344, error -117
[    6.290002] UBI: attaching mtd9 to ubi1
[    6.294097] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    6.300528] UBI: logical eraseblock size:    126976 bytes
[    6.306144] UBI: smallest flash I/O unit:    2048
[    6.311029] UBI: VID header offset:          2048 (aligned 2048)
[    6.317176] UBI: data offset:                4096
[    6.581275] UBI: max. sequence number:       5317555
[    6.595637] UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 0, need 3
[    6.607861] UBI: attached mtd9 to ubi1
[    6.611835] UBI: MTD device name:            "adc"
[    6.616766] UBI: MTD device size:            50 MiB
[    6.621844] UBI: number of good PEBs:        396
[    6.626593] UBI: number of bad PEBs:         4
[    6.631202] UBI: number of corrupted PEBs:   0
[    6.635763] UBI: max. allowed volumes:       128
[    6.640482] UBI: wear-leveling threshold:    4096
[    6.645376] UBI: number of internal volumes: 1
[    6.649932] UBI: number of user volumes:     2
[    6.654520] UBI: available PEBs:             0
[    6.659067] UBI: total number of reserved PEBs: 396
[    6.664126] UBI: number of PEBs reserved for bad PEB handling: 0
[    6.670293] UBI: max/mean erase counter: 14034/13256
[    6.675435] UBI: image sequence number:  1736232030
[    6.680452] UBI: background thread "ubi_bgt1d" started, PID 779
[    6.742138] UBIFS: recovery needed
[    6.809484] fio_dma_parse_error: fio dma read error 0x5000800.
[    6.815609] ambarella-nand ambarella-nand: nand_amb_request: cmd=0xe, addr_hi=0x0, addr=0x4ba1000, dst=0x0, buf=0xc8a7d000, len=0x800, area=0x2, ecc=0x2, block addr=0x4ba0000!
[    6.831907] UBI error: ubi_io_read: error -74 (ECC error) while reading 12 bytes from PEB 28:4431, read 12 bytes
[    6.842442] UBIFS error (pid 780): ubifs_read_nnode: error -74 reading nnode at 8:335
[    6.850463] UBIFS error (pid 780): ubifs_update_one_lp: cannot update properties of LEB 305, error -74
[    6.946882] UBIFS: recovery needed
[    7.015536] UBIFS: recovery completed
[    7.019525] UBIFS: mounted UBI device 1, volume 0, name "param"
[    7.025800] UBIFS: file system size:   7237632 bytes (7068 KiB, 6 MiB, 57 LEBs)
[    7.033383] UBIFS: journal size:       1556480 bytes (1520 KiB, 1 MiB, 13 LEBs)
[    7.040888] UBIFS: media format:       w4/r0 (latest is w4/r0)
[    7.046934] UBIFS: default compressor: lzo
[    7.051197] UBIFS: reserved for root:  0 bytes (0 KiB)
[    7.072950] UBI: attaching mtd8 to ubi2
[    7.076886] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    7.083415] UBI: logical eraseblock size:    126976 bytes
[    7.088952] UBI: smallest flash I/O unit:    2048
[    7.093850] UBI: VID header offset:          2048 (aligned 2048)
[    7.099992] UBI: data offset:                4096
[    7.227739] UBI: max. sequence number:       136076
[    7.241866] UBI warning: print_rsvd_warning: cannot reserve enough PEBs for bad PEB handling, reserved 0, need 2
[    7.253674] UBI: attached mtd8 to ubi2
[    7.257530] UBI: MTD device name:            "add"
[    7.262579] UBI: MTD device size:            24 MiB
[    7.267591] UBI: number of good PEBs:        189
[    7.272396] UBI: number of bad PEBs:         3
[    7.276964] UBI: number of corrupted PEBs:   0
[    7.281592] UBI: max. allowed volumes:       128
[    7.286343] UBI: wear-leveling threshold:    4096
[    7.291213] UBI: number of internal volumes: 1
[    7.295772] UBI: number of user volumes:     1
[    7.300319] UBI: available PEBs:             0
[    7.304921] UBI: total number of reserved PEBs: 189
[    7.309924] UBI: number of PEBs reserved for bad PEB handling: 0
[    7.316132] UBI: max/mean erase counter: 1686/671
[    7.321014] UBI: image sequence number:  533082469
[    7.325965] UBI: background thread "ubi_bgt2d" started, PID 786
[    7.384644] UBIFS: recovery needed
[    7.484854] fio_dma_parse_error: fio dma read error 0x5000800.
[    7.490877] ambarella-nand ambarella-nand: nand_amb_request: cmd=0xe, addr_hi=0x0, addr=0x37c1000, dst=0x0, buf=0xc8a7d000, len=0x800, area=0x2, ecc=0x2, block addr=0x37c0000!
[    7.507200] UBI error: ubi_io_read: error -74 (ECC error) while reading 12 bytes from PEB 61:4136, read 12 bytes
[    7.517732] UBIFS error (pid 787): ubifs_read_nnode: error -74 reading nnode at 8:40
[    7.525760] UBIFS error (pid 787): do_commit: commit failed, error -74
[    7.532537] UBIFS warning (pid 787): ubifs_ro_mode: switched to read-only mode, error -74
[    7.856802] net eth0: Could not find default PHY in 1.
[    7.862191] net eth0: Try PHY[1] whose id is 0x001cc816!
Вот нутро:

Изображение ИзображениеИзображение

Что подскажете - флешке хана?

iTuneDVR

Re: Восстановление IP камеры adsr20e200

Сообщение iTuneDVR » 23 мар 2016, 23:48

Где надыбались такие камеры?
Такие маленькие, приятные на вид и Амбарела к тому же!!!
Скриншоты с веба приатач по возможности.
Dmesg может и не показать проблемы, хотя что-то там описано.
Камеры перезагружаются или... теряется ping или....???

Ну раз уж разобрал их, то цепляйся к TTL и смотри лог загрузки, если таковой есть.
Пробуй в телнете прибить приложение и перезапустить его, лог сюда.
Снимай дамп и его тоже сюда.
А также непомешает понимать структуру каталогов. В корне выполнишь ls -laR и вывод потом приатачишь.
Может всё просто и побился не сам флешь а лишь логика.
Тут вариантов несколько либо штатно прошивой восстановить, либо.....

jean
Новичок
Сообщения: 34
Зарегистрирован: 13 ноя 2014, 22:36

Re: Восстановление IP камеры adsr20e200

Сообщение jean » 24 мар 2016, 00:29

Друг заказывал ,могу уточнить китайца, но надо ли ))) еще рег брал у него, та еще песня была - тут тема...

По камерам - вот ls -laR:

Код: Выделить всё

Ipcamera login: root
# ls -laR
.:
total 4
drwxr-x---    2 root     root           232 Mar 23 18:11 .
drwxr-xr-x   18 root     root          1312 Aug 13  2014 ..
-rw-------    1 root     root          1482 Mar 23 21:23 .ash_history
#

Вот старт скрипта (если верно понял):

Код: Выделить всё

# /etc/init.d/rcS
Disable kswapd write
modprobe: can't load module snd-soc-core (kernel/sound/soc/snd-soc-core.ko): Bad                                                                              address
modprobe: can't load module snd_soc_core (kernel/sound/soc/snd-soc-core.ko): Bad                                                                              address
modprobe: can't load module snd_soc_core (kernel/sound/soc/snd-soc-core.ko): Bad                                                                              address
modprobe: can't load module snd_soc_core (kernel/sound/soc/snd-soc-core.ko): Bad                                                                              address
modprobe: can't load module snd_soc_core (kernel/sound/soc/snd-soc-core.ko): Bad                                                                              address
/etc/init.d/S11init: line 201: can't create /sys/module/ambarella_config/paramet                                                                             ers/sd0_wait_timeout: nonexistent directory
Populating a5sipcam using udev: Bus error
Failed
Initializing random number generator... done.
Starting system message bus: Bus error
Bus error
Bus error
done
mknod: /dev/ubi_ctrl: File exists
ubiattach: UBI_IOCATT: File exists
Failed to /usr/sbin/ubiattach /dev/ubi_ctrl -m 9
ubiattach: UBI_IOCATT: File exists
Failed to /usr/sbin/ubiattach /dev/ubi_ctrl -m 9
ubiattach: UBI_IOCATT: File exists
Failed to /usr/sbin/ubiattach /dev/ubi_ctrl -m 9
ubiattach: UBI_IOCATT: File exists
mount: mounting ubi1:upgrade on /hs/upgrade failed: Bad message
mount: mounting ubi1:param on /hs/param failed: Device or resource busy
Failed to /bin/mount -t ubifs ubi1_0 /hs/upgrade
ubiattach: UBI_IOCATT: File exists
ubiattach: UBI_IOCATT: File exists
Failed ubiattach mtd8.
ubiattach: UBI_IOCATT: File exists
mount: mounting ubi2:user on /hs/user failed: Bad message
mount -t ubifs ubi1:user /hs/user error.
mount: mounting ubi1:user on /hs/user failed: No such device
mount -t ubifs ubi3:user /hs/user error.
mount: mounting ubi3:user on /hs/user failed: No such device
copy /etc/old.shadow /etc/shadow
still mount userfs failed after twice reboot
Starting network...
ifup: interface lo already configured
ifup: interface eth0 already configured
/bin/sh: can't open '/hs/user/bin/demo.sh'

jean
Новичок
Сообщения: 34
Зарегистрирован: 13 ноя 2014, 22:36

Re: Восстановление IP камеры adsr20e200

Сообщение jean » 24 мар 2016, 00:31

По ТТЛ если верно понял это 3 площадки над амбареллой?

Изображение

Вот вэб-морда:

Изображение

jean
Новичок
Сообщения: 34
Зарегистрирован: 13 ноя 2014, 22:36

Re: Восстановление IP камеры adsr20e200

Сообщение jean » 24 мар 2016, 01:05

Вот на всякий случай процессы:

Код: Выделить всё

# ps
PID   USER     TIME   COMMAND
    1 root       0:02 {linuxrc} init
    2 root       0:00 [kthreadd]
    3 root       0:00 [ksoftirqd/0]
    4 root       0:00 [kworker/0:0]
    5 root       0:00 [kworker/u:0]
    6 root       0:00 [khelper]
    7 root       0:00 [kworker/u:1]
  430 root       0:00 [sync_supers]
  432 root       0:00 [bdi-default]
  434 root       0:00 [kblockd]
  538 root       0:00 [rpciod]
  539 root       0:00 [kworker/0:1]
  548 root       0:00 [kswapd0]
  549 root       0:00 [fsnotify_mark]
  550 root       0:00 [aio]
  551 root       0:00 [nfsiod]
  553 root       0:00 [crypto]
  594 root       0:00 [mtdblock0]
  599 root       0:00 [mtdblock1]
  604 root       0:00 [mtdblock2]
  609 root       0:00 [mtdblock3]
  614 root       0:00 [mtdblock4]
  619 root       0:00 [mtdblock5]
  624 root       0:00 [mtdblock6]
  629 root       0:00 [mtdblock7]
  634 root       0:00 [mtdblock8]
  639 root       0:00 [mtdblock9]
  647 root       0:00 [ubi_bgt0d]
  664 root       0:00 [ubifs_bgt0_0]
  678 root       0:00 [flush-ubifs_0_0]
  791 root       0:00 [ubi_bgt1d]
  796 root       0:00 [ubifs_bgt1_0]
  798 root       0:00 [ubi_bgt2d]
  829 root       0:00 /sbin/getty -L ttyS0 115200 vt100
  830 root       0:00 /usr/sbin/telnetd
  831 root       0:00 /sbin/watchdog -t 5 /dev/watchdog
  832 root       0:00 -sh
  837 root       0:00 ps

Аватара пользователя
kROOT
Специалист
Сообщения: 13487
Зарегистрирован: 02 сен 2013, 14:25
Откуда: youcam.pro
Контактная информация:

Re: Восстановление IP камеры adsr20e200

Сообщение kROOT » 24 мар 2016, 06:47

можно например использовать камеры как контроллеры, на bash написать скрипты ))
а если серьезно, купите модули новые и замените, так то хвосты, подсветка, фильтр и такой корпус это уже больше половины стоимости.
думаю в перегреве дело, радиаторов то не было на процах наверно.

iTuneDVR

Re: Восстановление IP камеры adsr20e200

Сообщение iTuneDVR » 24 мар 2016, 11:09

Я так и думал, что это LONGSE!!!
У них на сайте есть прошивка и чуть посвежее.
Есть смысл накатить её, но для начала снять дамп!!!
Недавно я сталкивался с их решениями на других камерах.

jean
Новичок
Сообщения: 34
Зарегистрирован: 13 ноя 2014, 22:36

Re: Восстановление IP камеры adsr20e200

Сообщение jean » 24 мар 2016, 15:40

Вроде с этого сайта брал - http://herospeed.net/herospeed/index.ph ... ts&catid=7" onclick="window.open(this.href);return false; , подскажите как слить дамп и как накатить под телнетом. Спасибо.

iTuneDVR

Re: Восстановление IP камеры adsr20e200

Сообщение iTuneDVR » 24 мар 2016, 18:32

jean писал(а):Вроде с этого сайта брал - http://herospeed.net/herospeed/index.ph ... ts&catid=7" onclick="window.open(this.href);return false; , подскажите как слить дамп и как накатить под телнетом. Спасибо.
Если в TTL, то на форуме этих примеров полно, главное что конкретно у тебя там в u-boot
Если через телнет, то понтируй сетевой диск и сливай mtd блоки, а такжде тарь содержимое корня по с папками исключая proc, sys, dev

Ответить

Вернуться в «Восстановление и настройка»