From owner-freebsd-questions Wed May 23 15: 4:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from rgmail.regenstrief.org (rgmail.regenstrief.org [134.68.31.197]) by hub.freebsd.org (Postfix) with ESMTP id 1480D37B423 for ; Wed, 23 May 2001 15:04:37 -0700 (PDT) (envelope-from gunther@aurora.regenstrief.org) Received: from aurora.regenstrief.org (rgnout.regenstrief.org [134.68.31.38]) by rgmail.regenstrief.org (8.11.0/8.8.7) with ESMTP id f4NM7UX26781 for ; Wed, 23 May 2001 17:07:31 -0500 Message-ID: <3B0C33F2.B431FE24@aurora.regenstrief.org> Date: Wed, 23 May 2001 22:04:34 +0000 From: Gunther Schadow Organization: Regenstrief Institute for Health Care X-Mailer: Mozilla 4.75 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Kernel: who calls xyz_attach() during initialization? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm tracking down a problem in some pseudo device stuff in the kernel that will get stuck in the initializaton phase and not go any further. I thought there was some code generated by config(8) that would contain all the calls to the xyz_attach() routines. I did find ioconf.c but that only contains real devices. So, where is that magic list of pseudo devices? I need to know in what order they are attached and so I need to find where it hangs. It's too bad that pseudo-devices and other things don't write initialization messages or that there isn't one flag that could be set on that would cause all XYZ_DEBUG options to be set. Is there a way to use the DDB and then do some BREAK to get into debugger mode once the kernel hangs? But I'm not even sure the hardware isn't all screwed up at that point... thanks, -Gunther -- Gunther Schadow, M.D., Ph.D. gschadow@regenstrief.org Medical Information Scientist Regenstrief Institute for Health Care Adjunct Assistent Professor Indiana University School of Medicine tel:1(317)630-7960 http://aurora.regenstrief.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message