* [Buildroot] installing kernel modules fails due to not existing directory
@ 2010-06-16 20:42 Ossy
2010-06-18 21:13 ` Ossy
0 siblings, 1 reply; 2+ messages in thread
From: Ossy @ 2010-06-16 20:42 UTC (permalink / raw)
To: buildroot
Dear buildrootmailinglist,
I wasn't able to run a simple make with linux kernel 2.6.33.X (same
version as headers). It was not possible to install the modules.
The reason might be this:
WARNING: Couldn't open directory
..buildroot-dev/output/target/lib/modules/2.6.33.5: No such file or
directory
This directory is indeed not there, but I found:
ossy at debian-virtual:~/buildroot/buildroot-dev/output/target/lib/modules$ ll
drwxr-xr-x 3 ossy ossy 86 15. Jun 14:06
2.6.33.5-dockstarViaBR-00109-g5fd095b-dirty
So how do I make sure to use 2.6.33.5 and not the git-generated name?
Or is it the script which should use the git-generated name?
I tried to create a link, but it was removed after running make.
Thanks for your help.
Kind regards,
Marcus
...
DEPMOD 2.6.33.5-dockstarViaBR-00109-g5fd095b-dirty
make[1]: Leaving directory
`/home/ossy/buildroot/buildroot-dev/output/build/linux-2.6.33.5'
+ rm -f
/home/ossy/buildroot/buildroot-dev/output/target/lib/modules/2.6.33.5/build
/home/ossy/buildroot/buildroot-dev/output/target/lib/mod
ules/2.6.33.5/source
+
/home/ossy/buildroot/buildroot-dev/output/staging/bin/arm-linux-depmod26
-b /home/ossy/buildroot/buildroot-dev/output/target 2.6.33.5
WARNING: Couldn't open directory
/home/ossy/buildroot/buildroot-dev/output/target/lib/modules/2.6.33.5:
No such file or directory
FATAL: Could not open
/home/ossy/buildroot/buildroot-dev/output/target/lib/modules/2.6.33.5/modules.dep.temp
for writing: No such file or di
rectory
make: ***
[/home/ossy/buildroot/buildroot-dev/output/target/lib/modules/2.6.33.5/modules.dep]
Fehler 1
...
ossy at debian-virtual:~/buildroot/buildroot-dev$ cat .git/FETCH_HEAD
5fd095b3748115d7cbe89524332e4b310550b7c3 branch 'master'
of http://git.buildroot.net/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] installing kernel modules fails due to not existing directory
2010-06-16 20:42 [Buildroot] installing kernel modules fails due to not existing directory Ossy
@ 2010-06-18 21:13 ` Ossy
0 siblings, 0 replies; 2+ messages in thread
From: Ossy @ 2010-06-18 21:13 UTC (permalink / raw)
To: buildroot
Hi mailinglist,
Just for documenting how I worked around this issue:
I omitted the following options in the linux kernel configuration:
CONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not set
After that modification, the modules were installed successfully into
the target/lib/modules-2.6.33.X directory (without local suffix).
Kind regards,
Marcus
Am 16.06.2010 22:42, schrieb Ossy:
> Dear buildrootmailinglist,
>
> I wasn't able to run a simple make with linux kernel 2.6.33.X (same
> version as headers). It was not possible to install the modules.
>
> The reason might be this:
> WARNING: Couldn't open directory
> ..buildroot-dev/output/target/lib/modules/2.6.33.5: No such file or
> directory
>
> This directory is indeed not there, but I found:
> ossy at debian-virtual:~/buildroot/buildroot-dev/output/target/lib/modules$ ll
> drwxr-xr-x 3 ossy ossy 86 15. Jun 14:06
> 2.6.33.5-dockstarViaBR-00109-g5fd095b-dirty
> So how do I make sure to use 2.6.33.5 and not the git-generated name?
> Or is it the script which should use the git-generated name?
>
> I tried to create a link, but it was removed after running make.
>
> Thanks for your help.
>
>
> Kind regards,
> Marcus
>
> ...
> DEPMOD 2.6.33.5-dockstarViaBR-00109-g5fd095b-dirty
> make[1]: Leaving directory
> `/home/ossy/buildroot/buildroot-dev/output/build/linux-2.6.33.5'
> + rm -f
> /home/ossy/buildroot/buildroot-dev/output/target/lib/modules/2.6.33.5/build
> /home/ossy/buildroot/buildroot-dev/output/target/lib/mod
> ules/2.6.33.5/source
> +
> /home/ossy/buildroot/buildroot-dev/output/staging/bin/arm-linux-depmod26
> -b /home/ossy/buildroot/buildroot-dev/output/target 2.6.33.5
> WARNING: Couldn't open directory
> /home/ossy/buildroot/buildroot-dev/output/target/lib/modules/2.6.33.5:
> No such file or directory
> FATAL: Could not open
> /home/ossy/buildroot/buildroot-dev/output/target/lib/modules/2.6.33.5/modules.dep.temp
> for writing: No such file or di
> rectory
> make: ***
> [/home/ossy/buildroot/buildroot-dev/output/target/lib/modules/2.6.33.5/modules.dep]
> Fehler 1
> ...
>
>
> ossy at debian-virtual:~/buildroot/buildroot-dev$ cat .git/FETCH_HEAD
> 5fd095b3748115d7cbe89524332e4b310550b7c3 branch 'master' of
> http://git.buildroot.net/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-06-18 21:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-16 20:42 [Buildroot] installing kernel modules fails due to not existing directory Ossy
2010-06-18 21:13 ` Ossy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox