Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Boot fail as kvm guest



> I think NetBSD should add a stack trace on panics automatically...

OpenBSD has:

---
                if (panicstr != NULL) {
                        if (db_print_position() != 0)
                                db_printf("\n");
                        db_printf("RUN AT LEAST 'trace' AND 'ps' AND INCLUDE "
                            "OUTPUT WHEN REPORTING THIS PANIC!\n");
#ifdef MULTIPROCESSOR
                        db_printf("IF RUNNING SMP, USE 'mach ddbcpu <#>' AND "
                            "'trace' ON OTHER PROCESSORS, TOO.\n");
#endif
                        db_printf("DO NOT EVEN BOTHER REPORTING THIS WITHOUT "
                            "INCLUDING THAT INFORMATION!\n");
                }

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index