From owner-freebsd-hackers@FreeBSD.ORG Tue Jan 31 17:54:33 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3DCCA16A420 for ; Tue, 31 Jan 2006 17:54:33 +0000 (GMT) (envelope-from Cy.Schubert@komquats.com) Received: from komquats.com (S0106002078125c0c.gv.shawcable.net [24.108.150.239]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8759843D45 for ; Tue, 31 Jan 2006 17:54:32 +0000 (GMT) (envelope-from Cy.Schubert@komquats.com) Received: from cwsys.cwsent.com (cwsys [10.1.1.1]) by komquats.com (Postfix) with ESMTP id 705E74C5C6 for ; Tue, 31 Jan 2006 09:54:30 -0800 (PST) Received: from cwsys (localhost [127.0.0.1]) by cwsys.cwsent.com (8.13.4/8.13.4) with ESMTP id k0VHsRMo093587 for ; Tue, 31 Jan 2006 09:54:27 -0800 (PST) (envelope-from Cy.Schubert@komquats.com) Message-Id: <200601311754.k0VHsRMo093587@cwsys.cwsent.com> X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.0.4 From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.komquats.com/ To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 31 Jan 2006 09:54:27 -0800 Sender: Cy.Schubert@komquats.com Subject: Listing Order of SYSINIT's X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Cy Schubert List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 Jan 2006 17:54:33 -0000 Is there a tool or approach to listing the order in which SYSINIT's are executed during boot? I'm currently trying to diagnose a 7.0-CURRENT hang of a P54C machine just after the WITNESS message is printed. It's obvious I'm not getting the whole picture here. cwtest.foobar loader file selected unload complete currdev set to disk2s1a: /boot/kernel/kernel text=0x4e14e4 data=0x84900+0xa026c syms=[0x4+0x67ea0+0x4+0x7f4ff] new kernel has been loaded OK boot -Ddvs GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb KDB: enter: Boot flags requested debugger [thread pid 0 tid 0 ] Stopped at kdb_enter+0x2b: nop db> ? Bad character ? db> break startrtclock db> continue SMAP type=01 base=0000000000000000 len=000000000009fc00 SMAP type=01 base=000000000009fc00 len=0000000000000400 SMAP type=02 base=00000000000f0000 len=0000000000010000 SMAP type=01 base=0000000000100000 len=0000000004f00000 SMAP type=02 base=00000000ffff0000 len=0000000000010000 Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 7.0-CURRENT #2: Mon Jan 30 15:50:07 PST 2006 root@cwsys:/export/obj/opt/src/cvs-current/src/sys/GENERIC WARNING: WITNESS option enabled, expect reduced performance. CPU just hangs until I press the reset switch. This system runs 4.11, 5.4, and 6.0 just nicely. 6.0 Boot below: /boot/kernel/kernel text=0x2e7b04 data=0x39924+0x2ef28 syms=[0x4+0x44260+0x4+0x560a3] no such file or directory \ Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Copyright (c) 1992-2005 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 6.0-STABLE #2: Mon Jan 30 13:16:15 PST 2006 root@cwsys:/export/obj/opt/src/cvs-stable6/src/sys/KOMQUATS Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium/P54C (119.75-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf real memory = 83886080 (80 MB) avail memory = 76713984 (73 MB) Intel Pentium detected, installing workaround for F00F bug npx0: [FAST] npx0: on motherboard npx0: INT 16 interface cpu0 on motherboard ... Cheers, Cy Schubert Web: http://www.komquats.com and http://www.bcbodybuilder.com FreeBSD UNIX: Web: http://www.FreeBSD.org BC Government: "Lift long enough and I believe arrogance is replaced by humility and fear by courage and selfishness by generosity and rudeness by compassion and caring." -- Dave Draper