Am 06.04.2018 um 11:48 schrieb H. Nikolaus Schaller hns@goldelico.com:
Hi, I wanted to look at QtMaze on GTA04A5 and found another kernel 4.16 problem...
Am 05.04.2018 um 23:10 schrieb H. Nikolaus Schaller hns@goldelico.com:
Hi, kernel v4.16 for LetuxOS is here.
General:
- fixed some regressions (audio/vibra did stop working on GTA04)
- improved scripts for wlan and wwan control
- new /root/diskspeed tool
- enabled cpuidle
GTA04:
- removed special branch for onenand
Pyra:
- added back the simple txs02612 driver for the Pyra and
a /root tool to control the switch
- prepared the combination of pcal6524 + ts3a227e to have
working interrupts
- improved screen and keyboard brightness levels
- preconfigure nubs for Letux OS X11
Known new bugs:
- suspend seems to be broken (again)
There is another one:
- kernel does not boot on GTA04A5 (OneNAND problem)
Ok, there were thousands of changes in January:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?h=v4...
Maybe a patch like this is missing (since GTA04A5 setup isn't upstream):
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h...
[ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.16.0-letux+ (hns@iMac.local) (gcc version 4.9.2 (GCC)) #2150 SMP PREEMPT Thu Apr 5 17:08:12 CEST 2018
...
[ 2.221893] omap-gpmc 6e000000.gpmc: GPMC revision 5.0 [ 2.227661] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 2.235748] omap2-onenand 4000000.onenand: initializing on CS0 (0x04000000), va 700762a1, DMA mode [ 2.245147] OneNAND Manufacturer: Samsung (0xec) [ 2.250457] Muxed OneNAND 512MB 1.8V 16-bit (0x50) [ 2.255554] OneNAND version = 0x0232 [ 2.259307] Chip support all block unlock [ 2.263488] Chip has 4KiB pagesize [ 2.267089] Chip has cache program feature [ 2.272796] Scanning device for bad blocks [ 2.380493] onenand_bbt_wait: ecc 0xaaaa ctrl 0x0400 intr 0x8080 addr1 0x34b addr8 0x0 [ 2.388793] OneNAND eraseblock 843 is an initial bad block [ 2.541839] omap2-onenand 4000000.onenand: optimized timings for 83 MHz [ 2.548828] 5 ofpart partitions found on MTD device 4000000.onenand [ 2.555419] Creating 5 MTD partitions on "4000000.onenand": [ 2.561248] 0x000000000000-0x000000080000 : "X-Loader" [ 2.568267] 0x000000080000-0x000000240000 : "U-Boot" [ 2.575256] 0x000000240000-0x000000280000 : "U-Boot Env" [ 2.582763] 0x000000280000-0x000000880000 : "Kernel" [ 2.589904] 0x000000880000-0x000020000000 : "File System" [ 2.712921] ubi0: default fastmap pool size: 100 [ 2.719970] ubi0: default fastmap WL pool size: 50 [ 2.725067] ubi0: attaching mtd4 [ 2.731964] omap_hsmmc 480b4000.mmc: card claims to support voltages below defined range [ 2.768249] mmc1: new high speed SDIO card at address 0001 [ 2.798614] onenand_wait: correctable ECC error = 0x5555 [ 2.804168] ubi0: fixable bit-flip detected at PEB 696 [ 2.826599] onenand_wait: correctable ECC error = 0x5555 [ 2.832183] ubi0: fixable bit-flip detected at PEB 937 [ 2.847198] onenand_wait: correctable ECC error = 0x5555 [ 2.852752] ubi0: fixable bit-flip detected at PEB 1073 [ 2.875976] onenand_wait: correctable ECC error = 0x5555 [ 2.881530] ubi0: fixable bit-flip detected at PEB 1326 [ 2.931488] onenand_wait: correctable ECC error = 0x5555 [ 2.937072] ubi0: fixable bit-flip detected at PEB 1960 [ 2.946319] ubi0: scanning is finished [ 2.950561] Unable to handle kernel NULL pointer dereference at virtual address 00000000 [ 2.959075] pgd = 749fc154 [ 2.961883] [00000000] *pgd=00000000 [ 2.965698] Internal error: Oops: 805 [#1] PREEMPT SMP ARM [ 2.971435] Modules linked in: [ 2.974639] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.16.0-letux+ #2150 [ 2.981719] Hardware name: Generic OMAP36xx (Flattened Device Tree) [ 2.988281] PC is at v7_dma_inv_range+0x30/0x48 [ 2.993011] LR is at dma_cache_maint_page+0xd0/0xe0 [ 2.998107] pc : [<c0118abc>] lr : [<c0113330>] psr: 60000113 [ 3.004669] sp : ee0afca8 ip : c0118b3c fp : c0a03d54 [ 3.010131] r10: 00000002 r9 : 00001000 r8 : c0abcb00 [ 3.015594] r7 : c0a06b84 r6 : 000c0000 r5 : 00001000 r4 : 00000000 [ 3.022399] r3 : 0000003f r2 : 00000040 r1 : 00001000 r0 : 00000000 [ 3.029235] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 3.036682] Control: 10c5387d Table: 80004019 DAC: 00000051 [ 3.042694] Process swapper/0 (pid: 1, stack limit = 0x7c502061) [ 3.048980] Stack: (0xee0afca8 to 0xee0b0000) [ 3.053527] fca0: efff9000 00000000 00001000 00000000 00001000 efff9000 [ 3.062072] fcc0: 00000002 00000000 ee6f8aa8 02c41000 04000000 c0113360 c0118b3c 00000000 [ 3.070617] fce0: 00001000 efff9000 00000000 ee6f5810 00001000 c0113444 00000400 00000000 [ 3.079162] fd00: ee6f8820 c0515110 00000002 00000000 f0957000 c0514fc0 ee6f8820 ee0afdc8 [ 3.087707] fd20: 00000000 00001000 ee6f8aa8 02c41000 00000000 c0511f94 00001000 ee7365c0 [ 3.096252] fd40: 00006000 f0957000 00001000 00000000 00000000 00000000 00000000 00000080 [ 3.104797] fd60: 00000005 00000000 00000000 00000fff 00007000 ee729400 00000005 00000000 [ 3.113342] fd80: ee0afe24 00880000 00000000 ee0afdc8 00000000 c04f86b0 ee0afdc8 00000000 [ 3.121887] fda0: 023c1000 00000000 00006000 ee729400 c04f867c c04f6588 ee0afdc8 c0acad34 [ 3.130432] fdc0: c022f98c ee724480 00000000 00006000 00000000 00000000 00000000 00000000 [ 3.138977] fde0: f0957000 00000000 ee724480 ee333000 00006000 0000008f 00001000 023c1000 [ 3.147521] fe00: 00000000 f0957000 00000004 c051ebb8 00006000 ee0afe24 f0957000 c022fad0 [ 3.156097] fe20: 014080c0 00000000 00000000 ee333000 ee73b6f0 ee734a80 ee0afe68 ee73b710 [ 3.164611] fe40: 00000014 c0acad34 00000000 c051643c 00006000 c0acad34 00000000 c023ad90 [ 3.173187] fe60: f0957000 00000000 ee333000 00000000 ee333000 00000000 ee729400 ee333040 [ 3.181732] fe80: 00000014 c0acad34 00000000 c0524e60 ee333000 ee734a80 00000000 ee333000 [ 3.190277] fea0: 00000000 ee333040 00000014 c051996c c0acad34 00000000 c0acad34 c095483c [ 3.198822] fec0: ee729400 00000004 000000bc 00000000 c0acad38 ee729400 c0acad34 00000000 [ 3.207336] fee0: c0a9c900 c095483c 00000000 c093b4f0 00000000 00000000 c0a06ca0 c0acad39 [ 3.215881] ff00: 00000007 c093b3b8 000000bc c09705f4 00000000 c0102818 000000bb c08a5ca0 [ 3.224426] ff20: 00000000 c014973c 00000000 c08a4e04 00000007 00000007 c08a5cb4 efffcad4 [ 3.232971] ff40: 000000bb c08a5cb4 efffcad4 00000000 c095483c 00000007 c0954834 000000bc [ 3.241485] ff60: 00000007 c0954838 000000bc c09705f4 c0a9c900 c0900d78 00000007 00000007 [ 3.250030] ff80: 00000000 c090058c 00000000 c06ff350 00000000 00000000 00000000 00000000 [ 3.258575] ffa0: 00000000 c06ff358 00000000 c01010e8 00000000 00000000 00000000 00000000 [ 3.267120] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 3.275665] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff [ 3.284210] [<c0118abc>] (v7_dma_inv_range) from [<c0113330>] (dma_cache_maint_page+0xd0/0xe0) [ 3.293182] [<c0113330>] (dma_cache_maint_page) from [<c0113360>] (__dma_page_cpu_to_dev+0x20/0x90) [ 3.302642] [<c0113360>] (__dma_page_cpu_to_dev) from [<c0113444>] (arm_dma_map_page+0x30/0x64) [ 3.311737] [<c0113444>] (arm_dma_map_page) from [<c0515110>] (omap2_onenand_read_bufferram+0x150/0x348) [ 3.321624] [<c0515110>] (omap2_onenand_read_bufferram) from [<c0511f94>] (onenand_read_oob+0x164/0x668) [ 3.331542] [<c0511f94>] (onenand_read_oob) from [<c04f86b0>] (part_read_oob+0x34/0x6c) [ 3.339904] [<c04f86b0>] (part_read_oob) from [<c04f6588>] (mtd_read+0xc8/0x108) [ 3.347625] [<c04f6588>] (mtd_read) from [<c051ebb8>] (ubi_io_read+0x158/0x250) [ 3.355255] [<c051ebb8>] (ubi_io_read) from [<c051643c>] (ubi_read_volume_table+0x1ac/0x8f8) [ 3.364074] [<c051643c>] (ubi_read_volume_table) from [<c0524e60>] (ubi_attach+0x134/0x214) [ 3.372802] [<c0524e60>] (ubi_attach) from [<c051996c>] (ubi_attach_mtd_dev+0x358/0x794) [ 3.381256] [<c051996c>] (ubi_attach_mtd_dev) from [<c093b4f0>] (ubi_init+0x138/0x1d8) [ 3.389526] [<c093b4f0>] (ubi_init) from [<c0102818>] (do_one_initcall+0xa8/0x14c) [ 3.397430] [<c0102818>] (do_one_initcall) from [<c0900d78>] (kernel_init_freeable+0x110/0x1d4) [ 3.406524] [<c0900d78>] (kernel_init_freeable) from [<c06ff358>] (kernel_init+0x8/0x10c) [ 3.415069] [<c06ff358>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c) [ 3.422943] Exception stack(0xee0affb0 to 0xee0afff8) [ 3.428222] ffa0: 00000000 00000000 00000000 00000000 [ 3.436737] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 3.445281] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 3.452209] Code: 1e070f3e e1110003 e1c11003 1e071f3e (ee070f36) [ 3.458709] ---[ end trace 28f00d4d45c7508f ]--- [ 3.463562] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 3.463562] [ 3.473114] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 3.473114]
Can someone confirm this?
Source: http://git.goldelico.com/?p=gta04-kernel.git;a=heads Binaries: http://download.goldelico.com/letux-kernel/letux-4.16/ http://download.goldelico.com/letux-kernel/letux-4.16-lpae/
Please test and report bugs and submit patches.
BR, Nikolaus
Kernel mailing list Kernel@pyra-handheld.com http://pyra-handheld.com/cgi-bin/mailman/listinfo/kernel