Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Can't boot alpha and mips(Re: Can't boot SGI O2)



Hi! all,


From: KIYOHARA Takashi <kiyohara%kk.iij4u.or.jp@localhost>
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


Home | Main Index | Thread Index | Old Index