Re: [Regression] "irqdomain: Don't set type when mapping an IRQ" breaks nexus7 gpio buttons

From: John Stultz
Date: Fri Aug 05 2016 - 14:14:21 EST


On Sat, Jul 30, 2016 at 1:07 AM, Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote:
> On Fri, 29 Jul 2016, John Stultz wrote:
>> Hey Jon,
>> So after rebasing my nexus7 patch stack onto pre-4.8-rc1 tree, I
>> noticed the power/volume buttons stopped working.
>>
>> I did a manual rebased bisection and chased it down to your commit
>> 1e2a7d78499e ("irqdomain: Don't set type when mapping an IRQ").
>>
>> Reverting that patch makes things work again, so I wanted to see if
>> there was any debugging info I could provide to try to help narrow
>> down the problem here. (Sorry, I'd tinker myself with it some and try
>> to debug the issue, but after burning my friday night on this, I'm
>> eager to get away from the keyboard for the weekend).
>
> dmesg should contain debug output which yells about non matching types. Can
> you provide that?

I'm not seeing anything about problematic type matching in the dmesg.

I've also added LinusW's patches but that didn't seem to help either.

dmesg attached.

thanks
-john
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.7.0-11903-g0ab3b2f (jstultz@buildbox) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-12ubuntu1) ) #1413 SMP PREEMPT Fri Aug 5 11:04:12 PDT 2016
[ 0.000000] CPU: ARMv7 Processor [511f06f0] revision 0 (ARMv7), cr=10c5787d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] OF: fdt:Machine model: Asus Nexus7(flo)
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 512255
[ 0.000000] free_area_init_node: node 0, pgdat c0d75d80, node_mem_map e93fe000
[ 0.000000] Normal zone: 1348 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 161024 pages, LIFO batch:31
[ 0.000000] HighMem zone: 351231 pages, LIFO batch:31
[ 0.000000] percpu: Embedded 13 pages/cpu @e93a6000 s30464 r0 d22784 u53248
[ 0.000000] pcpu-alloc: s30464 r0 d22784 u53248 alloc=13*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 510907
[ 0.000000] Kernel command line: androidboot.hardware=flo user_debug=31 msm_rtb.filter=0x3F ehci-hcd.park=3 console=ttyMSM0,115200,n8 androidboot.selinux=permissive vmalloc=340MÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿPAEH€Ú‰| androidboot.emmc=true androidboot.serialno=0ac0e39c bootreason=Reboot fuse_info=Y ddr_vendor=hynix androidboot.baseband=apq asustek.hw_rev=rev_e androidboot.bootloader=FLO-04.05
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 2019688K/2049020K available (7168K kernel code, 546K rwdata, 1800K rodata, 1024K init, 356K bss, 29332K reserved, 0K cma-reserved, 1404924K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xea800000 - 0xff800000 ( 336 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xea400000 ( 676 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] .text : 0xc0208000 - 0xc0a00000 (8160 kB)
[ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB)
[ 0.000000] .data : 0xc0d00000 - 0xc0d88828 ( 547 kB)
[ 0.000000] .bss : 0xc0d8a000 - 0xc0de32b4 ( 357 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] clocksource: dg_timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 283149695806 ns
[ 0.000008] sched_clock: 32 bits at 6MHz, resolution 148ns, wraps every 318145725365ns
[ 0.000026] Switching to timer-based delay loop, resolution 148ns
[ 0.000459] Console: colour dummy device 80x30
[ 0.000496] Calibrating delay loop (skipped), value calculated using timer frequency.. 13.50 BogoMIPS (lpj=67500)
[ 0.000523] pid_max: default: 32768 minimum: 301
[ 0.000613] Security Framework initialized
[ 0.000636] SELinux: Initializing.
[ 0.000712] SELinux: Starting in permissive mode
[ 0.000769] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000785] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001767] CPU: Testing write buffer coherency: ok
[ 0.002227] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002288] Setting up static identity map for 0x80300000 - 0x80300058
[ 0.123347] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.163780] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.204307] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.204646] Brought up 4 CPUs
[ 0.204679] SMP: Total of 4 processors activated (54.00 BogoMIPS).
[ 0.204696] CPU: All CPU(s) started in SVC mode.
[ 0.207763] devtmpfs: initialized
[ 0.220432] VFP support v0.3: implementor 51 architecture 64 part 6f variant 1 rev 0
[ 0.220947] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.221199] pinctrl core: initialized pinctrl subsystem
[ 0.222655] NET: Registered protocol family 16
[ 0.223179] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.264168] cpuidle: using governor menu
[ 0.264535] hw-breakpoint: Failed to enable monitor mode on CPU 3.
[ 0.264548] hw-breakpoint: Failed to enable monitor mode on CPU 1.
[ 0.264560] hw-breakpoint: Failed to enable monitor mode on CPU 2.
[ 0.278269] qcom_rpm 108000.rpm: RPM firmware 3.0.16842936
[ 0.327983] s1: Bringing 0uV into 1225000-1225000uV
[ 0.328725] qcom_rpm_reg 108000.rpm:regulators: regulator requires qcom,switch-mode-frequency property
[ 0.328744] qcom_rpm_reg 108000.rpm:regulators: driver callback failed to parse DT for regulator s2
[ 0.329093] s3: Bringing 0uV into 500000-500000uV
[ 0.329471] s4: Bringing 0uV into 1800000-1800000uV
[ 0.330413] s7: Bringing 0uV into 1300000-1300000uV
[ 0.330789] qcom_rpm_reg 108000.rpm:regulators: regulator requires qcom,switch-mode-frequency property
[ 0.330807] qcom_rpm_reg 108000.rpm:regulators: driver callback failed to parse DT for regulator s8
[ 0.331270] l1: supplied by s4
[ 0.331793] l2: supplied by s4
[ 0.331904] l2: Bringing 0uV into 1200000-1200000uV
[ 0.332355] l3: Bringing 0uV into 3075000-3075000uV
[ 0.332838] l4: Bringing 0uV into 1800000-1800000uV
[ 0.333351] l5: Bringing 0uV into 2950000-2950000uV
[ 0.334409] l6: Bringing 0uV into 2950000-2950000uV
[ 0.337719] l11: Bringing 0uV into 3000000-3000000uV
[ 0.338530] l12: supplied by s4
[ 0.342047] l17: Bringing 0uV into 3000000-3000000uV
[ 0.343084] l18: supplied by s4
[ 0.346576] l23: Bringing 0uV into 1800000-1800000uV
[ 0.347839] l24: supplied by s1
[ 0.349235] l25: supplied by s1
[ 0.349333] l25: Bringing 0uV into 1250000-1250000uV
[ 0.350665] l26: supplied by s7
[ 0.352114] l27: supplied by s7
[ 0.353570] l28: supplied by s7
[ 0.356649] lvs1: supplied by s4
[ 0.358226] lvs2: supplied by s1
[ 0.359832] lvs3: supplied by s4
[ 0.361519] lvs4: supplied by s4
[ 0.363206] lvs5: supplied by s4
[ 0.364933] lvs6: supplied by s4
[ 0.366772] lvs7: supplied by s4
[ 0.372123] qcom_rpm_reg 108000.rpm:regulators: regulator requires qcom,switch-mode-frequency property
[ 0.372141] qcom_rpm_reg 108000.rpm:regulators: driver callback failed to parse DT for regulator ncp
[ 0.372279] ncp: supplied by l6
[ 0.374869] SCSI subsystem initialized
[ 0.375223] usbcore: registered new interface driver usbfs
[ 0.375305] usbcore: registered new interface driver hub
[ 0.375583] usbcore: registered new device driver usb
[ 0.376583] Advanced Linux Sound Architecture Driver Initialized.
[ 0.379194] clocksource: Switched to clocksource dg_timer
[ 0.475512] NET: Registered protocol family 2
[ 0.476304] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.476375] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.476470] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.476555] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.476590] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.476822] NET: Registered protocol family 1
[ 0.477375] Trying to unpack rootfs image as initramfs...
[ 0.542772] Freeing initrd memory: 900K (c2200000 - c22e1000)
[ 0.543450] hw perfevents: enabled with armv7_krait PMU driver, 5 counters available
[ 0.545665] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.545734] audit: initializing netlink subsys (disabled)
[ 0.545833] audit: type=2000 audit(0.539:1): initialized
[ 0.547209] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[ 0.557442] fuse init (API version 7.25)
[ 0.558310] SELinux: Registering netfilter hooks
[ 0.566548] bounce: pool size: 64 pages
[ 0.566639] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.566662] io scheduler noop registered
[ 0.566677] io scheduler deadline registered
[ 0.566731] io scheduler cfq registered (default)
[ 0.571896] gsbi 12440000.gsbi: GSBI port protocol: 2 crci: 0
[ 0.572621] gsbi 16200000.gsbi: GSBI port protocol: 2 crci: 0
[ 0.573146] gsbi 16500000.gsbi: GSBI port protocol: 6 crci: 0
[ 0.574138] gsbi 16600000.gsbi: GSBI port protocol: 6 crci: 0
[ 0.575667] msm_serial 16540000.serial: msm_serial: detected port #1
[ 0.575760] msm_serial 16540000.serial: uartclk = 27000000
[ 0.575838] 16540000.serial: ttyMSM1 at MMIO 0x16540000 (irq = 121, base_baud = 1687500) is a MSM
[ 0.576515] msm_serial 16640000.serial: msm_serial: detected port #0
[ 0.576600] msm_serial 16640000.serial: uartclk = 1843200
[ 0.576667] 16640000.serial: ttyMSM0 at MMIO 0x16640000 (irq = 123, base_baud = 115200) is a MSM
[ 0.576716] msm_serial: console setup on port #0
[ 1.339702] console [ttyMSM0] enabled
[ 1.344883] msm_serial: driver initialized
[ 1.372207] brd: module loaded
[ 1.383806] loop: module loaded
[ 1.384166] ssbi 500000.qcom,ssbi: SSBI controller type: 'pmic-arbiter'
[ 1.386317] pm8921_probe: PMIC revision 1: F4
[ 1.392516] pm8921_probe: PMIC revision 2: 06
[ 1.406860] SCSI Media Changer driver v0.25
[ 1.409002] libphy: Fixed MDIO Bus: probed
[ 1.410360] tun: Universal TUN/TAP device driver, 1.6
[ 1.414104] tun: (C) 1999-2004 Max Krasnyansky <maxk@xxxxxxxxxxxx>
[ 1.419983] PPP generic driver version 2.4.2
[ 1.425769] PPP BSD Compression module registered
[ 1.429811] PPP Deflate Compression module registered
[ 1.434351] PPP MPPE Compression module registered
[ 1.439455] SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
[ 1.444058] CSLIP: code copyright 1989 Regents of the University of California.
[ 1.453858] usbcore: registered new interface driver ax88179_178a
[ 1.461039] usbcore: registered new interface driver cdc_ether
[ 1.467203] usbcore: registered new interface driver net1080
[ 1.473020] usbcore: registered new interface driver cdc_subset
[ 1.478763] usbcore: registered new interface driver cdc_ncm
[ 1.484801] msm_otg 12500000.phy: OTG regs = ea92c000
[ 1.610285] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.610348] ehci-msm: Qualcomm On-Chip EHCI Host Controller
[ 1.616407] usbcore: registered new interface driver cdc_acm
[ 1.621276] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 1.627153] usbcore: registered new interface driver usb-storage
[ 1.635020] usbcore: registered new interface driver usbserial
[ 1.648234] mousedev: PS/2 mouse device common for all mice
[ 1.649570] input: pmic8xxx_pwrkey as /devices/platform/soc/500000.qcom,ssbi/500000.qcom,ssbi:pmic@0/500000.qcom,ssbi:pmic@0:pwrkey@1c/input/input0
[ 1.654673] rtc-pm8xxx 500000.qcom,ssbi:pmic@0:rtc@11d: rtc core: registered pm8xxx_rtc as rtc0
[ 1.666036] i2c /dev entries driver
[ 1.678160] apq8064-pinctrl 800000.pinctrl: pin GPIO_16 already requested by 16540000.serial; cannot claim for 16580000.i2c
[ 1.678207] apq8064-pinctrl 800000.pinctrl: pin-16 (16580000.i2c) status -22
[ 1.678362] 1-0010 supply vcc33 not found, using dummy regulator
[ 1.678779] 1-0010 supply vccio not found, using dummy regulator
[ 1.702427] apq8064-pinctrl 800000.pinctrl: could not request pin 16 (GPIO_16) from group gpio16 on device 800000.pinctrl
[ 1.708353] i2c_qup 16580000.i2c: Error applying setting, reverse things back
[ 1.721193] bq27xxx-battery 0-0055: support ver. 1.2.0 enabled
[ 1.744176] device-mapper: uevent: version 1.0.3
[ 1.745346] device-mapper: ioctl: 4.35.0-ioctl (2016-06-23) initialised: dm-devel@xxxxxxxxxx
[ 1.750077] mmci-pl18x 12400000.sdcc: mmc0: PL180 manf 51 rev0 at 0x12400000 irq 118,0 (pio)
[ 1.756470] mmci-pl18x 12400000.sdcc: DMA channels RX dma0chan1, TX dma0chan2
[ 1.765137] s4: voltage operation not allowed
[ 1.771830] mmci-pl18x 12400000.sdcc: Voltage switch failed
[ 1.779388] msm_otg 12500000.phy: Avail curr from USB = 100
[ 1.823366] input: Elan Touchscreen as /devices/platform/soc/16200000.gsbi/16280000.i2c/i2c-1/1-0010/input/input1
[ 1.829545] sdhci: Secure Digital Host Controller Interface driver
[ 1.832695] sdhci: Copyright(c) Pierre Ossman
[ 1.839743] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.845554] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.849544] usbcore: registered new interface driver usbhid
[ 1.854200] usbhid: USB HID core driver
[ 1.860207] ashmem: initialized
[ 1.882659] oprofile: using timer interrupt.
[ 1.882829] u32 classifier
[ 1.885992] Actions configured
[ 1.888521] Netfilter messages via NETLINK v0.30.
[ 1.892458] nf_conntrack version 0.5.0 (16384 buckets, 65536 max)
[ 1.897323] ctnetlink v0.93: registering with nfnetlink.
[ 1.903039] nf_tables: (c) 2007-2009 Patrick McHardy <kaber@xxxxxxxxx>
[ 1.908589] xt_time: kernel timezone is -0000
[ 1.914959] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.919457] arp_tables: arp_tables: (C) 2002 David S. Miller
[ 1.924395] Initializing XFRM netlink socket
[ 1.931085] NET: Registered protocol family 10
[ 1.936032] mip6: Mobile IPv6
[ 1.938458] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 1.941842] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.947793] NET: Registered protocol family 17
[ 1.952730] NET: Registered protocol family 15
[ 1.957476] Registering SWP/SWPB emulation handler
[ 1.965391] input: gpio-keys as /devices/platform/gpio-keys/input/input2
[ 1.967226] rtc-pm8xxx 500000.qcom,ssbi:pmic@0:rtc@11d: setting system clock to 2016-08-05 18:04:52 UTC (1470420292)
[ 1.996762] ext_3p3v: disabling
[ 1.997670] ALSA device list:
[ 1.998718] No soundcards found.
[ 2.003445] mmc0: new high speed MMC card at address 0001
[ 2.006240] mmcblk0: mmc0:0001 016GE2 14.7 GiB
[ 2.011830] mmcblk0boot0: mmc0:0001 016GE2 partition 1 4.00 MiB
[ 2.012502] mmcblk0boot1: mmc0:0001 016GE2 partition 2 4.00 MiB
[ 2.013667] Freeing unused kernel memory: 1024K (c0c00000 - c0d00000)
[ 2.023550] mmcblk0rpmb: mmc0:0001 016GE2 partition 3 4.00 MiB
[ 2.034144] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 p16 p17 p18 p19 p20 p21 p22 p23 p24 p25 p26 p27 p28 p29 p30
[ 2.050694] init: init started!
[ 2.075616] SELinux: 2048 avtab hash slots, 5414 rules.
[ 2.079089] SELinux: Android master kernel running Android M policy in compatibility mode.
[ 2.093626] SELinux: 2048 avtab hash slots, 5414 rules.
[ 2.093735] SELinux: 1 users, 2 roles, 581 types, 0 bools, 1 sens, 1024 cats
[ 2.093787] SELinux: 87 classes, 5414 rules
[ 2.098908] SELinux: Permission validate_trans in class security not defined in policy.
[ 2.099060] SELinux: Permission module_load in class system not defined in policy.
[ 2.107326] SELinux: Class netlink_iscsi_socket not defined in policy.
[ 2.113662] SELinux: Class netlink_fib_lookup_socket not defined in policy.
[ 2.120187] SELinux: Class netlink_connector_socket not defined in policy.
[ 2.127367] SELinux: Class netlink_netfilter_socket not defined in policy.
[ 2.134255] SELinux: Class netlink_generic_socket not defined in policy.
[ 2.141091] SELinux: Class netlink_scsitransport_socket not defined in policy.
[ 2.147939] SELinux: Class netlink_rdma_socket not defined in policy.
[ 2.155158] SELinux: Class netlink_crypto_socket not defined in policy.
[ 2.161919] SELinux: Permission audit_read in class capability2 not defined in policy.
[ 2.168575] SELinux: Class cap_userns not defined in policy.
[ 2.176337] SELinux: Class cap2_userns not defined in policy.
[ 2.182258] SELinux: the above unknown classes and permissions will be denied
[ 2.187944] SELinux: Completing initialization.
[ 2.187960] SELinux: Setting up existing superblocks.
[ 2.319904] audit: type=1403 audit(1470420292.849:2): policy loaded auid=4294967295 ses=4294967295
[ 2.321917] init: (Initializing SELinux non-enforcing took 0.27s.)
[ 2.378846] init: init second stage started!
[ 2.568874] init: waitpid failed: No child processes
[ 2.570383] init: (Loading properties from /default.prop took 0.00s.)
[ 2.583174] init: (Parsing /init.environ.rc took 0.00s.)
[ 2.584847] init: (Parsing /init.usb.rc took 0.00s.)
[ 2.593192] init: (Parsing init.flo.usb.rc took 0.00s.)
[ 2.593563] init: (Parsing init.flo.diag.rc took 0.00s.)
[ 2.597559] init: (Parsing /init.flo.rc took 0.01s.)
[ 2.605660] init: (Parsing /init.usb.configfs.rc took 0.00s.)
[ 2.608448] init: (Parsing /init.zygote32.rc took 0.00s.)
[ 2.618378] audit: type=1400 audit(1470420293.139:3): avc: denied { mounton } for pid=1 comm="init" path="/sys/kernel/debug" dev="debugfs" ino=1 scontext=u:r:init:s0 tcontext=u:object_r:debugfs:s0 tclass=dir permissive=1
[ 2.622672] ueventd: ueventd started!
[ 3.180479] ueventd: Coldboot took 0.53s.
[ 3.353090] audit: type=1400 audit(1470420293.879:4): avc: denied { write } for pid=1 comm="init" name="cpu" dev="proc" ino=4026531912 scontext=u:r:init:s0 tcontext=u:object_r:proc:s0 tclass=dir permissive=1
[ 3.353317] audit: type=1400 audit(1470420293.879:5): avc: denied { add_name } for pid=1 comm="init" name="alignment" scontext=u:r:init:s0 tcontext=u:object_r:proc:s0 tclass=dir permissive=1
[ 3.370990] audit: type=1400 audit(1470420293.899:6): avc: denied { create } for pid=1 comm="init" name="alignment" scontext=u:r:init:s0 tcontext=u:object_r:proc:s0 tclass=file permissive=1
[ 3.397979] audit: type=1400 audit(1470420293.919:7): avc: denied { create } for pid=1 comm="init" name="cpu.shares" scontext=u:r:init:s0 tcontext=u:object_r:cgroup:s0 tclass=file permissive=1
[ 3.440034] EXT4-fs (mmcblk0p22): mounted filesystem without journal. Opts: barrier=1
[ 3.443034] audit: type=1400 audit(1470420293.969:8): avc: denied { mounton } for pid=113 comm="init" path="/cache" dev="rootfs" ino=9243 scontext=u:r:init:s0 tcontext=u:object_r:cache_file:s0 tclass=dir permissive=1
[ 3.447674] EXT4-fs (mmcblk0p23): Ignoring removed nomblk_io_submit option
[ 3.474315] EXT4-fs (mmcblk0p23): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
[ 3.515264] random: fast init done
[ 3.682524] audit: type=1400 audit(1470420294.209:9): avc: denied { getattr } for pid=118 comm="e2fsck" path="/dev/block/mmcblk0p23" dev="tmpfs" ino=8416 scontext=u:r:fsck:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1
[ 3.683207] audit: type=1400 audit(1470420294.209:10): avc: denied { read } for pid=118 comm="e2fsck" name="mmcblk0p23" dev="tmpfs" ino=8416 scontext=u:r:fsck:s0 tcontext=u:object_r:block_device:s0 tclass=blk_file permissive=1
[ 3.718336] EXT4-fs (mmcblk0p23): Ignoring removed nomblk_io_submit option
[ 3.732767] EXT4-fs (mmcblk0p23): mounted filesystem with ordered data mode. Opts: barrier=1,data=ordered,nomblk_io_submit,errors=panic
[ 3.736337] EXT4-fs (mmcblk0p30): Ignoring removed nomblk_io_submit option
[ 3.754923] EXT4-fs (mmcblk0p30): mounted filesystem with ordered data mode. Opts: nomblk_io_submit,errors=remount-ro
[ 4.021422] EXT4-fs (mmcblk0p30): Ignoring removed nomblk_io_submit option
[ 4.032191] EXT4-fs (mmcblk0p30): mounted filesystem with ordered data mode. Opts: barrier=1,data=ordered,nomblk_io_submit,errors=panic
[ 4.043903] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: barrier=1,data=ordered,nodelalloc
[ 4.245507] logd.auditd: start
[ 4.245733] logd.klogd: 4246495553
[ 4.484262] binder: 143:143 transaction failed 29189, size 0-0
[ 4.521095] file system registered
[ 4.522644] type=1400 audit(1470420295.039:16): avc: denied { associate } for pid=1 comm="init" name="g1" scontext=u:object_r:unlabeled:s0 tcontext=u:object_r:unlabeled:s0 tclass=filesystem permissive=1
[ 4.549652] type=1400 audit(1470420295.059:17): avc: denied { write } for pid=32 comm="kdevtmpfs" name="/" dev="devtmpfs" ino=1025 scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=dir permissive=1
[ 4.552119] type=1400 audit(1470420295.059:18): avc: denied { mknod } for pid=32 comm="kdevtmpfs" capability=27 scontext=u:r:kernel:s0 tcontext=u:r:kernel:s0 tclass=capability permissive=1
[ 4.577782] logd.daemon: reinit
[ 4.624654] type=1400 audit(1470420295.059:19): avc: denied { add_name } for pid=32 comm="kdevtmpfs" name="mtp_usb" scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=dir permissive=1
[ 4.780015] read descriptors
[ 4.780100] read strings
[ 4.873189] type=1400 audit(1470420295.059:20): avc: denied { create } for pid=32 comm="kdevtmpfs" name="mtp_usb" scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
[ 4.891134] type=1400 audit(1470420295.059:21): avc: denied { setattr } for pid=32 comm="kdevtmpfs" name="mtp_usb" dev="devtmpfs" ino=1227 scontext=u:r:kernel:s0 tcontext=u:object_r:device:s0 tclass=chr_file permissive=1
[ 4.891615] type=1400 audit(1470420295.069:22): avc: denied { mount } for pid=1 comm="init" name="/" dev="tracefs" ino=1 scontext=u:r:kernel:s0 tcontext=u:object_r:unlabeled:s0 tclass=filesystem permissive=1
[ 5.185119] android_work: sent uevent USB_STATE=CONNECTED
[ 5.188892] android_work: sent uevent USB_STATE=DISCONNECTED
[ 5.293100] android_work: sent uevent USB_STATE=CONNECTED
[ 5.295648] configfs-gadget gadget: high-speed config #1: b
[ 5.297556] msm_otg 12500000.phy: Avail curr from USB = 500
[ 5.303372] android_work: sent uevent USB_STATE=CONFIGURED
[ 5.491990] healthd: No charger supplies found
[ 9.527933] init: Starting service 'netd'...
[ 9.531934] init: Starting service 'surfaceflinger'...
[ 9.535424] init: Starting service 'media'...
[ 9.540183] init: Starting service 'zygote'...
[ 10.564509] init: Service 'surfaceflinger' (pid 223) killed by signal 6
[ 10.564602] init: Service 'surfaceflinger' (pid 223) killing any children in process group
[ 10.570165] init: Service 'zygote' is being killed...
[ 10.596251] init: Service 'zygote' (pid 225) killed by signal 9
[ 10.596340] init: Service 'zygote' (pid 225) killing any children in process group
[ 10.601333] init: write_file: Unable to open '/sys/android_power/request_state': No such file or directory
[ 14.985486] init: Starting service 'media'...