OPNsense Forum

English Forums => Hardware and Performance => Topic started by: johjoh on November 29, 2017, 10:19:13 pm

Title: [SOLVED] Problem with reboot and shutdown
Post by: johjoh on November 29, 2017, 10:19:13 pm
Hi, I have recently bought this hardware:
https://www.amazon.it/Celeron-Firewall-Fanless-Security-Application/dp/B0746NLTKX/ref=sr_1_1?s=electronics&ie=UTF8&qid=1508315295&sr=1-1&keywords=firewall%2B6%2Bnic&th=1 (https://www.amazon.it/Celeron-Firewall-Fanless-Security-Application/dp/B0746NLTKX/ref=sr_1_1?s=electronics&ie=UTF8&qid=1508315295&sr=1-1&keywords=firewall%2B6%2Bnic&th=1)
Type:Mini PC (Include Separate PSU)
is_customized: Yes
Products Status: Stock
Graphics Card Type: HD
Brand Name: HAMSING
Processor Main Frequency: Dual Core 2.4GHZ
Use: Commercial/Industrial
Memory: 2 Slot DDR4 Max. DDR4 32GB
Processor Brand: Intel
Processor Model: Intel Kaby Lake-U
Model Number: HS-7100U
CPU: Intel i3 7100U
Chipset: Intel Chipset
SATA : 1*MSATA3.0 port,1*SATA3.0 support 6Gb/s(2.5'option)
RAM: 8G
Hard Drive Capacity: 256G
Video: 1*HDMI(no sound)
Network: 6*Intel 82583V 10/100/1000M LAN
USB: 4*usb3.0
1*RJ45 COM Console
Size: 155*126.5*52.5mm

Official page:
http://www.ylgkdn.cn/product/60676909315-803540780/utm_firewall_formerly_Kaby_Lake_i3_7100u_vpn_router_6_Intel_Gigabit_LAN_ultra_mini_pc.html?spm=a2700.icbuShop.prewdfa4cf.74.2ca0c6d8bRf2US (http://www.ylgkdn.cn/product/60676909315-803540780/utm_firewall_formerly_Kaby_Lake_i3_7100u_vpn_router_6_Intel_Gigabit_LAN_ultra_mini_pc.html?spm=a2700.icbuShop.prewdfa4cf.74.2ca0c6d8bRf2US)

I have succesfully installed OPNsense 17.7.5 from USB, but the problem is that it doesn't reboot or shutdown.
Below my try

OPNsense 17.7.5
BIOS UEFI / OPNsense UEFI-GPT
BIOS CSM / OPNsense UEFI-GPT
BIOS CSM / OPNsense MBR

Update to OPNsense 17.7.8
BIOS UEFI / OPNsense UEFI-GPT
BIOS CSM / OPNsense UEFI-GPT
BIOS CSM / OPNsense MBR

If I press the physical Power button it correctly shutdown.
When I reboot or shutdown via keyboard or webpage it freezes and doesn't reboot or shutdown

Code: [Select]
Syncing disks, vnodes remaining... 7 0 0 done
All buffer synced
Uptime: 1m3s
FROZEN WITHOUT REBOOT
(if i detach lan cable it print link disconnected)

With Ubuntu live it reboot and shutdown correctly.
With pfSense it reboot and shutdown correctly.
Any help appreciated
Title: Re: Problem with reboot and shutdown
Post by: franco on December 02, 2017, 03:39:21 pm
Hi there,

Try the 18.1-BETA, someone there mentioned that such a problem was present in FreeBSD 11.0 (OPNsense 17.x) but was fixed in FreeBSD 11.1 (will be OPNsense 18.1).

https://forum.opnsense.org/index.php?topic=6257.0


Cheers,
Franco
Title: Re: Problem with reboot and shutdown
Post by: johjoh on December 11, 2017, 11:41:47 am
I confirm that
Code: [Select]
opnsense-update -bkgr 18.1.b -n "snapshots\/beta"
opnsense-update -L
/usr/local/etc/rc.reboot
solved the problem now reboot and shutdown work correctly.

Thank you
Title: Re: [SOLVED] Problem with reboot and shutdown
Post by: elektroinside on January 09, 2018, 11:06:03 pm
This also fixed my reboot/shutdown procedure. It looks like the base/kernel is now locked.

I'm sure if digging throughout the forum (or console help) i can figure it out how to unlock it so i can upgrade when the time comes for a stable version, but just to be sure, is there something i need to know? Or if it's not too much trouble, can you help me with the steps/commands?

Many thanks
Title: Re: [SOLVED] Problem with reboot and shutdown
Post by: elektroinside on January 09, 2018, 11:18:13 pm
Think i got it:

Code: [Select]
opnsense-update -U
That's it?
Title: Re: [SOLVED] Problem with reboot and shutdown
Post by: franco on January 10, 2018, 08:24:54 am
Yes, that's the command.

But major upgrades auto-unlock to prevent foot-shooting anyway. :)


Cheers,
Franco