beaglebone: kernel BUG on boot

Bug #1452620 reported by Paolo Pisati
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Paolo Pisati
Trusty
Fix Released
Undecided
Unassigned

Bug Description

SRU Justification:

    Impact: Crash upon boot.

    Fix: Apply the patch, recompile and reboot.

    Testcase: Try booting the board several times in a row with and without a patched kernel.

---

Booting a trusty kernel on a beaglebone, you often ends up with:

...
[ 9.758659] libphy: PHY 4a101000.mdio:01 not found
[ 9.763789] net eth0: phy 4a101000.mdio:01 not found on slave 1
[ 10.211356] ------------[ cut here ]------------
[ 10.216201] kernel BUG at /build/buildd/linux-3.13.0/kernel/timer.c:1084!
[ 10.223280] Internal error: Oops - BUG: 0 [#1] SMP ARM
[ 10.228637] Modules linked in: tda998x tilcdc drm_kms_helper omap_sham drm omap_aes omap_rng tps65217 uio_pdrv_genirq uio leds_gpio nls1
[ 10.242317] CPU: 0 PID: 302 Comm: systemd-udevd Not tainted 3.13.0-52-generic #86-Ubuntu
[ 10.250758] task: db1085c0 ti: db35c000 task.ti: db35c000
[ 10.256398] PC is at cascade+0x98/0x9c
[ 10.260305] LR is at cascade+0x80/0x9c
[ 10.264212] pc : [<c0060ab4>] lr : [<c0060a9c>] psr: 80030193
[ 10.264212] sp : db35dd18 ip : fffee500 fp : 000000a9
[ 10.276182] r10: c0a78080 r9 : db35c000 r8 : db35dd58
[ 10.281627] r7 : 00000025 r6 : db35dd18 r5 : c0b48a80 r4 : c0b493f4
[ 10.288432] r3 : db22b0a8 r2 : 0000002c r1 : de217230 r0 : c0b493f4
[ 10.295239] Flags: Nzcv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user
[ 10.302770] Control: 10c5387d Table: 9b398019 DAC: 00000015
[ 10.308760] Process systemd-udevd (pid: 302, stack limit = 0xdb35c238)
[ 10.315565] Stack: (0xdb35dd18 to 0xdb35e000)
[ 10.320107] dd00: db22b0a8 c0acd78c
[ 10.328637] dd20: c0a713b0 c0b48a80 00000000 00000004 c0a78088 c0060ce4 c0a713b8 c1024458
[ 10.337167] dd40: c1024490 00200200 c0b32c30 c0a780c0 c0b49294 c0b49494 6071f4b5 00000002
[ 10.345697] dd60: 6071f4b5 00000001 00000101 00000004 c0a78088 c0a78084 db35c000 c0a78080
[ 10.354226] dd80: 000000a9 c0058bf8 00000001 00015200 00000100 00000004 c0a71540 c0b32ba4
[ 10.362756] dda0: 00000000 0000000a c0b48840 c0a780c0 fffee501 db35c008 c0ac0360 00400140
[ 10.371285] ddc0: db1085c0 db35c028 00000054 00000000 00000054 01b8216c db1085c0 db1f08f8
[ 10.379816] dde0: 000000a9 c005917c c0a73030 c0010420 fa200000 c0b477ac db35de18 c00093f4
[ 10.388346] de00: c00975d4 c00975d4 60030113 ffffffff db35de4c c06baac0 db1f08fc 00030113
[ 10.396877] de20: db1f0900 000002ef db1f08f8 db1f08fc 00000001 00000817 01b8216c db1085c0
[ 10.405407] de40: db1f08f8 000000a9 00000000 db35de60 c00975d4 c00975d4 60030113 ffffffff
[ 10.413938] de60: db35dfb0 db35c030 db1f08c0 c06bc098 00000001 c0160cd4 db320d80 db35dee8
[ 10.422468] de80: 00000001 db320e90 00000800 00000000 00000000 00000000 00000561 00000001
[ 10.430997] dea0: 00000561 0000007f db35df08 db35df00 00080001 00000001 db245010 00000000
[ 10.439526] dec0: 00000561 00000000 01b81be1 00000000 c0194868 00000000 00000000 db35dfb0
[ 10.448054] dee0: 00000817 01b8216c 01b8216c db35dfb0 00020420 00000581 000000b1 c06bc410
[ 10.456583] df00: 00000817 c06bc3ac c0a84b98 c00091d4 04000000 00000000 ddc3f090 c015effc
[ 10.465111] df20: 00000000 00000000 04000000 00000000 04000000 00000000 00000000 00002000
[ 10.473639] df40: 00000000 c0194974 00000000 db320e48 04000000 00000000 00000000 00000000
[ 10.482167] df60: be826bf8 be826bf8 00000008 00000000 00000000 c015f14c 00000000 c015faac
[ 10.490695] df80: 00002000 00000000 00000000 01b76468 00000000 00000000 b6dbd3c6 20030030
[ 10.499223] dfa0: ffffffff 00000589 00000588 c06bac38 00000589 00000000 0001fe99 01b82168
[ 10.507753] dfc0: 01b81be8 b6e4b4e8 01b81be0 00000589 00000588 00020420 00000581 000000b1
[ 10.516281] dfe0: 00000598 be826b68 b6dbf011 b6dbd3c6 20030030 ffffffff 00000000 00000000
[ 10.524829] [<c0060ab4>] (cascade+0x98/0x9c) from [<c0060ce4>] (run_timer_softirq+0x22c/0x2b4)
[ 10.533821] [<c0060ce4>] (run_timer_softirq+0x22c/0x2b4) from [<c0058bf8>] (__do_softirq+0x144/0x340)
[ 10.543442] [<c0058bf8>] (__do_softirq+0x144/0x340) from [<c005917c>] (irq_exit+0xd8/0x120)
[ 10.552162] [<c005917c>] (irq_exit+0xd8/0x120) from [<c0010420>] (handle_IRQ+0x44/0x90)
[ 10.560515] [<c0010420>] (handle_IRQ+0x44/0x90) from [<c00093f4>] (omap3_intc_handle_irq+0x8c/0x9c)
[ 10.569959] [<c00093f4>] (omap3_intc_handle_irq+0x8c/0x9c) from [<c06baac0>] (__irq_svc+0x40/0x54)
[ 10.579300] Exception stack(0xdb35de18 to 0xdb35de60)
[ 10.584564] de00: db1f08fc 00030113
[ 10.593093] de20: db1f0900 000002ef db1f08f8 db1f08fc 00000001 00000817 01b8216c db1085c0
[ 10.601623] de40: db1f08f8 000000a9 00000000 db35de60 c00975d4 c00975d4 60030113 ffffffff
[ 10.610172] [<c06baac0>] (__irq_svc+0x40/0x54) from [<c00975d4>] (__down_read_trylock+0x4c/0x54)
[ 10.619346] [<c00975d4>] (__down_read_trylock+0x4c/0x54) from [<c06bc098>] (do_page_fault.part.11+0x78/0x38c)
[ 10.629694] [<c06bc098>] (do_page_fault.part.11+0x78/0x38c) from [<c06bc410>] (do_page_fault+0x64/0x6c)
[ 10.639493] [<c06bc410>] (do_page_fault+0x64/0x6c) from [<c00091d4>] (do_DataAbort+0x38/0x98)
[ 10.648387] [<c00091d4>] (do_DataAbort+0x38/0x98) from [<c06bac38>] (__dabt_usr+0x38/0x40)
[ 10.657005] Exception stack(0xdb35dfb0 to 0xdb35dff8)
[ 10.662271] dfa0: 00000589 00000000 0001fe99 01b82168
[ 10.670802] dfc0: 01b81be8 b6e4b4e8 01b81be0 00000589 00000588 00020420 00000581 000000b1
[ 10.679329] dfe0: 00000598 be826b68 b6dbf011 b6dbd3c6 20030030 ffffffff
[ 10.686227] Code: 1afffff4 e1a00007 e28dd00c e8bd80f0 (e7f001f2)
[ 10.692585] ---[ end trace 40b1369a4ac46bf7 ]---
[ 10.697399] Kernel panic - not syncing: Fatal exception in interrupt
[ 10.704029] drm_kms_helper: panic occurred, switching back to text console

CVE References

Paolo Pisati (p-pisati)
summary: - beaglebone:
+ beaglebone: kernel BUG on boot
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1452620

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: trusty
Paolo Pisati (p-pisati)
Changed in linux (Ubuntu):
assignee: nobody → Paolo Pisati (p-pisati)
Revision history for this message
Paolo Pisati (p-pisati) wrote :
tags: added: patch
Paolo Pisati (p-pisati)
description: updated
description: updated
description: updated
description: updated
Brad Figg (brad-figg)
Changed in linux (Ubuntu Trusty):
status: New → Fix Committed
Changed in linux (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Luis Henriques (henrix) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-trusty' to 'verification-done-trusty'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-trusty
Paolo Pisati (p-pisati)
tags: added: verification-done-trusty
removed: verification-needed-trusty
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (9.3 KiB)

This bug was fixed in the package linux - 3.13.0-54.91

---------------
linux (3.13.0-54.91) trusty; urgency=medium

  [ Luis Henriques ]

  * Release Tracking Bug
    - LP: #1458618

  [ Upstream Kernel Changes ]

  * [3.13-stable only] Revert "gianfar: Carefully free skbs in functions
    called by netpoll."
    - LP: #1454746

linux (3.13.0-54.90) trusty; urgency=low

  [ Luis Henriques ]

  * Release Tracking Bug
    - LP: #1458618

  [ Andy Whitcroft ]

  * [Config] push off linux-lts-{utopic, vivid}-tools-common
    - LP: #1405807

  [ Brad Figg ]

  * hyper-v -- add hid and fb drivers to linux-virtual
    - LP: #1444179

  [ Upstream Kernel Changes ]

  * DT doc: net: cpsw mac-address is optional
    - LP: #1452628
  * net: cpsw: Add missing return value
    - LP: #1452628
  * net: cpsw: header, Add missing include
    - LP: #1452628
  * net: cpsw: Add am33xx MACID readout
    - LP: #1452628
  * am33xx: define syscon control module device node
    - LP: #1452628
  * arm: dts: am33xx, Add syscon phandle to cpsw node
    - LP: #1452628
  * net: cpsw: do not register cpts twice
    - LP: #1452620
  * x86: kvm: Revert "remove sched notifier for cross-cpu migrations"
    - LP: #1450584
  * x86: vdso: fix pvclock races with task migration
    - LP: #1450584
  * n_tty: Fix read buffer overwrite when no newline
    - LP: #1381005, #1454746
  * KVM: x86: Fix lost interrupt on irr_pending race
    - LP: #1454746
  * writeback: add missing INITIAL_JIFFIES init in
    global_update_bandwidth()
    - LP: #1454746
  * nbd: fix possible memory leak
    - LP: #1454746
  * mfd: kempld-core: Fix callback return value check
    - LP: #1454746
  * KVM: nVMX: mask unrestricted_guest if disabled on L0
    - LP: #1454746
  * spi: trigger trace event for message-done before mesg->complete
    - LP: #1454746
  * powerpc/pseries: Little endian fixes for post mobility device tree
    update
    - LP: #1454746
  * net: ethernet: pcnet32: Setup the SRAM and NOUFLO on Am79C97{3, 5}
    - LP: #1454746
  * perf: Fix irq_work 'tail' recursion
    - LP: #1454746
  * arm64: Use the reserved TTBR0 if context switching to the init_mm
    - LP: #1454746
  * selinux: fix sel_write_enforce broken return value
    - LP: #1454746
  * mm: fix anon_vma->degree underflow in anon_vma endless growing
    prevention
    - LP: #1454746
  * mm/memory hotplug: postpone the reset of obsolete pgdat
    - LP: #1454746
  * hfsplus: fix B-tree corruption after insertion at position 0
    - LP: #1454746
  * ARC: SA_SIGINFO ucontext regs off-by-one
    - LP: #1454746
  * writeback: fix possible underflow in write bandwidth calculation
    - LP: #1454746
  * iio: fix drivers that check buffer->scan_mask
    - LP: #1454746
  * iio: inv_mpu6050: Clear timestamps fifo while resetting hardware fifo
    - LP: #1454746
  * iio: core: Fix double free.
    - LP: #1454746
  * USB: ftdi_sio: Added custom PID for Synapse Wireless product
    - LP: #1454746
  * iwlwifi: dvm: run INIT firmware again upon .start()
    - LP: #1454746
  * USB: keyspan_pda: add new device id
    - LP: #1454746
  * cifs: smb2_clone_range() - exit on unhandled error
    - LP: #1454746
  * cifs: fix use-after-free bug in find_wri...

Read more...

Changed in linux (Ubuntu Trusty):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.