IMX6 : Android 9 Boot issue -- Not loading file system

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6 : Android 9 Boot issue -- Not loading file system

971 Views
laulavanya
Contributor II

Hi NXP,


IMX6 : Android 9 Boot issue -- Not loading file system.

I Hope its booted still linux and failed to load system image . Please help to fix this .


Freeing unused kernel memory: 1024K
init: Couldn't open /sys/fs/selinux/null: No such file or directory
init: Reboot start, reason: reboot, rebootTarget: bootloader
Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

CPU0: stopping
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.98-dirty #2
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<8010f4f4>] (unwind_backtrace) from [<8010b93c>] (show_stack+0x10/0x14)
[<8010b93c>] (show_stack) from [<80a58948>] (dump_stack+0x80/0x94)
[<80a58948>] (dump_stack) from [<8010e204>] (handle_IPI+0x198/0x1ac)
[<8010e204>] (handle_IPI) from [<80101500>] (gic_handle_irq+0x8c/0x90)
[<80101500>] (gic_handle_irq) from [<8010c48c>] (__irq_svc+0x6c/0xa8)
Exception stack(0x81001f10 to 0x81001f58)
1f00: 00000000 80d26570 00000001 80118580
1f20: 00000000 ee696668 bcf63a16 00000000 bca41e8e 00000000 ee6d1940 00000000
1f40: 00000015 81001f60 80169cd4 80745b78 20000013 ffffffff
[<8010c48c>] (__irq_svc) from [<80745b78>] (cpuidle_enter_state+0x118/0x2cc)
[<80745b78>] (cpuidle_enter_state) from [<80169f9c>] (do_idle+0x228/0x2a8)
[<80169f9c>] (do_idle) from [<8016a2d4>] (cpu_startup_entry+0x18/0x1c)
[<8016a2d4>] (cpu_startup_entry) from [<80f00cd4>] (start_kernel+0x364/0x3a0)
CPU2: stopping
CPU: 2 PID: 0 Comm: swapper/2 Not tainted 4.14.98-dirty #2
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<8010f4f4>] (unwind_backtrace) from [<8010b93c>] (show_stack+0x10/0x14)
[<8010b93c>] (show_stack) from [<80a58948>] (dump_stack+0x80/0x94)
[<80a58948>] (dump_stack) from [<8010e204>] (handle_IPI+0x198/0x1ac)
[<8010e204>] (handle_IPI) from [<80101500>] (gic_handle_irq+0x8c/0x90)
[<80101500>] (gic_handle_irq) from [<8010c48c>] (__irq_svc+0x6c/0xa8)
Exception stack(0xcc097f48 to 0xcc097f90)
7f40: 00000002 80d26570 00000001 80118580 00000000 ee6b6668
7f60: bcf63b63 00000000 bca427ab 00000000 00000000 00000000 00000015 cc097f98
7f80: 80169cd4 80745b78 20000013 ffffffff
[<8010c48c>] (__irq_svc) from [<80745b78>] (cpuidle_enter_state+0x118/0x2cc)
[<80745b78>] (cpuidle_enter_state) from [<80169f9c>] (do_idle+0x228/0x2a8)
[<80169f9c>] (do_idle) from [<8016a2d4>] (cpu_startup_entry+0x18/0x1c)
[<8016a2d4>] (cpu_startup_entry) from [<1010182c>] (0x1010182c)
CPU3: stopping
CPU: 3 PID: 0 Comm: swapper/3 Not tainted 4.14.98-dirty #2
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<8010f4f4>] (unwind_backtrace) from [<8010b93c>] (show_stack+0x10/0x14)
[<8010b93c>] (show_stack) from [<80a58948>] (dump_stack+0x80/0x94)
[<80a58948>] (dump_stack) from [<8010e204>] (handle_IPI+0x198/0x1ac)
[<8010e204>] (handle_IPI) from [<80101500>] (gic_handle_irq+0x8c/0x90)
[<80101500>] (gic_handle_irq) from [<8010c48c>] (__irq_svc+0x6c/0xa8)
Exception stack(0xcc099f48 to 0xcc099f90)
9f40: 00000000 7fffffff 00000001 7fffffff 00000001 ee6c6668
9f60: bcf63cb0 00000000 bc8fb7e6 00000000 00000000 00000000 00000000 cc099f98
9f80: 80a72f58 80745b78 20000013 ffffffff
[<8010c48c>] (__irq_svc) from [<80745b78>] (cpuidle_enter_state+0x118/0x2cc)
[<80745b78>] (cpuidle_enter_state) from [<80169f9c>] (do_idle+0x228/0x2a8)
[<80169f9c>] (do_idle) from [<8016a2d4>] (cpu_startup_entry+0x18/0x1c)
[<8016a2d4>] (cpu_startup_entry) from [<1010182c>] (0x1010182c)
---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

0 Kudos
3 Replies

940 Views
laulavanya
Contributor II

Hi,

We have customized the imx6q sabre board with linux 4.14 version.

But always receiving error as signal "Sending signal 9 to service '' (pid 233) process group".

Looks like system image is not moounted properly .

For information refer the below errors

init: Using Android DT directory /proc/device-tree/firmware/android/
selinux: SELinux: Loaded file_contexts

init: Running restorecon...
init: waitid failed: No child processes
init: Couldn't load property file '/odm/default.prop': open() failed: No such file or directory: No such file or directory
init: Created socket '/dev/socket/property_service', mode 666, user 0, group 0
init: Forked subcontext for 'u:r:vendor_init:s0' with pid 156
random: init: uninitialized urandom read (40 bytes read)
init: Forked subcontext for 'u:r:vendor_init:s0' with pid 157
random: init: uninitialized urandom read (40 bytes read)
init: Parsing file /init.rc...
audit: type=1400 audit(10.690:4): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
ueventd: ueventd started!
audit: type=1400 audit(10.690:5): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
selinux: SELinux: Loaded file_contexts

