Hi everyone! I have this very old HP Presario C700 laptop with Intel Pentium T2390 and I am trying to get OpenBSD running.
I first tried install OpenBSD 7.6 amd64 cuz I knew the CPU supported 64 bit. However booting the install76.img failed at early stage due to ACPI errors. I can get output is someone is interested but that may be another question for another thread. Here is the dmesg from a successful OpenBSD 7.6 i386 boot: https://pastebin.com/raw/piUSXWQz . I installed all file sets and enabled FYI. My problem is, my laptop can always resume from S3 suspend for the first time after boot, but then it will definitely fail to resume if I suspend again. When I boot up OpenBSD and it all goes well to xenodm waiting for login. If I switch to a tty to login, or ssh from another host and fire zzz, the system goes into suspend in 5s or so quickly. I can leave it for a while and see the power button is blinking, ssh session stop respond. I press some keys on keyboard, laptop screen lights up and all come back in 5s or so again. Everything seems to work as before except WiFi is down, which can be easily fixed by login and run ifconfig followed by sh /etc/network. However, if I suspend it for a second time after resume, no matter soon or after I use it / leave it be for a few minutes, the laptop goes into suspend just like before. Except this time no matter I press power button or keyboard keys, it seemes trying to resume as I can hear fan/HDD makes a quick short sound as soon as I press keys, the screen stays off forever, fan stops and then spins at a loud level for 3-5s then stops again in a cycle no matter how long I leave it. I can only long press power button to shutdown. Here are outputs I get from /var/log/messages where I can spot a successful suspend/resume followed by suspend and no resume, and /var/log/daemon from the same time: Jan 20 21:11:48 MyBSD apmd: system suspending Jan 20 21:11:48 MyBSD apmd: battery status: high. external power status: connected. estimated battery life 100% Jan 20 21:11:50 MyBSD slaacd[90080]: delete_address: cannot find interface 5 Jan 20 21:11:50 MyBSD slaacd[90080]: delete_address: cannot find interface 5 Jan 20 21:11:50 MyBSD slaacd[90080]: failed to send route message: No such process Jan 20 21:11:50 MyBSD /bsd: drm : i915 raw-wakerefs=1 wakelocks=1 on cleanup Jan 20 21:11:50 MyBSD /bsd: uhub1 detached Jan 20 21:11:50 MyBSD /bsd: uhub2 detached Jan 20 21:11:50 MyBSD /bsd: uhub3 detached Jan 20 21:12:22 MyBSD /bsd: urtwn0 detached Jan 20 21:12:22 MyBSD /bsd: sd1 detached Jan 20 21:12:22 MyBSD /bsd: scsibus3 detached Jan 20 21:12:22 MyBSD /bsd: umass0 detached Jan 20 21:12:22 MyBSD /bsd: uhub0 detached Jan 20 21:12:22 MyBSD dhcpleased[27988]: bpf_receive: read: Input/output error Jan 20 21:12:22 MyBSD dhcpleased[34070]: deconfigure_interface: cannot find interface 5 Jan 20 21:12:23 MyBSD /bsd: uhub0 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 Jan 20 21:12:23 MyBSD /bsd: uhub1 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 Jan 20 21:12:23 MyBSD /bsd: uhub2 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 addr 1 Jan 20 21:12:23 MyBSD /bsd: uhub3 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 Jan 20 21:12:23 MyBSD /bsd: wakeups: 0 1 Jan 20 21:12:23 MyBSD /bsd: wakeup event: unknown Jan 20 21:12:23 MyBSD /etc/apm/resume: sleeping 3 seconds Jan 20 21:12:24 MyBSD /bsd: urtwn0 at uhub3 port 1 configuration 1 interface 0 "Realtek 802.11n WLAN Adapter" rev 2.00/2.00 addr 2 Jan 20 21:12:24 MyBSD /bsd: urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R, address 64:ee:b7:16:06:50 Jan 20 21:12:25 MyBSD /bsd: umass0 at uhub3 port 5 configuration 1 interface 0 "Generic USB2.0-CRW" rev 2.00/51.95 addr 3 Jan 20 21:12:25 MyBSD /bsd: umass0: using SCSI over Bulk-Only Jan 20 21:12:25 MyBSD /bsd: scsibus3 at umass0: 2 targets, initiator 0 Jan 20 21:12:25 MyBSD /bsd: sd1 at scsibus3 targ 1 lun 0: <Generic-, Multi-Card, 1.00> removable serial.0bda0158413092100000 Jan 20 21:12:26 MyBSD /etc/apm/resume: starting network Jan 20 21:12:27 MyBSD /etc/apm/resume: script complete Jan 20 21:12:27 MyBSD apmd: system resumed from sleep Jan 20 21:12:27 MyBSD apmd: battery status: high. external power status: connected. estimated battery life 100% Jan 20 21:15:25 MyBSD apmd: system suspending Jan 20 21:15:25 MyBSD apmd: battery status: high. external power status: connected. estimated battery life 100% Jan 20 21:15:26 MyBSD /bsd: drm : i915 raw-wakerefs=1 wakelocks=1 on cleanup Jan 20 21:15:26 MyBSD /bsd: uhub0 detached Jan 20 21:15:26 MyBSD /bsd: uhub1 detached Jan 20 21:15:26 MyBSD /bsd: uhub2 detached Jan 20 21:15:27 MyBSD slaacd[90080]: delete_address: cannot find interface 6 Jan 20 21:11:12 MyBSD ntpd[45678]: Terminating Jan 20 21:11:12 MyBSD ntpd[11546]: ntp engine exiting Jan 20 21:11:48 MyBSD apmd: system suspending Jan 20 21:11:48 MyBSD apmd: battery status: high. external power status: connected. estimated battery life 100% Jan 20 21:11:50 MyBSD slaacd[90080]: delete_address: cannot find interface 5 Jan 20 21:11:50 MyBSD slaacd[90080]: delete_address: cannot find interface 5 Jan 20 21:11:50 MyBSD slaacd[90080]: failed to send route message: No such process Jan 20 21:11:50 MyBSD resolvd[14407]: rebuilding: route proposals Jan 20 21:11:50 MyBSD resolvd[14407]: rebuilding: route proposals Jan 20 21:12:22 MyBSD dhcpleased[27988]: bpf_receive: read: Input/output error Jan 20 21:12:22 MyBSD dhcpleased[84301]: deleting nameservers 75.75.75.75 75.75.76.76 (lease from 10.0.0.1 on ?) Jan 20 21:12:22 MyBSD dhcpleased[84301]: deleting 10.0.0.110 from ? (lease from 10.0.0.1) Jan 20 21:12:22 MyBSD dhcpleased[34070]: deconfigure_interface: cannot find interface 5 Jan 20 21:12:27 MyBSD apmd: system resumed from sleep Jan 20 21:12:27 MyBSD apmd: battery status: high. external power status: connected. estimated battery life 100% Jan 20 21:13:15 MyBSD resolvd[14407]: rebuilding: route proposals Jan 20 21:13:15 MyBSD dhcpleased[84301]: adding 10.0.0.110 to urtwn0 (lease from 10.0.0.1) Jan 20 21:13:15 MyBSD dhcpleased[84301]: adding nameservers 75.75.75.75 75.75.76.76 (lease from 10.0.0.1 on urtwn0) Jan 20 21:13:15 MyBSD resolvd[14407]: rebuilding: route proposals Jan 20 21:15:25 MyBSD apmd: system suspending Jan 20 21:15:25 MyBSD apmd: battery status: high. external power status: connected. estimated battery life 100% Jan 20 21:15:27 MyBSD resolvd[14407]: rebuilding: route proposals I am using a USB WiFi dodge (urtwn0) for WiFi, and the /etc/apm/resume message if where I try to get WiFi work after resume. I hope you can help me find out why my laptop is behaving so weird and also whether there is a fix. Thanks! KaiXin