kern/95804: kldstat -m fails and succeeds randomly
Maxim Konovalov
maxim at macomnet.ru
Sat Apr 15 19:50:14 UTC 2006
The following reply was made to PR kern/95804; it has been noted by GNATS.
From: Maxim Konovalov <maxim at macomnet.ru>
To: "Jukka A. Ukkonen" <jau at iki.fi>
Cc: bug-followup at freebsd.org, fjoe at freebsd.org
Subject: Re: kern/95804: kldstat -m fails and succeeds randomly
Date: Sat, 15 Apr 2006 23:47:37 +0400 (MSD)
[ Author of -m flag CC'ed ]
Hello,
[...]
> (mjolnir) 14:33 security/openvpn# kldstat -m linux
> kldstat: can't find module linux: No such file or directory
That's because linux (actually linux.ko) is a container not a module.
Try kldstat -m linuxelf and you get what I mean.
> (mjolnir) 14:33 security/openvpn# kldstat -m radeon
> kldstat: can't find module radeon: No such file or directory
The same:
kldstat -m vgapci/radeon
> (mjolnir) 14:34 security/openvpn# kldstat -m drm
> kldstat: can't find module drm: No such file or directory
> (mjolnir) 14:34 security/openvpn# kldstat -m wlan_wep
> Id Refs Name
> 41 1 wlan_wep
In rare cases module and its contaner have the same name :-)
What are you looking for is kldstat -n <filename>.
Jukka, if you don't object I close the PR.
--
Maxim Konovalov
More information about the freebsd-bugs
mailing list