This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM3730 Problem/ Android 2.2

Other Parts Discussed in Thread: DM3730, OMAP3530

Hi,

   Our customer is developing products based on DM3730, using Android 2.2 (TI_Android_DevKit 02_02_00), found the following problem when doing system power on/off testing.

   Have tested two products with 100 times power on/off (power on---wait for Android GUI showing on LCD -->power off-->power on within 1 or 2 seconds-->...), and appeared 4 times of white screen display and 7 times of kernel collapse, and Other 89 times of normal boot.

For white screen display problem, it means LCD displays total white with flickering, and UART log shows:

omapdss DISPC error: SYNC_LOST, disabling LCD  omapdss DISPC error: SYNC_LOST, disabling LCD  omapdss DISPC error: SYNC_LOST, disabling LCD  omapdss DISPC error: SYNC_LOST, disabling LCD

 PVR_K: HWRecoveryResetSGX: SGX Hardware Recovery triggered

 PVR_K: EUR_CR_EVENT_STATUS:     20000000

 PVR_K: EUR_CR_EVENT_STATUS2:    8

 PVR_K: EUR_CR_BIF_CTRL:         0

 PVR_K: EUR_CR_BIF_INT_STAT:     0

 PVR_K: EUR_CR_BIF_FAULT:        0

 PVR_K: EUR_CR_BIF_MEM_REQ_STAT: 0

 PVR_K: EUR_CR_CLKGATECTL:       222220

 PVR_K: EUR_CR_PDS_PC_BASE:      0

 PVR_K: SGX Host control:

 PVR_K:  0x0: 0x00000001 0x00000000 0x00000000 0x00000000

 PVR_K:  0x10: 0x00000001 0x0000000A 0x00030D40 0x00000065

 PVR_K:  0x20: 0x00000000 0x00000001 0x0000000C 0x00000000

 PVR_K:  0x30: 0x000030DC 0xE59D0000 0xE8BD8FFE 0x00000000

 PVR_K: SGX TA/3D control:

 PVR_K:  0x0: 0x0F002000 0x0F002120 0x0F001000 0x0F0CCCC0

 PVR_K:  0x10: 0x00000001 0x00000002 0x00000001 0x0F0BA4E0

 PVR_K:  0x20: 0x00000000 0x00000000 0x00000018 0x00000000

 PVR_K:  0x30: 0x00000002 0x00000000 0x00000000 0x00000000

 PVR_K:  0x40: 0x00000000 0x00000000 0x00000000 0x00000000

 PVR_K:  0x50: 0x00000000 0x00000000 0x00000000 0x00000000

 PVR_K:  0x60: 0x00000000 0x00000000 0x0F097420 0x00000000

 PVR_K:  0x70: 0x00000000 0x0F0BA4E0 0x00000000 0x00000000

 PVR_K:  0x80: 0x00000000 0x00000000 0x00000000 0x0F000000

 PVR_K:  0x90: 0x8B7AF000 0x0F0C4200 0x00000000 0x0F098A00

 PVR_K:  0xA0: 0x0F0BA4E0 0x00000000 0x0F098420 0x00000000

 PVR_K:  0xB0: 0x0F006880 0x00000003 0x00000000 0x00000000

 PVR_K:  0xC0: 0x00000001 0x00000000 0x00000000 0x00000000

 PVR_K:  0xD0: 0x00000000 0x00000000 0x00000000 0x00000000

 PVR_K:  0xE0: 0x00000075 0x00000074 0x0F000000 0x80007000

 PVR_K:  0xF0: 0x80047000 0x0F003000 0x00000000 0x00000000

 PVR_K:  0x100: 0x00000000 0xE58B2024 0xE59F2110 0xE58B5018

 PVR_K: Command Complete Data for display device 1:

 PVR_K:  SRC 0: (Not in use)

 PVR_K:  SRC 1: (Not in use)

 

For Kernel collapse, the detail log:

## Booting kernel from Legacy Image at 82000000 ...
   Image Name:   Linux-2.6.32
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2986476 Bytes = 2.8 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing
Linux............................................................................................................................................................................................... done, booting the kernel.
Linux version 2.6.32 (xue@xue-desktop) (gcc version 4.4.0 (GCC) ) #903 Wed Dec 28 16:30:23 CST 2011
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 EVM
Memory policy: ECC disabled, Data cache writeback OMAP3630/DM3730 ES1.0 (l2cache iva sgx neon isp 192mhz_clk )
SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000 Reserving 4194304 bytes SDRAM for VRAM Built 1 zonelists in Zone order, mobility grouping on.  Total pages:
114688
Kernel command line: console=ttyS0,115200n8 androidboot.console=ttyS0 mem=68M@0x80000000 mem=384M@0x88000000 mpurate=1000 omap_vout.vid1_static_vrfb_alloc=y omap_vout.vid2_static_vrfb_alloc=y
init=/init initrd=0x83000000,0x500000 ubi.mtd=5 root=/dev/ram ro PID hash table entries: 2048 (order: 1, 8192 bytes) Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 68MB 384MB = 452MB total
Memory: 442496KB available (5308K code, 938K data, 188K init, 0K
highmem)
Hierarchical RCU implementation.
NR_IRQS:402
Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
sys_clkout1 rate is 26.0 MHz
Reprogramming SDRC clock to 400000000 Hz GPMC revision 5.0
IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts Total of 96 interrupts on 1 active controller OMAP GPIO hardware version 2.5 OMAP clockevent source: GPTIMER1 at 32768 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720) Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
Package is : 3
gpio_request ********* gpio=22, label=enable EHCI VBUS gpio_request ********* gpio=11, label=ADS7846 pendown gpio_request ********* gpio=139, label=SMSC911x irq gpio_request ********* gpio=162, label=lcd_panel_resb gpio_request ********* gpio=152, label=lcd_panel_ini gpio_request ********* gpio=154, label=lcd_panel_qvga gpio_request ********* gpio=2, label=lcd_panel_lr gpio_request ********* gpio=3, label=lcd_panel_ud gpio_request ********* gpio=167, label=lcd_panel_envdd gpio_request ********* gpio=177, label=handset-hook gpio_request ********* gpio=138, label=speaker-ctrl gpio_request ********* gpio=173, label=tiwlan-enable Target VDD1 OPP = 4, VDD2 OPP = 2 gpio_request ********* gpio=136, label=camera-on gpio_request ********* gpio=98, label=camera-reset gpio_request ********* gpio=26, label=camera-pwdn
omap3evm-ov26xx: Driver registration complete OMAP DMA hardware revision 5.0
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb omap_i2c_probe : mem is 48070000, irq = 56 i2c_omap i2c_omap.1: bus 1 rev4.0 at 250 kHz client [dummy] registered with bus id 1-0049 client [dummy] registered with bus id 1-004a client [dummy] registered with bus id 1-004b
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401 gpio_request ********* gpio=150, label=mmc_wp gpio_request ********* gpio=199, label=EN_DVI
regulator: VUSB1V5: 1500 mV normal standby
regulator: VUSB1V8: 1800 mV normal standby
regulator: VUSB3V1: 3100 mV normal standby twl4030_usb twl4030_usb: Initialized TWL4030 USB module sts-boot is 0


