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.

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.


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

Reply via email to