Re: Wake up to crash in sd_buf_done

2024-08-07 Thread Mark Kettenis
> From: "Theo de Raadt" > Date: Tue, 06 Aug 2024 23:04:02 -0600 > > nvme resume is really crazy, since it does not believe the device is > stopped, tries to use high-level operations to stop it and then restart > it, but it ends up reusing queue structures from before. Well, in sys/dev/ic/nvmere

Re: problem with boot of openbsd amd64 7.5 on thinkpad t410

2024-08-07 Thread Stefano Dalla Valentina
Here is dmesg: Il Mar 6 Ago 2024, 11:13 Mark Kettenis ha scritto: > > From: Stefano Dalla Valentina > > Date: Tue, 6 Aug 2024 07:43:40 +0200 > > > > During the boot process with xenodm disabled even if inteldrm0 has > > resolution of 1440x900 and wsdisplay0: screen 1-5 was created the screen >

Re: Wake up to crash in sd_buf_done

2024-08-07 Thread Greg Steuck
Mark Kettenis writes: > Anyway, I think you're right in thinking that nvme_intr() needs some > belt and suspenders. In nvme_shutdown() we delete the "normal" > command queue, but nvme_intr() inconditionally looks at both of them. > Now nvme_shutdown() masks the interrupt and nvme_resume() unmask

Re: Wake up to crash in sd_buf_done

2024-08-07 Thread Theo de Raadt
Greg Steuck wrote: > Mark Kettenis writes: > > > Anyway, I think you're right in thinking that nvme_intr() needs some > > belt and suspenders. In nvme_shutdown() we delete the "normal" > > command queue, but nvme_intr() inconditionally looks at both of them. > > Now nvme_shutdown() masks the i

Re: Wake up to crash in sd_buf_done

2024-08-07 Thread Greg Steuck
"Theo de Raadt" writes: > Greg Steuck wrote: > >> Mark Kettenis writes: >> >> > Anyway, I think you're right in thinking that nvme_intr() needs some >> > belt and suspenders. In nvme_shutdown() we delete the "normal" >> > command queue, but nvme_intr() inconditionally looks at both of them. >

Re: amd64 Laptop doesn't resume from suspend any longer

2024-08-07 Thread Matthias Schmidt
Hi Mark, * Mark Kettenis wrote: > > Date: Mon, 5 Aug 2024 22:23:17 +0200 > > From: Matthias Schmidt > > Hi Matthias, > > Can you try to narrow this down a bit further? > > You can either bisect by building kernels from intermediate dates > yourself or use kernels from the snapshot archive at: