On Sun, Aug 27, 2023 at 06:50:07AM -0500, vtamara wrote: | You right, | | The problem is with the time that it takes for certain operations | with disk. After long time the installation process continued and | the keyboard worked for that.
So .. if you have SATA disks or optical drives (that are not part of the boot disk), you could try disconnecting those from the motherboard. Since you were able to install without problems, I think you may be in this siutation (e.g. if you have NVME(4) storage). | I still cannot use the keyboard in UKC and although I bought a | converter from USB to serial to try remote debugging with "boot> set | tty com0" it didn't work. The BIOS and the booting process of | OpenBSD detect that the board has a com0 port but I don't see a | physical connection for it. | | | I will try to apply your patch and install and hopefully after I | will send a dmesg. Note that it's not a fix in any shape or form. The change only reduces the time you have to wait for the system to complete booting. And you normally wouldn't have to wait for so long if it wasn't for some problem with the AHCI(4) subsystem on your computer (whether it's a bug in OpenBSD or a problem with the board is still unclear - but in my case, devices behind ahci(4) work after a suspend/resume cycle, so I'm guessing there's some (power management) issue with the ahci device on these ASUS boards, but I'm mostly just guessing). Paul | Thanks a lot for your help Paul. | | Blessings. | | El 2023-08-26 01:42, Paul de Weerd escribió: | > Hi, | > | > Pretty sure it doesn't really stop, give it a couple of hours (really) | > and see if it makes progress then. | > | > My guess is, your system has SATA devices (disks or CD/DVD/BD) | > connected to it. If you're not booting from them, one thing you can | > try in UKC is to `disable ahci` and see if that helps. | > | > If it does, this patch will significantly speed up the boot process. | > You will find your SATA devices don't work until such a time that you | > suspend and resume. | > | > Of course, I cannot be certain .. but at least that's the case on my | > AMD Ryzen 7950X in an ASUS motherboard (different board though). Very | > curious if you see the same. If you can arrange serial console, a | > dmesg would be very useful. | > | > Cheers, | > | > Paul 'WEiRD' de Weerd | > | > ---------------------------------------------------------------------- | > Index: sd.c | > =================================================================== | > RCS file: /cvs/src/sys/scsi/sd.c,v | > retrieving revision 1.333 | > diff -u -p -r1.333 sd.c | > --- sd.c 23 Oct 2022 14:39:19 -0000 1.333 | > +++ sd.c 26 Mar 2023 19:24:28 -0000 | > @@ -674,7 +674,7 @@ sdstart(struct scsi_xfer *xs) | > read = ISSET(bp->b_flags, B_READ); | > | > SET(xs->flags, (read ? SCSI_DATA_IN : SCSI_DATA_OUT)); | > - xs->timeout = 60000; | > + xs->timeout = 600; | > xs->data = bp->b_data; | > xs->datalen = bp->b_bcount; | > xs->done = sd_buf_done; | > ---------------------------------------------------------------------- | > | > On Fri, Aug 25, 2023 at 04:10:12AM -0500, vtamara wrote: | > | | > | | > | Hi, | > | | > | I'm having issues booting 7.3 and current in a amd64computer with | > | processor AMD Ryzen 9 7950X ( | > | https://www.amd.com/en/products/cpu/amd-ryzen-9-7950x ) and board | > | ASUS ROG STRIX B650-A | > (https://rog.asus.com/us/motherboards/rog-strix/rog-strix-b650-a-gaming-wifi-model/). | > | | > | The kernel detects the hardware but stops after the lines | > | | > | softraid0 at root | > | | > | scsibus3 at sofraid0: 256 targets | > | | > | (I'm attaching picture). | > | | > | If I try with "boot> boot -c" it presents the error message | > | | > | kbc: cmd word write error | > | | > | and in the prompt UKC> it doesn't allow to write. | > | | > | (Attaching picture) | > | | > | I'm considering booting with a serial console to try to disable some | > | devices and diagnose why the normal boot process stops, however the | > | board of this computer doesn't have serial ports. Any suggestions | > | on a USB to Serial adapter to use? Or how to debug under these | > | circumstances? | > | | > | Blessings. | > | | > | -- | > | Dios, gracias por tu amor infinito. | > | -- | > | Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ | > | http://www.pasosdejesus.org/dominio_publico_colombia.html | > | | > | -- | > | Dios, gracias por tu amor infinito. | > | -- | > | Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ | > | http://www.pasosdejesus.org/dominio_publico_colombia.html | | -- | Dios, gracias por tu amor infinito. | -- | Vladimir Támara Patiño. http://vtamara.pasosdeJesus.org/ | http://www.pasosdejesus.org/dominio_publico_colombia.html | -- >++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+ +++++++++++>-]<.>++[<------------>-]<+.--------------.[-] http://www.weirdnet.nl/