From: Wojciech Zabolotny <wzab01@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Buildroot 2011.11 on x86_64 - neither udev nor mdev loads needed modules at startup
Date: Mon, 26 Dec 2011 16:45:08 +0100 [thread overview]
Message-ID: <4EF89684.8070401@gmail.com> (raw)
In-Reply-To: <4EF879B6.8080902@gmail.com>
I've found yet another problem associated with udev's pci-db.
The database path is compiled as "/usr/local/wzab/asus_amd/buildroot-2011.11/output/target/usr/share/hwdata/pci.ids" (containing the whole path to the directory in which I compiled the buildroot)
instead of only "/usr/share/hwdata/pci.ids".
However working around this problem by:
#mkdir -p /usr/local/wzab/asus_amd/buildroot-2011.11/output
#ln -s / /usr/local/wzab/asus_amd/buildroot-2011.11/output/target
improved operation of pci-db, but didn't help to automatically load modules for recognized hardware...
Additionally to analyze my problems with udev, I had to compile strace.
It didn't compile "out of the box" leading to error:
/usr/local/wzab/asus_amd/buildroot-2011.11/output/host/usr/bin/x86_64-unknown-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I./linux/x86_64 -I./linux -Wall -pipe -Os -fPIC -DPIC -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c
file.c: In function 'printstat64':
file.c:1046:16: error: storage size of 'statbuf' isn't known
To compile it I had to comment out the line 1010 in file.c:
// #if !defined HAVE_STAT64 && defined LINUX && defined X86_64
and corresponding line 1040:
//#endif
Anyway the reason why the modules are not loaded automatically is still unclear :-(.
--
Regards,
Wojtek
next prev parent reply other threads:[~2011-12-26 15:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-25 0:10 [Buildroot] Buildroot 2011.11 on x86_64 - neither udev nor mdev loads needed modules at startup Wojciech Zabolotny
2011-12-26 13:42 ` Wojciech Zabolotny
2011-12-26 15:45 ` Wojciech Zabolotny [this message]
2011-12-26 15:50 ` Diego Iastrubni
2011-12-26 17:53 ` [Buildroot] SOLVED! " Wojciech Zabolotny
2011-12-26 22:52 ` Wojciech Zabolotny
2011-12-26 23:57 ` wzab
2011-12-26 23:59 ` Wojciech Zabolotny
2011-12-27 11:56 ` Diego Iastrubni
2011-12-27 12:09 ` Wojciech Zabolotny
2012-01-12 22:47 ` [Buildroot] strace doesn't compile on x86_64 Arnout Vandecappelle
2012-01-14 19:02 ` vbr vbr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EF89684.8070401@gmail.com \
--to=wzab01@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.