> Date: Tue, 23 Mar 2021 14:14:40 +0100 > From: Theo Buehler <t...@theobuehler.org>
It would help if you could try and boot a kernel that adds some debug prints instead of calling aml_die(). Probably need to know the values of alen, bpos, blen, mode and flag for starters. Cheers, Mark > I tried installing OpenBSD on a Dell Precision 3640. bsd.rd gets stuck > in a reboot loop as detailed further below. Booting a pre-installed > memory stick panics while parsing the aml. I upgraded to the latest BIOS > but that didn't help. > > As I could not boot OpenBSD, I attached the output of FreeBSD's > 'acpidump -dt'. If there's a better way to get my hands at this info, > please let me know how. > > When trying to boot the latest snapshot from a memory stick, I run into > this panic (hand transcribed): > > ... > efifb at mainbus0 not configured > Invalid GenericSerialBus access > 488bd Called: \_SB_.PCI0.I2C0.PAS1 > local0: 0xffff80000044a508 cnt:01 stk:60 integer: 1 > 4868c Called: \_GPE._L42 > panic: aml_die aml_rwgsb:2549 > stopped at db_enter+0x10: popq %rbp > TID PID UID PAFLAGS PFLAGS CPU COMMAND > * 17224 58818 0 0x14000 0x40000200 0K acpi0 > db_enter() at db_enter+0x10 > panic() at panic+0x12a > _aml_die() at _aml_die+0x3e1 > aml_rwgsb() at aml_rwgsb+0x342 > aml_rwfield() at aml_rwfield+0x3a0 > aml_eval() at aml_eval+0x284 > aml_parse() at aml_parse+0x2e19 > aml_parse() at aml_parse+0x3bc > aml_eval() at aml_eval+0x317 > aml_parse() at aml_parse+0x2e19 > aml_eval() at aml_eval+0x317 > aml_evalnode() at aml_evalnode+0xb4 > acpi_gpe() at acpi_gpe+0x30 > acpi_thread() at acpi_thread+0x1b8 > end trace frame: 0x0, count: 1 > > I cannot type anything at the ddb> prompt. > > Below is the output of 6.8-release bsd.rd. I tried grabbing some > information with 6.9-current, but it flashes by too quickly for my > camera to register the relevant info in a readable way. > > ... > efifb0 at mainbus0: 2560x1448, 32bpp > wsdisplay0 at efifb0 mux 1: console (std, vt100 emulation), using wskbd0 > aml_rwgen: unregistered RegionSpace 0x9 > Could not convert 0 to 3 > > panic: aml_die aml_convert:2093 > syncing disks...uvmfault(0xffffffff01930030, 0xbc8, 0, 1) -> e > fatal page fault in supervisor mode > trap type 6 code 0 rip ffffffff010e280b cs 0 rflags 10206 cr2 bc0 cpl 0 rsp > ffff00001f76700 > gsbase 0xffffffff010cdff0 keybase 0x0 > panic: trap type 6 code=0, pc=ffffffff010e280b > > dump to dev 17,1 not possible > rebooting... > > > In case it's of any use, here's the dmesg generated by the > FreeBSD-12.2-RELEASE-amd64-memstick.img. Note that it contains these > which seems to match the aml in the above transcription: > > ACPI Error: No handler for Region [WST1] (0xfffff80003c27c00) > [GenericSerialBus] (20200430/evregion-288) > ACPI Error: Region GenericSerialBus (ID=9) has no handler > (20200430/exfldio-428) > ACPI Error: Aborting method \134_SB.PCI0.I2C0.PAS1 due to previous error > (AE_NOT_EXIST) (20200430/psparse-689) > ACPI Error: Aborting method \134_GPE._L42 due to previous error > (AE_NOT_EXIST) (20200430/psparse-689) > ACPI Error: AE_NOT_EXIST, while evaluating GPE method [_L42] > (20200430/evgpe-708) > > ---<<BOOT>>--- > Copyright (c) 1992-2020 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 12.2-RELEASE r366954 GENERIC amd64 > FreeBSD clang version 10.0.1 (g...@github.com:llvm/llvm-project.git > llvmorg-10.0.1-0-gef32c611aa2) > VT(efifb): resolution 800x600 > CPU: Intel(R) Core(TM) i7-10700K CPU @ 3.80GHz (3792.23-MHz K8-class CPU) > Origin="GenuineIntel" Id=0xa0655 Family=0x6 Model=0xa5 Stepping=5 > > Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> > > Features2=0x7ffafbff<SSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,SDBG,FMA,CX16,xTPR,PDCM,PCID,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,TSCDLT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND> > AMD Features=0x2c100800<SYSCALL,NX,Page1GB,RDTSCP,LM> > AMD Features2=0x121<LAHF,ABM,Prefetch> > Structured Extended > Features=0x29c67af<FSGSBASE,TSCADJ,SGX,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,NFPUSG,MPX,RDSEED,ADX,SMAP,CLFLUSHOPT,PROCTRACE> > Structured Extended Features2=0x40000008<PKU,SGXLC> > Structured Extended > Features3=0xbc000400<MD_CLEAR,IBPB,STIBP,L1DFL,ARCH_CAP,SSBD> > XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES> > IA32_ARCH_CAPS=0x2b<RDCL_NO,IBRS_ALL,SKIP_L1DFL_VME> > VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID,VID,PostIntr > TSC: P-state invariant, performance statistics > real memory = 34359738368 (32768 MB) > avail memory = 33005989888 (31476 MB) > Event timer "LAPIC" quality 600 > ACPI APIC Table: <DELL CBX3 > > FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs > FreeBSD/SMP: 1 package(s) x 8 core(s) x 2 hardware threads > arc4random: no preloaded entropy cache > ioapic0 <Version 2.0> irqs 0-119 on motherboard > Launching APs: 1 5 13 3 14 4 7 2 9 12 8 11 15 10 6 > Timecounter "TSC-low" frequency 1896115752 Hz quality 1000 > random: entropy device external interface > kbd1 at kbdmux0 > 000.000023 [4336] netmap_init netmap: loaded module > [ath_hal] loaded > module_register_init: MOD_LOAD (vesa, 0xffffffff81115e40, 0) error 19 > random: registering fast source Intel Secure Key RNG > random: fast provider: "Intel Secure Key RNG" > nexus0 > efirtc0: <EFI Realtime Clock> on motherboard > efirtc0: registered as a time-of-day clock, resolution 1.000000s > cryptosoft0: <software crypto> on motherboard > acpi0: <DELL CBX3 > on motherboard > acpi0: Power Button (fixed) > cpu0: <ACPI CPU> on acpi0 > hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 > Timecounter "HPET" frequency 24000000 Hz quality 950 > Event timer "HPET" frequency 24000000 Hz quality 350 > Event timer "HPET1" frequency 24000000 Hz quality 340 > Event timer "HPET2" frequency 24000000 Hz quality 340 > Event timer "HPET3" frequency 24000000 Hz quality 340 > Event timer "HPET4" frequency 24000000 Hz quality 340 > Event timer "HPET5" frequency 24000000 Hz quality 340 > Event timer "HPET6" frequency 24000000 Hz quality 340 > Event timer "HPET7" frequency 24000000 Hz quality 340 > atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0 > atrtc0: Warning: Couldn't map I/O. > atrtc0: registered as a time-of-day clock, resolution 1.000000s > Event timer "RTC" frequency 32768 Hz quality 0 > attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > apei0: <ACPI Platform Error Interface> on acpi0 > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1808-0x180b on acpi0 > pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 > pci0: <ACPI PCI bus> on pcib0 > pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 > pci1: <ACPI PCI bus> on pcib1 > nvme0: <Generic NVMe Device> mem 0x91030000-0x91037fff,0x91020000-0x9102ffff > at device 0.0 on pci1 > vgapci0: <VGA-compatible display> port 0x3000-0x303f mem > 0x90000000-0x90ffffff,0x80000000-0x8fffffff at device 2.0 on pci0 > vgapci0: Boot video device > xhci0: <XHCI (generic) USB 3.0 controller> mem 0x4000100000-0x400010ffff at > device 20.0 on pci0 > xhci0: 32 bytes context size, 64-bit DMA > usbus0 on xhci0 > usbus0: 5.0Gbps Super Speed USB v3.0 > pci0: <memory, RAM> at device 20.2 (no driver attached) > pci0: <serial bus> at device 21.0 (no driver attached) > pci0: <serial bus> at device 21.1 (no driver attached) > pci0: <simple comms> at device 22.0 (no driver attached) > pci0: <mass storage, RAID> at device 23.0 (no driver attached) > pci0: <simple comms> at device 30.0 (no driver attached) > isab0: <PCI-ISA bridge> at device 31.0 on pci0 > isa0: <ISA bus> on isab0 > hdac0: <Intel Comet Lake-H HDA Controller> mem > 0x4000110000-0x4000113fff,0x4000000000-0x40000fffff at device 31.3 on pci0 > pci0: <serial bus> at device 31.5 (no driver attached) > em0: <Intel(R) PRO/1000 Network Connection> mem 0x91180000-0x9119ffff at > device 31.6 on pci0 > em0: Using 1024 TX descriptors and 1024 RX descriptors > em0: Using an MSI interrupt > em0: Ethernet address: a4:bb:6d:5b:43:8e > em0: netmap queues/slots: TX 1/1024, RX 1/1024 > acpi_button0: <Sleep Button> on acpi0 > acpi_button1: <Power Button> on acpi0 > acpi_tz0: <Thermal Zone> on acpi0 > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 7 flags 0x10 on acpi0 > acpi_syscontainer0: <System Container> on acpi0 > atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 > atkbd0: <AT Keyboard> irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > atkbdc0: non-PNP ISA device will be removed from GENERIC in FreeBSD 12. > est0: <Enhanced SpeedStep Frequency Control> on cpu0 > Timecounters tick every 1.000 msec > arc4random: no preloaded entropy cache > ACPI Error: No handler for Region [WST1] (0xfffff80003c27c00) > [GenericSerialBus] (20200430/evregion-288) > ACPI Error: Region GenericSerialBus (ID=9) has no handler > (20200430/exfldio-428) > ACPI Error: Aborting method \134_SB.PCI0.I2C0.PAS1 due to previous error > (AE_NOT_EXIST) (20200430/psparse-689) > ACPI Error: Aborting method \134_GPE._L42 due to previous error > (AE_NOT_EXIST) (20200430/psparse-689) > ACPI Error: AE_NOT_EXIST, while evaluating GPE method [_L42] > (20200430/evgpe-708) > ugen0.1: <0x8086 XHCI root HUB> at usbus0 > uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 > nvd0: <WD_BLACK AN1500> NVMe namespace > nvd0: 953752MB (1953284096 512 byte sectors) > hdacc0: <Realtek ALC256 HDA CODEC> at cad 0 on hdac0 > hdaa0: <Realtek ALC256 Audio Function Group> at nid 1 on hdacc0 > pcm0: <Realtek ALC256 (Analog 2.0+HP)> at nid 20,33 on hdaa0 > pcm1: <Realtek ALC256 (Rear Analog Line-out)> at nid 27 on hdaa0 > hdacc1: <Intel Kaby Lake HDA CODEC> at cad 2 on hdac0 > hdaa1: <Intel Kaby Lake Audio Function Group> at nid 1 on hdacc1 > pcm2: <Intel Kaby Lake (HDMI/DP 8ch)> at nid 3 on hdaa1 > Trying to mount root from ufs:/dev/ufs/FreeBSD_Install [ro,noatime]... > Root mount waiting for: usbus0 > Root mount waiting for: usbus0 > uhub0: 26 ports with 26 removable, self powered > Root mount waiting for: usbus0 > ugen0.2: <Sony Storage Media> at usbus0 > umass0 on uhub0 > umass0: <Sony Storage Media, class 0/0, rev 2.00/1.00, addr 1> on usbus0 > umass0: SCSI over Bulk-Only; quirks = 0x8100 > umass0:0:0: Attached to scbus0 > da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > da0: <Sony Storage Media 0100> Removable Direct Access SCSI device > da0: Serial Number 0906061314564 > da0: 40.000MB/s transfers > da0: 1983MB (4062208 512 byte sectors) > da0: quirks=0x2<NO_6_BYTE> > Root mount waiting for: usbus0 > ugen0.3: <SONiX USB DEVICE> at usbus0 > ukbd0 on uhub0 > ukbd0: <SONiX USB DEVICE, class 0/0, rev 2.00/1.05, addr 2> on usbus0 > kbd2 at ukbd0 > ukbd1 on uhub0 > ukbd1: <SONiX USB DEVICE, class 0/0, rev 2.00/1.05, addr 2> on usbus0 > kbd3 at ukbd1 > Root mount waiting for: usbus0 > ugen0.4: <Microsoft Basic Optical Mouse> at usbus0 > ugen0.5: <Generic USB3.0-CRW> at usbus0 > umass1 on uhub0 > umass1: <Bulk-In, Bulk-Out, Interface> on usbus0 > umass1: SCSI over Bulk-Only; quirks = 0x4000 > umass1:1:1: Attached to scbus1 > (probe0:umass-sim1:1:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 > 00 > (probe0:umass-sim1:1:0:0): CAM status: SCSI Status Error > (probe0:umass-sim1:1:0:0): SCSI status: Check Condition > (probe0:umass-sim1:1:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid > field in CDB) > (probe0:umass-sim1:1:0:0): Error 22, Unretryable error > da1 at umass-sim1 bus 1 scbus1 target 0 lun 0 > da1: <Generic- SD/MMC CRW 1.00> Removable Direct Access SPC-4 SCSI device > da1: Serial Number 28203008282014000 > da1: 400.000MB/s transfers > da1: Attempt to query device size failed: NOT READY, Medium not present > da1: quirks=0x2<NO_6_BYTE> > mountroot: waiting for device /dev/ufs/FreeBSD_Install... > random: unblocking device. > arc4random: no preloaded entropy cache > arc4random: no preloaded entropy cache > arc4random: no preloaded entropy cache > arc4random: no preloaded entropy cache > arc4random: no preloaded entropy cache > arc4random: no preloaded entropy cache > arc4random: no preloaded entropy cache > arc4random: no preloaded entropy cache > arc4random: no preloaded entropy cache > arc4random: no preloaded entropy cache > arc4random: no preloaded entropy cache > arc4random: no preloaded entropy cache > arc4random: no preloaded entropy cache > arc4random: no preloaded entropy cache > lo0: link state changed to UP > em0: link state changed to UP > ums0 on uhub0 > ums0: <Microsoft Basic Optical Mouse, class 0/0, rev 1.10/0.00, addr 3> on > usbus0 > ums0: 3 buttons and [XYZ] coordinates ID=0 > ugen0.6: <vendor 0x058f product 0x6387> at usbus0 > umass2 on uhub0 > umass2: <vendor 0x058f product 0x6387, class 0/0, rev 2.00/1.05, addr 5> on > usbus0 > umass2: SCSI over Bulk-Only; quirks = 0x4101 > umass2:2:2: Attached to scbus2 > da2 at umass-sim2 bus 2 scbus2 target 0 lun 0 > da2: < 8.07> Removable Direct Access SPC-2 SCSI device > da2: Serial Number 14040459000056 > da2: 40.000MB/s transfers > da2: 7450MB (15257600 512 byte sectors) > da2: quirks=0x2<NO_6_BYTE> > > [2:application/x-gunzip Show Save:dell_precision.asl.gz (167kB)] >