This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BB Black, Unable to handle kernel NULL pointer dereference at virtual address



Hi,all

        Now I have started a project of display the image from the USB camera on BB Black, here is my hardware list:

1. BB Black board

2.HDMI to VGA converter

3.USB camera

      But when I run my display programme, it will print following error message after several hours:

Unable to handle kernel NULL pointer dereference at virtual address

   What should I do?

  • Which Linux version are you using?

  • Hi Biser,

         Sorry to trouble you again! My Linux version is :Angstrom v2012.12 - Kernel 3.8.13

        And now another new problem,when I start the BB Black , it print:

    The Angstrom Distribution beaglebone ttyO0

    Angstrom v2012.12 - Kernel 3.8.13

    [    9.573610] systemd-udevd[86]: worker [154] failed while handling '/devices/ocp.2/47400000.usb/musb-hdrc.0.auto/gadget/net/usb0'
    beaglebone login: [    9.776906] systemd-journald[245]: Failed to write entry, ignoring: Cannot assign requested address
    [    9.892100] systemd-journald[245]: Failed to write entry, ignoring: Cannot assign requested address
    [    9.994323] systemd-journald[245]: Failed to write entry, ignoring: Bad address
    [   10.079438] systemd-journald[245]: Failed to write entry, ignoring: Bad address
    [   10.724777] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   10.898110] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   11.085955] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   11.212594] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   11.303930] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   12.150345] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   12.223367] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   12.305631] systemd-journald[245]: Failed to write entry, ignoring: Bad address
    [   12.388193] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   12.477840] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   12.600794] systemd-journald[245]: Failed to write entry, ignoring: Bad address
    [   12.737718] systemd-journald[245]: Failed to write entry, ignoring: Bad address
    [   12.808943] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   12.832386] libphy: PHY 4a101000.mdio:01 not found
    [   12.837445] net eth0: phy 4a101000.mdio:01 not found on slave 1
    [   12.913550] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   12.992818] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   13.069197] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   13.142526] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   13.217604] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   13.292594] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   13.366356] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   13.444017] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   13.552067] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   13.624756] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   13.710322] systemd-journald[245]: Failed to write entry, ignoring: Bad address
    [   13.789335] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   14.011893] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   14.091442] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   14.167028] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   14.245261] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   14.324903] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   14.422427] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   14.501942] systemd-journald[245]: Failed to write entry, ignoring: Argument list too long
    [   14.589220] systemd-journald[245]: Failed to write entry, ignoring: Argument list too lon

     

    The detail error message after the board halt is  as following:

    [ 4335.085984] Unable to handle kernel NULL pointer dereference at virtual address 00000011
    [ 4335.094426] pgd = c0004000
    [ 4335.097247] [00000011] *pgd=00000000
    [ 4335.100988] Internal error: Oops: 17 [#1] SMP THUMB2
    [ 4335.106168] Modules linked in: uvcvideo videobuf2_vmalloc ip_tables x_tables g_multi libcomposite rfcomm mtnet7601Usta(O) mt7601Usta(PO) mtutil7601Usta(O) ircomm_tty ircomm irda ipv6 hidp bluetooth rfkill autofs4
    [ 4335.125947] CPU: 0    Tainted: P           O  (3.8.13 #1)
    [ 4335.131582] PC is at rxstate+0x6/0xa0
    [ 4335.135399] LR is at musb_interrupt+0x4e1/0x546
    [ 4335.140123] pc : [<c025e35c>]    lr : [<c025d37b>]    psr: 000001b3
    [ 4335.140123] sp : c064fe78  ip : 00000000  fp : 20000000
    [ 4335.152094] r10: 00000000  r9 : 00000000  r8 : 0000000d
    [ 4335.157542] r7 : 00000098  r6 : 000000d4  r5 : 00000001  r4 : df3440f0
    [ 4335.164350] r3 : e087edd0  r2 : 00000000  r1 : ffffffcc  r0 : df3440f0
    [ 4335.171145] Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  ISA Thumb  Segment kernel
    [ 4335.179035] Control: 50c5387d  Table: 9ceec019  DAC: 00000015
    [ 4335.185021] Process swapper/0 (pid: 0, stack limit = 0xc064e240)
    [ 4335.191280] Stack: (0xc064fe78 to 0xc0650000)
    [ 4335.195919] fe60:                                                       e087edd0 df3440f0
    [ 4335.204455] fe80: 00000001 00000001 00000098 0000000d 00000000 c025d37b df3440f0 00000000
    [ 4335.213037] fea0: df3440f0 df16eac0 00000004 00000000 e087e800 df171ec0 df16c210 c0260d17
    [ 4335.221575] fec0: 00000023 60000193 46114610 df31bb80 df006c00 00000023 00000000 00000000
    [ 4335.230144] fee0: 413fc082 c06c3b2c 00000000 c0062019 df006c00 df31bb80 df006c00 df006c50
    [ 4335.238670] ff00: df31bb80 c064ff68 00000023 413fc082 00000000 c0062115 df006c00 df006c50
    [ 4335.247237] ff20: fa2000d8 c0063b4b c0063ad5 00000023 00000000 c0061c9f 00000023 c000cef7
    [ 4335.255781] ff40: c06c48fc fa200098 fa2000b8 c0008565 c000d048 60000033 ffffffff c064ff9c
    [ 4335.264366] ff60: 80004059 c000c1db ffffffed 00000000 004e4000 00000000 c064e000 c038d1e8
    [ 4335.272896] ff80: c06c3cc8 c0b2b200 80004059 413fc082 00000000 00000000 00000000 c064ffb0
    [ 4335.281473] ffa0: c000d047 c000d048 60000033 ffffffff c000d037 c000d15b c06573c8 ffffffff
    [ 4335.290002] ffc0: c062b230 c060a583 ffffffff ffffffff c060a217 00000000 00000000 c062b230
    [ 4335.298565] ffe0: 00000000 50c5387d c06564f0 c062b22c c065acec 8000807f 00000000 00000000
    [ 4335.307100] [<c025e35c>] (rxstate+0x6/0xa0) from [<c025d37b>] (musb_interrupt+0x4e1/0x546)
    [ 4335.315743] [<c025d37b>] (musb_interrupt+0x4e1/0x546) from [<c0260d17>] (dsps_interrupt+0x163/0x1c0)
    [ 4335.325289] [<c0260d17>] (dsps_interrupt+0x163/0x1c0) from [<c0062019>] (handle_irq_event_percpu+0x1d/0xf0)
    [ 4335.335456] [<c0062019>] (handle_irq_event_percpu+0x1d/0xf0) from [<c0062115>] (handle_irq_event+0x29/0x3c)
    [ 4335.345619] [<c0062115>] (handle_irq_event+0x29/0x3c) from [<c0063b4b>] (handle_level_irq+0x77/0x8c)
    [ 4335.355152] [<c0063b4b>] (handle_level_irq+0x77/0x8c) from [<c0061c9f>] (generic_handle_irq+0x13/0x1c)
    [ 4335.364873] [<c0061c9f>] (generic_handle_irq+0x13/0x1c) from [<c000cef7>] (handle_IRQ+0x3b/0x5c)
    [ 4335.374040] [<c000cef7>] (handle_IRQ+0x3b/0x5c) from [<c0008565>] (omap3_intc_handle_irq+0x39/0x5c)
    [ 4335.383484] [<c0008565>] (omap3_intc_handle_irq+0x39/0x5c) from [<c000c1db>] (__irq_svc+0x3b/0x5c)
    [ 4335.392824] Exception stack(0xc064ff68 to 0xc064ffb0)
    [ 4335.398131] ff60:                   ffffffed 00000000 004e4000 00000000 c064e000 c038d1e8
    [ 4335.406655] ff80: c06c3cc8 c0b2b200 80004059 413fc082 00000000 00000000 00000000 c064ffb0
    [ 4335.415223] ffa0: c000d047 c000d048 60000033 ffffffff
    [ 4335.420500] [<c000c1db>] (__irq_svc+0x3b/0x5c) from [<c000d048>] (default_idle+0x12/0x1a)
    [ 4335.429098] [<c000d048>] (default_idle+0x12/0x1a) from [<c000d15b>] (cpu_idle+0x63/0xa0)
    [ 4335.437579] [<c000d15b>] (cpu_idle+0x63/0xa0) from [<c060a583>] (start_kernel+0x1ff/0x254)
    [ 4335.449016] Code: 81f0 e92d 43f8 26d4 (f891) 3045
    [ 4335.454081] ---[ end trace d2951e105b8a820e ]---
    [ 4335.458898] Kernel panic - not syncing: Fatal exception in interrupt
    [ 4335.465522] drm_kms_helper: panic occurred, switching back to text console
    [ 4335.472691] [drm:drm_crtc_helper_set_config],
    [ 4335.477324] [drm:drm_crtc_helper_set_config], [CRTC:3] [FB:8] #connectors=1 (x y) (0 0)
    [ 4335.485698] [drm:drm_crtc_helper_set_config], [CONNECTOR:5:HDMI-A-1] to [CRTC:3]

  • chancen guo said:
    My Linux version is :Angstrom v2012.12 - Kernel 3.8.13

    This forum only supports the TI distributed Linux EZSDK. For the Angstrom build please turn to the community at http://beagleboard.org/Community/Forums