NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/57626: rump does not work on architectures with variadic page size when host page size is != 4k
>Number: 57626
>Category: kern
>Synopsis: rump does not work on architectures with variadic page size when host page size is != 4k
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Sep 24 09:30:01 +0000 2023
>Originator: Martin Husemann
>Release: NetBSD 10.99.9
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD nelly.aprisoft.de 10.99.9 NetBSD 10.99.9 (NELLY) #75: Sun Sep 24 09:30:35 CEST 2023 martin%seven-days-to-the-wolves.aprisoft.de@localhost:/work/src/sys/arch/sparc64/compile/NELLY sparc
Architecture: sparc
Machine: sparc
>Description:
>How-To-Repeat:
run sparc (32bit) userland on a sparc with not 4k pagesize, e.g. on a sparc64
machine under netbsd32 emulation and do:
$ cd /usr/tests/net/bpfjit
$ atf-run t_bpfjit
This will show several rump kernel panics like this:
[ 1.0500050] panic: uvm_km_alloc failed
[ 1.0500050] rump kernel halting...
This is due to the PAGE_SIZE used by the rump components being set to 4k,
see
#define FAKE_PAGE_SHIFT 12
in sys/rump/librump/rumpkern/vm.c
>Fix:
query hypervisor for actual page size
Home |
Main Index |
Thread Index |
Old Index