NetBSD-Bugs archive

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

port-mips/52940: ERLITE multiprocessor hangs early

>Number:         52940
>Category:       port-mips
>Synopsis:       ERLITE multiprocessor hangs early
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-mips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 22 20:40:00 +0000 2018
>Originator:     coypu
>Release:        NetBSD 8.99.12
Not reaching banner.
ELF file is 64 bit
Allocating memory for ELF segment: addr: 0xffffffff80200000 (adjusted to: 0x200000), size 0x4b9420
Allocated memory for ELF segment: addr: 0xffffffff80200000, size 0x4b9420
Processing PHDR 1
  Loading 482010 bytes at ffffffff80200000
  Clearing 37410 bytes at ffffffff80682010
## Loading Linux kernel with entry point: 0xffffffff80200000 ...
Bootloader: Done loading app on coremask: 0x3
phys segment: 0x10000000 @ 0
adding 0x1fe000 @ 0x2000 to freelist 3
adding 0xf946000 @ 0x6ba000 to freelist 3
phys segment: 0x10000000 @ 0x410000000
adding 0x10000000 @ 0x410000000 to freelist 0

Debug printf is showing we have the following trace:

  for (CPU_INFO_FOREACH(cii, ci))

This hangs because cpuid_infos is NULL early in the boot process.

Reorder boot process, or modify CPU_INFO_FOREACH so this is not a null dereference.

Home | Main Index | Thread Index | Old Index