Date: Tue, 29 Jan 2019 17:13:56 -0800 From: Mark Millard <marklmi@yahoo.com> To: FreeBSD PowerPC ML <freebsd-ppc@freebsd.org> Cc: Justin Hibbits <chmeeedalf@gmail.com>, Nathan Whitehorn <nwhitehorn@freebsd.org> Subject: PowerMac g5 "4 core" (system total): unload, load, boot gets: "moea64_enter: bpvo pool exhausted, 327680, 327680, 31457280" very early in the boot Message-ID: <A5898726-D02C-4CAB-9D6F-7829470D89FB@yahoo.com>
next in thread | raw e-mail | index | archive | help
[This presumes getting past the Translation map KASSERT that I reported earlier, for example by using a non-debug kernel build. Also I've established a context with usefdt=3D1 implicitly enabled and I've seen the below with both the old and modern VM_MAX_KERNEL_ADDRESS value in place.] If at the loader prompt for the G4 "4 core" I: unload load /boot/kernel/kernel boot or: unload boot /boot/kernel/kernel the following routine's panic happens and reports: moea64_enter: bpvo pool exhausted, 327680, 327680, 31457280 The routine is: static struct pvo_entry * alloc_pvo_entry(int bootstrap) { =20 struct pvo_entry *pvo; =20 if (!moea64_initialized || bootstrap) { if (moea64_bpvo_pool_index >=3D moea64_bpvo_pool_size) { panic("moea64_enter: bpvo pool exhausted, %d, = %d, %zd", moea64_bpvo_pool_index, = moea64_bpvo_pool_size, moea64_bpvo_pool_size * sizeof(struct = pvo_entry)); } pvo =3D &moea64_bpvo_pool[ atomic_fetchadd_int(&moea64_bpvo_pool_index, 1)]; bzero(pvo, sizeof(*pvo)); pvo->pvo_vaddr =3D PVO_BOOTSTRAP; } else { pvo =3D uma_zalloc(moea64_pvo_zone, M_NOWAIT); bzero(pvo, sizeof(*pvo)); } return (pvo); } Such things make switching kernels from the loader prompt problematical. That in turn makes gathering evidence for other boot issues messier. For reference (from a picture of the screen): kdb_backtrace+0x68 vpanic+0x258 panic+0x3c alloc_pvo_entry+0xe4 moea64_kenter_attr+0x44 moea64_late_bootstrap+0x3f4 moeas64_bootstrap_native+0x20c pmap_bootstrap+0xc8 powerpc_init+0x440 =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A5898726-D02C-4CAB-9D6F-7829470D89FB>