On Thu, Oct 31, 2019 at 01:41:55PM -0400, Patrick Coppock wrote: > Hi, All: > > I am new to OpenBSD; I recently installed 6.5 on a Dell Inspiron 6000 > and upgraded to 6.6 yesterday. Suspend did not work in 6.5 and still > doesn't in 6.6. > > What is the best way for me to go about debugging this issue? So far, > I have checked: > - dmesg for ACPI wake devices > - syslog for suspend messages > > Specifically, the suspend works; however, when I attempt to wake the > device, the laptop seems to respond and attempt to wake, but the > display never turns on, and I cannot SSH into the machine. Below are > the dmesg and relevant syslog entries. >
About a year or so ago I posted a message to either misc@ or tech@ about how to diagnose suspend/resume failures, by bisecting the resume path and placing resets or spins at various places to see how far the resume gets before dying. I would recommend finding that post (I just looked and I couldn't find it though) and walking through those steps. I doubt any of us still have machines that old to try debugging this ourselves, the machine is nearly 15 years old. -ml > dmesg > ===== > > OpenBSD 6.6 (GENERIC) #0: Sat Oct 26 05:57:51 MDT 2019 > [email protected]:/usr/src/sys/arch/i386/compile/GENERIC > real mem = 527790080 (503MB) > avail mem = 502480896 (479MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: date 09/28/05, BIOS32 rev. 0 @ 0xffe90, SMBIOS rev. 2.3 @ > 0xf80e0 (44 entries) > bios0: vendor Dell Inc. version "A09" date 09/28/2005 > bios0: Dell Inc. Inspiron 6000 > acpi0 at bios0: ACPI 1.0 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP APIC MCFG BOOT SSDT SSDT > acpi0: wakeup devices LID_(S3) PBTN(S4) PCI0(S3) USB0(S0) USB1(S0) USB2(S0) > USB4(S0) USB3(S0) MODM(S3) PCIE(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) M processor 1.30GHz ("GenuineIntel" 686-class) 1.30 > GHz, 06-0d-06 > cpu0: > FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,TM,PBE,PERF,MELTDOWN > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 99MHz > ioapic0 at mainbus0: apid 1 pa 0xfec00000, version 20, 24 pins, remapped > acpimcfg0 at acpi0 > acpimcfg0: addr 0xe0000000, bus 0-255 > acpimcfg0: addr 0x0, bus 0-0 > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus -1 (AGP_) > acpiprt2 at acpi0: bus 3 (PCIE) > acpicpu0 at acpi0: !C3(250@85 io@0x1015), !C2(500@1 io@0x1014), C1(1000@1 > halt) > acpitz0 at acpi0: critical temperature is 99 degC > acpiac0 at acpi0: AC unit online > acpibat0 at acpi0: BAT0 model "DELL F51336" serial 1988 type LION oem "Sanyo" > acpibtn0 at acpi0: LID_ > acpibtn1 at acpi0: PBTN > acpibtn2 at acpi0: SBTN > "PNP0A03" at acpi0 not configured > acpicmos0 at acpi0 > acpivideo0 at acpi0: VID_ > acpivideo1 at acpi0: VID_ > acpivideo2 at acpi0: VID2 > bios0: ROM list: 0xc0000/0xf800! 0xcf800/0x800 > pci0 at mainbus0 bus 0: configuration mode 1 (no bios) > pchb0 at pci0 dev 0 function 0 "Intel 82915GM Host" rev 0x03 > inteldrm0 at pci0 dev 2 function 0 "Intel 82915GM Video" rev 0x03 > drm0 at inteldrm0 > intagp0 at inteldrm0 > agp0 at intagp0: aperture at 0xc0000000, size 0x10000000 > inteldrm0: apic 1 int 16 > "Intel 82915GM Video" rev 0x03 at pci0 dev 2 function 1 not configured > uhci0 at pci0 dev 29 function 0 "Intel 82801FB USB" rev 0x03: apic 1 int 16 > uhci1 at pci0 dev 29 function 1 "Intel 82801FB USB" rev 0x03: apic 1 int 17 > uhci2 at pci0 dev 29 function 2 "Intel 82801FB USB" rev 0x03: apic 1 int 18 > uhci3 at pci0 dev 29 function 3 "Intel 82801FB USB" rev 0x03: apic 1 int 19 > ehci0 at pci0 dev 29 function 7 "Intel 82801FB USB" rev 0x03: apic 1 int 16 > 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 > ppb0 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xd3 > pci1 at ppb0 bus 3 > bce0 at pci1 dev 0 function 0 "Broadcom BCM4401B1" rev 0x02: apic 1 int 18, > address 00:11:43:70:7f:12 > bmtphy0 at bce0 phy 1: BCM4401 10/100baseTX PHY, rev. 0 > cbb0 at pci1 dev 1 function 0 "Ricoh 5C476 CardBus" rev 0xb3: apic 1 int 19 > "Ricoh 5C552 Firewire" rev 0x08 at pci1 dev 1 function 1 not configured > sdhc0 at pci1 dev 1 function 2 "Ricoh 5C822 SD/MMC" rev 0x17: apic 1 int 17 > sdhc0: SDHC 1.0, 33 MHz base clock > sdmmc0 at sdhc0: 4-bit, sd high-speed, mmc high-speed > bwi0 at pci1 dev 3 function 0 "Broadcom BCM4306" rev 0x03: apic 1 int 17, > address 00:0b:7d:15:3a:24 > cardslot0 at cbb0 slot 0 flags 0 > cardbus0 at cardslot0: bus 4 device 0 cacheline 0x0, lattimer 0x20 > pcmcia0 at cardslot0 > auich0 at pci0 dev 30 function 2 "Intel 82801FB AC97" rev 0x03: apic 1 int > 16, ICH6 > ac97: codec id 0x83847652 (SigmaTel STAC9752/53) > ac97: codec features headphone, 20 bit DAC, 20 bit ADC, SigmaTel 3D > audio0 at auich0 > "Intel 82801FB Modem" rev 0x03 at pci0 dev 30 function 3 not configured > ichpcib0 at pci0 dev 31 function 0 "Intel 82801FBM LPC" rev 0x03: PM disabled > pciide0 at pci0 dev 31 function 2 "Intel 82801FBM SATA" rev 0x03: DMA, > channel 0 wired to compatibility, channel 1 wired to compatibility > wd0 at pciide0 channel 0 drive 0: <TOSHIBA MK3021GAS> > wd0: 16-sector PIO, LBA, 28615MB, 58605120 sectors > wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 > atapiscsi0 at pciide0 channel 1 drive 0 > scsibus1 at atapiscsi0: 2 targets > cd0 at scsibus1 targ 0 lun 0: <SAMSUNG, CDRW/DVD SN-324S, U303> removable > cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 > usb1 at uhci0: USB revision 1.0 > uhub1 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb2 at uhci1: USB revision 1.0 > uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb3 at uhci2: USB revision 1.0 > uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb4 at uhci3: USB revision 1.0 > uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > isa0 at ichpcib0 > isadma0 at isa0 > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard > pms0 at pckbc0 (aux slot) > wsmouse0 at pms0 mux 0 > pms0: ALPS Glidepoint, version 0x7321 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > umass0 at uhub0 port 7 configuration 1 interface 0 "SanDisk Ultra Fit" rev > 2.10/1.00 addr 2 > umass0: using SCSI over Bulk-Only > scsibus2 at umass0: 2 targets, initiator 0 > sd0 at scsibus2 targ 1 lun 0: <SanDisk, Ultra Fit, 1.00> removable > serial.07815583160829112091 > sd0: 14664MB, 512 bytes/sector, 30031872 sectors > vscsi0 at root > scsibus3 at vscsi0: 256 targets > softraid0 at root > scsibus4 at softraid0: 256 targets > root on wd0a (cc890b5cad21430f.a) swap on wd0b dump on wd0b > inteldrm0: 1280x800, 32bpp > wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 > wsdisplay0: screen 1-5 added (std, vt100 emulation) > ugen0 at uhub0 port 5 "TCT Holding Ltd. TCT Modem" rev 2.00/0.00 addr 3 > ugen0: setting configuration index 0 failed > ugen0 detached > > messages > ======== > > Oct 16 11:13:23 bilbo apmd: system suspending > Oct 16 11:13:23 bilbo apmd: battery status: high. external power status: > connected. estimated battery life 100% > Oct 16 11:13:24 bilbo /bsd: uhub1 detached > Oct 16 11:13:24 bilbo /bsd: uhub2 detached > Oct 16 11:13:24 bilbo /bsd: uhub3 detached > Oct 16 11:20:42 bilbo syslogd[3039]: start >

