Can't boot SGI O2

KIYOHARA Takashi <[email protected]> Thu, 18 Apr 2013 22:53:37 +0900 (JST)
Newsgroups gmane.os.netbsd.ports.mips.devel,gmane.os.netbsd.ports.sgimips
Message-ID <[email protected]>
Hi!


My SGI O2 can't boot.  It hangs up in pmap.c:pmap_bootstrap().

arch/mips/mips/locore.S
  arch/sgimips/sgimips/mach_init()
    arch/mips/mips/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?

Thanks,
--
kiyohara