Discussion:
Can't boot SGI O2
KIYOHARA Takashi
2013-04-18 13:53:37 UTC
Permalink
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
KIYOHARA Takashi
2013-04-30 13:11:24 UTC
Permalink
Hi! all,


From: KIYOHARA Takashi <***@kk.iij4u.or.jp>
Date: Thu, 18 Apr 2013 22:53:37 +0900 (JST)
Post by KIYOHARA Takashi
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()
Post by KIYOHARA Takashi
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
Nicolas Joly
2013-05-15 16:26:56 UTC
Permalink
On Tue, Apr 30, 2013 at 10:11:24PM +0900, KIYOHARA Takashi wrote:
[...]
Post by KIYOHARA Takashi
Post by KIYOHARA Takashi
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()
Hi,

The attached patch makes my PWS500au alpha boot again by restoring the
case where buf_map is not yet mapped when called early from
pmap_bootstrap().
--
Nicolas Joly

Biology IT Center
Institut Pasteur, Paris.
KIYOHARA Takashi
2013-05-18 10:47:26 UTC
Permalink
Hi! Nicolas,


From: Nicolas Joly <***@pasteur.fr>
Date: Wed, 15 May 2013 18:26:56 +0200
Post by Nicolas Joly
[...]
Post by KIYOHARA Takashi
Post by KIYOHARA Takashi
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()
Hi,
The attached patch makes my PWS500au alpha boot again by restoring the
case where buf_map is not yet mapped when called early from
pmap_bootstrap().
Excellent!
My AlphaStation 500/333 works fine.

However I can't test on sgimips. My sgimips(O2) died... X-<
Maybe power suply.

Please commit your patch. :-)

Thanks,
--
kiyohara
Steven J. Hill
2013-07-19 19:28:29 UTC
Permalink
Hello.

Oracle/Sun/Cobalt's FTP site no longer has the Qube2 ISO image of the restore
CD. Does anyone have the image somewhere that I could download it from? Thanks.

Steve
Steven J. Hill
2013-07-19 19:28:29 UTC
Permalink
Hello.

Oracle/Sun/Cobalt's FTP site no longer has the Qube2 ISO image of the restore
CD. Does anyone have the image somewhere that I could download it from? Thanks.

Steve

Continue reading on narkive:
Loading...