Discussion:
ping
Masao Uebayashi
2014-04-12 05:27:47 UTC
Permalink
Just in case this list is alive...

I think I've broken the hppa port (== __MACHINE_STACK_GROWS_UP), for
the last half day or so. Could anyone test if kernel boots with
src/sys/kern/kern_exec.c Rev. 1.186?

Thanks.

Masao
Masao Uebayashi
2014-04-12 07:43:50 UTC
Permalink
Post by Masao Uebayashi
Just in case this list is alive...
I think I've broken the hppa port (== __MACHINE_STACK_GROWS_UP), for
the last half day or so. Could anyone test if kernel boots with
src/sys/kern/kern_exec.c Rev. 1.186?
Thanks.
Masao
Latest HEAD doesn't boot
That's not good.

Probably 1.383 works, 1.384 doesn't?
init: copying out path `/sbin/init' 11
pid 1 (init) trap #6
pid 1 (init) backtrace, starting with fp 0xb0001080
sys/kern/kern_exec.c revision 1.387
Nick
Nick Hudson
2014-04-12 08:13:30 UTC
Permalink
Post by Masao Uebayashi
Post by Masao Uebayashi
Just in case this list is alive...
I think I've broken the hppa port (== __MACHINE_STACK_GROWS_UP), for
the last half day or so. Could anyone test if kernel boots with
src/sys/kern/kern_exec.c Rev. 1.186?
Thanks.
Masao
Latest HEAD doesn't boot
That's not good.
Probably 1.383 works, 1.384 doesn't?
Actually, they both start init ok.

Nick
Masao Uebayashi
2014-04-12 15:14:09 UTC
Permalink
I think I've restored the original behavior (stack pointer) and now
hp700 boots again.

According to old comments, SP used to points to the top (lowest) of
argc/argv/env/aux/strings, not the bottom (highest). It'd be
interesting to run a very old userland (ld.so) on a new kernel...
Nick Hudson
2014-04-12 07:20:19 UTC
Permalink
Post by Masao Uebayashi
Just in case this list is alive...
I think I've broken the hppa port (== __MACHINE_STACK_GROWS_UP), for
the last half day or so. Could anyone test if kernel boots with
src/sys/kern/kern_exec.c Rev. 1.186?
Thanks.
Masao
Latest HEAD doesn't boot

init: copying out path `/sbin/init' 11
pid 1 (init) trap #6
pid 1 (init) backtrace, starting with fp 0xb0001080

sys/kern/kern_exec.c revision 1.387

Nick
Loading...