Re: NetBSD 10.0 - configure test process hang
Riccardo Mottola <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.sparc |
|---|---|
| Message-ID | <[email protected]> |
Hi Matthew, matthew green wrote: > i was just noticing that "pmap 0" on my ss20 is saying 209MB, and > while i forget exactly how that maps to the KVA limit of 224MB (some > of it may not be in the same region?), this seems close, and there is > a*lot* of free ram still, top says: What is KVA? in which relation to Memory should it be? My SS20 is currently configured as: SPARCstation 20 MP (2 X SuperSPARC-II), No Keyboard ROM Rev. 2.25, 384 MB memory installed, Serial #4997963. > > Memory: 156M Act, 9160K Inact, 9512K Wired, 7688K Exec, 136M File, 250M Free > Swap: 512M Total, 42M Used, 470M Free / Pools: 70M Used / Network: 5K In, 46K Out > > anyway, a few years ago i was noticing that the system would hang a > bit under some types of load because of hitting the KVA limit, and > i wrote a patch to increase this by 128MB, though at that point my > ss20 stopped working right and i got distracted. > > anyway, can you try this patch? > > https://www.netbsd.org/~mrg/sparc.starvation.v2.diff > > it did get some decent testing a while ago, but i haven't yet booted > a new kernel with it now, though i have confirmed it builds. > > it probably works for -10 branch too, as it was originaly worked on > before -10 actually branched. I downloaded 10.0 sources, used GENERIC.MP config file, copied to my custom name, no changes. Applied your patches, did a native compilation (which completed) installed and at boot, machine is not reachable. I attach serial console and see this: >> NetBSD/sparc Secondary Boot, Revision 1.15 (Thu Mar 28 08:33:33 UTC 2024) Booting netbsd.ss20 4912780+132476 [308512+290198]=0x5623c4 OBP version 3, revision 2.25 (plugin rev 2) [ 1.0000000] panic: uvm_km_bootstrap: could not reserve kernel kmem [ 1.0000000] cpu0: Begin traceback... [ 1.0000000] 0x0(0xf0423618, 0xf0492e10, 0xf04ceaf8, 0x104, 0xf04cec00, 0xf04cdc00) at netbsd:panic+0x20 [ 1.0000000] panic(0xf0423618, 0xf04c8bd8, 0xf000000, 0x0, 0xffffffff, 0xffffffff) at netbsd:uvm_km_bootstrap+0x114 [ 1.0000000] uvm_km_bootstrap(0xf0d01000, 0xf0492e40, 0xf04c8800, 0xf04c8390, 0xf000000, 0xf04c8800) at netbsd:uvm_ic [ 1.0000000] uvm_init(0xf04cdd50, 0xf047ce90, 0xf04a3ea8, 0xf04b2500, 0xf047ce90, 0xf04a41d8) at netbsd:main+0x6c [ 1.0000000] main(0x0, 0xf03f86f0, 0xf04a2c00, 0x2000, 0xf04b3800, 0xf0002000) at netbsd:nmi_sun4m+0xd30 [ 1.0000000] cpu0: End traceback... Stopped in pid 0.0 (system) at netbsd:cpu_Debugger+0x4: or %o7, %g0, %g1 I'm not versed here to get better information.... What should I do? Riccardo