Re: poweroff and shutdown -p now only reboot my machine

2018-08-10 Thread Pedro Pinho
Just to get this here.
I've moved the SSD drive containing NetBSD to another machine and both
commands are working properly.
Regards

Den mån 30 juli 2018 16:29Pedro Pinho  skrev:

> Ok! I've checked hp's webpage.
> No BIOS updates available under Linux. Of course, there's no reference to
> any BSD.
> There're updates available to both BIOS and firmware under Windows, but I
> don't have any Windows machine.
> I can try to make a DOS bootable USB and boot in UEFI mode to try to
> update the BIOS, but I won't be able to do this before earliest next week

Re: poweroff and shutdown -p now only reboot my machine

2018-07-30 Thread Pedro Pinho
Ok! I've checked hp's webpage.
No BIOS updates available under Linux. Of course, there's no reference to
any BSD.
There're updates available to both BIOS and firmware under Windows, but I
don't have any Windows machine.
I can try to make a DOS bootable USB and boot in UEFI mode to try to update
the BIOS, but I won't be able to do this before earliest next week.

Regards


Den mån 30 juli 2018 11:19Martin Husemann  skrev:

> On Mon, Jul 30, 2018 at 11:12:46AM +0200, Pedro Pinho wrote:
> > I'll check if there are any BIOS updates available and reply back.
> > No error messages at all. The only line displayed after X closes is
> > syncing disks...done
> >
> > There are some errors related to acpi. If I boot with acpi, I get 12
> errors
> > while detecting hardware. If I boot without acpi, I get just 5 errors.
> >
> > Would it help if I post dmesg output?
>
> Yes, please (both with and without acpi). You are seeing the shutdown not
> being done through ACPI, which is very strange on any machine made after
> ~ 2000.
>
> Martin
>


Fwd: poweroff and shutdown -p now only reboot my machine

2018-07-30 Thread Pedro Pinho
-- Forwarded message --
From: Pedro Pinho 
Date: 2018-07-30 10:20 GMT+00:00
Subject: Re: poweroff and shutdown -p now only reboot my machine
To: Martin Husemann 


Thank you for your help.
Here are the dmesg outputs
with acpi https://pastebin.com/2CWXn6n5
without acpi https://pastebin.com/xNntrJHU
Thanks

2018-07-30 9:19 GMT+00:00 Martin Husemann :

> On Mon, Jul 30, 2018 at 11:12:46AM +0200, Pedro Pinho wrote:
> > I'll check if there are any BIOS updates available and reply back.
> > No error messages at all. The only line displayed after X closes is
> > syncing disks...done
> >
> > There are some errors related to acpi. If I boot with acpi, I get 12
> errors
> > while detecting hardware. If I boot without acpi, I get just 5 errors.
> >
> > Would it help if I post dmesg output?
>
> Yes, please (both with and without acpi). You are seeing the shutdown not
> being done through ACPI, which is very strange on any machine made after
> ~ 2000.
>
> Martin
>


Re: poweroff and shutdown -p now only reboot my machine

2018-07-30 Thread Martin Husemann
On Mon, Jul 30, 2018 at 10:39:35AM +0200, Pedro Pinho wrote:
> All the following commands act like reboot:
> sudo poweroff
> sudo shutdown -p now
> sudo halt -v
> The machine closes down all running applications and apears to shutdown,
> but immediately starts booting again, exactly like reboot. Actually, I see
> no difference if I issue
> sudo reboot

OK. After it shuts down everything, there should be a few kernel messages
(in green) on the text console. The last one is typically something like:

acpi: entering S5

or similar. Do you see those? Any errors printed there in the last seconds
before it reboots?

This may be a problem with you BIOS/Firmware and it is worth to
check if there is an update available.

Martin


Re: poweroff and shutdown -p now only reboot my machine

2018-07-30 Thread Pedro Pinho
First of all thank you for your reply.
I'm really enjoying this system.
Yes, of course.
All the following commands act like reboot:
sudo poweroff
sudo shutdown -p now
sudo halt -v
The machine closes down all running applications and apears to shutdown,
but immediately starts booting again, exactly like reboot. Actually, I see
no difference if I issue
sudo reboot

Also, when booting it shows
random_seed: /etc/entropy-file: Not present, which I belive is consistent
with rebooting behaviour.
If I hard shutdown by pressing the power bottom, which I know I shouldn’t
do, the random_seed is present and read at boot.

