# cat /proc/kmsg<5>[ 0.000000] Linux version 2.6.38.8 (root@HIK-RD-CI-Frontend) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) )
<5>[ 0.000000] #33 PREEMPT Fri Oct 24 10:46:55 CST 2014
<4>[ 0.000000] CPU: ARMv6-compatible processor [4117b365] revision 5 (ARMv6TEJ), cr=00c5387f
<4>[ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
<4>[ 0.000000] Machine: Coconut
<4>[ 0.000000] Memory policy: ECC disabled, Data cache writeback
<6>[ 0.000000] Ambarella: AHB = 0x60000000[0xf0000000],0x01000000 0
<6>[ 0.000000] Ambarella: APB = 0x70000000[0xf1000000],0x01000000 0
<6>[ 0.000000] Ambarella: PPM = 0xc0000000[0xe0000000],0x00200000 9
<6>[ 0.000000] Ambarella: BSB = 0xc8c00000[0xe8c00000],0x00400000 9
<6>[ 0.000000] Ambarella: DSP = 0xc9000000[0xe9000000],0x07000000 9
<6>[ 0.000000] Ambarella: HAL = 0xc00a0000[0xfee00000],0x0000e708 9
<7>[ 0.000000] On node 0 totalpages: 25344
<7>[ 0.000000] free_area_init_node: node 0, pgdat c04dd028, node_mem_map c0503000
<7>[ 0.000000] Normal zone: 198 pages used for memmap
<7>[ 0.000000] Normal zone: 0 pages reserved
<7>[ 0.000000] Normal zone: 25146 pages, LIFO batch:7
<4>[ 0.000000] bootmem_init: high_memory = 0xc8a00000
<7>[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
<7>[ 0.000000] pcpu-alloc: [0] 0
<4>[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 25146
<5>[ 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
<6>[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
<6>[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
<6>[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
<6>[ 0.000000] Memory: 99MB = 99MB total
<5>[ 0.000000] Memory: 91192k/91192k available, 10184k reserved, 0K highmem
<5>[ 0.000000] Virtual kernel memory layout:
<5>[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
<5>[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
<5>[ 0.000000] DMA : 0xfe600000 - 0xfee00000 ( 8 MB)
<5>[ 0.000000] vmalloc : 0xc9000000 - 0xe0000000 ( 368 MB)
<5>[ 0.000000] lowmem : 0xc0000000 - 0xc8a00000 ( 138 MB)
<5>[ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
<5>[ 0.000000] .init : 0xc0008000 - 0xc002d000 ( 148 kB)
<5>[ 0.000000] .text : 0xc002d000 - 0xc04aa000 (4596 kB)
<5>[ 0.000000] .data : 0xc04aa000 - 0xc04dd6e0 ( 206 kB)
<6>[ 0.000000] Preemptable hierarchical RCU implementation.
<6>[ 0.000000] RCU-based detection of stalled CPUs is disabled.
<6>[ 0.000000] Verbose stalled-CPUs detection is disabled.
<6>[ 0.000000] NR_IRQS:224
<6>[ 0.000000] sched_clock: 32 bits at 72MHz, resolution 13ns, wraps every 59652ms
<2>[ 0.000000] sched_clock: wrong multiply/shift: 1864135111>>27 vs calculated 3728270222>>28
<2>[ 0.000000] sched_clock: fix multiply/shift to avoid scheduler hiccups
<4>[ 0.000000] Console: colour dummy device 80x30
<6>[ 0.000000] console [ttyS0] enabled
<6>[ 0.000601] Calibrating delay loop... 525.92 BogoMIPS (lpj=2629632)
<6>[ 0.260141] pid_max: default: 32768 minimum: 301
<4>[ 0.260565] Mount-cache hash table entries: 512
<6>[ 0.261366] CPU: Testing write buffer coherency: ok
<6>[ 0.268085] NET: Registered protocol family 16
<6>[ 0.279074] Ambarella Coconut:
<6>[ 0.279109] chip id: 5100
<6>[ 0.279123] board type: 3
<6>[ 0.279138] board revision: 10
<6>[ 0.279151] chip name: a5m
<6>[ 0.279164] HAL version: 176869
<6>[ 0.279180] reference clock: 24000000
<6>[ 0.279197] system configuration: 0x062004ea
<6>[ 0.279215] boot type: 0x00000002
<6>[ 0.279230] hif type: 0x00000000
<4>[ 0.307432] bio: create slab <bio-0> at 0
<6>[ 0.310005] ambarella-spi ambarella-spi.0: ambarella SPI Controller 0 created
<5>[ 0.321162] ambarella-i2c ambarella-i2c.0: Ambarella Media Processor I2C adapter[i2c-0] probed!
<5>[ 0.322732] ambarella-i2c ambarella-i2c.1: Ambarella Media Processor I2C adapter[i2c-1] probed!
<6>[ 0.324197] i2c i2c-0: Added multiplexed i2c bus 2
<6>[ 0.324240] ambarella-i2cmux ambarella-i2cmux.0: mux on ambarella-i2c adapter
<6>[ 0.327221] Advanced Linux Sound Architecture Driver Version 1.0.23.
<6>[ 0.331506] cfg80211: Calling CRDA to update world regulatory domain
<6>[ 0.333175] Switching to clocksource ambarella-cs-timer
<6>[ 0.340196] Switched to NOHz mode on CPU #0
<6>[ 0.397470] NET: Registered protocol family 2
<6>[ 0.397832] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
<6>[ 0.398746] TCP established hash table entries: 4096 (order: 3, 32768 bytes)
<6>[ 0.398958] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
<6>[ 0.399105] TCP: Hash tables configured (established 4096 bind 4096)
<6>[ 0.399127] TCP reno registered
<6>[ 0.399157] UDP hash table entries: 256 (order: 0, 4096 bytes)
<6>[ 0.399204] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
<6>[ 0.399845] NET: Registered protocol family 1
<6>[ 0.400763] RPC: Registered udp transport module.
<6>[ 0.400802] RPC: Registered tcp transport module.
<6>[ 0.400823] RPC: Registered tcp NFSv4.1 backchannel transport module.
<6>[ 0.401341] Trying to unpack rootfs image as initramfs...
<6>[ 0.403987] rootfs image is not initramfs (no cpio magic); looks like an initrd
<6>[ 0.438753] Freeing initrd memory: 4096K
<0>[ 0.441777] [ kernel version: svn-97978 ]
<4>[ 0.441882] mmc0 power register success!
<4>[ 0.441925] mmc1 power register success!
<6>[ 0.442065] reboot times :7
<6>[ 0.465063] msgmni has been set to 186
<6>[ 0.473781] alg: No test for stdrng (krng)
<6>[ 0.473943] io scheduler noop registered
<6>[ 0.473974] io scheduler deadline registered
<6>[ 0.474149] io scheduler cfq registered (default)
<6>[ 0.477916] ambarella-fb ambarella-fb.0: probe p[720x480] v[720x576] c[1] b[0] l[736] @ [0xc5980000:0x00068000]!
<6>[ 0.479777] ambarella-uart.0: ttyS0 at MMIO 0x70005000 (irq = 9) is a ambuart
<6>[ 0.516531] brd: module loaded
<6>[ 0.530990] loop: module loaded
<6>[ 0.534602] NAND device: Manufacturer ID: 0xc2, Chip ID: 0xf1 (MXIC NAND 128MiB 3,3V 8-bit)
<4>[ 0.534649] ambarella_nand_config_flash: 0x02e00140, 0x02c00140
<7>[ 0.535055] Bad block table found at page 65472, version 0x01
<7>[ 0.535591] Bad block table found at page 65408, version 0x01
<7>[ 0.535888] nand_read_bbt: Bad block at 0x000000500000
<7>[ 0.535929] nand_read_bbt: Bad block at 0x000002c20000
<6>[ 0.541551] ambarella-nand ambarella-nand: ambarella_nand_probe: Partition infomation found!
<5>[ 0.541615] Creating 18 MTD partitions on "ambnand":
<5>[ 0.541655] 0x000000000000-0x000000020000 : "bst"
<5>[ 0.545882] 0x000000020000-0x000000120000 : "ptb"
<5>[ 0.549675] 0x000000120000-0x000000220000 : "bld"
<5>[ 0.553744] 0x000000220000-0x000000320000 : "hal"
<5>[ 0.557657] 0x000000320000-0x000000420000 : "ano_ptb"
<5>[ 0.561578] 0x000000420000-0x0000004a0000 : "env"
<5>[ 0.565859] 0x0000004a0000-0x000000520000 : "param"
<5>[ 0.569867] 0x000000520000-0x000000620000 : "dpt"
<5>[ 0.574205] 0x000000620000-0x000001020000 : "rcvy"
<5>[ 0.578406] 0x000001020000-0x000001820000 : "krn_pri"
<5>[ 0.582320] 0x000001820000-0x000002020000 : "krn_sec"
<5>[ 0.586545] 0x000002020000-0x000002420000 : "rmd_pri"
<5>[ 0.590532] 0x000002420000-0x000002820000 : "rmd_sec"
<5>[ 0.594859] 0x000002820000-0x000004020000 : "app_pri"
<5>[ 0.598988] 0x000004020000-0x000005820000 : "app_sec"
<5>[ 0.603196] 0x000005820000-0x000005c20000 : "cfg_pri"
<5>[ 0.607621] 0x000005c20000-0x000006020000 : "cfg_sec"
<5>[ 0.611921] 0x000006020000-0x000007020000 : "dbg"
<6>[ 0.623495] PPP generic driver version 2.4.2
<6>[ 0.624929] PPP Deflate Compression module registered
<6>[ 0.624972] PPP BSD Compression module registered
<6>[ 0.819911] Ambarella MII Bus: probed
<5>[ 0.821592] ambarella-eth ambarella-eth.0: MAC Address[48:11:b2:24:cb:bb].
<6>[ 0.822338] console [netcon0] enabled
<6>[ 0.822368] netconsole: network logging started
<6>[ 0.824169] mousedev: PS/2 mouse device common for all mice
<6>[ 0.825231] input: AmbInput as /devices/virtual/input/input0
<6>[ 0.826269] ambarella_gpio_irq_set_wake: irq[75] = girq[11] = 1
<5>[ 0.826314] ambarella-input ambarella-input: AmbInput probed!
<5>[ 0.827339] ambarella-adc ambarella-adc: ADC Host Controller [polling mode] probed!
<6>[ 0.829038] ambarella-rtc ambarella-rtc: rtc core: registered ambarella-rtc as rtc0
<6>[ 0.829632] i2c /dev entries driver
<5>[ 0.834748] ambarella-wdt ambarella-wdt: Ambarella Media Processor Watch Dog Timer[ambarella-wdt].
<6>[ 0.841503] ALSA device list:
<6>[ 0.841537] No soundcards found.
<6>[ 0.841719] Netfilter messages via NETLINK v0.30.
<6>[ 0.841925] nf_conntrack version 0.5.0 (1488 buckets, 5952 max)
<6>[ 0.842584] ip_tables: (C) 2000-2006 Netfilter Core Team
<6>[ 0.842759] TCP cubic registered
<6>[ 0.843192] NET: Registered protocol family 10
<6>[ 0.846003] Mobile IPv6
<6>[ 0.846139] ip6_tables: (C) 2000-2006 Netfilter Core Team
<6>[ 0.846400] IPv6 over IPv4 tunneling driver
<6>[ 0.850268] NET: Registered protocol family 17
<6>[ 0.851102] sctp: Hash tables configured (established 4096 bind 8192)
<7>[ 0.851455] sctp: sctp_init_sock(sk: c58d7b20)
<6>[ 0.851579] lib80211: common routines for IEEE802.11 drivers
<7>[ 0.851612] lib80211_crypt: registered algorithm 'NULL'
<6>[ 0.856004] ambarella-rtc ambarella-rtc: setting system clock to 2015-09-14 11:13:51 UTC (1442229231)
<5>[ 0.856847] RAMDISK: gzip image found at block 0
<4>[ 1.674145] EXT2-fs (ram0): warning: maximal mount count reached, running e2fsck is recommended
<4>[ 1.674335] VFS: Mounted root (ext2 filesystem) on device 1:0.
<6>[ 1.674547] Freeing init memory: 148K
<5>[ 3.703222] UBI: attaching mtd13 to ubi1
<5>[ 3.703382] UBI: physical eraseblock size: 131072 bytes (128 KiB)
<5>[ 3.703412] UBI: logical eraseblock size: 129024 bytes
<5>[ 3.703432] UBI: smallest flash I/O unit: 2048
<5>[ 3.703449] UBI: sub-page size: 512
<5>[ 3.703467] UBI: VID header offset: 512 (aligned 512)
<5>[ 3.703488] UBI: data offset: 2048
<5>[ 3.762268] UBI: max. sequence number: 392
<5>[ 3.783438] UBI: attached mtd13 to ubi1
<5>[ 3.783471] UBI: MTD device name: "app_pri"
<5>[ 3.783494] UBI: MTD device size: 24 MiB
<5>[ 3.783513] UBI: number of good PEBs: 191
<5>[ 3.783529] UBI: number of bad PEBs: 1
<5>[ 3.783545] UBI: number of corrupted PEBs: 0
<5>[ 3.783560] UBI: max. allowed volumes: 128
<5>[ 3.783577] UBI: wear-leveling threshold: 4096
<5>[ 3.783593] UBI: number of internal volumes: 1
<5>[ 3.783609] UBI: number of user volumes: 1
<5>[ 3.783625] UBI: available PEBs: 0
<5>[ 3.783641] UBI: total number of reserved PEBs: 191
<5>[ 3.783658] UBI: number of PEBs reserved for bad PEB handling: 2
<5>[ 3.783679] UBI: max/mean erase counter: 26/18
<5>[ 3.783695] UBI: image sequence number: 1364008951
<5>[ 3.791750] UBI: background thread "ubi_bgt1d" started, PID 630
<5>[ 3.870488] UBIFS: recovery needed
<5>[ 3.909821] UBIFS: recovery completed
<5>[ 3.909870] UBIFS: mounted UBI device 1, volume 0, name "app_pri"
<5>[ 3.909900] UBIFS: file system size: 22708224 bytes (22176 KiB, 21 MiB, 176 LEBs)
<5>[ 3.909928] UBIFS: journal size: 1161216 bytes (1134 KiB, 1 MiB, 9 LEBs)
<5>[ 3.909953] UBIFS: media format: w4/r0 (latest is w4/r0)
<5>[ 3.909972] UBIFS: default compressor: lzo
<5>[ 3.909990] UBIFS: reserved for root: 1072565 bytes (1047 KiB)
<5>[ 6.460830] UBI: attaching mtd15 to ubi3
<5>[ 6.460873] UBI: physical eraseblock size: 131072 bytes (128 KiB)
<5>[ 6.460898] UBI: logical eraseblock size: 129024 bytes
<5>[ 6.460917] UBI: smallest flash I/O unit: 2048
<5>[ 6.460935] UBI: sub-page size: 512
<5>[ 6.460953] UBI: VID header offset: 512 (aligned 512)
<5>[ 6.460973] UBI: data offset: 2048
<5>[ 6.469743] UBI: max. sequence number: 98
<5>[ 6.493487] UBI: attached mtd15 to ubi3
<5>[ 6.493521] UBI: MTD device name: "cfg_pri"
<5>[ 6.493543] UBI: MTD device size: 4 MiB
<5>[ 6.493560] UBI: number of good PEBs: 32
<5>[ 6.493576] UBI: number of bad PEBs: 0
<5>[ 6.493592] UBI: number of corrupted PEBs: 0
<5>[ 6.493608] UBI: max. allowed volumes: 128
<5>[ 6.493625] UBI: wear-leveling threshold: 4096
<5>[ 6.493641] UBI: number of internal volumes: 1
<5>[ 6.493657] UBI: number of user volumes: 1
<5>[ 6.493673] UBI: available PEBs: 0
<5>[ 6.493689] UBI: total number of reserved PEBs: 32
<5>[ 6.493707] UBI: number of PEBs reserved for bad PEB handling: 2
<5>[ 6.493727] UBI: max/mean erase counter: 31/29
<5>[ 6.493744] UBI: image sequence number: 489670391
<5>[ 6.501759] UBI: background thread "ubi_bgt3d" started, PID 640
<5>[ 6.576618] UBIFS: recovery needed
<5>[ 6.613893] UBIFS: recovery completed
<5>[ 6.613940] UBIFS: mounted UBI device 3, volume 0, name "cfg_pri"
<5>[ 6.613969] UBIFS: file system size: 2193408 bytes (2142 KiB, 2 MiB, 17 LEBs)
<5>[ 6.613996] UBIFS: journal size: 1032193 bytes (1008 KiB, 0 MiB, 6 LEBs)
<5>[ 6.614021] UBIFS: media format: w4/r0 (latest is w4/r0)
<5>[ 6.614042] UBIFS: default compressor: lzo
<5>[ 6.614060] UBIFS: reserved for root: 103599 bytes (101 KiB)
<5>[ 6.711351] UBI: attaching mtd16 to ubi4
<5>[ 6.711392] UBI: physical eraseblock size: 131072 bytes (128 KiB)
<5>[ 6.711415] UBI: logical eraseblock size: 129024 bytes
<5>[ 6.711433] UBI: smallest flash I/O unit: 2048
<5>[ 6.711451] UBI: sub-page size: 512
<5>[ 6.711469] UBI: VID header offset: 512 (aligned 512)
<5>[ 6.711489] UBI: data offset: 2048
<5>[ 6.720187] UBI: max. sequence number: 107
<5>[ 6.744193] UBI: attached mtd16 to ubi4
<5>[ 6.744227] UBI: MTD device name: "cfg_sec"
<5>[ 6.744251] UBI: MTD device size: 4 MiB
<5>[ 6.744268] UBI: number of good PEBs: 32
<5>[ 6.744285] UBI: number of bad PEBs: 0
<5>[ 6.744301] UBI: number of corrupted PEBs: 0
<5>[ 6.744317] UBI: max. allowed volumes: 128
<5>[ 6.744333] UBI: wear-leveling threshold: 4096
<5>[ 6.744350] UBI: number of internal volumes: 1
<5>[ 6.744365] UBI: number of user volumes: 1
<5>[ 6.744381] UBI: available PEBs: 0
<5>[ 6.744397] UBI: total number of reserved PEBs: 32
<5>[ 6.744415] UBI: number of PEBs reserved for bad PEB handling: 2
<5>[ 6.744436] UBI: max/mean erase counter: 32/30
<5>[ 6.744452] UBI: image sequence number: 2004220474
<5>[ 6.752467] UBI: background thread "ubi_bgt4d" started, PID 651
<5>[ 6.827304] UBIFS: recovery needed
<5>[ 6.879636] UBIFS: recovery completed
<5>[ 6.879684] UBIFS: mounted UBI device 4, volume 0, name "cfg_sec"
<5>[ 6.879713] UBIFS: file system size: 2193408 bytes (2142 KiB, 2 MiB, 17 LEBs)
<5>[ 6.879741] UBIFS: journal size: 1032193 bytes (1008 KiB, 0 MiB, 6 LEBs)
<5>[ 6.879765] UBIFS: media format: w4/r0 (latest is w4/r0)
<5>[ 6.879784] UBIFS: default compressor: lzo
<5>[ 6.879802] UBIFS: reserved for root: 103599 bytes (101 KiB)
<5>[ 8.072648] net eth0: Could not find default PHY in 9.
<5>[ 8.072690] net eth0: Try PHY[3] whose id is 0x001cc816!
<6>[ 8.076173] ADDRCONF(NETDEV_UP): eth0: link is not ready
<6>[ 10.063646] PHY: 0:03 - Link is Up - 100/Full
<6>[ 10.063863] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
<4>[ 16.147167] dsp: module license 'Proprietary' taints kernel.
<4>[ 16.147207] Disabling lock debugging due to kernel taint
<4>[ 16.226073] img: aaa_fifo2_base malloc c2b50000
<4>[ 16.645794] >>>>>> DSP LOG ADDR START PHY 0xc0080000
<7>[ 16.645828] Init software HR timer for DSP communication
<6>[ 16.675603] cdev_init rs485_fops ...
<6>[ 16.675654] adding uart1, minor = 0
<6>[ 16.679222] Successfully insmod uart232 module!
<6>[ 16.820629] amba_debug_init 248:248.
<7>[ 20.283312] eth0: no IPv6 routers present
<6>[ 32.785188] AMBARELLA SoC Audio DUMMY Codec
<6>[ 32.786720] asoc: AMBARELLA_DUMMY_CODEC <-> ambarella-i2s.0 mapping ok
<4>[ 33.649471] MT9T002 sensor ID is 0x2604
<6>[ 33.699476] CMEMK module: built on Aug 23 2012 at 17:05:43
<6>[ 33.699523] Reference Linux version 2.6.38
<6>[ 33.699543] File /mnt/data_bsp/data_yuhuanhuan/raptor/a5s_svn2/kernel/hik_drivers/cmem/src/module/cmemk.c
<6>[ 33.707227] cmemk initialized
<4>[ 43.449631] iav error: Failed to wait for completion!
<4>[ 43.518743] iav error: Failed to wait for completion!