Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel panic BCM2835 #1486

Closed
efflicto opened this issue Feb 7, 2018 · 1 comment
Closed

Kernel panic BCM2835 #1486

efflicto opened this issue Feb 7, 2018 · 1 comment

Comments

@efflicto
Copy link

efflicto commented Feb 7, 2018

Required Information:

  • DietPi Version | cat /DietPi/dietpi/.version?
    6
    1
  • SBC Device (EG: RPi 3)?
    RPi 3
  • Power supply used (EG: 5v 1A RAVpower)?
    Anker PowerPort+1 5v 3A and a Noname 2.5A
  • SD card used (EG: Sandisk ultra)?
    SanDisk Ultra 16GB SDHC I
  • Distro (EG: Jessie) | uname -a?
    Linux INGRSP02 4.9.79-v7+ LXDE cannot be installed nor uninstalled #1086 SMP Wed Jan 31 18:03:34 GMT 2018 armv7l GNU/Linux

Additional Information (if applicable):

Hardware on one USB Port: Cleware USB Sensor
Bus 001 Device 004: ID 0d50:0020 Cleware GmbH
MaxPower 50mA

  • Can this issue be replicated on a fresh installation of DietPi?
    yes

Expected behaviour:

Running 24/7

Actual behaviour:

Randomly crashing with kernel Panic

Steps to reproduce:

Can't explain. It's just crashing randomly.

Did you submit a dietpi-bugreport?

d8718845-9acb-49eb-9d40-bb35e7ffe5f2-0

Extra details:

  • Not connected via WiFi
  • Connected to Ethernet