Currently, I shutdown the laptop and press the power button when it starts
to boot up again, but I would prefer if I could shutdown the system
properly.

NetBSD-8 running now is updated from the RC_2 release if that matters.

Thanks

Den mån 30 juli 2018 10:20Martin Husemann  skrev:

> On Sun, Jul 29, 2018 at 09:03:04PM +, Pedro Pinho wrote:
> > All these are my last attempts at shutting down my machine.
> > Please find the full log here, https://pastebin.com/PKEtRqWP
>
> Can you please give concrete commands that you invoke and explain
> the result? Nothing in that log looks wrong. Ignore the syslog restart
> messages.
>
> Martin
>


Re: poweroff and shutdown -p now only reboot my machine

2018-07-30 Thread Martin Husemann
On Sun, Jul 29, 2018 at 09:03:04PM +, Pedro Pinho wrote:
> All these are my last attempts at shutting down my machine.
> Please find the full log here, https://pastebin.com/PKEtRqWP

Can you please give concrete commands that you invoke and explain
the result? Nothing in that log looks wrong. Ignore the syslog restart
messages.

Martin


poweroff and shutdown -p now only reboot my machine

2018-07-30 Thread Pedro Pinho
Hi all,
Just installed NetBSD-8 on my laptop hp probook 6470b
I've been using Void Linux musl-libC build with awesome wm for quite
sometime,
but this is my first NetBSD machine.
Most things are working just fine.
Wifi doesn't work due to a, I think, unsupported broadcom chip.
Although, this is not an issue, since I plan to replace this chip anyway.

My problem is that both poweroff and shutdown -p now only reboot the laptop.

Here are the specs,
pin@NetBSD-8 ~$ pcictl pci0 list
000:00:0: Intel Ivy Bridge Host Bridge (host bridge, revision 0x09)
000:02:0: Intel Ivy Bridge Integrated Graphics Device (VGA display,
revision 0x09)
000:20:0: Intel 7 Series USB xHCI (USB serial bus, xHCI, revision 0x04)
000:22:0: Intel 7 Series MEI Controller (miscellaneous communications,
revision 0x04)
000:25:0: Intel 82579V Gigabit Network Connection (ethernet network,
revision 0x04)
000:26:0: Intel 7 Series USB EHCI (USB serial bus, EHCI, revision 0x04)
000:27:0: Intel 7 Series HD Audio (mixed mode multimedia, revision 0x04)
000:28:0: Intel 7 Series PCIE (PCI bridge, revision 0xc4)
000:28:1: Intel 7 Series PCIE (PCI bridge, revision 0xc4)
000:28:2: Intel 7 Series PCIE (PCI bridge, revision 0xc4)
000:28:3: Intel 7 Series PCIE (PCI bridge, revision 0xc4)
000:29:0: Intel 7 Series USB EHCI (USB serial bus, EHCI, revision 0x04)
000:31:0: Intel Mobile HM76 LPC (ISA bridge, revision 0x04)
000:31:2: Intel 7 Series (mobile) SATA Controller (AHCI) (SATA mass
storage, AHCI 1.0, revision 0x04)
035:00:0: JMicron Technology JMB38X IEEE 1394 Host Controller (IEEE1394
serial bus, OpenHCI, revision 0x30)
035:00:1: JMicron Technology JMB388 SD/MMC Host Controller (miscellaneous
system, revision 0x30)
035:00:2: JMicron Technology JMB388 SD Host Controller (SD Host Controller
system, interface 0x01, revision 0x30)
036:00:0: Broadcom BCM43228 Dualband 802.11 (miscellaneous network)

Also, as you can see bellow every attempt to poweroff is logged as a restart
pin@NetBSD-8 ~$ cat /var/log/messages | grep
restart

Jul 28 20:00:00 NetBSD-8 syslogd[281]: restart
Jul 28 21:00:00 NetBSD-8 syslogd[281]: restart
Jul 28 21:05:17 NetBSD-8 syslogd[282]: restart
Jul 28 23:01:59 NetBSD-8 syslogd[281]: restart
Jul 29 09:51:20 NetBSD-8 syslogd[281]: restart
Jul 29 11:45:55 NetBSD-8 syslogd[281]: restart

All these are my last attempts at shutting down my machine.
Please find the full log here, https://pastebin.com/PKEtRqWP

Is there a way to solve this issue?
Thank you all

pin

A screenshot to show that other things are just fine,
https://imgur.com/GmWUskg