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.

Linux/DM385: Unable to handle kernel NULL pointer dereference at virtual address c3690000 by insmod vpss.ko

Part Number: DM385


Tool/software: Linux

Hi Sir 

we are using DM385 with IPNC 3.5 (Linux Kernel  2.6.37) for development and would like to use QT.

After checking the wiki's suggestion, we try to insmod vpss.ko and have below message 

 

#cat /proc/cmdline

console=ttyO0,115200n8 rootwait=1 mem=120M vram=8M notifyk.vpssm3_sva=0xBFD00000 rw ubi.mtd=4,2048 rootfstype=ubifs root=ubi0:rootfs init=/sbin/init cmemk.phys_start=0x87800000 cmemk.phys_end=0x8B800000 cmemk.allowOverlap=1 lpj=3596288 earlyprintk quiet

 

#insmod vpss.ko

 

[host]

Usecase is Active !!!

[m3vpss ]  484327: CAMERA: Fields = 1460 (fps = 24), Total Resets = 0 (Avg 0 ms per reset)

GPS_MGR: Socket created.

GPS_MGR: Tbox Connection not established

GPS_MGR: Socket created.

GPS_MGR: Tbox Connection not established

VPSS_DCTRL: venc 4 already running with different mode 769

Unable to handle kernel NULL pointer dereference at virtua pgd = c3690000

[0000006a] *pgd=83411031, *pte=00000000, *ppte=00000000

Internal error: : 17 [#1]

last sysfs file: /sys/devices/platform/mmci-omap-hs.1/mmc_host/mmc1/mmc1:0002/block/mmcblk0/size

Modules linked in: vpss(+) wlcore_sdio wl18xx wlcore mac80211 cfg80211 compat dns_resolver af_packet lib80211_crypt_tkip lib80211_crypt_ccmp lib80211_crypt_wep lib80211 ipv6 tcp_diag inet_diag inet_lro ipt_MASQUERADE ipt_LOG iptable_nat iptable_filter ip_tables nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack ti81xx nop_usb_xceiv cppi41dma musb_hdrc cdc_acm scsi_wait_scan scsi_mod cdc_eem smsc95xx usbnet mii usbcore ghash_generic gf128mul michael_mic arc4 aes_generic des_generic ccm gcm ctr cbc ecb sha1_generic md5 seqiv osa_kermod unix cfbimgblt cfbcopyarea cfbfillrect fb syslink

CPU: 0    Not tainted  (2.6.37_DM385_CARDVR_3.50.00 #1)

PC is at kmem_cache_alloc+0x20/0x7c

It might be the vram issue.

Could you offer the suggestion or do we need to modify the memory mapping? 

thanks for the reply.

BR

Yimin