Re: lsmod/insmod commands are not working
- From: Andy Green <andy@xxxxxxxxxxx>
- Date: Tue, 31 Jul 2007 10:26:29 +0100
Somebody in the thread at some point said:
MAHESH wrote:
i am using fedora 7 in my system its kernel version is 2.6 while
programming it is not executing the commands insmod & lsmod and when
You probably want to install -devel {for compiling kernel module
interfaces} or -headers {all}
yum install kernel-devel or yum install kernel-headers
kernel-headers contains mutant kernel includes that have been "sanatized
for userspace", if he's trying to do "kernel level programming" then he
wants specifically the kernel-devel stuff.
But I think maybe he is telling us about a second problem.... insmod and
lsmod and so on live down /sbin, and only root has /sbin in its PATH by
default. You can still run lsmod anyway as a normal user, but you will
have to run it as
/sbin/lsmod
or add /sbin to your PATH. But really to do anything useful you will
want to run them as root, where you will also be able to run them
without giving the /sbin/ in front.
-Andy
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- lsmod/insmod commands are not working
- From: MAHESH
- Re: lsmod/insmod commands are not working
- From: David Timms
- lsmod/insmod commands are not working
- Prev by Date: Re: lsmod/insmod commands are not working
- Next by Date: Re: Fc7: kernel-2.6.22-x86-64 + nvidia-any + quake4 = reboot
- Previous by thread: Re: lsmod/insmod commands are not working
- Next by thread: yum search koji
- Index(es):
Relevant Pages
- Re: RHEL5 kernel-headers
... I think your looking for is the kernel-devel package. ... kernel-devel or yum
install kernel-devel should work just fine depending on ... which version of red
hat you are using. ... (RedHat) - RE: RHEL5 kernel-headers
... I think your looking for is the kernel-devel package. ... kernel-devel or yum
install kernel-devel should work just fine depending ... (RedHat)