Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 May 1999 09:21:32 +0800
From:      Peter Wemm <peter@netplex.com.au>
To:        wpaul@FreeBSD.ORG (Bill Paul)
Cc:        nate@mt.sri.com (Nate Williams), committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/pccard pccard.c 
Message-ID:  <19990506012135.D76271F69@spinner.netplex.com.au>
In-Reply-To: Your message of "Tue, 04 May 1999 22:37:31 MST." <19990505053731.C46F215822@hub.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Paul wrote:
> Oh, one last thing: rc.pccard tries to check to see if the pcic
> code has been compiled into the kernel by doing a kldstat and looking
> for the string 'pcic' in the output. Newsflash people: that doesn't work.
> Things directly compiled into the kernel don't show up in kldstat: all
> you'll see is the name of the kernel image.

Yes it does, the magic is that kldstat -v should be used to show the
modules, not just the files:

kldstat -v:
Id Refs Address    Size     Name
 1    1 0xc0100000 27af7c   kernel
        Contains modules:
                Id Name
                 1 rootbus
                 2 isa/vga
                 3 isa/sc
                 4 isa/sio
                 5 nexus/npx
                 6 nexus/isa
                 7 isab/isa
                 8 fdc/fd
                 9 isa/fdc
                10 isa/atkbdc
[..]
                21 pci/isab
                22 pci/pcib
                23 pcib/pci
                24 pci/ahc
                25 vinum
                26 de
                27 mfs
                28 ufs
                29 nfs
                30 procfs
                31 if_loop
                32 shell
                33 elf
                34 aout

Cheers,
-Peter



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990506012135.D76271F69>