On 2019/07/08 09:50, Raimo Niskanen wrote:
> On Thu, Jul 04, 2019 at 09:13:22AM +0200, Raimo Niskanen wrote:
> > I just freed a Lenovo U350 IdeaPad from Windows 10 Home and installed
> > OpenBSD 6.5 on it (the installer gets better and better - now I installed
> > the sets via https and cdn.openbsd.org; really slick!), and when starting X
> > it panicked.
> > 
> > During the first installation I selected to start xenodm and at firstboot
> > it panicked right after firmware installation during kernel relinking.
> > Both firmware files and kernel appeared to be damaged after reboot and fsck.
> > 
> > So this is after a second installation where I selected to not start
> > xenodm, which allowed me to update firmware, syspatch reboot again
> > and wait for quiescent filesystem before starting xenodm, and then;
> > it panicked.
> > 
> > I hope it is simply not that machdep.allowaperture=0; if that was needed
> > Xorg should just refuse to start, right?
> 
> It was not.  With machdep.allowaperture=0 I get the same panic.
> 
> Suggestion, anyone?

Quickly summarizing the panic message etc from the screenshot, it's an
"index out of bounds" panic in aml_parse:4042, called from acpivout_set_param.

As ever, first try a -current snapshot. If it still fails, run
sendbug -P > somefile as root (to generate a report including acpi tables)
and copy to a system you can conveniently email from, include information
from this report (so that the email is self-contained) and preferably
re-type the more important parts from panic.jpg (so it's in plaintext and
developers can more easily figure out if it's something they might know
about).

Maybe also worth trying the newer BIOS versions that are available
(1CCN25WW/1CCN26WW).

