On 06/07/2013 09:34 AM, Linus Walleij wrote:
On Thu, Jun 6, 2013 at 6:15 PM, Daniel Lezcano daniel.lezcano@linaro.org wrote:
I tried to boot my ux500
Is this an HREF (black plastic box) or the Snowball board?
with the 3.10-rc4 kernel but it hangs at boot time with the following messages:
Hm, looks like some very real corruption, Ulf what do you say?
Here is so far what I got when trying to git bisect on a vanilla kernel.
So for your information, here is the result for different kernel booted at different tags.
I always used the u8500_defconfig before compiling.
Hoping that helps.
Tag v3.4: kernel panic ----------------------------------------------------------------------------------- Unable to handle kernel NULL pointer dereference at virtual address 00000004 pgd = c0004000 [00000004] *pgd=00000000 Internal error: Oops: 5 [#1] PREEMPT SMP ARM Modules linked in: CPU: 0 Not tainted (3.4.0 #42) PC is at ab8500_charger_probe+0x64/0x7b0 LR is at ab8500_gpadc_get+0x48/0x68 pc : [<c028bdd4>] lr : [<c019e2c4>] psr: 60000013 sp : ebc49eb0 ip : 00000000 fp : ebd39e08 r10: ebc48000 r9 : c03974bc r8 : 00000000 r7 : 00000000 r6 : ebd39e00 r5 : c041563c r4 : ebcb5000 r3 : 00000000 r2 : 00000000 r1 : ebd26fcf r0 : ebe6b700 Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel Control: 10c5787d Table: 0000404a DAC: 00000015 Process swapper/0 (pid: 1, stack limit = 0xebc482f0) Stack: (0xebc49eb0 to 0xebc4a000) 9ea0: ebd39e08 c01973fc ebe6bb80 ebc2c980 9ec0: ebd27940 00000000 c041563c ebd39e08 c041563c ebd39e3c c03e6b34 00000000 9ee0: c03974bc ebc48000 00000000 c019150c c01914f4 c01902cc 00000000 ebd39e08 9f00: c03e6b34 ebd39e3c ebe6bb80 c01904e0 00000000 c03e6b34 c0190454 c018ea7c 9f20: ebc2a260 ebd25a38 c03e6b34 c03e6b34 c03e2c20 c018fafc c0334eb8 c014de94 9f40: ebc2a200 c03e6b34 00000004 c039dfc4 c03ed4c0 00000041 ebc48000 c0190998 9f60: 00000000 c03a1f6c 00000004 c039dfc4 c03ed4c0 00000041 ebc48000 c0008698 9f80: c09a82a0 c02a62cc 00000041 c0035110 c03642d0 c0317b60 00000004 00000004 9fa0: c03d9924 c03a1f6c 00000004 c039dfc4 c03ed4c0 00000041 c039dfd8 c037f27c 9fc0: 00000000 c037f8f4 00000004 00000004 c037f27c 00000000 00000000 c037f804 9fe0: c000f36c 00000013 00000000 00000000 00000000 c000f36c fffbf5ff 3ffffbfb [<c028bdd4>] (ab8500_charger_probe+0x64/0x7b0) from [<c019150c>] (platform_drv_probe+0x18/0x1c) [<c019150c>] (platform_drv_probe+0x18/0x1c) from [<c01902cc>] (driver_probe_device+0x8c/0x214) [<c01902cc>] (driver_probe_device+0x8c/0x214) from [<c01904e0>] (__driver_attach+0x8c/0x90) [<c01904e0>] (__driver_attach+0x8c/0x90) from [<c018ea7c>] (bus_for_each_dev+0x4c/0x80) [<c018ea7c>] (bus_for_each_dev+0x4c/0x80) from [<c018fafc>] (bus_add_driver+0x178/0x248) [<c018fafc>] (bus_add_driver+0x178/0x248) from [<c0190998>] (driver_register+0x78/0x138) [<c0190998>] (driver_register+0x78/0x138) from [<c0008698>] (do_one_initcall+0x10c/0x170) [<c0008698>] (do_one_initcall+0x10c/0x170) from [<c037f8f4>] (kernel_init+0xf0/0x1ac) [<c037f8f4>] (kernel_init+0xf0/0x1ac) from [<c000f36c>] (kernel_thread_exit+0x0/0x8) Code: e5847040 e5847044 e5840020 e596305c (e5930004) ---[ end trace 1b75b31a2719ed1c ]--- Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
CPU1: stopping [<c001460c>] (unwind_backtrace+0x0/0xf8) from [<c0012eb0>] (handle_IPI+0x124/0x150) [<c0012eb0>] (handle_IPI+0x124/0x150) from [<c000850c>] (gic_handle_irq+0x50/0x58) [<c000850c>] (gic_handle_irq+0x50/0x58) from [<c000de00>] (__irq_svc+0x40/0x70) Exception stack(0xebc65f88 to 0xebc65fd0) 5f80: 00000020 c03cfae0 00000001 00000000 ebc64000 ebc64000 5fa0: c03ed588 c03d2eb0 ebc64000 412fc091 c029b0e4 00000000 c03cfae0 ebc65fd0 5fc0: c000f3d0 c000f3d4 60000013 ffffffff [<c000de00>] (__irq_svc+0x40/0x70) from [<c000f3d4>] (default_idle+0x28/0x30) [<c000f3d4>] (default_idle+0x28/0x30) from [<c000f5ec>] (cpu_idle+0x98/0xe4) [<c000f5ec>] (cpu_idle+0x98/0xe4) from [<0028fa54>] (0x28fa54)
Tag v3.5: kernel panic ----------------------------------------------------------------------------------- EXT3-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (240) EXT2-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (240) List of all partitions: b300 3702784 mmcblk0 driver: mmcblk b301 3968 mmcblk0p1 00000000-0000-0000-0000-000000000000 b302 131072 mmcblk0p2 00000000-0000-0000-0000-000000000000 b303 524288 mmcblk0p3 00000000-0000-0000-0000-000000000000 b304 1 mmcblk0p4 00000000-0000-0000-0000-000000000000 b305 262128 mmcblk0p5 00000000-0000-0000-0000-000000000000 b306 524272 mmcblk0p6 00000000-0000-0000-0000-000000000000 b307 90096 mmcblk0p7 00000000-0000-0000-0000-000000000000 b310 2048 mmcblk0boot1 (driver?) b308 2048 mmcblk0boot0 (driver?) b318 1931264 mmcblk1 driver: mmcblk b319 53216 mmcblk1p1 00000000-0000-0000-0000-000000000000 b31a 471040 mmcblk1p2 00000000-0000-0000-0000-000000000000 No filesystem could mount root, tried: ext3 ext2 vfat Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,26) [<c0014764>] (unwind_backtrace+0x0/0xf8) from [<c02a9484>] (panic+0x8c/0x1cc) [<c02a9484>] (panic+0x8c/0x1cc) from [<c03a4d24>] (mount_block_root+0x1e4/0x228) [<c03a4d24>] (mount_block_root+0x1e4/0x228) from [<c03a4f48>] (mount_root+0xf4/0x114) [<c03a4f48>] (mount_root+0xf4/0x114) from [<c03a50cc>] (prepare_namespace+0x164/0x1b8) [<c03a50cc>] (prepare_namespace+0x164/0x1b8) from [<c03a496c>] (kernel_init+0x17c/0x1bc) [<c03a496c>] (kernel_init+0x17c/0x1bc) from [<c000f36c>] (kernel_thread_exit+0x0/0x8) CPU0: stopping [<c0014764>] (unwind_backtrace+0x0/0xf8) from [<c0012fd8>] (handle_IPI+0x124/0x150) [<c0012fd8>] (handle_IPI+0x124/0x150) from [<c000850c>] (gic_handle_irq+0x50/0x58) [<c000850c>] (gic_handle_irq+0x50/0x58) from [<c000de00>] (__irq_svc+0x40/0x70) Exception stack(0xc03cdcd8 to 0xc03cdd20) dcc0: 00000002 00000002 dce0: 00000008 00000002 00000002 00000002 00000800 00000800 00000000 00000002 dd00: c03f40f4 00000001 00000002 c03cdd20 c0153b5c c00474a4 60000113 ffffffff [<c000de00>] (__irq_svc+0x40/0x70) from [<c00474a4>] (find_busiest_group+0x314/0xaa4) [<c00474a4>] (find_busiest_group+0x314/0xaa4) from [<c0047cec>] (load_balance+0xb8/0x61c) [<c0047cec>] (load_balance+0xb8/0x61c) from [<c00482e8>] (rebalance_domains+0x98/0x178) [<c00482e8>] (rebalance_domains+0x98/0x178) from [<c004840c>] (run_rebalance_domains+0x44/0x134) [<c004840c>] (run_rebalance_domains+0x44/0x134) from [<c0023f60>] (__do_softirq+0xb4/0x150) [<c0023f60>] (__do_softirq+0xb4/0x150) from [<c0024470>] (irq_exit+0x90/0x98) [<c0024470>] (irq_exit+0x90/0x98) from [<c0012f88>] (handle_IPI+0xd4/0x150) [<c0012f88>] (handle_IPI+0xd4/0x150) from [<c000850c>] (gic_handle_irq+0x50/0x58) [<c000850c>] (gic_handle_irq+0x50/0x58) from [<c000de00>] (__irq_svc+0x40/0x70) Exception stack(0xc03cdf50 to 0xc03cdf98) df40: 0000001f c03f40a0 00000000 00000000 df60: c03cc000 c03cc000 c0412888 c03f7460 c03cc000 412fc091 c02b22b4 00000000 df80: 0000001f c03cdf98 c000f3cc c000f3d0 60000013 ffffffff [<c000de00>] (__irq_svc+0x40/0x70) from [<c000f3d0>] (default_idle+0x28/0x30) [<c000f3d0>] (default_idle+0x28/0x30) from [<c000f5d0>] (cpu_idle+0x98/0xe4) [<c000f5d0>] (cpu_idle+0x98/0xe4) from [<c03a47a0>] (start_kernel+0x294/0x2e4) [<c03a47a0>] (start_kernel+0x294/0x2e4) from [<00008044>] (0x8044)
Linux v3.7: stuck at boot ----------------------------------------------------------------------------------- smsc911x smsc911x.0 (unregistered net_device): couldn't get regulators -517 platform smsc911x.0: Driver smsc911x requests probe deferral mmcblk0: p1 p2 p3 p4 < p5 p6 p7 > mmcblk0boot1: unknown partition table mmcblk0boot0: unknown partition table
Linux v3.8: stuck at boot ----------------------------------------------------------------------------------- EXT3-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (240) EXT2-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (240) List of all partitions: b300 3702784 mmcblk0 driver: mmcblk b301 3968 mmcblk0p1 00000000-01 b302 131072 mmcblk0p2 00000000-02 b303 524288 mmcblk0p3 00000000-03 b304 1 mmcblk0p4 b305 262128 mmcblk0p5 00000000-05 b306 524272 mmcblk0p6 00000000-06 b307 90096 mmcblk0p7 00000000-07 b318 128 mmcblk0rpmb (driver?) b310 2048 mmcblk0boot1 (driver?) b308 2048 mmcblk0boot0 (driver?) b320 1931264 mmcblk1 driver: mmcblk b321 53216 mmcblk1p1 00000000-01 b322 471040 mmcblk1p2 00000000-02 No filesystem could mount root, tried: ext3 ext2 vfat Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,34) [<c0014710>] (unwind_backtrace+0x0/0xf8) from [<c02cde20>] (panic+0x90/0x1e4) [<c02cde20>] (panic+0x90/0x1e4) from [<c03dcd60>] (mount_block_root+0x214/0x258) [<c03dcd60>] (mount_block_root+0x214/0x258) from [<c03dcf84>] (mount_root+0xf4/0x114) [<c03dcf84>] (mount_root+0xf4/0x114) from [<c03dd108>] (prepare_namespace+0x164/0x1b8) [<c03dd108>] (prepare_namespace+0x164/0x1b8) from [<c02ca29c>] (kernel_init+0x8/0xe4) [<c02ca29c>] (kernel_init+0x8/0xe4) from [<c000e318>] (ret_from_fork+0x14/0x3c) CPU0: stopping [<c0014710>] (unwind_backtrace+0x0/0xf8) from [<c0012f58>] (handle_IPI+0x118/0x140) [<c0012f58>] (handle_IPI+0x118/0x140) from [<c0008554>] (gic_handle_irq+0x54/0x5c) [<c0008554>] (gic_handle_irq+0x54/0x5c) from [<c000de80>] (__irq_svc+0x40/0x70) Exception stack(0xc0407f50 to 0xc0407f98) 7f40: 0000001f c040ea00 00000000 00000000 7f60: c0406000 c0406000 c042d5c8 c0411b38 c0406000 412fc091 c02d5fcc 00000000 7f80: 0000001f c0407f98 c000f3e0 c000f3e4 60000113 ffffffff [<c000de80>] (__irq_svc+0x40/0x70) from [<c000f3e4>] (default_idle+0x28/0x30) [<c000f3e4>] (default_idle+0x28/0x30) from [<c000f57c>] (cpu_idle+0x98/0xe4) [<c000f57c>] (cpu_idle+0x98/0xe4) from [<c03dc7a0>] (start_kernel+0x294/0x2e4) [<c03dc7a0>] (start_kernel+0x294/0x2e4) from [<00008078>] (0x8078)
Linux v3.9: stuck at boot ----------------------------------------------------------------------------------- mmcblk0: p1 p2 p3 p4 < p5 p6 p7 > mmcblk0boot1: unknown partition table mmcblk0boot0: unknown partition table Waiting for root device /dev/mmcblk1p2... mmc1: host does not support reading read-only switch. assuming write-enable. mmc1: new SD card at address aaaa mmcblk1: mmc1:aaaa SU02G 1.84 GiB mmcblk1: p1 p2 EXT3-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (240) EXT2-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (240) List of all partitions: b300 3702784 mmcblk0 driver: mmcblk b301 3968 mmcblk0p1 00000000-01 b302 131072 mmcblk0p2 00000000-02 b303 524288 mmcblk0p3 00000000-03 b304 1 mmcblk0p4 b305 262128 mmcblk0p5 00000000-05 b306 524272 mmcblk0p6 00000000-06 b307 90096 mmcblk0p7 00000000-07 b310 2048 mmcblk0boot1 (driver?) b308 2048 mmcblk0boot0 (driver?) b318 1931264 mmcblk1 driver: mmcblk b319 53216 mmcblk1p1 00000000-01 b31a 471040 mmcblk1p2 00000000-02 No filesystem could mount root, tried: ext3 ext2 vfat Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,26) [<c001457c>] (unwind_backtrace+0x0/0xf8) from [<c02d0760>] (panic+0x90/0x1e4) [<c02d0760>] (panic+0x90/0x1e4) from [<c03e9d60>] (mount_block_root+0x214/0x258) [<c03e9d60>] (mount_block_root+0x214/0x258) from [<c03e9f84>] (mount_root+0xf4/0x114) [<c03e9f84>] (mount_root+0xf4/0x114) from [<c03ea108>] (prepare_namespace+0x164/0x1b8) [<c03ea108>] (prepare_namespace+0x164/0x1b8) from [<c03e996c>] (kernel_init_freeable+0x17c/0x1c4) [<c03e996c>] (kernel_init_freeable+0x17c/0x1c4) from [<c02cce94>] (kernel_init+0x8/0xe4) [<c02cce94>] (kernel_init+0x8/0xe4) from [<c000e2d8>] (ret_from_fork+0x14/0x3c) CPU0: stopping [<c001457c>] (unwind_backtrace+0x0/0xf8) from [<c0012d20>] (handle_IPI+0xf8/0x11c) [<c0012d20>] (handle_IPI+0xf8/0x11c) from [<c0008514>] (gic_handle_irq+0x54/0x5c) [<c0008514>] (gic_handle_irq+0x54/0x5c) from [<c000de40>] (__irq_svc+0x40/0x70) Exception stack(0xc0415f58 to 0xc0415fa0) 5f40: 0000001f c041c3e4 5f60: 00000000 00000000 c0414000 c043c208 c0414000 c043c208 c0414000 412fc091 5f80: c02d8da4 00000000 0000001f c0415fa0 c000f518 c000f4f8 60000013 ffffffff [<c000de40>] (__irq_svc+0x40/0x70) from [<c000f4f8>] (cpu_idle+0xa4/0xf4) [<c000f4f8>] (cpu_idle+0xa4/0xf4) from [<c03e97a0>] (start_kernel+0x294/0x2e4) [<c03e97a0>] (start_kernel+0x294/0x2e4) from [<00008074>] (0x8074)
Linux v3.10-rc1 / v3.10-rc2 do not compile -----------------------------------------------------------------------------------
/home/dlezcano/Work/src/cpuidle-next/drivers/mfd/ab8500-debugfs.c:95:23: fatal error: mach/irqs.h: No such file or directory
Linux v3.10-rc3 / v3.10-rc4: stuck at boot ----------------------------------------------------------------------------------- db8500-cpufreq-cooling db8500-cpufreq-cooling.0: Cooling device registered: thermal-cpufreq-0 �mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891776, nr 8, cmd response 0x900, card status 0xb00 mmcblk0: retrying using single block read mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891776, nr 8, cmd response 0x900, card status 0x0 end_request: I/O error, dev mmcblk0, sector 2891776 mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891777, nr 7, cmd response 0x900, card status 0x0 end_request: I/O error, dev mmcblk0, sector 2891777 mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891778, nr 6, cmd response 0x900, card status 0x0 end_request: I/O error, dev mmcblk0, sector 2891778 mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891779, nr 5, cmd response 0x900, card status 0x0 end_request: I/O error, dev mmcblk0, sector 2891779 mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891780, nr 4, cmd response 0x900, card status 0x0 end_request: I/O error, dev mmcblk0, sector 2891780 mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891781, nr 3, cmd response 0x900, card status 0x0 end_request: I/O error, dev mmcblk0, sector 2891781 mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891782, nr 2, cmd response 0x900, card status 0x0 end_request: I/O error, dev mmcblk0, sector 2891782 mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891783, nr 1, cmd response 0x900, card status 0x0 end_request: I/O error, dev mmcblk0, sector 2891783 Buffer I/O error on device mmcblk0, logical block 361472 mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891776, nr 8, cmd response 0x900, card status 0xb00 mmcblk0: retrying using single block read mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891776, nr 8, cmd response 0x900, card status 0x0 end_request: I/O error, dev mmcblk0, sector 2891776 mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891777, nr 7, cmd response 0x900, card status 0x0 end_request: I/O error, dev mmcblk0, sector 2891777 mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891778, nr 6, cmd response 0x900, card status 0x0 mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891779, nr 5, cmd response 0x900, card status 0x0 mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891780, nr 4, cmd response 0x900, card status 0x0 mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891781, nr 3, cmd response 0x900, card status 0x0 mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891782, nr 2, cmd response 0x900, card status 0x0 mmci-pl18x sdi4: error during DMA transfer! mmcblk0: error -110 transferring data, sector 2891783, nr 1, cmd response 0x900, card status 0x0 Buffer I/O error on device mmcblk0, logical block 361472 mmcblk0: p1 p2 p3 p4 < p5 p6 >
Linux v3.10-rc5 boots with error but console is given and the system is operational ----------------------------------------------------------------------------------- db8500-cpufreq-cooling db8500-cpufreq-cooling.0: Cooling device registered: thermal-cpufreq-0 mmcblk0: p1 p2 p3 p4 < p5 p6 p7 > mmcblk0boot1: unknown partition table mmcblk0boot0: unknown partition table Waiting for root device /dev/mmcblk1p2... mmc1: host does not support reading read-only switch. assuming write-enable. mmc1: new SD card at address aaaa mmcblk1: mmc1:aaaa SU02G 1.84 GiB mmcblk1: p1 p2 EXT3-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (240) EXT2-fs (mmcblk1p2): error: couldn't mount because of unsupported optional features (240) EXT4-fs (mmcblk1p2): warning: mounting fs with errors, running e2fsck is recommended EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext4 filesystem) on device 179:26. Freeing unused kernel memory: 168K (c0452000 - c047c000) �modprobe: FATAL: Could not load /lib/modules/3.10.0-rc5/modules.dep: No such file or directory
�mmcblk0: r/w command failed, status = 0x80000900 end_request: I/O error, dev mmcblk0, sector 7405304 Buffer I/O error on device mmcblk0, logical block 925663
Last login: Sat Jan 1 06:13:28 UTC 2000 on tty1 Welcome to Linaro 12.02 (GNU/Linux 3.10.0-rc5 armv7l)
* Documentation: https://wiki.linaro.org/ root@linaro-nano:~#