CFG-boot is 1a


CFG-boot is 9a


regulator: VMMC1: 1850 <--> 3150 mV normal standby
regulator: VDAC: 1800 mV normal standby
regulator: VAUX2_4030: 1800 mV normal standby
regulator: VPLL2: 1800 mV normal standby
regulator: VSIM: 1800 <--> 3000 mV normal standby
client [twl4030] registered with bus id 1-0048
client [tlv320aic3x] registered with bus id 1-0018
client [Goodix-TS] registered with bus id 1-0055
omap_i2c_probe : mem is 48072000, irq = 57
i2c_omap i2c_omap.2: bus 2 rev4.0 at 400 kHz
omap_i2c_probe : mem is 48060000, irq = 61
i2c_omap i2c_omap.3: bus 3 rev4.0 at 400 kHz
client [ov2659] registered with bus id 3-0030
Bluetooth: Core ver 2.15
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Switching to clocksource 32k_counter
musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
musb_hdrc: USB Host mode controller at fa0ab000 using DMA, IRQ 92
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: MUSB HDRC host driver
usb usb1: Manufacturer: Linux 2.6.32 musb-hcd
usb usb1: SerialNumber: musb_hdrc
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (junk in compressed archive); looks like
an initrd
Freeing initrd memory: 5120K
omap-iommu omap-iommu.0: isp registered
AM37x/DM37x  Linux PSP version 03.00.01.06 (OMAP3EVM)
NetWinder Floating Point Emulator V0.97 (double precision)
ashmem: initialized
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND)  2001-2006 Red Hat, Inc.
yaffs Dec 28 2011 16:07:04 Installing. 
msgmni has been set to 875
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
gpio_request ********* gpio=182, label=lcd-backlight
mux: Multiple signal paths (3) for gpt8_pwm_evt
Generic Backlight Driver Initialized.
OMAP DSS rev 2.0
OMAP DISPC rev 3.0
OMAP VENC rev 2
OMAP DSI rev 1.0
WL1271: BT_EN GPIO initialized
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
console [ttyS0] enabled
serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
brd: module loaded
loop: module loaded
omap2-nand driver initializing
info = df981000, gpmc_baseaddr=fe000000
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xbc (Micron NAND 512MiB
1,8V 16-bit)
Creating 12 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000080000 : "xloader-nand"
0x000000080000-0x000000240000 : "uboot-nand"
0x000000240000-0x000000280000 : "params-nand"
0x000000280000-0x000000780000 : "kernel-nand"
0x000000780000-0x000001000000 : "cramfs-nand"
0x000001000000-0x00000a600000 : "system"
0x00000a600000-0x000010a00000 : "userdata"
0x000010a00000-0x000010b00000 : "misc"
0x000010b00000-0x000011a00000 : "cache"
0x000011a00000-0x000012a00000 : "recover"
0x000012a00000-0x000013a00000 : "reserved"
0x000013a00000-0x000020000000 : "sdcard"
OneNAND driver initializing
omap2-onenand omap2-onenand: Cannot request GPMC CS
omap2-onenand: probe of omap2-onenand failed with error -16
UBI: attaching mtd5 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    126976 bytes
UBI: smallest flash I/O unit:    2048
UBI: VID header offset:          2048 (aligned 2048)
UBI: data offset:                4096
UBI: attached mtd5 to ubi0
UBI: MTD device name:            "system"
UBI: MTD device size:            150 MiB
UBI: number of good PEBs:        1200
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 1200
UBI: number of PEBs reserved for bad PEB handling: 12
UBI: max/mean erase counter: 2/0
UBI: image sequence number: 147480937
PPP generic driver version 2.4.2
UBI: background thread "ubi_bgt0d" started, PID 1044
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V1.0
smsc911x: Driver version 2008-10-21.
smsc911x-mdio: probed
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01,
irq=-1)
net eth0: MAC Address: 2a:d4:66:2f:0f:89
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver dm9601
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
gpio_request ********* gpio=21, label=USB2 PHY reset
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 2
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: OMAP-EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.32 ehci_hcd
usb usb2: SerialNumber: ehci-omap.0
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbtest
android init
android_probe pdata: c059bc74
f_adb init
android_register_function adb
f_mass_storage init
android_register_function usb_mass_storage
input: TWL4030 Keypad
as /devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keypad/input/input0
Goodix TouchScreen of GT80X is
installing...---------------------------------


