NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-arm/50760: kernel module loader crashes on shark (earmv4)



>Number:         50760
>Category:       port-arm
>Synopsis:       kernel module loader crashes on shark (earmv4)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-arm-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 03 12:50:01 +0000 2016
>Originator:     Martin Husemann
>Release:        NetBSD 7.99.26
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-rest.duskware.de 7.99.26 NetBSD 7.99.26 (GENERIC) #146: Mon Feb 1 19:59:07 CET 2016 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/ssd/src/sys/arch/shark/compile/GENERIC shark
Architecture: earmv4
Machine: shark
>Description:

Note: last weeks test runs did not show this problem, something has changed
recently [and it is not new binutils]. Also note a non-priviledged user
can cause this, if module loading is enabled.

When loading some module the kernel module loader causes a crash:

data_abort_handler: data_aborts fsr=0x85d5003 far=0xf6521e2f
Fatal kernel mode data abort: 'Alignment Fault 3'
trapframe: 0xf609fa18
FSR=085d5003, FAR=f6521e2f, spsr=60000013
r0 =f189fad8, r1 =f6521e29, r2 =f15544b8, r3 =00000000
r4 =00000002, r5 =00000006, r6 =00000b02, r7 =00000001
r8 =00000004, r9 =f6521e29, r10=0000000e, r11=f609fa84
r12=f609fa88, ssp=f609fa68, slr=f01e7380, pc =f00153a0

Stopped in pid 135.1 (t_spawn) at       netbsd:kobj_reloc+0x18: ldreq   r7, [r1,
 r5]


>How-To-Repeat:

  > cd /usr/tests/lib/libc/gen/posix_spawn
  > atf-run t_spawn
[...]
  tc-start: 1454503024.385359, t_spawn_nonexec
  tc-end: 1454503024.511150, t_spawn_nonexec, passed
  tc-start: 1454503024.530210, t_spawn_zero
[and will crash here]

>Fix:
n/a



Home | Main Index | Thread Index | Old Index