kldstat output: kernel no more

From: Paolo Pisati <piso_at_freebsd.org>
Date: Mon, 26 Feb 2007 16:08:14 +0100
On a recent CURRENT, try kldstat:

[piso_at_newluxor /usr/home/piso]$ kldstat 
Id Refs Address            Size     Name
 2    1 0xffffffffaede1000 3877     linprocfs.ko
 3    2 0xffffffffaede5000 186dd    linux.ko
 6    1 0xffffffffaeec6000 75a      rtc.ko
 7    1 0xffffffffaee58000 b20c     ipfw.ko
 8    1 0xffffffffaee64000 76b8     libalias.ko
 9    1 0xffffffffaeecb000 49f8     i915.ko
10    1 0xffffffffaeed0000 da61     drm.ko
11    1 0xffffffffaf106000 17027    smbfs.ko
12    2 0xffffffffaf11e000 1cda     libiconv.ko
13    2 0xffffffffaf120000 c25      libmchain.ko
14    1 0xffffffffaf1f3000 2a35     snd_ich.ko
15    1 0xffffffffaf1f6000 2a235    sound.ko
[piso_at_newluxor /usr/home/piso]$

no kernel in the output, and that breaks module detection.
In example, everytime i do:

ifconfig bfe0 inet ...

the bfe support is compiled into the kernel, but ifconfig cannot find
it (cause there's no kernel), so it tries to kldload it again,
resulting in:

Feb 26 11:46:55 newluxor kernel: Module cardbus/re failed to register: 17
Feb 26 11:46:55 newluxor kernel: module_register: module re/miibus already exist
s!
Feb 26 11:46:55 newluxor kernel: Module re/miibus failed to register: 17
Feb 26 11:46:55 newluxor kernel: module_register: module pci/re already exists!
Feb 26 11:46:55 newluxor kernel: Module pci/re failed to register: 17
Feb 26 11:46:55 newluxor kernel: module_register: module cardbus/re already exists!

bye,
P.
Received on Mon Feb 26 2007 - 14:08:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:06 UTC