[Bug 229784] LinuxKPI panic on load on aarch64 in linux_rcu_runtime_init

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 15 13:39:34 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229784

            Bug ID: 229784
           Summary: LinuxKPI panic on load on aarch64 in
                    linux_rcu_runtime_init
           Product: Base System
           Version: CURRENT
          Hardware: arm64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: greg at unrelenting.technology

LKPI fails to load right now (though it used to load on aarch64 a few months
ago):

root at rockwallow:~ # kldload linuxkpi                  
warning: KLD '/boot/kernel/linuxkpi.ko' is newer than the linker.hints file
Fatal data abort:                                     
  x0: ffff000061891480                              
  x1: ffff0000623dba00                            
  x2:                0                           
  x3:                0                             
  x4:            20000                                  
  x5:                0                               
  x6: ffffffffffffffff                               
  x7:             2002
  x8:           b6a200                                                          
  x9:                f
 x10:                1
 x11:                0                                
 x12:                0
 x13:                0                          
 x14:                0                
 x15: ffff0000008e9b18                                   
 x16:                0                                   
 x17: ffff00000036f79c
 x18: ffff0000616ad5b0              
 x19: ffff000061891480                                   
 x20: ffff0000623dba00                                   
 x21:                0
 x22: ffff000000c5f558              
 x23:                1                                   
 x24: ffff000000c5f5c0                                   
 x25: ffff000000c5ed28
 x26: ffff000061871800           
 x27:                0                                   
 x28: ffff0000008e573d
 x29: ffff0000616ad5f0
  sp: ffff0000616ad5b0
  lr: ffff00006185b548
 elr: ffff00006185b5b8
spsr:              345
 far: ffff0000623dbb10
 esr:         96000046
[ thread pid 947 tid 100089 ]
Stopped at      linux_rcu_runtime_init+0xb8:    undefined       b9011295

Looked up linux_rcu_runtime_init+0xb8, it's the 'record->cpuid = i;' statement.

Added some debug prints: 'record' has an address (0xffff0000623cba00), but
dereferencing it and accessing the cpuid field (record->cpuid) crashes.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list