Listing Order of SYSINIT's

Cy Schubert Cy.Schubert at komquats.com
Tue Jan 31 09:54:33 PST 2006


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 at 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 at 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<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 83886080 (80 MB)
avail memory = 76713984 (73 MB)
Intel Pentium detected, installing workaround for F00F bug
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
cpu0 on motherboard
...


Cheers,
Cy Schubert <Cy.Schubert at komquats.com>
Web:  http://www.komquats.com and http://www.bcbodybuilder.com
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  http://www.FreeBSD.org
BC Government:  <Cy.Schubert at gov.bc.ca>

    "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





More information about the freebsd-hackers mailing list