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

beagle-xm: Unable to handle kernel NULL pointer dereference #199

Closed
crazoes opened this issue Apr 26, 2023 · 2 comments
Closed

beagle-xm: Unable to handle kernel NULL pointer dereference #199

crazoes opened this issue Apr 26, 2023 · 2 comments
Assignees

Comments

@crazoes
Copy link

crazoes commented Apr 26, 2023

  22:55:37.474589  <1>[    5.816009] 8<--- cut here ---
  22:55:37.484916  <1>[    5.819335] Unable to handle kernel NULL pointer dereference at virtual address 00000808 when read
  22:55:37.490743  <1>[    5.828674] [00000808] *pgd=00000000
  22:55:37.496413  <0>[    5.832580] Internal error: Oops: 5 [#1] SMP ARM
  22:55:37.497177  <4>[    5.837463] Modules linked in:
  22:55:37.501711  <4>[    5.840820] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 6.3.0-rc7 #1
  22:55:37.513396  <4>[    5.847290] Hardware name: Generic OMAP36xx (Flattened Device Tree)
  22:55:37.518646  <4>[    5.853851] PC is at __kmem_cache_alloc_node+0xa0/0x24c
  22:55:37.524450  <4>[    5.859374] LR is at __kmem_cache_alloc_node+0x2c/0x24c
  22:55:37.529864  <4>[    5.864898] pc : [<c04b11f4>]    lr : [<c04b1180>]    psr: a0000053
  22:55:37.535621  <4>[    5.871459] sp : d0009e48  ip : cfb97c28  fp : c1774a50
  22:55:37.541557  <4>[    5.876953] r10: c165ece0  r9 : 00000dc0  r8 : ffffffff
  22:55:37.546640  <4>[    5.882476] r7 : 00000914  r6 : 00000dc0  r5 : 00000008  r4 : c2001480
  22:55:37.552320  <4>[    5.889282] r3 : 00000800  r2 : d0009e48  r1 : 00004010  r0 : 00000000
  22:55:37.563464  <4>[    5.896087] Flags: NzCv  IRQs on  FIQs off  Mode SVC_32  ISA ARM  Segment none
  22:55:37.569211  <4>[    5.903625] Control: 10c5387d  Table: 80204019  DAC: 00000051
  22:55:37.569906  <1>[    5.909637] Register r0 information: NULL pointer
  22:55:37.574881  <1>[    5.914642] Register r1 information: non-paged memory
  22:55:37.586018  <1>[    5.919982] Register r2 information: 2-page vmalloc region starting at 0xd0008000 allocated at kernel_clone+0x8c/0x36c
  22:55:37.591479  <1>[    5.930999] Register r3 information: non-paged memory
  22:55:37.602847  <1>[    5.936340] Register r4 information: slab kmem_cache start c2001480 pointer offset 0 size 124
  22:55:37.608266  <1>[    5.945190] Register r5 information: non-paged memory
  22:55:37.613689  <1>[    5.950531] Register r6 information: non-paged memory
  22:55:37.619452  <1>[    5.955871] Register r7 information: non-paged memory
  22:55:37.625239  <1>[    5.961212] Register r8 information: non-paged memory
  22:55:37.630778  <1>[    5.966552] Register r9 information: non-paged memory
  22:55:37.636366  <1>[    5.971893] Register r10 information: non-slab/vmalloc memory
  22:55:37.641787  <1>[    5.977935] Register r11 information: non-slab/vmalloc memory
  22:55:37.647488  <1>[    5.983947] Register r12 information: non-slab/vmalloc memory
  22:55:37.653160  <0>[    5.989990] Process swapper/0 (pid: 1, stack limit = 0x(ptrval))
  22:55:37.658665  <0>[    5.996307] Stack: (0xd0009e48 to 0xd000a000)
  22:55:37.664423  <0>[    6.000946] 9e40:                   00000000 00000002 c52aef00 00000000 00000914 c10ddbd4
  22:55:37.675408  <0>[    6.009399] 9e60: c2001480 00000dc0 c165ece0 c046ed18 c10ddbd4 c1cf46ec 00000000 00000000
  22:55:37.681089  <0>[    6.017883] 9e80: c5b1b010 c52aef00 00000000 00000000 c21cf9c0 00000000 c19ca854 c165ece0
  22:55:37.692344  <0>[    6.026367] 9ea0: c1774a50 c10ddbd4 00000000 86609c63 c1d53528 c1d53528 c52aef00 00000000
  22:55:37.697986  <0>[    6.034851] 9ec0: c20f6100 c1d53528 00000000 c19aa8b4 c19ca834 00000000 c19ca854 c17aefb8
  22:55:37.709112  <0>[    6.043334] 9ee0: c181edb4 c0aa65f4 c20d0000 c1d5be80 c19aa8b4 c0302038 c21ee5c0 00000000
  22:55:37.714768  <0>[    6.051818] 9f00: c21ee5bf c0363b00 c1769ab4 00000186 00000000 00000000 c19004d0 c20d0000
  22:55:37.725902  <0>[    6.060272] 9f20: 00000006 00000006 c19012ac c21ee5c9 c21ee5cc 86609c63 c1b88b68 00000186
  22:55:37.737192  <0>[    6.068756] 9f40: 00000007 86609c63 c1a528f0 00000186 c21ee580 c19ca834 00000007 c1901370
  22:55:37.742859  <0>[    6.077239] 9f60: 00000006 00000006 00000000 c19004d0 d0009f6c c19004d0 00000000 c1b04cc0
  22:55:37.753787  <0>[    6.085723] 9f80: c1116c60 00000000 00000000 00000000 00000000 00000000 00000000 c1116c78
  22:55:37.759422  <0>[    6.094207] 9fa0: 00000000 c1116c60 00000000 c03001a8 00000000 00000000 00000000 00000000
  22:55:37.770663  <0>[    6.102661] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  22:55:37.776182  <0>[    6.111145] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
  22:55:37.781896  <0>[    6.119628]  __kmem_cache_alloc_node from kmalloc_trace+0x28/0xb4
  22:55:37.787590  <0>[    6.126037]  kmalloc_trace from kobject_uevent_env+0xc0/0x528
  22:55:37.792900  <0>[    6.132080]  kobject_uevent_env from driver_register+0xac/0x114
  22:55:37.798608  <0>[    6.138305]  driver_register from do_one_initcall+0x40/0x1e0
  22:55:37.809819  <0>[    6.144287]  do_one_initcall from kernel_init_freeable+0x1b8/0x220
  22:55:37.815589  <0>[    6.150756]  kernel_init_freeable from kernel_init+0x18/0x12c
  22:55:37.821021  <0>[    6.156799]  kernel_init from ret_from_fork+0x14/0x2c
  22:55:37.826804  <0>[    6.162139] Exception stack(0xd0009fb0 to 0xd0009ff8)
  22:55:37.832211  <0>[    6.167480] 9fa0:                                     00000000 00000000 00000000 00000000
  22:55:37.843384  <0>[    6.175964] 9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  22:55:37.848943  <0>[    6.184448] 9fe0: 00000000 00000000 00000000 00000000 00000013 00000000
  22:55:37.854706  <0>[    6.191345] Code: e3550000 13530000 0a00002f e594301c (e795e003) 
  22:55:37.860707  <4>[    6.197845] ---[ end trace 0000000000000000 ]---

cc @hardboprobot @padovan @gctucker 
@crazoes crazoes self-assigned this Apr 26, 2023
@crazoes
Copy link
Author

crazoes commented Apr 27, 2023

@khilman this regression has been happening since v5.19 though I don't see any bisection email for the same.
Maybe something to look at as it is clearly failing due to a NULL pointer dereference.

@padovan
Copy link
Contributor

padovan commented Jul 9, 2024

Old issue. (also we are not tracking kernel test failure/issues through GitHub anymore)

@padovan padovan closed this as completed Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants