FreeBSD Bugzilla – Attachment 255332 Details for
Bug 282860
Kernel panic at boot on intel i9-7980XE / asus prime x299-A rev1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
more debug prints
diff (text/plain), 2.73 KB, created by
Mark Johnston
on 2024-11-20 21:22:16 UTC
(
hide
)
Description:
more debug prints
Filename:
MIME Type:
Creator:
Mark Johnston
Created:
2024-11-20 21:22:16 UTC
Size:
2.73 KB
patch
obsolete
>diff --git a/sys/amd64/conf/GENERIC b/sys/amd64/conf/GENERIC >index 923574adf943..4c9a46b9252c 100644 >--- a/sys/amd64/conf/GENERIC >+++ b/sys/amd64/conf/GENERIC >@@ -20,6 +20,8 @@ > cpu HAMMER > ident GENERIC > >+options BUS_DEBUG >+ > makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols > makeoptions WITH_CTF=1 # Run ctfconvert(1) for DTrace support > >diff --git a/sys/isa/isa_common.c b/sys/isa/isa_common.c >index 519f9353b794..4f7c4e394fdf 100644 >--- a/sys/isa/isa_common.c >+++ b/sys/isa/isa_common.c >@@ -501,11 +501,13 @@ isa_probe_children(device_t dev) > * Create all the non-hinted children by calling drivers' > * identify methods. > */ >+ printf("%s:%d\n", __func__, __LINE__); > bus_generic_probe(dev); > >+ printf("%s:%d\n", __func__, __LINE__); > if (device_get_children(dev, &children, &nchildren)) > return; >- >+ printf("%s:%d\n", __func__, __LINE__); > /* > * First disable all pnp devices so that they don't get > * matched by legacy probes. >diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c >index 2dbe1072aa83..9b1a5284c062 100644 >--- a/sys/kern/subr_bus.c >+++ b/sys/kern/subr_bus.c >@@ -2606,6 +2606,7 @@ device_attach(device_t dev) > device_print_child(dev->parent, dev); > attachtime = get_cyclecount(); > dev->state = DS_ATTACHING; >+ printf("%s:%d %s%d\n", __func__, __LINE__, dev->driver->name, dev->unit); > if ((error = DEVICE_ATTACH(dev)) != 0) { > printf("device_attach: %s%d attach returned %d\n", > dev->driver->name, dev->unit, error); >@@ -3418,8 +3419,10 @@ bus_generic_probe(device_t dev) > */ > if (dl->pass > bus_current_pass) > continue; >+ printf("%s:%d %s\n", __func__, __LINE__, dl->driver->name); > DEVICE_IDENTIFY(dl->driver, dev); > } >+ printf("%s:%d\n", __func__, __LINE__); > > return (0); > } >@@ -3850,9 +3853,12 @@ bus_generic_new_pass(device_t dev) > device_t child; > > dc = dev->devclass; >+ printf("%s:%d\n", __func__, __LINE__); > TAILQ_FOREACH(dl, &dc->drivers, link) { >- if (dl->pass == bus_current_pass) >+ if (dl->pass == bus_current_pass) { >+ printf("%s:%d %s\n", __func__, __LINE__, dl->driver->name); > DEVICE_IDENTIFY(dl->driver, dev); >+ } > } > TAILQ_FOREACH(child, &dev->children, link) { > if (child->state >= DS_ATTACHED) >@@ -3860,6 +3866,7 @@ bus_generic_new_pass(device_t dev) > else if (child->state == DS_NOTPRESENT) > device_probe_and_attach(child); > } >+ printf("%s:%d\n", __func__, __LINE__); > } > > /** >diff --git a/sys/x86/x86/autoconf.c b/sys/x86/x86/autoconf.c >index c9f74a5084eb..3898713af969 100644 >--- a/sys/x86/x86/autoconf.c >+++ b/sys/x86/x86/autoconf.c >@@ -94,8 +94,10 @@ static void > configure(void *dummy) > { > >+ printf("%s:%d\n", __func__, __LINE__); > /* initialize new bus architecture */ > root_bus_configure(); >+ printf("%s:%d\n", __func__, __LINE__); > > #ifdef DEV_ISA > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 282860
:
255299
|
255308
|
255309
|
255310
|
255311
|
255312
|
255313
|
255329
|
255330
|
255331
| 255332 |
255333
|
255337
|
255354
|
255357
|
255361