Freshly installed `install70.iso` and a few packages, X not launched.

`shutdown -r` reboots fine;
`halt` halts fine;
`shutdown -p now`, `halt -p` and `shutdown now` give problems.

On the next power on after `shutdown -p now` or `halt -p`,
upon pressing the power button, it starts,
fans, LEDs, everything works as usual,
works for 4 seconds, nothing has enough time to display on the screen,
then machine powers off.
Repeat - same.
Repeat many times - same.

Unplug the AC cable, plug it again - it does boot properly.

First I had thought the PSU or capacitors or some other hardware fails
and took the computer system unit to a computer service.
They said it is fine and the problem is with the installed OS.
They run a Windows live USB and everything was fine.
I can agree as prior to installing OpenBSD
I tried Linux and everything was fine.
We checked the behavior with their PSU - same 4 seconds and shutdown.

Second I tried `shutdown now` without `-p` but it doesn't shutdown.
Listing (my comments marked: "# [the comment]"):
________________________________________________________________
NAS# shutdown now
Shutdown NOW!
shutdown: [pid 46235]
NAS#
*** FINAL System shutdown message from r...@nas.my.domain ***
System going down IMMEDIATELY



System shutdown time has arrived
reorder_kernel: failed -- see /usr/share/relink/kernel/GENERIC.MP/relink.log
init: kernel security level changed from 1 to 0
Enter pathname of shell or RETURN for sh:        # [pressed RETURN]
NAS# htop
Error opening terminal: unknown.
NAS# shutdown now
Shutdown NOW!
shutdown: [pid 20867]
NAS# shutdown: shutdown by root:

System shutdown time has arrived
pfctl: pf already enabled
starting network
reordering libraries: done.
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
savecore: no core dump
checking quotas: done.
clearing /tmp
kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd smtpd sndiod.
starting local daemons: apmd cron.
Mon Nov 22 14:37:42 EET 2021

OpenBSD/amd64 (NAS.my.domain) (ttyC0)

login: root
Password:        # [entered password]
# [standard welcome message]
NAS# shutdown now
Shutdown NOW!
shutdown: [pid 97529]
NAS#
*** FINAL System shutdown message from r...@nas.my.domain ***
System going down IMMEDIATELY



System shutdown time has arrived
init: kernel security level changed from 1 to 0
Enter pathname of shell or RETURN for sh:        # [pressed RETURN]
NAS# htop
Error opening terminal: unknown.
NAS# shutdown now
Shutdown NOW!
shutdown: [pid 10533]
NAS# shutdown: shutdown by root:

System shutdown time has arrived
pfctl: pf already enabled
starting network
reordering libraries: done.
starting early daemons: syslogd pflogd ntpd.
starting RPC daemons:.
savecore: no core dump
checking quotas: done.
clearing /tmp
kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files.
starting network daemons: sshd smtpd sndiod.
starting local daemons: apmd cron.
Mon Nov 22 15:03:22 EET 2021

OpenBSD/amd64 (NAS.my.domain) (ttyC0)

login: root
Password:        # [entered password]
# [standard welcome message]
NAS# shutdown -p now
# [proper shutdown]
````````````````````````````````````````````````````````````````


________________________________________________________________
> cat /usr/share/relink/kernel/GENERIC.MP/relink.log
(SHA256) /bsd: OK
LD="ld" sh makegap.sh 0xcccccccc gapdummy.o
ld -T ld.script -X --warn-common -nopie -o newbsd ${SYSTEM_HEAD} vers.o ${OBJS}
text    data    bss     dec     hex
18152282        392336  1171456 19716074        12cd7ea
mv newbsd newbsd.gdb
ctfstrip -S -o newbsd newbsd.gdb
rm -f bsd.gdb
mv -f newbsd bsd
install -F -m 700 bsd /bsd && sha256 -h /var/db/kernel.SHA256 /bsd

Kernel has been relinked and is active on next reboot.