> 
> 
> > 
> > Here are screenshots from the panic, ddb> trace and ps output:
> > 
> >   https://mailfence.com/pub/docs/raimo_niskanen/web/panic.jpg
> >   https://mailfence.com/pub/docs/raimo_niskanen/web/trace-0.jpg
> >   https://mailfence.com/pub/docs/raimo_niskanen/web/trace-1.jpg
> >   https://mailfence.com/pub/docs/raimo_niskanen/web/ps-1.jpg
> >   https://mailfence.com/pub/docs/raimo_niskanen/web/ps-2.jpg
> >   https://mailfence.com/pub/docs/raimo_niskanen/web/ps-3.jpg
> > 
> > And here is the dmesg:
> > 
> > OpenBSD 6.5 (GENERIC.MP) #1: Mon May 27 18:27:59 CEST 2019
> >     
> > r...@syspatch-65-amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> > real mem = 4105912320 (3915MB)
> > avail mem = 3971837952 (3787MB)
> > mpath0 at root
> > scsibus0 at mpath0: 256 targets
> > mainbus0 at root
> > bios0 at mainbus0: SMBIOS rev. 2.5 @ 0xe3810 (24 entries)
> > bios0: vendor LENOVO version "1CCN24WW" date 11/10/2009
> > bios0: LENOVO IdeaPad U350
> > acpi0 at bios0: rev 2
> > acpi0: sleep states S0 S3 S4 S5
> > acpi0: tables DSDT FACP HPET MCFG APIC BOOT SLIC SSDT SSDT SSDT
> > acpi0: wakeup devices P0P2(S4) P0P1(S4) USB0(S3) USB1(S3) USB2(S3) USBR(S3) 
> > EHC1(S3) USB3(S3) USB4(S3) USB5(S3) EHC2(S3) HDEF(S4) PXSX(S4) RP01(S4) 
> > PXSX(S4) RP02(S4) [...]
> > acpitimer0 at acpi0: 3579545 Hz, 24 bits
> > acpihpet0 at acpi0: 14318179 Hz
> > acpimcfg0 at acpi0
> > acpimcfg0: addr 0xe0000000, bus 0-255
> > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> > cpu0 at mainbus0: apid 0 (boot processor)
> > cpu0: Genuine Intel(R) CPU U7300 @ 1.30GHz, 1296.97 MHz, 06-17-0a
> > 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
> > cpu0: 3MB 64b/line 8-way L2 cache
> > cpu0: smt 0, core 0, package 0
> > mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges
> > cpu0: apic clock running at 247MHz
> > cpu0: mwait min=64, max=64, C-substates=0.2.2.2.2.1.3, IBE
> > cpu1 at mainbus0: apid 1 (application processor)
> > cpu1: Genuine Intel(R) CPU U7300 @ 1.30GHz, 1607.97 MHz, 06-17-0a
> > cpu1: 
> > 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,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,SSE4.1,XSAVE,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN
> > cpu1: 3MB 64b/line 8-way L2 cache
> > cpu1: smt 0, core 1, package 0
> > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins
> > acpiprt0 at acpi0: bus 0 (PCI0)
> > acpiprt1 at acpi0: bus -1 (P0P2)
> > acpiprt2 at acpi0: bus 9 (P0P1)
> > acpiprt3 at acpi0: bus 2 (RP01)
> > acpiprt4 at acpi0: bus 3 (RP02)
> > acpiprt5 at acpi0: bus 8 (RP06)
> > acpiec0 at acpi0
> > acpicpu0 at acpi0: !C2(100@57 mwait.3@0x30), C1(1000@1 mwait.1), PSS
> > acpicpu1 at acpi0: !C2(100@57 mwait.3@0x30), C1(1000@1 mwait.1), PSS
> > acpitz0 at acpi0: critical temperature is 98 degC
> > acpipci0 at acpi0 PCI0: _OSC failed
> > acpicmos0 at acpi0
> > "SYN1031" at acpi0 not configured
> > "VPC2004" at acpi0 not configured
> > acpiac0 at acpi0: AC unit online
> > acpibat0 at acpi0: BAT1 model "L901" serial   type LION oem "CPT-A28"
> > acpibtn0 at acpi0: LID_
> > acpibtn1 at acpi0: PWRB
> > acpibtn2 at acpi0: SLPB
> > "PNP0C14" at acpi0 not configured
> > acpials0 at acpi0: ALSD
> > acpivideo0 at acpi0: GFX0
> > acpivout0 at acpivideo0: DD03
> > cpu0: Enhanced SpeedStep 1296 MHz: speeds: 1300, 1200, 800 MHz
> > pci0 at mainbus0 bus 0
> > pchb0 at pci0 dev 0 function 0 "Intel GM45 Host" rev 0x07
> > inteldrm0 at pci0 dev 2 function 0 "Intel GM45 Video" rev 0x07
> > drm0 at inteldrm0
> > intagp0 at inteldrm0
> > agp0 at intagp0: aperture at 0xd0000000, size 0x10000000
> > inteldrm0: msi
> > inteldrm0: 1366x768, 32bpp
> > wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation)
> > wsdisplay0: screen 1-5 added (std, vt100 emulation)
> > "Intel GM45 Video" rev 0x07 at pci0 dev 2 function 1 not configured
> > uhci0 at pci0 dev 26 function 0 "Intel 82801I USB" rev 0x03: apic 2 int 16
> > uhci1 at pci0 dev 26 function 1 "Intel 82801I USB" rev 0x03: apic 2 int 21
> > uhci2 at pci0 dev 26 function 2 "Intel 82801I USB" rev 0x03: apic 2 int 19
> > ehci0 at pci0 dev 26 function 7 "Intel 82801I USB" rev 0x03: apic 2 int 19
> > usb0 at ehci0: USB revision 2.0
> > uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 
> > 2.00/1.00 addr 1
> > azalia0 at pci0 dev 27 function 0 "Intel 82801I HD Audio" rev 0x03: msi
> > azalia0: codecs: Conexant/0x5066, Intel/0x2802, using Conexant/0x5066
> > audio0 at azalia0
> > ppb0 at pci0 dev 28 function 0 "Intel 82801I PCIE" rev 0x03: msi
> > pci1 at ppb0 bus 2
> > ppb1 at pci0 dev 28 function 1 "Intel 82801I PCIE" rev 0x03: msi
> > pci2 at ppb1 bus 3
> > iwn0 at pci2 dev 0 function 0 "Intel WiFi Link 5100" rev 0x00: msi, MIMO 
> > 1T2R, MoW, address 00:24:d6:00:bb:7a
> > ppb2 at pci0 dev 28 function 2 "Intel 82801I PCIE" rev 0x03: msi
> > pci3 at ppb2 bus 5
> > ppb3 at pci0 dev 28 function 3 "Intel 82801I PCIE" rev 0x03: msi
> > pci4 at ppb3 bus 6
> > ppb4 at pci0 dev 28 function 4 "Intel 82801I PCIE" rev 0x03: msi
> > pci5 at ppb4 bus 7
> > ppb5 at pci0 dev 28 function 5 "Intel 82801I PCIE" rev 0x03: msi
> > pci6 at ppb5 bus 8
> > bge0 at pci6 dev 0 function 0 "Broadcom BCM57780" rev 0x01, BCM57780 A1 
> > (0x57780001): msi, address 00:26:9e:6f:23:48
> > brgphy0 at bge0 phy 1: BCM57780 10/100/1000baseT PHY, rev. 1
> > uhci3 at pci0 dev 29 function 0 "Intel 82801I USB" rev 0x03: apic 2 int 23
> > uhci4 at pci0 dev 29 function 1 "Intel 82801I USB" rev 0x03: apic 2 int 19
> > uhci5 at pci0 dev 29 function 2 "Intel 82801I USB" rev 0x03: apic 2 int 18
> > ehci1 at pci0 dev 29 function 7 "Intel 82801I USB" rev 0x03: apic 2 int 23
> > usb1 at ehci1: USB revision 2.0
> > uhub1 at usb1 configuration 1 interface 0 "Intel EHCI root hub" rev 
> > 2.00/1.00 addr 1
> > ppb6 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0x93
> > pci7 at ppb6 bus 9
> > pcib0 at pci0 dev 31 function 0 "Intel 82801IEM LPC" rev 0x03
> > ahci0 at pci0 dev 31 function 2 "Intel 82801I AHCI" rev 0x03: msi, AHCI 1.2
> > ahci0: port 0: 3.0Gb/s
> > scsibus1 at ahci0: 32 targets
> > sd0 at scsibus1 targ 0 lun 0: <ATA, WDC WD3200BEVT-2, 11.0> SCSI3 0/direct 
> > fixed naa.50014ee0ac4fd90e
> > sd0: 305245MB, 512 bytes/sector, 625142448 sectors
> > ichiic0 at pci0 dev 31 function 3 "Intel 82801I SMBus" rev 0x03: apic 2 int 
> > 19
> > iic0 at ichiic0
> > spdmem0 at iic0 addr 0x50: 2GB DDR3 SDRAM PC3-8500 SO-DIMM
> > spdmem1 at iic0 addr 0x52: 2GB DDR3 SDRAM PC3-8500 SO-DIMM
> > usb2 at uhci0: USB revision 1.0
> > uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 
> > 1.00/1.00 addr 1
> > usb3 at uhci1: USB revision 1.0
> > uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 
> > 1.00/1.00 addr 1
> > usb4 at uhci2: USB revision 1.0
> > uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 
> > 1.00/1.00 addr 1
> > usb5 at uhci3: USB revision 1.0
> > uhub5 at usb5 configuration 1 interface 0 "Intel UHCI root hub" rev 
> > 1.00/1.00 addr 1
> > usb6 at uhci4: USB revision 1.0
> > uhub6 at usb6 configuration 1 interface 0 "Intel UHCI root hub" rev 
> > 1.00/1.00 addr 1
> > usb7 at uhci5: USB revision 1.0
> > uhub7 at usb7 configuration 1 interface 0 "Intel UHCI root hub" rev 
> > 1.00/1.00 addr 1
> > isa0 at pcib0
> > isadma0 at isa0
> > pckbc0 at isa0 port 0x60/5 irq 1 irq 12
> > pckbd0 at pckbc0 (kbd slot)
> > wskbd0 at pckbd0: console keyboard, using wsdisplay0
> > pms0 at pckbc0 (aux slot)
> > wsmouse0 at pms0 mux 0
> > pms0: Synaptics touchpad, firmware 7.2, 0x1c0b1 0xa40000
> > pcppi0 at isa0 port 0x61
> > spkr0 at pcppi0
> > vmm0 at mainbus0: VMX (using slow L1TF mitigation)
> > uvideo0 at uhub0 port 5 configuration 1 interface 0 "BISON Corporation 
> > Lenovo EasyCamera" rev 2.00/3.17 addr 2
> > video0 at uvideo0
> > vscsi0 at root
> > scsibus2 at vscsi0: 256 targets
> > softraid0 at root
> > scsibus3 at softraid0: 256 targets
> > sd1 at scsibus3 targ 1 lun 0: <OPENBSD, SR CRYPTO, 006> SCSI2 0/direct fixed
> > sd1: 281599MB, 512 bytes/sector, 576716655 sectors
> > root on sd1a (ade017f291cda44d.a) swap on sd1b dump on sd1b
> > -- 
> > 
> > / Raimo Niskanen, Erlang/OTP, Ericsson AB
> 
> -- 
> 
> / Raimo Niskanen, Erlang/OTP, Ericsson AB
> 

Reply via email to