gpio_request ********* gpio=111, label=TS_SHUTDOWN
input: Goodix TouchScreen of GT80X as /devices/virtual/input/input1
gpio_request ********* gpio=61, label=TS_INT
Goodix-TS 1-0055:  Guitar Version:
GT801_1R07_2011081501_Goodix_Tech      
Goodix-TS 1-0055: Start  Goodix TouchScreen of GT80X in Interrupt mode
ads7846 spi4.0: touchscreen, irq 171
ads7846 spi4.0: no device detected, test read result was 0x00000FFF
input: twl4030_pwrbutton
as /devices/platform/i2c_omap.1/i2c-1/1-0049/twl4030_pwrbutton/input/input2
using rtc device, twl_rtc, for alarms
twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
Warning : battery charge 3.0V-1mA
-----------------------------------------------------


i2c /dev entries driver
Linux video capture interface: v2.00
ov2659 3-0030: Registered to v4l2 master omap34xxcam!!
omap-iommu omap-iommu.0: isp: version 1.1
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
Bluetooth: HCI UART driver ver 2.2
Bluetooth: HCI H4 protocol initialized
Bluetooth: HCI BCSP protocol initialized
Bluetooth: HCILL protocol initialized
gpio_request ********* gpio=149, label=mmc_cd
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
logger: created 64K log 'log_main'
logger: created 256K log 'log_events'
logger: created 64K log 'log_radio'
logger: created 64K log 'log_system'
Advanced Linux Sound Architecture Driver Version 1.0.21.
usbcore: registered new interface driver snd-usb-audio
No device for DAI AD73311
Asahi Kasei AK4104 ALSA SoC Codec Driver
No device for DAI AK4535
Cirrus Logic CS4270 ALSA SoC Codec Driver
No device for DAI PCM3008 HiFi
No device for DAI SSM2602
No device for DAI tlv320aic23
aic3x_i2c_init : i2c_add_driver
aic3x_i2c_probe: i2c name=tlv320aic3x, idname=tlv320aic3x
aic3x I2C Codec 1-0018: Left-Channel Gain Applied by AGC Algorithm is
0x4 -- bias : 2
aic3x I2C Codec 1-0018: Right-Channel Gain Applied by AGC Algorithm is
0x0
aic3x I2C Codec 1-0018: Left-Channel Gain Applied by AGC Algorithm is
0x4
aic3x I2C Codec 1-0018: Right-Channel Gain Applied by AGC Algorithm is
0x0
No device for DAI tlv320aic3x
twl4030_codec_enable = 0
twl4030_codec_enable = 1
twl4030_codec_enable = 0
twl4030_codec_enable = 1
dtmf_cdev add -- Dev id is 124:0
No device for DAI UDA134X
No device for DAI wl1271bt
No device for DAI WM8510 HiFi
No device for DAI WM8728
No device for DAI WM8750
No device for DAI WM8971
No device for DAI WM8990 ADC/DAC Primary
No device for DAI omap-mcbsp-dai-0
No device for DAI omap-mcbsp-dai-1
No device for DAI omap-mcbsp-dai-2
No device for DAI omap-mcbsp-dai-3
No device for DAI omap-mcbsp-dai-4
OMAP3 EVM SoC init
asoc: tlv320aic3x <-> omap-mcbsp-dai-1 mapping ok
am3517evm_aic23_init in --------------
Failed to add route IN1L->LINE1L
dapm: tlv320aic3x: configuring unknown pin Line Out
asoc: twl4030 <-> omap-mcbsp-dai-2 mapping ok
ALSA device list:
  #0: omap3evm-aic (tlv320aic3x)
  #1: omap3evm (twl4030)
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (7001 buckets, 28004 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Bluetooth: L2CAP ver 2.14
Bluetooth: L2CAP socket layer initialized
Bluetooth: SCO (Voice Link) ver 0.6
Bluetooth: SCO socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM ver 1.11
Bluetooth: BNEP (Ethernet Emulation) ver 1.3
Bluetooth: BNEP filters: protocol multicast
Bluetooth: HIDP (Human Interface Emulation) ver 1.2
Power Management for TI OMAP3.
Switched to new clocking rate (Crystal/Core/MPU): 26.0/400/1000
MHz--omap2_clk_set_freq(line:662)
IVA2 clocking rate: 800 MHz
SmartReflex driver initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
twl_rtc twl_rtc: setting system clock to 2000-01-01 00:03:28 UTC
(946685008)
ov26xx_reset
ov2659 3-0030: ov2659 found at 0x30 (OMAP I2C adapter)
ov2659 3-0030: chip version 0x2656 detected
ov26xx_ifparm  p=df825f28
omapdss DPI error: display already enabled
omap_vout omap_vout: 'lcd' Display already enabled
omapdss DPI error: display already enabled
omap_vout omap_vout: 'lcd' Display already enabled
omap_vout omap_vout: Buffer Size = 3686400
omap_vout omap_vout: : registered and initialized video device 1
omap_vout omap_vout: Buffer Size = 3686400
omap_vout omap_vout: : registered and initialized video device 2
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 4096KiB [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem) readonly on device 1:0.
Freeing init memory: 188K
Warning: unable to open an initial console.
yaffs: dev is 32505864 name is "mtdblock8"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.8, "mtdblock8"
yaffs: restored from checkpoint
yaffs_read_super: isCheckpointed 1
init: system mode is 'normal'
init: open /cache/system-mode/mode.map failed :No such file or directory
init: parse init file '/data/normal.rc'
init: parse init file '/data/init.rc'
init: cannot open '/initlogo.rle'
UBIFS: recovery needed
UBIFS: recovery completed
UBIFS: mounted UBI device 0, volume 0, name "system"
UBIFS: file system size:   145387520 bytes (141980 KiB, 138 MiB, 1145
LEBs)
UBIFS: journal size:       9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
UBIFS: media format:       w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root:  0 bytes (0 KiB)
yaffs: dev is 32505862 name is "mtdblock6"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.6, "mtdblock6"
yaffs: restored from checkpoint
yaffs_read_super: isCheckpointed 1
CMEMK module: built on Dec  1 2011 at 15:47:55
  Reference Linux version 2.6.32

File /mnt/ti/android/rowboat-android/external/ti-dsp/ti-dvsdk_dm3730-evm_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x84700000) overlaps kernel (0x80000000 -> 0x9c400000)
allocated heap buffer 0xe1000000 of size 0x1200000
heap fallback enabled - will try heap if pool buffer is not available
cmemk initialized
DSPLINK Module (1.65.00.02) created on Date: Dec 23 2011 Time: 12:06:25
SDMAK module: built on Dec  1 2011 at 15:47:57
  Reference Linux version 2.6.32