audit: type=1400 audit(10.690:6): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
ueventd: Parsing file /ueventd.rc...
audit: type=1400 audit(10.690:7): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
audit: type=1400 audit(10.700:8): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
audit: type=1400 audit(10.700:9): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
audit: type=1400 audit(10.700:10): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
ueventd: Parsing file /vendor/ueventd.rc...
ueventd: Parsing file /odm/ueventd.rc...
ueventd: Unable to read config file '/odm/ueventd.rc': open() failed: No such file or directory
ueventd: Parsing file /ueventd.freescale.rc...
ueventd: Unable to read config file '/ueventd.freescale.rc': open() failed: No such file or directory
ueventd: firmware: loading 'imx/sdma/sdma-imx6q.bin' for '/devices/soc0/soc/2000000.aips-bus/20ec000.sdma/firmware/imx!sdma!sdma-imx6q.bin'
ueventd: loading /devices/soc0/soc/2000000.aips-bus/20ec000.sdma/firmware/imx!sdma!sdma-imx6q.bin took 29ms
imx-sdma 20ec000.sdma: loaded firmware 3.4
Console: switching to colour dummy device 80x30
watchdogd: watchdogd started (interval 10, margin 20)!
watchdogd: Failed to open /dev/watchdog: No such file or directory
tune2fs: tune2fs 1.43.3 (04-Sep-2016)

EXT4-fs (mmcblk2p11): Ignoring removed nomblk_io_submit option
random: fast init done
EXT4-fs (mmcblk2p11): mounted filesystem with ordered data mode. Opts: errors=remount-ro,nomblk_io_submit
e2fsck: e2fsck 1.43.3 (04-Sep-2016)

e2fsck: Pass 1: Checking inodes, blocks, and sizes

e2fsck: Pass 2: Checking directory structure

e2fsck: Pass 3: Checking directory connectivity

e2fsck: Pass 4: Checking reference counts

e2fsck: Pass 5: Checking group summary information

e2fsck: userdata: 11/1672800 files (0.0% non-contiguous), 149013/6689792 blocks

tune2fs: tune2fs 1.43.3 (04-Sep-2016)

tune2fs: Setting reserved blocks gid to 1065

EXT4-fs (mmcblk2p11): Ignoring removed nomblk_io_submit option
EXT4-fs (mmcblk2p11): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,noauto_da_alloc,errors=panic
EXT4-fs (mmcblk2p5): Ignoring removed nomblk_io_submit option
EXT4-fs (mmcblk2p5): mounted filesystem with ordered data mode. Opts: nomblk_io_submit
init: 2 output lines suppressed due to ratelimiting
kauditd_printk_skb: 9 callbacks suppressed
audit: type=1400 audit(12.620:20): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
audit: type=1400 audit(12.620:21): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
audit: type=1400 audit(12.620:22): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
audit: type=1400 audit(12.620:23): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
zram0: detected capacity change from 0 to 536870912
audit: type=1400 audit(12.620:24): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
audit: type=1400 audit(12.620:25): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
audit: type=1400 audit(12.620:26): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
audit: type=1400 audit(12.620:27): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
logd.auditd: start
audit: type=1400 audit(12.620:28): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
audit: type=1400 audit(12.620:29): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
mkswap: Swapspace size: 524284k, UUID=ee8c675d-00b9-4867-8a01-bf880d5e2842
Adding 524284k swap on /dev/block/zram0. Priority:-2 extents:1 across:524284k SS
type=1400 audit(12.810:50): avc: denied { dac_read_search } for pid=1 comm="init" capability=2 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=capability permissive=0
fscrypt: Adiantum using implementation "adiantum(xchacha12-neon,aes-arm,nhpoly1305-neon)"
logd.daemon: reinit
Mass Storage Function, version: 2009/09/11
LUN: removable file: (no medium)
using random self ethernet address
using random host ethernet address
file system registered
healthd: battery l=85 v=3 t=35.0 h=2 st=2 c=400 fc=4000000 cc=32 chg=a
watchdogd: watchdogd started (interval 10, margin 20)!
watchdogd: Failed to open /dev/watchdog: No such file or directory
healthd: battery l=85 v=3 t=35.0 h=2 st=2 c=400 fc=4000000 cc=32 chg=a
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
init: starting service 'watchdogd'...
watchdogd: watchdogd started (interval 10, margin 20)!
watchdogd: Failed to open /dev/watchdog: No such file or directory
init: Service 'watchdogd' (pid 317) exited with status 0
init: Sending signal 9 to service 'watchdogd' (pid 317) process group...
audit_log_lost: 26 callbacks suppressed
audit: audit_lost=524 audit_rate_limit=5 audit_backlog_limit=64
audit: rate limit exceeded
libprocessgroup: Successfully killed process cgroup uid 0 pid 317 in 12ms
healthd: battery l=85 v=3 t=35.0 h=2 st=2 c=400 fc=4000000 cc=32 chg=a
init: Service 'surfaceflinger' (pid 233) exited with status 1
init: Sending signal 9 to service 'surfaceflinger' (pid 233) process group...
libprocessgroup: Successfully killed process cgroup uid 100

0 Kudos

937 Views
jimmychan
NXP TechSupport
NXP TechSupport

Are you follow the Android User's guide to build the images? Are you using mfgtool to program the board?

0 Kudos

945 Views
jimmychan
NXP TechSupport
NXP TechSupport

Which board are you using?

Which version of BSP are you using?

How you program the images to your board?

 

0 Kudos