SHA256 (/bsd) = 261b1bdbcc948f76d7b88300ffbc743b6e742cb8c17b5cbb55d69878dc23a716
````````````````````````````````````````````````````````````````


________________________________________________________________
NAS# dmesg                                                                      
                                                                                
                    
OpenBSD 7.0 (GENERIC.MP) #1: Fri Oct 29 12:04:07 MDT 2021                       
                                                                                
                    
        
r...@syspatch-70-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP   
                                                                                
                
real mem = 2129526784 (2030MB)
avail mem = 2049024000 (1954MB)
random: good seed from bootblocks
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0000 (75 entries)
bios0: vendor Phoenix Technologies, LTD version "ASUS M2N-E ACPI BIOS Revision 
5001" date 03/23/2010
bios0: ASUSTeK Computer INC. M2N-E
acpi0 at bios0: ACPI 3.0
acpi0: sleep states S0 S1 S3 S4 S5
acpi0: tables DSDT FACP SSDT HPET MCFG APIC
acpi0: wakeup devices HUB0(S5) XVR0(S5) XVR1(S5) XVR2(S5) XVR3(S5) XVR4(S5) 
XVR5(S5) UAR1(S5) USB0(S4) USB2(S4) AZAD(S5) MMAC(S5)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 25000000 Hz
acpimcfg0 at acpi0
acpimcfg0: addr 0xf0000000, bus 0-63
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+, 2210.49 MHz, 0f-4b-02
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8
cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu0: smt 0, core 0, package 0
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 200MHz
cpu1 at mainbus0: apid 1 (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+, 2210.20 MHz, 0f-4b-02
cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,RDTSCP,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8
cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
cpu1: disabling user TSC (skew=-760413)
cpu1: smt 0, core 0, package 1
ioapic0 at mainbus0: apid 4 pa 0xfec00000, version 11, 24 pins, remapped
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (HUB0)
acpibtn0 at acpi0: PWRB
acpipci0 at acpi0 PCI0
acpicmos0 at acpi0
aibs0 at acpi0 RTMP RVLT RFAN GGRP GITM SITM
"PNP0C0B" at acpi0 not configured
acpicpu0 at acpi0: C1(@1 halt!), PSS
acpicpu1 at acpi0: C1(@1 halt!), PSS
acpitz0 at acpi0: critical temperature is 75 degC
acpi_getdevlist: device \\_PR_.CPU0 not found
cpu0: PowerNow! K8 2210 MHz: speeds: 2200 2000 1800 1000 MHz
pci0 at mainbus0 bus 0
"NVIDIA MCP55 Memory" rev 0xa1 at pci0 dev 0 function 0 not configured
pcib0 at pci0 dev 1 function 0 "NVIDIA MCP55 ISA" rev 0xa2
nviic0 at pci0 dev 1 function 1 "NVIDIA MCP55 SMBus" rev 0xa2
iic0 at nviic0
spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-6400CL6
iic1 at nviic0
adt0 at iic1 addr 0x2e: adt7475 rev 0x69
ohci0 at pci0 dev 2 function 0 "NVIDIA MCP55 USB" rev 0xa1: apic 4 int 10, 
version 1.0, legacy support
ehci0 at pci0 dev 2 function 1 "NVIDIA MCP55 USB" rev 0xa2: apic 4 int 11
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 configuration 1 interface 0 "NVIDIA EHCI root hub" rev 2.00/1.00 
addr 1
pciide0 at pci0 dev 4 function 0 "NVIDIA MCP55 IDE" rev 0xa1: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
pciide0: channel 0 ignored (disabled)
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 5 function 0 "NVIDIA MCP55 SATA" rev 0xa2: DMA
pciide1: using apic 4 int 5 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <WDC WD40EFAX-68JH4N1>
wd0: 16-sector PIO, LBA48, 3815447MB, 7814037168 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6
pciide2 at pci0 dev 5 function 1 "NVIDIA MCP55 SATA" rev 0xa2: DMA
pciide2: using apic 4 int 10 for native-PCI interrupt
pciide3 at pci0 dev 5 function 2 "NVIDIA MCP55 SATA" rev 0xa2: DMA
pciide3: using apic 4 int 11 for native-PCI interrupt
ppb0 at pci0 dev 6 function 0 "NVIDIA MCP55" rev 0xa2
pci1 at ppb0 bus 1
nfe0 at pci0 dev 8 function 0 "NVIDIA MCP55 LAN" rev 0xa2: apic 4 int 10, 
address 00:18:f3:5f:b2:dd
eephy0 at nfe0 phy 1: 88E1116 Gigabit PHY, rev. 1
ppb1 at pci0 dev 15 function 0 "NVIDIA MCP55 PCIE" rev 0xa2
pci2 at ppb1 bus 2
radeondrm0 at pci2 dev 0 function 0 "ATI Radeon HD 4670" rev 0x00
drm0 at radeondrm0
radeondrm0: apic 4 int 11
azalia0 at pci2 dev 0 function 1 "ATI Radeon HD 4000 HD Audio" rev 0x00: apic 4 
int 10
azalia0: no supported codecs
pchb0 at pci0 dev 24 function 0 "AMD 0Fh HyperTransport" rev 0x00
pchb1 at pci0 dev 24 function 1 "AMD 0Fh Address Map" rev 0x00
pchb2 at pci0 dev 24 function 2 "AMD 0Fh DRAM Cfg" rev 0x00
kate0 at pci0 dev 24 function 3 "AMD 0Fh Misc Cfg" rev 0x00: core rev BH-F2
isa0 at pcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5 irq 1 irq 12
pckbd0 at pckbc0 (kbd slot)
wskbd0 at pckbd0: console keyboard
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
it0 at isa0 port 0x2e/2: IT8716F rev 0, EC port 0x290
usb1 at ohci0: USB revision 1.0
uhub1 at usb1 configuration 1 interface 0 "NVIDIA OHCI root hub" rev 1.00/1.00 
addr 1
vmm0 at mainbus0: SVM
dt: 445 probes
umass0 at uhub0 port 10 configuration 1 interface 0 "Generic Mass Storage 
Device" rev 2.00/1.00 addr 2
umass0: using SCSI over Bulk-Only
scsibus1 at umass0: 2 targets, initiator 0
sd0 at scsibus1 targ 1 lun 0: <Generic, USB SD Reader, 1.00> removable
sd1 at scsibus1 targ 1 lun 1: <Generic, USB CF Reader, 1.01> removable
sd2 at scsibus1 targ 1 lun 2: <Generic, USB SM Reader, 1.02> removable
sd3 at scsibus1 targ 1 lun 3: <Generic, USB MS Reader, 1.03> removable
uhidev0 at uhub1 port 4 configuration 1 interface 0 "SEM USB Keyboard" rev 
1.10/1.10 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 variable keys, 6 key codes
wskbd1 at ukbd0 mux 1
uhidev1 at uhub1 port 4 configuration 1 interface 1 "SEM USB Keyboard" rev 
1.10/1.10 addr 2
uhidev1: iclass 3/0, 2 report ids
ucc0 at uhidev1 reportid 1: 573 usages, 18 keys, array
wskbd2 at ucc0 mux 1
uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
scsibus3 at softraid0: 256 targets
sd4 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006>
sd4: 3815447MB, 512 bytes/sector, 7814036576 sectors
root on sd4a (2cc485505cbe61eb.a) swap on sd4b dump on sd4b
radeondrm0: RV730
radeondrm0: 1024x768, 32bpp
wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using wskbd0
wskbd1: connecting to wsdisplay0
wskbd2: connecting to wsdisplay0
wsdisplay0: screen 1-5 added (std, vt100 emulation)
acpitz0: _AL0[0] _PR0 failed
````````````````````````````````````````````````````````````````


Reply via email to