File /mnt/ti/android/rowboat-android/external/ti-dsp/ti-dvsdk_dm3730-evm_4_02_00_06/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/sdma/src/module/sdmak.c
TIWLAN: driver init
gpio_request ********* gpio=173, label=PWR ENBL for WL1271
hPlatform_initInterrupt - wlanDrvIf_HandleInterrupt=bf0476a4
gpio_request ********* gpio=137, label=WLAN_IRQ
input: handset-hook as /devices/platform/handset-hook/input/input3
gpio_request ********* gpio=171, label=fxo-oh
gpio_request ********* gpio=179, label=fxo-cid
gpio_request ********* gpio=180, label=fxo-ring
fxo-drv - 0 : fxo_sethook  ONHOOK'
fxo-drvcdev add -- Dev id is 123:0
gpio_request ********* gpio=210, label=leda
gpio_request ********* gpio=211, label=ledb
yaffs: dev is 32505867 name is "mtdblock11"
yaffs: passed flags "uid=1000,gid=1015,fmask=0002,dmask=0002"
yaffs: Attempting MTD mount on 31.11, "mtdblock11"
yaffs: restored from checkpoint
yaffs_read_super: isCheckpointed 1
init: cannot find '/system/bin/normal', disabling 'normal'
init: cannot find '/system/etc/install-recovery.sh', disabling
'flash_recovery'
ov26xx_reset
ov2659 3-0030: ov2659 found at 0x30 (OMAP I2C adapter)
ov2659 3-0030: chip version 0x2656 detected

Warning touch_atime dentry 1414, (null) (null)------------------


