Can't boot alpha and mips(Re: Can't boot SGI O2)
KIYOHARA Takashi <[email protected]> Tue, 30 Apr 2013 22:11:24 +0900 (JST)
| Newsgroups | gmane.os.netbsd.ports.alpha,gmane.os.netbsd.current,gmane.os.netbsd.ports.mips.devel,gmane.os.netbsd.ports.sgimips |
|---|---|
| Message-ID | <[email protected]> |
Hi! all, From: KIYOHARA Takashi <[email protected]> Date: Thu, 18 Apr 2013 22:53:37 +0900 (JST) > My SGI O2 can't boot. It hangs up in pmap.c:pmap_bootstrap(). > > arch/mips/mips/locore.S arch/sgimips/sgimips/machdep.c:mach_init() arch/mips/mips/pmap.c:pmap_bootstrap() > kern/vfs_bio.c:buf_memcalc() > if (bufpages != 0) { > : > } else { > : > mapsz = vm_map_max(buf_map) - vm_map_min(buf_map); > } > kern/init_main.c:main() > : > kern/vfs_bio.c:bufinit() > if (bufmem_valimit != 0) { > : > buf_map = uvm_km_suballoc(...) > : > } else > buf_map = kernel_map; > > > And valiable 'bufpages' is maybe 0 on all mips ports. > > #ifndef BUFPAGES > # define BUFPAGES > #endif > > u_int bufpages = BUFPAGES; > > > How we avoid this problem? Also can't boot alpha machine. arch/alpha/alpha/machdep.c:alpha_init() arch/alpha/alpha/pmap.c:pmap_bootstrap() kern/vfs_bio.c:buf_memcalc() : Thanks, -- kiyohara