Hello,
I'm trying to permanently disable acpi doing the following steps[1].
After the first reboot OS boots fine.
After the second reboot acpi seems to be re-enabled at boot - I get [2].
What Am I doing wrong?

[1]
boot -c
UKC>disable acpi
444 acpi0 disabled
UKC>quit
Continuing...
[...]
mv /bsd /bsd.old
config -e -o /bsd /bsd.old
OpenBSD 6.6 (GENERIC) #3: Thu Nov 21 01:58:46 MST 2019
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
Enter 'help' for information
ukc> disable acpi
444 acpi0 disabled
ukc> quit
Saving modified kernel.

[2]
OpenBSD 6.6 (GENERIC) #3: Thu Nov 21 01:58:46 MST 2019
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
real mem = 1047724032 (999MB)
avail mem = 1003417600 (956MB)
mpath0 at root
scsibus0 at mpath0: 256 targets
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xfcd70 (77 entries)
bios0: vendor Intel Corp. version "BA72210A.86B.0228.2005.1122.2349" date 
11/22/2005
bios0: MAXDATA PLATINUM 100 I M5
acpi0 at bios0: ACPI 2.0
acpi0: sleep states S0 S1 S4 S5
acpi0: tables DSDT FACP APIC MCFG ASF! WDDT
acpi0: wakeup devices PEGP(S4) P0P2(S4) AC97(S4) USB0(S1) USB1(S1) USB2(S1) 
USB3(S1) USB7(S1) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) AZAL(S4) PWRB(S4)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel(R) Celeron(R) CPU 3.06GHz, 3067.28 MHz, 0f-04-09
cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,TM2,CNXT-ID,CX16,xTPR,NXE,LONG,LAHF,MELTDOWN
cpu0: 256KB 64b/line 4-way L2 cache
mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges
cpu0: apic clock running at 133MHz
ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins
acpimcfg0 at acpi0
acpimcfg0: addr 0xe0000000, bus 0-255
acpiprt0 at acpi0: bus 0 (PCI0)
acpiprt1 at acpi0: bus 1 (PEGP)
acpiprt2 at acpi0: bus 6 (P0P2)
acpiprt3 at acpi0: bus 5 (PEX1)
acpiprt4 at acpi0: bus 4 (PEX2)
acpiprt5 at acpi0: bus 3 (PEX3)
acpicpu0 at acpi0: C1(@1 halt!)
acpipwrres0 at acpi0: URP1
acpipwrres1 at acpi0: FDDP
acpipwrres2 at acpi0: LPTP
acpipwrres3 at acpi0: URP2
acpipci0 at acpi0 PCI0panic: malloc: allocation too large, type = 33, size = 
292057776136

Stopped at      db_enter+0x10:  popq    %rbp
    TID    PID    UID     PRFLAGS     PFLAGS  CPU  COMMAND
*     0      0      0     0x10000      0x200    0  swapper
db_enter(10,ffffffff82281280,202,8,ffffffff812c2e00,ffffffff82281280) at db_ent
er+0x10
panic(ffffffff81c2af40,ffffffff81c2af40,ffff80000007a088,21,0,4400000008) at pa
nic+0x128
malloc(4400000008,21,9,4400000008,8642e84c095b2331,ffff80000007a088) at malloc+
0x6d9
aml_parse(ffff80000007a088,74,0,ffff80000007a088,e233b61729a271c4,ffff80000007a
088) at aml_parse+0x1734
aml_parse(ffff80000007a088,54,c,ffff80000007a088,e233b61729a286b7,ffff80000007a
088) at aml_parse+0x54c
aml_eval(0,ffff800000072608,74,ffffffff82281700,ffffffff82281700,0) at aml_eval
+0x33f
aml_evalnode(ffff8000000725ac,ffff800000072588,4,ffffffff82281700,ffffffff82281
820,ffff8000000725ac) at aml_evalnode+0xb5
acpipci_attach(ffff800000021400,ffff800000079d80,ffffffff82281970,ffff800000021
400,f736340b0bc20316,ffff800000021400) at acpipci_attach+0xf7
config_attach(ffff800000021400,ffffffff81f06328,ffffffff82281970,ffffffff81aa8a
50,472b3934561bab9a,ffff800000041708) at config_attach+0x1ee
acpi_foundhid(ffff800000041708,ffff800000021400,c02f249ab5605f64,ffffffff81aabc
c0,ffff800000021400,ffff800000041188) at acpi_foundhid+0x2dc
aml_find_node(ffff800000041188,ffffffff81c413d0,ffffffff81aabcc0,ffff8000000214
00,c1874c1cd841fb5c,ffffffff81aabcc0) at aml_find_node+0x84
aml_find_node(ffff800000023a88,ffffffff81c413d0,ffffffff81aabcc0,ffff8000000214
00,c1874c1cd841fb5c,ffffffff81aabcc0) at aml_find_node+0xb1
aml_find_node(ffffffff81f90200,ffffffff81c413d0,ffffffff81aabcc0,ffff8000000214
00,c1874c1cd8e35490,ffffffff82281b50) at aml_find_node+0xb1
acpi_attach_common(ffff800000021400,f5600,f55897af781bc332,ffff800000023180,fff
fffff82281c58,ffffffff81f31230) at acpi_attach_common+0x7ad
end trace frame: 0xffffffff82281c40, count: 0
https://www.openbsd.org/ddb.html describes the minimum info required in bug
reports.  Insufficient info makes it difficult to find and fix bugs.
ddb>

-- 
Radek

Reply via email to