Unable to handle kernel NULL pointer dereference at virtual address
0000002c
pgd = c3310000
[0000002c] *pgd=9f17c031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
last sysfs file: /sys/devices/virtual/mtd/mtd11/mtdblock11/uevent
Modules linked in: omaplfb pvrsrvkm led fxo_drv handset_hook tiwlan_drv
sdmak lpm_omap3530 dsplinkk cmemk
CPU: 0    Not tainted  (2.6.32 #903)
PC is at touch_atime+0x30/0x1d0
LR is at touch_atime+0x2c/0x1d0
pc : [<c00c81f8>]    lr : [<c00c81f4>]    psr: 60000113
sp : c3331c68  ip : 00000002  fp : 00000000
r10: 000004ef  r9 : 00000000  r8 : 0054c4ef
r7 : 00000000  r6 : c33870c0  r5 : 00000000  r4 : 00000000
r3 : 00000000  r2 : c3331c5c  r1 : c04e0c9e  r0 : c04e0cdb
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 10c5387d  Table: 83310019  DAC: 00000017

PC: 0xc00c8178:
8178  e0922000 e0a33001 e1c423f8 e3160002 e1a00004 1584805c e3a01001
15847058
8198  e3160001 15848054 15847050 eb0022b0 e5950008 e28dd008 e8bd41f0
ea000a90
81b8  e3866002 eaffffdd e28dd008 e8bd81f0 e3510000 1351000c e92d40f7
e1a05001
81d8  e1a04000 1a000007 e3001586 e59f0194 e1a02005 e1a03004 eb0c92ee
e59f0188
81f8  e594102c eb0c92eb e59f0180 e2851058 eb03e2bb e595600c e3500000
13a02000
8218  1a00000a ea000003 e59f0164 e2871058 eb0c92e0 e1a05007 e5957018
e3570000
8238  0a000001 e1550007 1afffff6 e3a02001 e59f3140 e583202c e5963138
e3130002
8258  1a000046 e596109c e3003401 e5912034 e0023003 e3530000 1a000040
e3120b02

LR: 0xc00c8174:
8174  e3a01000 e0922000 e0a33001 e1c423f8 e3160002 e1a00004 1584805c
e3a01001
8194  15847058 e3160001 15848054 15847050 eb0022b0 e5950008 e28dd008
e8bd41f0
81b4  ea000a90 e3866002 eaffffdd e28dd008 e8bd81f0 e3510000 1351000c
e92d40f7
81d4  e1a05001 e1a04000 1a000007 e3001586 e59f0194 e1a02005 e1a03004
eb0c92ee
81f4  e59f0188 e594102c eb0c92eb e59f0180 e2851058 eb03e2bb e595600c
e3500000
8214  13a02000 1a00000a ea000003 e59f0164 e2871058 eb0c92e0 e1a05007
e5957018
8234  e3570000 0a000001 e1550007 1afffff6 e3a02001 e59f3140 e583202c
e5963138
8254  e3130002 1a000046 e596109c e3003401 e5912034 e0023003 e3530000
1a000040

SP: 0xc3331be8:
1be8  c3308000 c016e40c 00000001 00000000 0059960f 00000000 00000145
2000054b
1c08  c05e323c ffffffff c3331c54 c33870c0 00000000 c00379ec c04e0cdb
c04e0c9e
1c28  c3331c5c 00000000 00000000 00000000 c33870c0 00000000 0054c4ef
00000000
1c48  000004ef 00000000 00000002 c3331c68 c00c81f4 c00c81f8 60000113
ffffffff
1c68  00000000 00000000 0054c4ef 0054c000 0054c000 c33870c0 00000000
c00936ec
1c88  00000002 00000001 00000008 c05e323c 00000000 00000000 00000000
00001000
1ca8  c3331db0 00000000 0054c000 00000000 0054c000 00000000 00000041
c3387100
1cc8  df654720 c3331d70 0000054d 00000001 c05e325c 000bc940 00000000
e34d5940

R0: 0xc04e0c5b:
0c58  6e693e37 735f7469 69636570 695f6c61 65646f6e 6f62203a 20737567
6f6d5f69
0c78  28206564 20296f25 20726f66 646f6e69 73252065 756c253a 6e49000a
2d65646f
0c98  68636163 363c0065 7261573e 676e696e 756f7420 615f6863 656d6974
6e656420
0cb8  20797274 202c6425 25207025 2d2d2d70 2d2d2d2d 2d2d2d2d 2d2d2d2d
0a2d2d2d
0cd8  3c000a0a 6e6d3e36 65642074 65636976 6d616e20 73252065 6d72000a
00646f6d
0cf8  703e363c 6e657261 203a2074 000a7325 6f6e6926 3e2d6564 746f6e69
5f796669
0d18  6574756d 69260078 65646f6e 5f693e2d 6574756d 69260078 65646f6e
5f693e2d
0d38  6f6c6c61 65735f63 7366006d 7474612f 00632e72 613e343c 636f6c6c
3a64665f
0d58  6f6c7320 64252074 746f6e20 4c554e20 000a214c 25097325 66000a73
69662f73

R1: 0xc04e0c1e:
0c1c  6e755b20 6e756f6d 666f2074 20732520 0a5d7325 3e343c00 3a534656
766f6d20
0c3c  20676e69 6167656e 65766974 61636420 20656863 72746e65 3c000a79
6e693e37
0c5c  735f7469 69636570 695f6c61 65646f6e 6f62203a 20737567 6f6d5f69
28206564
0c7c  20296f25 20726f66 646f6e69 73252065 756c253a 6e49000a 2d65646f
68636163
0c9c  363c0065 7261573e 676e696e 756f7420 615f6863 656d6974 6e656420
20797274
0cbc  202c6425 25207025 2d2d2d70 2d2d2d2d 2d2d2d2d 2d2d2d2d 0a2d2d2d
3c000a0a
0cdc  6e6d3e36 65642074 65636976 6d616e20 73252065 6d72000a 00646f6d
703e363c
0cfc  6e657261 203a2074 000a7325 6f6e6926 3e2d6564 746f6e69 5f796669
6574756d
0d1c  69260078 65646f6e 5f693e2d 6574756d 69260078 65646f6e 5f693e2d
6f6c6c61

R2: 0xc3331bdc:
1bdc  c09a2120 60000113 00000036 c3308000 c016e40c 00000001 00000000
0059960f
1bfc  00000000 00000145 2000054b c05e323c ffffffff c3331c54 c33870c0
00000000
1c1c  c00379ec c04e0cdb c04e0c9e c3331c5c 00000000 00000000 00000000
c33870c0
1c3c  00000000 0054c4ef 00000000 000004ef 00000000 00000002 c3331c68
c00c81f4
1c5c  c00c81f8 60000113 ffffffff 00000000 00000000 0054c4ef 0054c000
0054c000
1c7c  c33870c0 00000000 c00936ec 00000002 00000001 00000008 c05e323c
00000000
1c9c  00000000 00000000 00001000 c3331db0 00000000 0054c000 00000000
0054c000
1cbc  00000000 00000041 c3387100 df654720 c3331d70 0000054d 00000001
c05e325c

R6: 0xc3387040:
7040  ffffffff 0000000b 0000000c 0000000d 0000000e 0000000f 00000010
00000011
7060  00000012 00000013 00000014 00000015 00000019 00000017 00000018
00000019
7080  0000001a 00000009 0000001c 0000001d ffffffff 00000000 00000000
00000000
70a0  00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
70c0  df851190 c00b8258 00000000 00000000 c03fe9a4 00000000 00020000
0000001d
70e0  00000237 00000000 00000000 00000000 00000000 00000000 00000000
df8322c0
7100  00000000 00000000 00000000 00000000 00000000 00000000 0054c4ef
00000000
7120  00000000 00000000 00000000 c338712c c338712c df63f2d0 00000000
00000000
Process mediaserver (pid: 2141, stack limit = 0xc33302e8)
Stack: (0xc3331c68 to 0xc3332000)
1c60:                   00000000 00000000 0054c4ef 0054c000 0054c000
c33870c0
1c80: 00000000 c00936ec 00000002 00000001 00000008 c05e323c 00000000
00000000
1ca0: 00000000 00001000 c3331db0 00000000 0054c000 00000000 0054c000
00000000
1cc0: 00000041 c3387100 df654720 c3331d70 0000054d 00000001 c05e325c
000bc940
1ce0: 00000000 e34d5940 00000000 000bc940 00000018 c3331d20 c33870e0
c33870c0
1d00: fffffdee c3331db0 00008000 0048fbaf 00000000 c00b71e4 0048fbaf
00000000
1d20: 00000000 c009682c 00000000 00000001 ffffffff c33870c0 00000000
00000000
1d40: 00000000 00000000 df982ac0 c00ad20c 00000000 00000000 000bdfff
df982ac0
1d60: c0076800 c3331d64 c3331d64 e34d5fff 0054c4ef 00000000 a0000113
c3331dbc
1d80: 000000bd 000000d2 000bc940 000002cf 00008000 df140c00 00000000
c00ad834
1da0: c3331dbc c00ad890 db58e140 c00ad998 e3419000 000bc940 e32f2000
bf000000
1dc0: e32ec010 00000000 e32ef000 00000000 0054c4ef bf01bf60 00000001
4c49464b
1de0: e32ec010 bf01a230 e32ec000 0048fbaf e32ec010 bf0190bc bf021d70
e3419000
1e00: e3419000 00010000 bee91b4c 00000000 bf0238bc e32ec000 80924900
c3331e78
1e20: 00008000 00000000 bee91b4c bf019fe0 00000000 e32ef000 00000000
e3095000
1e40: bf0238ac 00000008 bf0238b8 00000001 00000002 bf01db2c 100ffe4c
e3102800
1e60: 85944880 e3102910 00000000 00000000 000008cc 100ffe4c 00000002
bf021d70
1e80: bf021d70 bf021d44 c3330000 100ffe48 c018e015 c018e015 0000000a
c0038028
1ea0: c3330000 00000000 0000bac8 bf01eca8 c3311000 00000458 00000116
00000000
1ec0: 00000000 40116888 df982ac0 c3331fb0 c33241d8 c33241fc 40119000
00008000
1ee0: 00000000 80924900 00000001 bee91b4c 00070000 df9ba840 40119000
c320e8c0
1f00: 00000000 c018e015 0000000a c0038028 00000000 c00c30c8 100ffe48
c320e8c0
1f20: c018e015 c00c3790 c320e8c0 00085904 00000000 00000000 00071000
c320e8c0
1f40: 00000000 df161968 c3324230 4018a000 00000001 c332424c df982ac0
c320e8c0
1f60: c3330000 40119000 00000003 c320e8c0 100ffe48 c018e015 0000000a
c0038028
1f80: c3330000 c00c3830 0000000a 00000001 100ffe48 100ffe48 0000c050
00000004
1fa0: 00000036 c0037e80 100ffe48 0000c050 0000000a c018e015 100ffe48
100ffdf4
1fc0: 100ffe48 0000c050 00000004 00000036 00000170 80917641 00000002
0000bac8
1fe0: 809300d4 100ffdd8 afd22edd afd0dcdc 00000010 0000000a 53525650
505f5652
[<c00c81f8>] (touch_atime+0x30/0x1d0) from [<c00936ec>]
(generic_file_aio_read+0x5d8/0x654)
[<c00936ec>] (generic_file_aio_read+0x5d8/0x654) from [<c00b71e4>]
(do_sync_read+0xb8/0x104)
[<c00b71e4>] (do_sync_read+0xb8/0x104) from [<bf01bf60>] (KFILEDEF_Read
+0x88/0xe8 [dsplinkk])
[<bf01bf60>] (KFILEDEF_Read+0x88/0xe8 [dsplinkk]) from [<bf01a230>]
(KFILE_Read+0x4c/0x68 [dsplinkk])
[<bf01a230>] (KFILE_Read+0x4c/0x68 [dsplinkk]) from [<bf0190bc>]
(COFF_init+0x30c/0x52c [dsplinkk])
[<bf0190bc>] (COFF_init+0x30c/0x52c [dsplinkk]) from [<bf019fe0>]
(COFFFILE_init+0x94/0xc4 [dsplinkk])
[<bf019fe0>] (COFFFILE_init+0x94/0xc4 [dsplinkk]) from [<bf01db2c>]
(PMGR_PROC_load+0x170/0x264 [dsplinkk])
[<bf01db2c>] (PMGR_PROC_load+0x170/0x264 [dsplinkk]) from [<bf01eca8>]
(DRV_Ioctl+0x330/0x7b8 [dsplinkk])
[<bf01eca8>] (DRV_Ioctl+0x330/0x7b8 [dsplinkk]) from [<c00c30c8>]
(vfs_ioctl+0x5c/0x6c)
[<c00c30c8>] (vfs_ioctl+0x5c/0x6c) from [<c00c3790>] (do_vfs_ioctl
+0x4e4/0x550)
[<c00c3790>] (do_vfs_ioctl+0x4e4/0x550) from [<c00c3830>] (sys_ioctl
+0x34/0x54)
[<c00c3830>] (sys_ioctl+0x34/0x54) from [<c0037e80>] (ret_fast_syscall
+0x0/0x2c)
Code: e1a02005 e1a03004 eb0c92ee e59f0188 (e594102c) 
---[ end trace ec37e25889a61aea ]---
Kernel panic - not syncing: Fatal exception
[<c003d97c>] (unwind_backtrace+0x0/0xd8) from [<c03ecce8>] (panic
+0x40/0x108)
[<c03ecce8>] (panic+0x40/0x108) from [<c003be64>] (die+0x250/0x28c)
[<c003be64>] (die+0x250/0x28c) from [<c003e8a4>] (__do_kernel_fault
+0x64/0x74)
[<c003e8a4>] (__do_kernel_fault+0x64/0x74) from [<c003ea64>]
(do_page_fault+0x1b0/0x1c4)
[<c003ea64>] (do_page_fault+0x1b0/0x1c4) from [<c0037278>] (do_DataAbort
+0x34/0x94)
[<c0037278>] (do_DataAbort+0x34/0x94) from [<c00379ec>] (__dabt_svc
+0x4c/0x60)
Exception stack(0xc3331c20 to 0xc3331c68)
1c20: c04e0cdb c04e0c9e c3331c5c 00000000 00000000 00000000 c33870c0
00000000
1c40: 0054c4ef 00000000 000004ef 00000000 00000002 c3331c68 c00c81f4
c00c81f8
1c60: 60000113 ffffffff
[<c00379ec>] (__dabt_svc+0x4c/0x60) from [<c00c81f8>] (touch_atime
+0x30/0x1d0)
[<c00c81f8>] (touch_atime+0x30/0x1d0) from [<c00936ec>]
(generic_file_aio_read+0x5d8/0x654)
[<c00936ec>] (generic_file_aio_read+0x5d8/0x654) from [<c00b71e4>]
(do_sync_read+0xb8/0x104)
[<c00b71e4>] (do_sync_read+0xb8/0x104) from [<bf01bf60>] (KFILEDEF_Read
+0x88/0xe8 [dsplinkk])
[<bf01bf60>] (KFILEDEF_Read+0x88/0xe8 [dsplinkk]) from [<bf01a230>]
(KFILE_Read+0x4c/0x68 [dsplinkk])
[<bf01a230>] (KFILE_Read+0x4c/0x68 [dsplinkk]) from [<bf0190bc>]
(COFF_init+0x30c/0x52c [dsplinkk])
[<bf0190bc>] (COFF_init+0x30c/0x52c [dsplinkk]) from [<bf019fe0>]
(COFFFILE_init+0x94/0xc4 [dsplinkk])
[<bf019fe0>] (COFFFILE_init+0x94/0xc4 [dsplinkk]) from [<bf01db2c>]
(PMGR_PROC_load+0x170/0x264 [dsplinkk])
[<bf01db2c>] (PMGR_PROC_load+0x170/0x264 [dsplinkk]) from [<bf01eca8>]
(DRV_Ioctl+0x330/0x7b8 [dsplinkk])
[<bf01eca8>] (DRV_Ioctl+0x330/0x7b8 [dsplinkk]) from [<c00c30c8>]
(vfs_ioctl+0x5c/0x6c)
[<c00c30c8>] (vfs_ioctl+0x5c/0x6c) from [<c00c3790>] (do_vfs_ioctl
+0x4e4/0x550)
[<c00c3790>] (do_vfs_ioctl+0x4e4/0x550) from [<c00c3830>] (sys_ioctl
+0x34/0x54)
[<c00c3830>] (sys_ioctl+0x34/0x54) from [<c0037e80>] (ret_fast_syscall
+0x0/0x2c)

Please help to give some suggestions.

Vivian Sun

  • I found the mediaservice process block in 'generic_file_aio_read(here : cond_resched)' routine when do

    the CMD_PROC_LOAD.  At this time, if we do 'killall mediaservice' shell command,  then another mediaservice thread do the CMD_PROC_CLEANUP, CMD_POOL_CLOSE

    and CMD_PROC_DETACH commands, and one another mediaservice thread which only open '/dev/dsplink'  for reading close

    its file description.  Unfortunately, the first mediaservice process wake up and continue to do 'generic_file_aio_read' routine, but its

    filp->f_path.mnt and filp->f_path.dentry point to null now.  so it will lead to kernel panic when do the  'file_accessed' function in generic_file_aio_read.

    the debug info:

    --------------------------------- DRV_Open---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 31
    ----------------dsp DRV_CallAPI cmd is CMD_DRV_GETCHNLMAPTABLE_ADDRESS , 1401
    --------------------------------- DRV_Mmap---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 1
    ----------------dsp DRV_CallAPI cmd is CMD_PROC_SETUP: , 1070
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 67
    ----------------dsp DRV_CallAPI cmd is CMD_IDM_INIT , 1637
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 69
    ----------------dsp DRV_CallAPI cmd is CMD_IDM_CREATE , 1653
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 71
    ----------------dsp DRV_CallAPI cmd is CMD_IDM_ACQUIREID , 1670
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 8
    ----------------dsp DRV_CallAPI cmd is CMD_PROC_ATTACH: , 1209
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 57
    ----------------dsp DRV_CallAPI cmd is CMD_NOTIFY_INITIALIZE , 1567
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 55
    ----------------dsp DRV_CallAPI cmd is CMD_MPCS_MAPREGION: , 1118
    --------------------------------- DRV_Open---- Process mediaserver (pid: 2130, stack limit = 0xdf89d140), file count 1
    --------------------------------- DRV_Read---- Process mediaserver (pid: 2130, stack limit = 0xdf89d140), file count 1
    --------------------------------- DRV_Mmap---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 71
    ----------------dsp DRV_CallAPI cmd is CMD_IDM_ACQUIREID , 1670
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 65
    ----------------dsp DRV_CallAPI cmd is CMD_MPLIST_MAPREGION: , 1141
    --------------------------------- DRV_Mmap---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 63
    ----------------dsp DRV_CallAPI cmd is CMD_RINGIO_MAPREGION: , 1129
    --------------------------------- DRV_Mmap---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 65
    ----------------dsp DRV_CallAPI cmd is CMD_MPLIST_MAPREGION: , 1141
    --------------------------------- DRV_Mmap---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 71
    ----------------dsp DRV_CallAPI cmd is CMD_IDM_ACQUIREID , 1670
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 63
    ----------------dsp DRV_CallAPI cmd is CMD_RINGIO_MAPREGION: , 1129
    --------------------------------- DRV_Mmap---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 71
    ----------------dsp DRV_CallAPI cmd is CMD_IDM_ACQUIREID , 1670
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 47
    ----------------dsp DRV_CallAPI cmd is CMD_POOL_OPEN , 1527
    --------------------------------- DRV_Mmap---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2123, stack limit = 0xdf89db00), file count 0
    ---------------------------- DRV_CallAPI cmd is 5
    ----------------dsp DRV_CallAPI cmd is CMD_PROC_LOAD: , 1172
    ov26xx_reset
    ov2659 3-0030: ov2659 found at 0x30 (OMAP I2C adapter)
    ov2659 3-0030: chip version 0x2656 detected
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2109, stack limit = 0xdf822040), file count 0
    ---------------------------- DRV_CallAPI cmd is 18
    ----------------dsp DRV_CallAPI cmd is CMD_PROC_CLEANUP , 1283
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2109, stack limit = 0xdf822040), file count 0
    ---------------------------- DRV_CallAPI cmd is 48
    ----------------dsp DRV_CallAPI cmd is CMD_POOL_CLOSE , 1536
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2109, stack limit = 0xdf822040), file count 0
    ---------------------------- DRV_CallAPI cmd is 15
    ----------------dsp DRV_CallAPI cmd is CMD_PROC_ISLASTDETACH: , 1106
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2109, stack limit = 0xdf822040), file count 0
    ---------------------------- DRV_CallAPI cmd is 72
    ----------------dsp DRV_CallAPI cmd is CMD_IDM_RELEASEID , 1690
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2109, stack limit = 0xdf822040), file count 0
    ---------------------------- DRV_CallAPI cmd is 72
    ----------------dsp DRV_CallAPI cmd is CMD_IDM_RELEASEID , 1690
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2109, stack limit = 0xdf822040), file count 0
    ---------------------------- DRV_CallAPI cmd is 63
    ----------------dsp DRV_CallAPI cmd is CMD_RINGIO_MAPREGION: , 1129
    --------------------------------- DRV_Mmap---- Process mediaserver (pid: 2109, stack limit = 0xdf822040), file count 0
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2109, stack limit = 0xdf822040), file count 0
    ---------------------------- DRV_CallAPI cmd is 65
    ----------------dsp DRV_CallAPI cmd is CMD_MPLIST_MAPREGION: , 1141
    --------------------------------- DRV_Mmap---- Process mediaserver (pid: 2109, stack limit = 0xdf822040), file count 0
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2109, stack limit = 0xdf822040), file count 0
    ---------------------------- DRV_CallAPI cmd is 72
    ----------------dsp DRV_CallAPI cmd is CMD_IDM_RELEASEID , 1690
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2109, stack limit = 0xdf822040), file count 0
    ---------------------------- DRV_CallAPI cmd is 58
    ----------------dsp DRV_CallAPI cmd is CMD_NOTIFY_FINALIZE , 1576
    --------------------------------- DRV_Flush---- Process mediaserver (pid: 2130, stack limit = 0xdf89d140), file count 1
    --------------------------------- DRV_Release---- Process mediaserver (pid: 2130, stack limit = 0xdf89d140), file count 1
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2109, stack limit = 0xdf822040), file count 0
    ---------------------------- DRV_CallAPI cmd is 7
    ----------------dsp DRV_CallAPI cmd is CMD_PROC_DETACH , 1242
    --------------------------------- DRV_Ioctl---- Process mediaserver (pid: 2109, stack limit = 0xdf822040), file count 0
    ---------------------------- DRV_CallAPI cmd is 14
    ----------------dsp DRV_CallAPI cmd is CMD_PROC_ISLASTDESTROY: , 1097
    Process mediaserver (pid: 2123, stack limit = 0xdf89db00) ------------ 'line 998'
    Warning touch_atime dentry 1414, (null) (null)------------------
    Unable to handle kernel NULL pointer dereference at virtual address 0000002c
    pgd = df148000
    [0000002c] *pgd=831ff031, *pte=00000000, *ppte=00000000
    Internal error: Oops: 17 [#1]
    last sysfs file: /sys/devices/virtual/mtd/mtd11/mtdblock11/uevent
    Modules linked in: omaplfb pvrsrvkm led fxo_drv handset_hook tiwlan_drv sdmak lpm_omap3530 dsplinkk cmemk
    CPU: 0    Not tainted  (2.6.32 #930)
    PC is at touch_atime+0x30/0x1d0
    LR is at touch_atime+0x2c/0x1d0
    pc : [<c00c8518>]    lr : [<c00c8514>]    psr: 60000013
    sp : c32b5b78  ip : 00000002  fp : 00000000
    r10: 00000000  r9 : 00000000  r8 : 000001b8
    r7 : 00000000  r6 : 000001b8  r5 : 00000000  r4 : 00000000
    r3 : 00000000  r2 : c32b5b6c  r1 : c04e0fa0  r0 : c04e0fdd
    Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
    Control: 10c5387d  Table: 9f148019  DAC: 00000017
    PC: 0xc00c8498:
    8498  e0922000 e0a33001 e1c423f8 e3160002 e1a00004 1584805c e3a01001 15847058

  • about white screen display problem,  The DISPC why not reset after SYNC_LOST signal found ?

    when it apears, I do the reboot command with shell, then SYNC_LOST doesn't apear any more.

    I do the power on/off test with seven products. the result as below table.

    Num        apear white screen times      total power on/off times

    1                         3                                             100

    2                         0                                             100

    3                         1                                             100

    4                         1                                             100

    5                         2                                             100

    6                         3                                             100

    7                         0                                             100


  • The crash described below seem to be occuring from a custom module which is not part of the DevKit.

    Unable to handle kernel NULL pointer dereference at virtual address 0000002c
    pgd = df148000
    [0000002c] *pgd=831ff031, *pte=00000000, *ppte=00000000
    Internal error: Oops: 17 [#1]

    PC is at touch_atime+0x30/0x1d0
    LR is at touch_atime+0x2c/0x1d0

    Is this crash occuring with the prebuilt images at http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/TI_Android_DevKit/02_02_00/index_FDS.html ?

    Regarding the second issue,

    Could you remove SGX from Rootfs and see if you are getting the same white screen problem?

    To remove SGX

    #rm -rf  /media/rootfs/system/lib/hw/gralloc.omap3.*

    #rm -rf  /media/rootfs/system/bin/sgx

    Also, can you move to the latest Gingerbread DSP release at http://software-dl.ti.com/dsps/dsps_public_sw/sdo_tii/TI_Android_DevKit/TI_Android_GingerBread_2_3_DevKit_1_0/index_FDS.html