summaryrefslogtreecommitdiff
path: root/meta/recipes-sato/matchbox-desktop
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2011-04-08 15:36:37 +0200
committerSaul Wold <sgw@linux.intel.com>2011-04-22 22:03:56 -0700
commita0629aa0dc55829565b7ab1725875eac065ab2f1 (patch)
tree90646e3d0f900974fe84776e7ec9bb72d16b8f34 /meta/recipes-sato/matchbox-desktop
parent5f17c96c196db21e7590ef3ed530e1a6a22acb06 (diff)
downloadopenembedded-core-a0629aa0dc55829565b7ab1725875eac065ab2f1.tar.gz
openembedded-core-a0629aa0dc55829565b7ab1725875eac065ab2f1.tar.bz2
openembedded-core-a0629aa0dc55829565b7ab1725875eac065ab2f1.tar.xz
openembedded-core-a0629aa0dc55829565b7ab1725875eac065ab2f1.zip
modutils-initscripts: fix wrong order of module loading happening in udev
In the current state, udev init script is loaded as 3rd and modutils.sh as 20th, so udevadm called in udev init script loads all kernel modules in some unpredictable order, not honoring in any way specified order of modules in /etc/modules. This causes some troubles mainly in the first boot. So to fix this we now move loading of the kernel modules just before we exec udev init script. Example of the current state: Starting udev rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc0 rtc-m48t86 rtc-m48t86: battery ok ep93xx-rtc ep93xx-rtc: rtc core: registered ep93xx-rtc as rtc1 root@ts72xx:~# cat /etc/modules rtc-ep93xx ohci-hcd ts72xx_sbcinfo rtc-m48t86 As you can guess, this is really wrong behaviour, because I've rtc1 as the main time source for my system. root@ts72xx:~# cat /etc/default/hwclock HWCLOCKACCESS=yes HWCLOCKDEVICE=/dev/rtc1 Expected behaviour with this patch applied: Please wait: booting... ep93xx-rtc ep93xx-rtc: rtc core: registered ep93xx-rtc as rtc0 usbcore: registered new device driver usb ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ... rtc-m48t86 rtc-m48t86: rtc core: registered m48t86 as rtc1 rtc-m48t86 rtc-m48t86: battery ok Starting udev Signed-off-by: Petr Štetiar <ynezz@true.cz> (based on http://patches.openembedded.org/patch/1917/) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-sato/matchbox-desktop')
0 files changed, 0 insertions, 0 deletions