Re: NetBSD 7.0_RC1 on Raspberry Pi : reboots on poweroff

2015-07-11 Thread Christos Zoulas
On Jul 11, 6:08pm, mayur...@acm.org (Mayuresh) wrote: -- Subject: Re: NetBSD 7.0_RC1 on Raspberry Pi : reboots on poweroff | On Sat, Jul 11, 2015 at 12:20:38PM +, Christos Zoulas wrote: | 2. the cpu_reboot code in src/sys/arch/arm/arm32/arm32_reboot.c in 1.6 | which is the revision

Re: NetBSD 7.0_RC1 on Raspberry Pi : reboots on poweroff

2015-07-11 Thread Christos Zoulas
In article 20150711052153.GA3022@odin, Mayuresh mayur...@acm.org wrote: On Sat, Jul 11, 2015 at 04:06:22AM +, Michael van Elst wrote: The RPI cannot power itself off but it should really wait for a keypress. This used to work with a serial console, but maybe not with a USB keyboard. If I

Re: NetBSD 7.0_RC1 on Raspberry Pi : reboots on poweroff

2015-07-11 Thread Mayuresh
On Sat, Jul 11, 2015 at 12:20:38PM +, Christos Zoulas wrote: 2. the cpu_reboot code in src/sys/arch/arm/arm32/arm32_reboot.c in 1.6 which is the revision in netbsd-7 reboots on halt. This has been fixed in later revisions to loop and wait. Thanks. Would it be considered important

Re: NetBSD 7.0_RC1 on Raspberry Pi : reboots on poweroff

2015-07-10 Thread Mayuresh
On Fri, Jul 10, 2015 at 05:54:43PM -0400, Louis Guillaume wrote: # poweroff -p - or if you're not in single-user - # shutdown -p now Should do the trick. shutdown -p now also went to reboot prompt. Mayuresh.

Re: NetBSD 7.0_RC1 on Raspberry Pi : reboots on poweroff

2015-07-10 Thread Michael van Elst
mayur...@acm.org (Mayuresh) writes: I find that when I run poweroff on pi on NetBSD 7.0_RC1, it goes to Press any key to reboot prompt instead of powering itself off. And after some time it reboots. I have to pull the power chord exactly in those moments when it is still at above prompt, else I

Re: NetBSD 7.0_RC1 on Raspberry Pi : reboots on poweroff

2015-07-10 Thread Mayuresh
On Sat, Jul 11, 2015 at 04:06:22AM +, Michael van Elst wrote: The RPI cannot power itself off but it should really wait for a keypress. This used to work with a serial console, but maybe not with a USB keyboard. If I remove the USB keyboard and issue poweroff over ssh, it does not even

Re: NetBSD 7.0_RC1 on Raspberry Pi : reboots on poweroff

2015-07-10 Thread Louis Guillaume
On 7/10/15 7:44 AM, Mayuresh wrote: I find that when I run poweroff on pi on NetBSD 7.0_RC1, it goes to Press any key to reboot prompt instead of powering itself off. And after some time it reboots. I have to pull the power chord exactly in those moments when it is still at above prompt, else I