Feb  3 17:00:07 INGRSP02 kernel: [114188.738784] Unable to handle kernel paging request at virtual address 5100cff0
Feb  3 17:00:07 INGRSP02 kernel: [114188.738795] pgd = b9c0c000
Feb  3 17:00:07 INGRSP02 kernel: [114188.738801] [5100cff0] *pgd=00000000
Feb  3 17:00:07 INGRSP02 kernel: [114188.738815] Internal error: Oops: 5 [#1] SMP ARM
Feb  3 17:00:07 INGRSP02 kernel: [114188.741198] Modules linked in: bcm2835_gpiomem uio_pdrv_genirq uio fixed ip_tables x_tables ipv6
Feb  3 17:00:07 INGRSP02 kernel: [114188.743695] CPU: 3 PID: 10448 Comm: cron Not tainted 4.9.79-v7+ #1086
Feb  3 17:00:07 INGRSP02 kernel: [114188.746156] Hardware name: BCM2835
Feb  3 17:00:07 INGRSP02 kernel: [114188.748638] task: bbf91d80 task.stack: b4866000
Feb  3 17:00:07 INGRSP02 kernel: [114188.751122] PC is at __kmalloc_track_caller+0x9c/0x274
Feb  3 17:00:07 INGRSP02 kernel: [114188.753613] LR is at __kmalloc_track_caller+0x1d8/0x274
Feb  3 17:00:07 INGRSP02 kernel: [114188.756058] pc : [<802617d4>]    lr : [<80261910>]    psr: 20000013
Feb  3 17:00:07 INGRSP02 kernel: [114188.756058] sp : b4867df8  ip : b4867df8  fp : b4867e3c
Feb  3 17:00:07 INGRSP02 kernel: [114188.761021] r10: 80c65380  r9 : bcc01e40  r8 : 801328e0
Feb  3 17:00:07 INGRSP02 kernel: [114188.763521] r7 : 024000c0  r6 : 00000012  r5 : bcc01e40  r4 : 5100cff0
Feb  3 17:00:07 INGRSP02 kernel: [114188.766095] r3 : 00000000  r2 : 80b81420  r1 : 3da61000  r0 : b4867df8
Feb  3 17:00:07 INGRSP02 kernel: [114188.768697] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Feb  3 17:00:07 INGRSP02 kernel: [114188.771392] Control: 10c5383d  Table: 39c0c06a  DAC: 00000055
Feb  3 17:00:07 INGRSP02 kernel: [114188.774175] Process cron (pid: 10448, stack limit = 0xb4866210)
Feb  3 17:00:07 INGRSP02 kernel: [114188.777017] Stack: (0xb4867df8 to 0xb4868000)
Feb  3 17:00:07 INGRSP02 kernel: [114188.779892] 7de0:                                                       808237bc 00000002
Feb  3 17:00:07 INGRSP02 kernel: [114188.782926] 7e00: b4867e5c 001c2da4 b4867e5c b4867e18 8025ec74 801328e0 00000012 b4867e74
Feb  3 17:00:07 INGRSP02 kernel: [114188.786086] 7e20: 80c7bd88 bc9e7340 80c05430 80c65380 b4867e5c b4867e40 8022d380 80261744
Feb  3 17:00:07 INGRSP02 kernel: [114188.789335] 7e40: 00000000 80c7bd80 bbde9200 00000002 b4867ed0 b4867e60 801328e0 8022d350
Feb  3 17:00:07 INGRSP02 kernel: [114188.792637] 7e60: 60000013 8025ec74 b4867ebc 80c683c0 b4867ed8 2d74656e 312d6670 72702d36
Feb  3 17:00:07 INGRSP02 kernel: [114188.796032] 7e80: 2d6f746f 00000039 b4867eac b4867e98 8071c0c4 801e3b74 00000000 80c683c0
Feb  3 17:00:07 INGRSP02 kernel: [114188.799537] 7ea0: b4867edc b4867eb0 801612d0 8071c094 80d346c4 80d346cc 00000009 80d346c8
Feb  3 17:00:07 INGRSP02 kernel: [114188.803127] 7ec0: bc9e7340 b4867f24 b4867ee0 8065debc 801327f8 809adca8 00000010 00000009
Feb  3 17:00:07 INGRSP02 kernel: [114188.806803] 7ee0: 00000010 8028ee14 b4867f0c b4867ef8 0000057c 00000000 bcca3b10 00000010
Feb  3 17:00:07 INGRSP02 kernel: [114188.810547] 7f00: 80847ed0 bc9e7340 80c04880 00000009 80c65380 00000040 b4867f54 b4867f28
Feb  3 17:00:07 INGRSP02 kernel: [114188.814386] 7f20: 8060c1bc 8065ddb8 00000009 00000003 00000003 00000002 00000119 80108244
Feb  3 17:00:07 INGRSP02 kernel: [114188.818311] 7f40: b4866000 00000000 b4867f74 b4867f58 8060c2b0 8060c0d0 b4867f84 00000000
Feb  3 17:00:07 INGRSP02 kernel: [114188.822353] 7f60: b4867f8c 00000000 b4867fa4 b4867f78 8060d16c 8060c268 0002871c 00000002
Feb  3 17:00:07 INGRSP02 kernel: [114188.826413] 7f80: 00000119 60000010 00ac0170 0002871c 00000002 00000119 00000000 b4867fa8
Feb  3 17:00:07 INGRSP02 kernel: [114188.830547] 7fa0: 801080c0 8060d13c 00ac0170 0002871c 00000010 00000003 00000009 00008004
Feb  3 17:00:07 INGRSP02 kernel: [114188.834682] 7fc0: 00ac0170 0002871c 00000002 00000119 00008004 00000000 00000000 7e8fac70
Feb  3 17:00:07 INGRSP02 kernel: [114188.838872] 7fe0: 76e08fb0 7e8fa384 76de2eac 76ee5f1c 60000010 00000010 00000000 00000000
Feb  3 17:00:07 INGRSP02 kernel: [114188.843143] [<802617d4>] (__kmalloc_track_caller) from [<8022d380>] (kstrdup+0x3c/0x68)
Feb  3 17:00:07 INGRSP02 kernel: [114188.847504] [<8022d380>] (kstrdup) from [<801328e0>] (__request_module+0xf8/0x2b0)
Feb  3 17:00:07 INGRSP02 kernel: [114188.851892] [<801328e0>] (__request_module) from [<8065debc>] (netlink_create+0x110/0x2e0)
Feb  3 17:00:07 INGRSP02 kernel: [114188.856346] [<8065debc>] (netlink_create) from [<8060c1bc>] (__sock_create+0xf8/0x198)
Feb  3 17:00:07 INGRSP02 kernel: [114188.860874] [<8060c1bc>] (__sock_create) from [<8060c2b0>] (sock_create+0x54/0x5c)
Feb  3 17:00:07 INGRSP02 kernel: [114188.865454] [<8060c2b0>] (sock_create) from [<8060d16c>] (SyS_socket+0x3c/0xd0)
Feb  3 17:00:07 INGRSP02 kernel: [114188.870077] [<8060d16c>] (SyS_socket) from [<801080c0>] (ret_fast_syscall+0x0/0x1c)
Feb  3 17:00:07 INGRSP02 kernel: [114188.874758] Code: e7914002 e3540000 0a000065 e5953014 (e7943003) 
Feb  3 17:00:07 INGRSP02 kernel: [114188.895849] ---[ end trace 6fb88b43420ab138 ]---
Feb  3 17:00:08 INGRSP02 kernel: [114189.677302] Unable to handle kernel paging request at virtual address 5100cff0
Feb  3 17:00:08 INGRSP02 kernel: [114189.682336] pgd = 80004000
Feb  3 17:00:08 INGRSP02 kernel: [114189.687471] [5100cff0] *pgd=00000000
Feb  3 17:00:08 INGRSP02 kernel: [114189.692581] Internal error: Oops: 5 [#2] SMP ARM
Feb  3 17:00:08 INGRSP02 kernel: [114189.697456] Modules linked in: bcm2835_gpiomem uio_pdrv_genirq uio fixed ip_tables x_tables ipv6
Feb  3 17:00:08 INGRSP02 kernel: [114189.702598] CPU: 3 PID: 10447 Comm: kworker/3:0 Tainted: G      D         4.9.79-v7+ #1086
Feb  3 17:00:08 INGRSP02 kernel: [114189.707657] Hardware name: BCM2835
Feb  3 17:00:08 INGRSP02 kernel: [114189.712546] Workqueue: events check_carrier
Feb  3 17:00:08 INGRSP02 kernel: [114189.717562] task: b48d1d80 task.stack: bcd90000
Feb  3 17:00:08 INGRSP02 kernel: [114189.722605] PC is at __kmalloc+0x9c/0x274
Feb  3 17:00:08 INGRSP02 kernel: [114189.727518] LR is at __kmalloc+0x1d8/0x274
Feb  3 17:00:08 INGRSP02 kernel: [114189.732392] pc : [<8025e8dc>]    lr : [<8025ea18>]    psr: 20000013
Feb  3 17:00:08 INGRSP02 kernel: [114189.732392] sp : bcd91d60  ip : bcd91d60  fp : bcd91da4
Feb  3 17:00:08 INGRSP02 kernel: [114189.742318] r10: bcc01e40  r9 : 8054de80  r8 : 024000c0
Feb  3 17:00:08 INGRSP02 kernel: [114189.747135] r7 : 00000004  r6 : 00000114  r5 : bcc01e40  r4 : 5100cff0
Feb  3 17:00:08 INGRSP02 kernel: [114189.752067] r3 : 00000000  r2 : 80b81420  r1 : 3da61000  r0 : bcd91d60
Feb  3 17:00:08 INGRSP02 kernel: [114189.756935] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Feb  3 17:00:08 INGRSP02 kernel: [114189.761734] Control: 10c5383d  Table: 3bd8806a  DAC: 00000055
Feb  3 17:00:08 INGRSP02 kernel: [114189.766642] Process kworker/3:0 (pid: 10447, stack limit = 0xbcd90210)
Feb  3 17:00:08 INGRSP02 kernel: [114189.771566] Stack: (0xbcd91d60 to 0xbcd92000)
Feb  3 17:00:08 INGRSP02 kernel: [114189.776377] 1d60: bc66768c bcd90020 be5df978 001c2da4 60000013 60000013 00000004 00000004
Feb  3 17:00:08 INGRSP02 kernel: [114189.781163] 1d80: 00000000 00000114 bcfa3d00 00000000 000000c0 000000a1 bcd91dec bcd91da8
Feb  3 17:00:08 INGRSP02 kernel: [114189.786083] 1da0: 8054de80 8025e84c 805064a4 8071c094 bc667600 00000000 bc667620 000000c0
Feb  3 17:00:08 INGRSP02 kernel: [114189.791010] 1dc0: bcd91dec bcfa3d00 00000000 00000004 000000c0 000000a1 00000114 00000001
Feb  3 17:00:08 INGRSP02 kernel: [114189.795777] 1de0: bcd91e24 bcd91df0 8054df6c 8054de40 00000114 bcd91e3c 00000004 00ffffff
Feb  3 17:00:08 INGRSP02 kernel: [114189.800677] 1e00: 00000114 80c02d00 bcfa3d00 bcd91e64 00000000 bcfa3d20 bcd91e5c bcd91e28
Feb  3 17:00:08 INGRSP02 kernel: [114189.805602] 1e20: 8054a954 8054df14 00000114 bcd91e3c 00000004 bcd43b00 be5df940 80717348
Feb  3 17:00:08 INGRSP02 kernel: [114189.810447] 1e40: bcfa3800 80c02d00 00adc88c bcfa3d00 bcd91e8c bcd91e60 8054a9f4 8054a8fc
Feb  3 17:00:08 INGRSP02 kernel: [114189.815266] 1e60: 3da61000 80719450 bcd91e8c bcfa3800 bcfa3d00 00000000 bcfa3d00 00000001
Feb  3 17:00:08 INGRSP02 kernel: [114189.820168] 1e80: bcd91ec4 bcd91e90 8054ad4c 8054a99c 80717348 80144908 bcd91edc bc586b1c
Feb  3 17:00:08 INGRSP02 kernel: [114189.825071] 1ea0: bcfa3d00 be5df4c0 be5e2d00 00000000 00000008 00000000 bcd91edc bcd91ec8
Feb  3 17:00:08 INGRSP02 kernel: [114189.829861] 1ec0: 8054d05c 8054ad14 bbfe5080 bc586b1c bcd91f14 bcd91ee0 801367f8 8054d030
Feb  3 17:00:08 INGRSP02 kernel: [114189.834824] 1ee0: be5df4d8 80c02d00 00000008 be5df4c0 bbfe5098 be5df4c0 be5df4d8 80c02d00
Feb  3 17:00:08 INGRSP02 kernel: [114189.839834] 1f00: 00000008 bbfe5080 bcd91f5c bcd91f18 80136b58 801366ac bcd91f3c bcd90000
Feb  3 17:00:08 INGRSP02 kernel: [114189.844780] 1f20: bbde9800 80c02d00 80c723b7 bcd90018 00000000 00000000 bbde9800 bbfe5080
Feb  3 17:00:08 INGRSP02 kernel: [114189.849802] 1f40: 80136af4 00000000 00000000 00000000 bcd91fac bcd91f60 8013ca74 80136b00
Feb  3 17:00:08 INGRSP02 kernel: [114189.854880] 1f60: 3da37000 00000000 bcd91f94 bbfe5080 00000000 00000000 bcd91f78 bcd91f78
Feb  3 17:00:08 INGRSP02 kernel: [114189.859968] 1f80: 00000000 00000000 bcd91f88 bcd91f88 bbde9800 8013c968 00000000 00000000
Feb  3 17:00:08 INGRSP02 kernel: [114189.865007] 1fa0: 00000000 bcd91fb0 80108154 8013c974 00000000 00000000 00000000 00000000
Feb  3 17:00:08 INGRSP02 kernel: [114189.870127] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Feb  3 17:00:08 INGRSP02 kernel: [114189.875211] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
Feb  3 17:00:08 INGRSP02 kernel: [114189.880081] [<8025e8dc>] (__kmalloc) from [<8054de80>] (__usbnet_read_cmd+0x4c/0xd4)
Feb  3 17:00:08 INGRSP02 kernel: [114189.885134] [<8054de80>] (__usbnet_read_cmd) from [<8054df6c>] (usbnet_read_cmd+0x64/0x84)
Feb  3 17:00:08 INGRSP02 kernel: [114189.890187] [<8054df6c>] (usbnet_read_cmd) from [<8054a954>] (__smsc95xx_read_reg+0x64/0xa0)
Feb  3 17:00:08 INGRSP02 kernel: [114189.895087] [<8054a954>] (__smsc95xx_read_reg) from [<8054a9f4>] (__smsc95xx_phy_wait_not_busy+0x64/0xa0)
Feb  3 17:00:08 INGRSP02 kernel: [114189.900060] [<8054a9f4>] (__smsc95xx_phy_wait_not_busy) from [<8054ad4c>] (__smsc95xx_mdio_read+0x44/0x11c)
Feb  3 17:00:08 INGRSP02 kernel: [114189.905049] [<8054ad4c>] (__smsc95xx_mdio_read) from [<8054d05c>] (check_carrier+0x38/0xb8)
Feb  3 17:00:08 INGRSP02 kernel: [114189.910005] [<8054d05c>] (check_carrier) from [<801367f8>] (process_one_work+0x158/0x454)
Feb  3 17:00:08 INGRSP02 kernel: [114189.914958] [<801367f8>] (process_one_work) from [<80136b58>] (worker_thread+0x64/0x5b8)
Feb  3 17:00:08 INGRSP02 kernel: [114189.919988] [<80136b58>] (worker_thread) from [<8013ca74>] (kthread+0x10c/0x124)
Feb  3 17:00:08 INGRSP02 kernel: [114189.924959] [<8013ca74>] (kthread) from [<80108154>] (ret_from_fork+0x14/0x20)
Feb  3 17:00:08 INGRSP02 kernel: [114189.929722] Code: e7914002 e3540000 0a000065 e5953014 (e7943003) 
Feb  3 17:00:08 INGRSP02 kernel: [114189.934722] ---[ end trace 6fb88b43420ab139 ]---
Feb  3 17:00:08 INGRSP02 kernel: [114189.939813] Unable to handle kernel paging request at virtual address ffffffec
Feb  3 17:00:08 INGRSP02 kernel: [114189.944785] pgd = 80004000
Feb  3 17:00:08 INGRSP02 kernel: [114189.949835] [ffffffec] *pgd=3e5fa861, *pte=00000000, *ppte=00000000

@Fourdee
Copy link
Collaborator

Fourdee commented Feb 7, 2018

@efflicto

Thanks for the report 👍

This is most likely due to PSU or installed kernel version, please see below:
raspberrypi/linux#2107 (comment)

However, i would recommend a fresh install, without the USB adapter attached to see if problems persist.

4.9.79

The current APT kernel on our DietPi image is 4.9.59, i'd also recommend trying an installation, without upgrading kernel via rpi-update. This will exclude kernel as a possible factor.


As this appears to be a HW specific issue unrelated to DietPi, and, outside the scope of our support, i'll mark as closed. However, please reopen if required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants