Hello,
I am seeing this strange issue on my Samsung Arndale board with Linaro Android 14.03 Build. I downloaded the code and did a replica build using pinned manifest here -
http://releases.linaro.org/14.03/android/arndale/pinned-manifest.xml
This booted successfully on Samsung Arndale Board with Exynos 5250.
After that I did a custom build of the kernel source included in the download. I used the config file from - http://releases.linaro.org/14.03/android/arndale/kernel_config . The only option I changed is - CONFIG_GPIO_SYSFS=y set so that /sys/class/gpio shows up.
With this kernel it also booted successfully and /sys/class/gpio was there too.
The problem I am facing is after about 10 minutes, the kernel panics with below trace -
=================================================================================== root@arndale:/ # 6PM: suspend entry 1970-01-01 00:01:09.575420657 UTC [ 69.580000] PM: suspend entry 1970-01-01 00:01:09.575420657 UTC 6PM: Syncing filesystems ... [ 69.590000] PM: Syncing filesystems ... done. done. 6mmc0: card 0001 removed [ 80.590000] mmc0: card 0001 removed 6mmc1: card b368 removed [ 80.600000] mmc1: card b368 removed 2EXT4-fs error (device mmcblk1p6): ext4_find_dest_de:1657: inode #67: block 4443: comm PackageManager: bad entry in directory: rec_len is smaller than minimal - offset=0(0), inode=0, rec_len=0, name_len=0 [ 85.250000] EXT4-fs error (device mmcblk1p6): ext4_find_dest_de:1657: inode #67: block 4443: comm PackageManager: bad entry in directory: rec_len is smaller than minimal - offset=0(0), inode=0, rec_len=0, name_len=0 3Aborting journal on device mmcblk1p6-8. 3Buffer I/O error on device mmcblk1p6, lo mmcblk1p6-8. gical block 139265 4lost page write due to I/O error on mmcblk1p6 3JBD2: Erro block 139265 r -5 detected when updating journal superblock for mmcblk1p6-8. 0Kernel panic - not syncing: EXT4-fs (device mm on mmcblk1p6 cblk1p6): panic forced after error
[<c0015450>] (unwind_backtrace+0x0/0x100) from [<c03f6bfc>] (panic+0xb8/0x23 mmcblk1p6-8. 8) [<c03f6bfc>] (panic+0xb8/0x238) from [<c015449c>] (ext4_handle_error.part.45+0x60/0xa4) [<c015449c> 85.300000] ] (ext4_handle_error.part.45+0x60/0xa4) from [<c01546e8>] (ext4_error_inode+0xc8/0x11c)
[<c01546e8>] (ext4_error_inode+0xc8/0x11c) from [<c013fdb4>] (__ext4_check_dir_enc+0xb8/0x238) try+0x180/0x1a4) [<c013fdb4>] (__ext4_check_dir_entry+0x180/0x1a4) from [<c014f8a8>] (ext4_find_dest_de+0xc45+0x60/0xa4) 8/0x170) [<c014f8a8>] (ext4_find_dest_de+0xc8/0x170) from [<c014fb9c>] (add_dirent_to_buf+0x198/0x1bc) [<c014e+0xc8/0x11c) fb9c>] (add_dirent_to_buf+0x198/0x1bc) from [<c014fcf8>] (ext4_add_entry+0x138/0xb1c)
[<c014fcf8>] (ext4_add_entry+0x138/0xb1c) from [<c01506f0>] (ext4_add_nondir+0x14/0x64) [<c01506f0>+0x180/0x1a4) ] (ext4_add_nondir+0x14/0x64) from [<c0150994>] (ext4_create+0xf4/0x164)
[<c0150994>] (ext4_create+0xf4/0x164) from [<c00cad98>] (vfs_create+0x80/0xc0) [<c00cad98>] (vfs_cree+0xc8/0x170) ate+0x80/0xc0) from [<c00cd30c>] (do_last.isra.54+0x770/0xb94) [<c00cd30c>] (do_last.isra.54+0x770/0xb94) from [<c00cd7e4>] (path_openat.isra.55+0xb4/0x488) [+0x198/0x1bc) <c00cd7e4>] (path_openat.isra.55+0xb4/0x488) from [<c00ce798>] (do_filp_open+0x30/0x84)
[<c00ce798>] (do_filp_open+0x30/0x84) from [<c00c0354>] (do_sys_open+0xe4/0x17c) [<c00c0354>]+0x138/0xb1c) (do_sys_open+0xe4/0x17c) from [<c000e100>] (ret_fast_syscall+0x0/0x30) [ 85.360000] [<c014fcf8>] (ext4_add_entry+0x138/0xb1c) from [<c01506f0>] (ext4_add_nonir+0x14/0x64) 2CPU1: stopping [<c0015450>] (unwind_backtrace+0x0/0x100) from [<c0013ae4>] (handle_IPI+0x194/0x1c8) [<c0013ae4>] (handle_IPI+0x194/0x1c8) from [<c00085d0>] (gic_handle_irq+0x60/0x6c) [<c00085d0>] (gic_handle_irq+0x60/0x6c) from [<c000dd00>] (__irq_svc+0x40/0x70) Exception stack(0xe80d7e48 to 0xe80d7e90) 7e40: 00000000 00000004 e80d7e28 00000000 00000004 00000067 7e60: 00007738 00000000 60070013 000076d0 00000002 c05ca448 00000000 e80d7e90 7e80: c03fd414 c0022a80 60070013 ffffffff [<c000dd00>] (__irq_svc+0x40/0x70) from [<c0022a80>] (console_unlock+0x478/0x4f4) [<c0022a80>] (console_unlock+0x478/0x4f4) from [<c0038a50>] (process_one_work+0x108/0x380) [<c0038a50>] (process_one_work+0x108/0x380) from [<c0039864>] (worker_thread+0x16c/0x468) [<c0039864>] (worker_thread+0x16c/0x468) from [<c003e11c>] (kthread+0xb8/0xc4) [<c003e11c>] (kthread+0xb8/0xc4) from [<c000e198>] (ret_from_fork+0x14/0x3c) 4------------[ cut here ]------------ 4WARNING: at kernel/workqueue.c:752 wq_worker_waking_up+0x6c/0x84() dModules linked in: [<c0015450>] (unwind_backtrace+0x0/0x100) from [<c00209bc>] (warn_slowpath_common+0x54/0x70) [<c00209bc>] (warn_slowpath_common+0x54/0x70) from [<c0020a74>] (warn_slowpath_null+0x1c/0x24) [<c0020a74>] (warn_slowpath_null+0x1c/0x24) from [<c0039bcc>] (wq_worker_waking_up+0x6c/0x84) [<c0039bcc>] (wq_worker_waking_up+0x6c/0x84) from [<c0048594>] (ttwu_do_activate.constprop.76+0x4c/0x64) [<c0048594>] (ttwu_do_activate.constprop.76+0x4c/0x64) from [<c004aaa8>] (try_to_wake_up+0x1d8/0x2d0) [<c004aaa8>] (try_to_wake_up+0x1d8/0x2d0) from [<c003edf4>] (autoremove_wake_function+0xc/0x34) [<c003edf4>] (autoremove_wake_function+0xc/0x34) from [<c0046254>] (__wake_up_common+0x50/0x84) [<c0046254>] (__wake_up_common+0x50/0x84) from [<c0046470>] (__wake_up+0x3c/0x50) [<c0046470>] (__wake_up+0x3c/0x50) from [<c02d9120>] (i2c_s3c_irq_nextbyte+0x16c/0x440) [<c02d9120>] (i2c_s3c_irq_nextbyte+0x16c/0x440) from [<c02d944c>] (s3c24xx_i2c_irq+0x58/0x78) [<c02d944c>] (s3c24xx_i2c_irq+0x58/0x78) from [<c006ef9c>] (handle_irq_event_percpu+0x7c/0x1b4) [<c006ef9c>] (handle_irq_event_percpu+0x7c/0x1b4) from [<c006f110>] (handle_irq_event+0x3c/0x5c) [<c006f110>] (handle_irq_event+0x3c/0x5c) from [<c0071fdc>] (handle_fasteoi_irq+0x88/0x118) [<c0071fdc>] (handle_fasteoi_irq+0x88/0x118) from [<c006e838>] (generic_handle_irq+0x20/0x30) [<c006e838>] (generic_handle_irq+0x20/0x30) from [<c000f054>] (handle_IRQ+0x48/0xb4) [<c000f054>] (handle_IRQ+0x48/0xb4) from [<c00085a4>] (gic_handle_irq+0x34/0x6c) [<c00085a4>] (gic_handle_irq+0x34/0x6c) from [<c000dd00>] (__irq_svc+0x40/0x70) Exception stack(0xe84efb10 to 0xe84efb58) fb00: 00000000 00000000 003f6e90 00000000 fb20: e84efb5c 7a68ab86 00005dbf 000000c8 00000001 c05c2098 c05c209c 00000020 fb40: 00000000 e84efb58 c0014300 c01bfe30 60010013 ffffffff [<c000dd00>] (__irq_svc+0x40/0x70) from [<c01bfe30>] (__timer_delay+0x38/0x50) [<c01bfe30>] (__timer_delay+0x38/0x50) from [<c03f6d3c>] (panic+0x1f8/0x238) [<c03f6d3c>] (panic+0x1f8/0x238) from [<c015449c>] (ext4_handle_error.part.45+0x60/0xa4) [<c015449c>] (ext4_handle_error.part.45+0x60/0xa4) from [<c01546e8>] (ext4_error_inode+0xc8/0x11c) [<c01546e8>] (ext4_error_inode+0xc8/0x11c) from [<c013fdb4>] (__ext4_check_dir_entry+0x180/0x1a4) [<c013fdb4>] (__ext4_check_dir_entry+0x180/0x1a4) from [<c014f8a8>] (ext4_find_dest_de+0xc8/0x170) [<c014f8a8>] (ext4_find_dest_de+0xc8/0x170) from [<c014fb9c>] (add_dirent_to_buf+0x198/0x1bc) [<c014fb9c>] (add_dirent_to_buf+0x198/0x1bc) from [<c014fcf8>] (ext4_add_entry+0x138/0xb1c) [<c014fcf8>] (ext4_add_entry+0x138/0xb1c) from [<c01506f0>] (ext4_add_nondir+0x14/0x64) [<c01506f0>] (ext4_add_nondir+0x14/0x64) from [<c0150994>] (ext4_create+0xf4/0x164) [<c0150994>] (ext4_create+0xf4/0x164) from [<c00cad98>] (vfs_create+0x80/0xc0) [<c00cad98>] (vfs_create+0x80/0xc0) from [<c00cd30c>] (do_last.isra.54+0x770/0xb94) [<c00cd30c>] (do_last.isra.54+0x770/0xb94) from [<c00cd7e4>] (path_openat.isra.55+0xb4/0x488) [<c00cd7e4>] (path_openat.isra.55+0xb4/0x488) from [<c00ce798>] (do_filp_open+0x30/0x84) [<c00ce798>] (do_filp_open+0x30/0x84) from [<c00c0354>] (do_sys_open+0xe4/0x17c) [<c00c0354>] (do_sys_open+0xe4/0x17c) from [<c000e100>] (ret_fast_syscall+0x0/0x30) 4---[ end trace b18da9d87686dd90 ]--- ====================================================================================
Is this a new bug?
-- Thanks, -Meraj
Hi,
The board doesn't supportsuspend and hence it crashes. Please run "disablesuspend.sh" after it boots.
On 24 April 2014 17:06, Mohammad Merajul Islam Molla <meraj.enigma@gmail.com
wrote:
Hello,
I am seeing this strange issue on my Samsung Arndale board with Linaro Android 14.03 Build. I downloaded the code and did a replica build using pinned manifest here -
http://releases.linaro.org/14.03/android/arndale/pinned-manifest.xml
This booted successfully on Samsung Arndale Board with Exynos 5250.
After that I did a custom build of the kernel source included in the download. I used the config file from - http://releases.linaro.org/14.03/android/arndale/kernel_config . The only option I changed is - CONFIG_GPIO_SYSFS=y set so that /sys/class/gpio shows up.
With this kernel it also booted successfully and /sys/class/gpio was there too.
The problem I am facing is after about 10 minutes, the kernel panics with below trace -
=================================================================================== root@arndale:/ # 6PM: suspend entry 1970-01-01 00:01:09.575420657 UTC [ 69.580000] PM: suspend entry 1970-01-01 00:01:09.575420657 UTC 6PM: Syncing filesystems ... [ 69.590000] PM: Syncing filesystems ... done. done. 6mmc0: card 0001 removed [ 80.590000] mmc0: card 0001 removed 6mmc1: card b368 removed [ 80.600000] mmc1: card b368 removed 2EXT4-fs error (device mmcblk1p6): ext4_find_dest_de:1657: inode #67: block 4443: comm PackageManager: bad entry in directory: rec_len is smaller than minimal - offset=0(0), inode=0, rec_len=0, name_len=0 [ 85.250000] EXT4-fs error (device mmcblk1p6): ext4_find_dest_de:1657: inode #67: block 4443: comm PackageManager: bad entry in directory: rec_len is smaller than minimal - offset=0(0), inode=0, rec_len=0, name_len=0 3Aborting journal on device mmcblk1p6-8. 3Buffer I/O error on device mmcblk1p6, lo mmcblk1p6-8. gical block 139265 4lost page write due to I/O error on mmcblk1p6 3JBD2: Erro block 139265 r -5 detected when updating journal superblock for mmcblk1p6-8. 0Kernel panic - not syncing: EXT4-fs (device mm on mmcblk1p6 cblk1p6): panic forced after error
[<c0015450>] (unwind_backtrace+0x0/0x100) from [<c03f6bfc>] (panic+0xb8/0x23 mmcblk1p6-8. 8) [<c03f6bfc>] (panic+0xb8/0x238) from [<c015449c>] (ext4_handle_error.part.45+0x60/0xa4) [<c015449c> 85.300000] ] (ext4_handle_error.part.45+0x60/0xa4) from [<c01546e8>] (ext4_error_inode+0xc8/0x11c)
[<c01546e8>] (ext4_error_inode+0xc8/0x11c) from [<c013fdb4>]
(__ext4_check_dir_enc+0xb8/0x238) try+0x180/0x1a4) [<c013fdb4>] (__ext4_check_dir_entry+0x180/0x1a4) from [<c014f8a8>] (ext4_find_dest_de+0xc45+0x60/0xa4) 8/0x170) [<c014f8a8>] (ext4_find_dest_de+0xc8/0x170) from [<c014fb9c>] (add_dirent_to_buf+0x198/0x1bc) [<c014e+0xc8/0x11c) fb9c>] (add_dirent_to_buf+0x198/0x1bc) from [<c014fcf8>] (ext4_add_entry+0x138/0xb1c)
[<c014fcf8>] (ext4_add_entry+0x138/0xb1c) from [<c01506f0>]
(ext4_add_nondir+0x14/0x64) [<c01506f0>+0x180/0x1a4) ] (ext4_add_nondir+0x14/0x64) from [<c0150994>] (ext4_create+0xf4/0x164)
[<c0150994>] (ext4_create+0xf4/0x164) from [<c00cad98>] (vfs_create+0x80/0xc0) [<c00cad98>] (vfs_cree+0xc8/0x170) ate+0x80/0xc0) from [<c00cd30c>] (do_last.isra.54+0x770/0xb94) [<c00cd30c>] (do_last.isra.54+0x770/0xb94) from [<c00cd7e4>] (path_openat.isra.55+0xb4/0x488) [+0x198/0x1bc) <c00cd7e4>] (path_openat.isra.55+0xb4/0x488) from [<c00ce798>] (do_filp_open+0x30/0x84)
[<c00ce798>] (do_filp_open+0x30/0x84) from [<c00c0354>]
(do_sys_open+0xe4/0x17c) [<c00c0354>]+0x138/0xb1c) (do_sys_open+0xe4/0x17c) from [<c000e100>] (ret_fast_syscall+0x0/0x30) [ 85.360000] [<c014fcf8>] (ext4_add_entry+0x138/0xb1c) from [<c01506f0>] (ext4_add_nonir+0x14/0x64) 2CPU1: stopping [<c0015450>] (unwind_backtrace+0x0/0x100) from [<c0013ae4>] (handle_IPI+0x194/0x1c8) [<c0013ae4>] (handle_IPI+0x194/0x1c8) from [<c00085d0>] (gic_handle_irq+0x60/0x6c) [<c00085d0>] (gic_handle_irq+0x60/0x6c) from [<c000dd00>] (__irq_svc+0x40/0x70) Exception stack(0xe80d7e48 to 0xe80d7e90) 7e40: 00000000 00000004 e80d7e28 00000000 00000004 00000067 7e60: 00007738 00000000 60070013 000076d0 00000002 c05ca448 00000000 e80d7e90 7e80: c03fd414 c0022a80 60070013 ffffffff [<c000dd00>] (__irq_svc+0x40/0x70) from [<c0022a80>] (console_unlock+0x478/0x4f4) [<c0022a80>] (console_unlock+0x478/0x4f4) from [<c0038a50>] (process_one_work+0x108/0x380) [<c0038a50>] (process_one_work+0x108/0x380) from [<c0039864>] (worker_thread+0x16c/0x468) [<c0039864>] (worker_thread+0x16c/0x468) from [<c003e11c>] (kthread+0xb8/0xc4) [<c003e11c>] (kthread+0xb8/0xc4) from [<c000e198>] (ret_from_fork+0x14/0x3c) 4------------[ cut here ]------------ 4WARNING: at kernel/workqueue.c:752 wq_worker_waking_up+0x6c/0x84() dModules linked in: [<c0015450>] (unwind_backtrace+0x0/0x100) from [<c00209bc>] (warn_slowpath_common+0x54/0x70) [<c00209bc>] (warn_slowpath_common+0x54/0x70) from [<c0020a74>] (warn_slowpath_null+0x1c/0x24) [<c0020a74>] (warn_slowpath_null+0x1c/0x24) from [<c0039bcc>] (wq_worker_waking_up+0x6c/0x84) [<c0039bcc>] (wq_worker_waking_up+0x6c/0x84) from [<c0048594>] (ttwu_do_activate.constprop.76+0x4c/0x64) [<c0048594>] (ttwu_do_activate.constprop.76+0x4c/0x64) from [<c004aaa8>] (try_to_wake_up+0x1d8/0x2d0) [<c004aaa8>] (try_to_wake_up+0x1d8/0x2d0) from [<c003edf4>] (autoremove_wake_function+0xc/0x34) [<c003edf4>] (autoremove_wake_function+0xc/0x34) from [<c0046254>] (__wake_up_common+0x50/0x84) [<c0046254>] (__wake_up_common+0x50/0x84) from [<c0046470>] (__wake_up+0x3c/0x50) [<c0046470>] (__wake_up+0x3c/0x50) from [<c02d9120>] (i2c_s3c_irq_nextbyte+0x16c/0x440) [<c02d9120>] (i2c_s3c_irq_nextbyte+0x16c/0x440) from [<c02d944c>] (s3c24xx_i2c_irq+0x58/0x78) [<c02d944c>] (s3c24xx_i2c_irq+0x58/0x78) from [<c006ef9c>] (handle_irq_event_percpu+0x7c/0x1b4) [<c006ef9c>] (handle_irq_event_percpu+0x7c/0x1b4) from [<c006f110>] (handle_irq_event+0x3c/0x5c) [<c006f110>] (handle_irq_event+0x3c/0x5c) from [<c0071fdc>] (handle_fasteoi_irq+0x88/0x118) [<c0071fdc>] (handle_fasteoi_irq+0x88/0x118) from [<c006e838>] (generic_handle_irq+0x20/0x30) [<c006e838>] (generic_handle_irq+0x20/0x30) from [<c000f054>] (handle_IRQ+0x48/0xb4) [<c000f054>] (handle_IRQ+0x48/0xb4) from [<c00085a4>] (gic_handle_irq+0x34/0x6c) [<c00085a4>] (gic_handle_irq+0x34/0x6c) from [<c000dd00>] (__irq_svc+0x40/0x70) Exception stack(0xe84efb10 to 0xe84efb58) fb00: 00000000 00000000 003f6e90 00000000 fb20: e84efb5c 7a68ab86 00005dbf 000000c8 00000001 c05c2098 c05c209c 00000020 fb40: 00000000 e84efb58 c0014300 c01bfe30 60010013 ffffffff [<c000dd00>] (__irq_svc+0x40/0x70) from [<c01bfe30>] (__timer_delay+0x38/0x50) [<c01bfe30>] (__timer_delay+0x38/0x50) from [<c03f6d3c>] (panic+0x1f8/0x238) [<c03f6d3c>] (panic+0x1f8/0x238) from [<c015449c>] (ext4_handle_error.part.45+0x60/0xa4) [<c015449c>] (ext4_handle_error.part.45+0x60/0xa4) from [<c01546e8>] (ext4_error_inode+0xc8/0x11c) [<c01546e8>] (ext4_error_inode+0xc8/0x11c) from [<c013fdb4>] (__ext4_check_dir_entry+0x180/0x1a4) [<c013fdb4>] (__ext4_check_dir_entry+0x180/0x1a4) from [<c014f8a8>] (ext4_find_dest_de+0xc8/0x170) [<c014f8a8>] (ext4_find_dest_de+0xc8/0x170) from [<c014fb9c>] (add_dirent_to_buf+0x198/0x1bc) [<c014fb9c>] (add_dirent_to_buf+0x198/0x1bc) from [<c014fcf8>] (ext4_add_entry+0x138/0xb1c) [<c014fcf8>] (ext4_add_entry+0x138/0xb1c) from [<c01506f0>] (ext4_add_nondir+0x14/0x64) [<c01506f0>] (ext4_add_nondir+0x14/0x64) from [<c0150994>] (ext4_create+0xf4/0x164) [<c0150994>] (ext4_create+0xf4/0x164) from [<c00cad98>] (vfs_create+0x80/0xc0) [<c00cad98>] (vfs_create+0x80/0xc0) from [<c00cd30c>] (do_last.isra.54+0x770/0xb94) [<c00cd30c>] (do_last.isra.54+0x770/0xb94) from [<c00cd7e4>] (path_openat.isra.55+0xb4/0x488) [<c00cd7e4>] (path_openat.isra.55+0xb4/0x488) from [<c00ce798>] (do_filp_open+0x30/0x84) [<c00ce798>] (do_filp_open+0x30/0x84) from [<c00c0354>] (do_sys_open+0xe4/0x17c) [<c00c0354>] (do_sys_open+0xe4/0x17c) from [<c000e100>] (ret_fast_syscall+0x0/0x30) 4---[ end trace b18da9d87686dd90 ]---
====================================================================================
Is this a new bug?
-- Thanks, -Meraj
linaro-android mailing list linaro-android@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android
linaro-android@lists.linaro.org