From: Gary Thomas <gary@mlbassoc.com>
To: Poky Project <poky@yoctoproject.org>
Subject: Early image startup
Date: Fri, 08 Apr 2011 07:20:02 -0600 [thread overview]
Message-ID: <4D9F0B82.9080803@mlbassoc.com> (raw)
I have a Poky image which uses a number of kernel modules. For
whatever reason, the raw image has not had the modules configured
(no /lib/modules/.../modules.dep) This file is created by 'update-modules'
but that is run too late in the boot process. The problem is that
other code, e.g. I'm using iptables via modules, requires the modules
be configured early and this fails. If I reboot (after 'update-modules'
has run), everything is fine.
My system is PowerPC and I'm using ipk packaging.
Here's a snippet from my initial boot log:
Please wait: booting...
Starting udev
Configuring network interfaces... udhcpc (v1.17.3) started
Setting IP address 0.0.0.0 on eth0
Sending discover...
PHY: mdio@ff024520:01 - Link is Up - 1000/Full
Sending discover...
Sending select for 192.168.12.140...
Lease of 192.168.12.140 obtained, lease time 600
Setting IP address 192.168.12.140 on eth0
Deleting routers
Adding router 192.168.12.1
Recreating /etc/resolv.conf
Adding DNS server 192.168.12.1
done.
modprobe: can't open 'modules.dep': No such file or directory
iptables v1.4.9: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
Starting DHCP server: .
Fri Apr 8 12:29:00 UTC 2011
Configuring update-modules.
Configuring kernel-image-2.6.37.3.
Configuring kernel-module-nf-conntrack.
Configuring kernel-module-x-tables.
Configuring kernel-module-ip-tables.
Configuring kernel-module-nf-defrag-ipv4.
Configuring kernel-module-nf-conntrack-ipv4.
Configuring kernel-module-iptable-mangle.
Configuring kernel-module-xt-state.
Configuring kernel-module-nf-nat.
Configuring kernel-module-nf-conntrack-tftp.
Configuring kernel-module-nf-nat-tftp.
Configuring kernel-module-ipt-masquerade.
Configuring kernel-module-iptable-nat.
Configuring kernel-module-iptable-filter.
Configuring netkit-tftpd.
Configuring kernel-module-xt-tcpudp.
So, what decides when these 'configuring' steps run?
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next reply other threads:[~2011-04-08 13:20 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-08 13:20 Gary Thomas [this message]
2011-04-08 13:29 ` Early image startup Gary Thomas
2011-04-08 13:30 ` [poky] " Koen Kooi
2011-04-08 13:50 ` Richard Purdie
2011-04-08 14:01 ` Gary Thomas
2011-04-08 14:07 ` Gary Thomas
2011-04-08 14:17 ` Gary Thomas
2011-04-08 16:40 ` Hatle, Mark
2011-04-08 17:03 ` Gary Thomas
2011-04-08 17:03 ` [OE-core] " Gary Thomas
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=4D9F0B82.9080803@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=poky@yoctoproject.org \
/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.