Re: Current panic on boot on H11DSI motherboard with epyc cpu (nexus_add_irq: failed)

From: Vitalij Satanivskij <satan_at_ukr.net>
Date: Tue, 17 Apr 2018 22:15:53 +0300
Dear John

I'm try patch with no success

http://hell.ukr.net/panic/recorder_patch165.webm

Also I'm enable verbose boot and record boot process (hpet was disabled so crash in another driver atach)
http://hell.ukr.net/panic/recorder_patch_verbose.webm

root_at_test:/usr/src # svnlite diff
Index: sys/x86/x86/msi.c
===================================================================
--- sys/x86/x86/msi.c   (revision 332650)
+++ sys/x86/x86/msi.c   (working copy)
_at__at_ -404,7 +404,7 _at__at_
        /* Do we need to create some new sources? */
        if (cnt < count) {
                /* If we would exceed the max, give up. */
-               if (i + (count - cnt) > FIRST_MSI_INT + NUM_MSI_INTS) {
+               if (i + (count - cnt) >= FIRST_MSI_INT + NUM_MSI_INTS) {
                        mtx_unlock(&msi_lock);
                        free(mirqs, M_MSI);
                        return (ENXIO);
_at__at_ -645,7 +645,7 _at__at_
        /* Do we need to create a new source? */
        if (msi == NULL) {
                /* If we would exceed the max, give up. */
-               if (i + 1 > FIRST_MSI_INT + NUM_MSI_INTS) {
+               if (i + 1 >= FIRST_MSI_INT + NUM_MSI_INTS) {
                        mtx_unlock(&msi_lock);
                        return (ENXIO);
                }
root_at_test:/usr/src

If you need any aditional information please tell me about. 



JB> > If one of this parameters not set as described system not boot ^( 
JB> 
JB> Please try the patch from here https://reviews.freebsd.org/P165
JB> 
JB> -- 
JB> John Baldwin
JB> _______________________________________________
JB> freebsd-hackers_at_freebsd.org mailing list
JB> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
JB> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe_at_freebsd.org"
Received on Tue Apr 17 2018 - 17:16:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:15 UTC