Current-Users archive

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

Re: Boot-time debug messages



On Sat, 13 Dec 2008, Andrew Doran wrote:

On Sat, Dec 13, 2008 at 09:23:32AM -0800, Paul Goyette wrote:

I'm installing 5.99.5 and I noticed the following messages on the
console:

speedy:paul {101} dmesg | grep sysc
sysctl_createv: sysctl_create(kern) returned 1
sysctl_createv: sysctl_locate(boottime) returned 2
sysctl_createv: sysctl_create(vm) returned 1
sysctl_createv: sysctl_locate(loadavg) returned 2
sysctl_createv: sysctl_create(hw) returned 1
sysctl_createv: sysctl_locate(machine) returned 2
sysctl_createv: sysctl_locate(machine_arch) returned 2
speedy:paul {102}

Are these supposed to be displayed?  Or are they just remnants of
someone's earlier debugging efforts?

Do you have SYSCTL_DEBUG_CREATE in your opt_sysctl.h?

I don't think so...

        speedy:QUICKY {104} grep DEBUG opt_sysctl.h
        /* option `SYSCTL_DEBUG_CREATE' not defined */
         .ifndef _KERNEL_OPT_SYSCTL_DEBUG_CREATE
         .global _KERNEL_OPT_SYSCTL_DEBUG_CREATE
         .equiv _KERNEL_OPT_SYSCTL_DEBUG_CREATE,0x6e074def
        __asm(" .ifndef _KERNEL_OPT_SYSCTL_DEBUG_CREATE\n .global
        _KERNEL_OPT_SYSCTL_DEBUG_CREATE\n .equiv
        _KERNEL_OPT_SYSCTL_DEBUG_CREATE,0x6e074def\n .endif");
        /* option `SYSCTL_DEBUG_SETUP' not defined */
         .ifndef _KERNEL_OPT_SYSCTL_DEBUG_SETUP
         .global _KERNEL_OPT_SYSCTL_DEBUG_SETUP
         .equiv _KERNEL_OPT_SYSCTL_DEBUG_SETUP,0x6e074def
        __asm(" .ifndef _KERNEL_OPT_SYSCTL_DEBUG_SETUP\n .global
        _KERNEL_OPT_SYSCTL_DEBUG_SETUP\n .equiv
        _KERNEL_OPT_SYSCTL_DEBUG_SETUP,0x6e074def\n .endif");

And my kernel config says:

        speedy:conf {106} grep DEBUG QUICKY
        #options        DEBUG           # expensive debugging checks/support
        makeoptions     DEBUG="-g"      # compile full symbol table
        speedy:conf {107}


----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul%whooppee.com@localhost   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index