* index_mm_open: No such file or directory
@ 2012-01-21 20:06 Matt Burgess
2012-01-21 20:09 ` Lucas De Marchi
2012-01-21 20:21 ` Matt Burgess
0 siblings, 2 replies; 3+ messages in thread
From: Matt Burgess @ 2012-01-21 20:06 UTC (permalink / raw)
To: linux-hotplug
[reposted to fix linux-hotplug address, apologies!]
Hi all,
When running the following command...
for NIC in /sys/class/net/* ; do
INTERFACE=${NIC##*/} udevadm test --actiond $NIC
done
... I see the following output:
run_command: calling: test
adm_test: version 178
builtin_kmod_init: load module index
index_mm_open: No such file or directory
Now, the command actually runs successfully, and the persistent rules
file is correctly generated, but I'm left scratching my head as to what
file/directory is trying and failing to be read.
I've tried building both udev-178 and kmod-4 with '--enable-debug' but
still don't get any additional output. What am I missing?
Thanks,
Matt.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: index_mm_open: No such file or directory
2012-01-21 20:06 index_mm_open: No such file or directory Matt Burgess
@ 2012-01-21 20:09 ` Lucas De Marchi
2012-01-21 20:21 ` Matt Burgess
1 sibling, 0 replies; 3+ messages in thread
From: Lucas De Marchi @ 2012-01-21 20:09 UTC (permalink / raw)
To: linux-hotplug
Hi Matt,
On Sat, Jan 21, 2012 at 5:55 PM, Matt Burgess
<matthew@linuxfromscratch.org> wrote:
> Hi all,
>
> When running the following command...
>
> for NIC in /sys/class/net/* ; do
> INTERFACE=${NIC##*/} udevadm test --actiond $NIC
> done
>
> ... I see the following output:
>
> run_command: calling: test
> adm_test: version 178
> builtin_kmod_init: load module index
> index_mm_open: No such file or directory
You are missing a ".bin" file at /lib/modules/$(uname -r)/. Do you
have all these 3 files below?
modules.alias.bin
modules.dep.bin
modules.symbols.bin
Yes, the message is a bit misleading, I have a patch pending for that
that will be part of kmod 5.
Thanks
Lucas De Marchi
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: index_mm_open: No such file or directory
2012-01-21 20:06 index_mm_open: No such file or directory Matt Burgess
2012-01-21 20:09 ` Lucas De Marchi
@ 2012-01-21 20:21 ` Matt Burgess
1 sibling, 0 replies; 3+ messages in thread
From: Matt Burgess @ 2012-01-21 20:21 UTC (permalink / raw)
To: linux-hotplug
On Sat, 2012-01-21 at 18:09 -0200, Lucas De Marchi wrote:
> Hi Matt,
>
> On Sat, Jan 21, 2012 at 5:55 PM, Matt Burgess
> <matthew@linuxfromscratch.org> wrote:
> > Hi all,
> >
> > When running the following command...
> >
> > for NIC in /sys/class/net/* ; do
> > INTERFACE=${NIC##*/} udevadm test --actiond $NIC
> > done
> >
> > ... I see the following output:
> >
> > run_command: calling: test
> > adm_test: version 178
> > builtin_kmod_init: load module index
> > index_mm_open: No such file or directory
>
> You are missing a ".bin" file at /lib/modules/$(uname -r)/. Do you
> have all these 3 files below?
>
> modules.alias.bin
> modules.dep.bin
> modules.symbols.bin
Ah, that explains it perfectly, thanks! The exact scenario here is that
I'm building udev/kmod in a chroot environment from a Fedora 16 host.
Fedora is running a kernel with a module directory
of /lib/modules/3.1.9-1.fc16.x86_64 but my chroot environment
contains /lib/modules/3.2.1. So, while both the host and my chroot
environment contain all 3 .bin files in their respective modules
directories, because those directories are between the 2 environments, I
see the message above. As it doesn't appear to have any impact on the
functionality I'm after here, I'm happy enough to leave it as-is. I'm
guessing though, that a symlink with the same name as the host's module
directory to the chroot environment directory would work around the
issue.
Regards,
Matt.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-01-21 20:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-21 20:06 index_mm_open: No such file or directory Matt Burgess
2012-01-21 20:09 ` Lucas De Marchi
2012-01-21 20:21 ` Matt Burgess
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox