Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

DM368 IPNC UBIFS Kernel panic

$
0
0

Dear all

My system is DM368 IPNC Ver4.0.

When i boot with UBIFS file system, some boards are OK but some boards are making kernel panic.

Below is my log.

 

============

Loading from NAND 128MiB 3,3V 8-bit, offset 0x500000
## Booting kernel from Legacy Image at 80700000 ...
   Image Name:   Linux-2.6.37_IPNC_DM365_4.0.0+
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3595392 Bytes =  3.4 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

[    0.000000] Linux version 2.6.37_IPNC_DM365_4.0.0+ (root@pine-ubuntu) (gcc version 4.3.3 (GCC) ) #2 PREEMPT Mon Nov 26 09:45:01 KST 2012
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: DaVinci DM36x IPNC
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] DaVinci dm36x_rev1.2 variant 0x8
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 10160
[    0.000000] Kernel command line: mem=40M console=ttyS0,115200n8 noinitrd ip=static rw ubi.mtd=3,2048 rootfstype=ubifs root=ubi0:rootfs cmemk.phys_start=0x82900000 cmemk.phys_end=0x88000000 cmemk.phys_start_1=0x00001000 cmemk.phys_end_1=0x00008000 cmemk.pools_1=1x28672 cmemk.allowOverlap=1 cmemk.useHeapIfPoolUnavailable=1 lpj=1077248 nohz=off highres=off eth=$(ethaddr)
[    0.000000] TI DaVinci EMAC: kernel boot params Ethernet address: $(ethaddr)
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Memory: 40MB = 40MB total
[    0.000000] Memory: 36904k/36904k available, 4056k 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     : 0xff000000 - 0xffe00000   (  14 MB)
[    0.000000]     vmalloc : 0xc3000000 - 0xfea00000   ( 954 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xc2800000   (  40 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc0029000   ( 132 kB)
[    0.000000]       .text : 0xc0029000 - 0xc034d000   (3216 kB)
[    0.000000]       .data : 0xc034e000 - 0xc0375c80   ( 160 kB)
[    0.000000] SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    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:245
[    0.000000] Console: colour dummy device 80x30
[    0.000300] Calibrating delay loop (skipped) preset value.. 215.44 BogoMIPS (lpj=1077248)
[    0.000362] pid_max: default: 32768 minimum: 301
[    0.000643] Mount-cache hash table entries: 512
[    0.001446] CPU: Testing write buffer coherency: ok
[    0.005900] DaVinci: 8 gpio irqs
[    0.006521] NET: Registered protocol family 16
[    0.021653] EVM: (null) video input
[    0.116413] bio: create slab <bio-0> at 0
[    0.121473] SCSI subsystem initialized
[    0.125274] usbcore: registered new interface driver usbfs
[    0.126665] usbcore: registered new interface driver hub
[    0.127559] usbcore: registered new device driver usb
[    0.131121] vpss vpss: dm365_vpss vpss probed
[    0.131189] vpss vpss: dm365_vpss vpss probe success
[    0.133052] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.134989] Switching to clocksource timer0_1
[    0.198140] NET: Registered protocol family 2
[    0.198448] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.199272] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.199416] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.199507] TCP: Hash tables configured (established 2048 bind 2048)
[    0.199539] TCP reno registered
[    0.199581] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.199646] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.200478] NET: Registered protocol family 1
[    0.268976] JFFS2 version 2.2. (NAND) Aⓒ 2001-2006 Red Hat, Inc.
[    0.272882] msgmni has been set to 72
[    0.275630] io scheduler noop registered (default)
[    0.277088] CSL: Module install successful, device major num = 254
[    0.277137] CSL: Module version 0.10.00, built on Nov 26 2012 09:33:09
[    0.277195] I2C: Module install successful, device major num = 253
[    0.277239] DMA: Module install successful, device major num = 252
[    0.277278] KPD: Module install successful, device major num = 251
[    0.277314] SPI: Module install successful, device major num = 250
[    0.277342] DRV: Module install successful
[    0.277367] DRV: Module built on Nov 26 2012 09:37:45
[    0.277394] DRV: EDMACC.QUEPRI  = 00002777
[    0.277416] DRV: SYSTEM.MSTPRI0 = 00440011
[    0.277439] DRV: SYSTEM.MSTPRI1 = 00000444
[    0.277461] DRV: ISP.BCR        = 00000002
[    0.277483] DRV: SYSTEM.MISC    = 00000399
[    0.277508] EDMAK module: built on Nov 26 2012 at 09:32:52
[    0.277540]   Reference Linux version 2.6.37
[    0.277565]   File /home/pine/dm368/hive/hive_hd_rec/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/edma/src/module/edmak.c
[    0.279039] IRQK module: built on Nov 26 2012 at 09:32:51
[    0.279093]   Reference Linux version 2.6.37
[    0.279120]   File /home/pine/dm368/hive/hive_hd_rec/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/irq/src/module/irqk.c
[    0.280863] irqk initialized
[    0.280938] CMEMK module: built on Nov 26 2012 at 09:32:49
[    0.280978]   Reference Linux version 2.6.37
[    0.281006]   File /home/pine/dm368/hive/hive_hd_rec/dvsdk_ipnctools/linuxutils_2_26_02_05/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
[    0.294945] allocated heap buffer 0xc4000000 of size 0x5700000
[    0.294989] heap fallback enabled - will try heap if pool buffer is not available
[    0.295029] CMEM Range Overlaps Kernel Physical - allowing overlap
[    0.295065] CMEM phys_start (0x1000) overlaps kernel (0x80000000 -> 0x82800000)
[    0.295219] cmemk initialized
[    0.295276] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.319033] serial8250.0: ttyS0 at MMIO 0x1c20000 (irq = 40) is a 16550A
[    0.842168] console [ttyS0] enabled
[    0.867577] serial8250.0: ttyS1 at MMIO 0x1d06000 (irq = 41) is a 16550A
[    0.877775] brd: module loaded
[    0.889705] NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung )
[    0.898233] Bad block table not found for chip 0
[    0.904447] Bad block table not found for chip 0
[    0.909089] Scanning device for bad blocks
[    0.934636] Bad eraseblock 287 at 0x0000023e0000
[    0.939396] Bad eraseblock 289 at 0x000002420000
[    0.944281] Bad eraseblock 292 at 0x000002480000
[    0.974240] Bad eraseblock 634 at 0x000004f40000
[    1.010869] Creating 7 MTD partitions on "davinci_nand.0":
[    1.016406] 0x000000000000-0x000000300000 : "bootloader"
[    1.025759] 0x000000300000-0x000000500000 : "params"
[    1.034860] 0x000000500000-0x000000900000 : "kernel"
[    1.044075] 0x000000900000-0x000003100000 : "filesystem1"
[    1.053868] 0x000003100000-0x000003300000 : "data1"
[    1.063124] 0x000003300000-0x000005b00000 : "filesystem2"
[    1.072990] 0x000005b00000-0x000008000000 : "gui"
[    1.082231] davinci_nand davinci_nand.0: controller rev. 2.3
[    1.091145] UBI: attaching mtd3 to ubi0
[    1.095018] UBI: physical eraseblock size:   131072 bytes (128 KiB)
[    1.101603] UBI: logical eraseblock size:    126976 bytes
[    1.107026] UBI: smallest flash I/O unit:    2048
[    1.111859] UBI: sub-page size:              512
[    1.116496] UBI: VID header offset:          2048 (aligned 2048)
[    1.122604] UBI: data offset:                4096
[    1.320959] UBI: max. sequence number:       0
[    1.337263] UBI error: ubi_eba_init_scan: no enough physical eraseblocks (0, need 1)
[    1.345892] UBI error: ubi_init: cannot attach mtd3
[    1.400106] davinci_mdio davinci_mdio.0: davinci mdio revision 1.4
[    1.406323] davinci_mdio davinci_mdio.0: detected phy mask 0
[    1.461676] davinci_mdio.0: probed
[    1.695835] Initializing USB Mass Storage driver...
[    1.701581] usbcore: registered new interface driver usb-storage
[    1.707617] USB Mass Storage support registered.
[    1.712468] i2c /dev entries driver
[    1.717984] Linux media interface: v0.10
[    1.722766] Linux video capture interface: v2.00
[    1.729485] vpbe-osd vpbe-osd: OSD sub device probe success
[    1.736047] vpbe-venc vpbe-venc: VENC sub device probe success
[    1.743041] vpbe-v4l2 vpbe-v4l2: vpbe v4l2 device registered
[    1.748816] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.
[    1.755795] vpbe-v4l2 vpbe-v4l2: layer=c219b400,layer->video_dev=c219b4e8
[    1.763503] vpbe-v4l2 vpbe-v4l2: Trying to register VPBE display device.
[    1.770480] vpbe-v4l2 vpbe-v4l2: layer=c219a000,layer->video_dev=c219a0e8
[    1.779064] watchdog watchdog: heartbeat 60 sec
[    1.787584] usbcore: registered new interface driver usbhid
[    1.793457] usbhid: USB HID core driver
[    1.801303] Error: Driver 'davinci-mcbsp' is already registered, aborting...
[    1.811226] asoc: cq93vc-hifi <-> davinci-vcif mapping ok
[    1.819972] ALSA device list:
[    1.823275]   #0: DaVinci DM365 EVM
[    1.828056] TCP cubic registered
[    1.831619] NET: Registered protocol family 17
[    1.845114] net eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=0:01, id=0)
[    1.870381] IP-Config: Guessing netmask 255.255.0.0
[    1.875702] IP-Config: Complete:
[    1.878784]      device=eth0, addr=133.0.0.0, mask=255.255.0.0, gw=255.255.255.255,
[    1.886509]      host=133.0.0.0, domain=, nis-domain=(none),
[    1.892268]      bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=
[    1.900825] VFS: Cannot open root device "ubi0:rootfs" or unknown-block(0,0)
[    1.907903] Please append a correct "root=" boot option; here are the available partitions:
[    1.916387] 1f00            3072 mtdblock0  (driver?)
[    1.921559] 1f01            2048 mtdblock1  (driver?)
[    1.926676] 1f02            4096 mtdblock2  (driver?)
[    1.931829] 1f03           40960 mtdblock3  (driver?)
[    1.936916] 1f04            2048 mtdblock4  (driver?)
[    1.942059] 1f05           40960 mtdblock5  (driver?)
[    1.947146] 1f06           37888 mtdblock6  (driver?)
[    1.952277] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    1.960605] Backtrace:
[    1.963079] Function entered at [<c002d4ec>] from [<c02d9718>]
[    1.968921]  r7:00008000 r6:c2013000 r5:c00235dc r4:c03763e0
[    1.974688] Function entered at [<c02d9700>] from [<c02d9784>]
[    1.980575] Function entered at [<c02d971c>] from [<c0008f8c>]
[    1.986438]  r3:00000000 r2:00000000 r1:c2025f78 r0:c02f8fb9
[    1.992195] Function entered at [<c0008d20>] from [<c00090e8>]
[    1.998041] Function entered at [<c0009054>] from [<c00084b4>]
[    2.003921]  r5:c0022d78 r4:c0375c98
[    2.007527] Function entered at [<c00083a4>] from [<c0041da0>]
[    2.013412]  r5:c00083a4 r4:00000000

Thanks in advance.

Hennessy

 

 

 


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>