Hi everybody, I'm getting some errors after building my Linux distro with the use of KERNEL_MODULE_AUTOLOAD to allow autoloading 2 of my custom out-of-tree device at boot time. We've a Poky 1.7 version.
So, before building the new image with the Yocto keyword KERNEL_MODULE_AUTOLOAD, I was able to load and open (and, obviously, use) my devices simply by calling 'modprobe mydevice' after logging in. Restarting the board, everything was still working well. Since I've rebuild a new image enabling module autoload at boot time, modules are always loaded, but I'm able to open (and use) them only really first time I switched on the board after downloading new image. After the first reboot, LKMs are still loaded (calling 'lsmod' show them) but I can't open them, neither from my C program nor reading/writing them from '/dev/mydevice'. To me it sound a very strange behavior. Hope anyone can help, Many thanks Andrea Andrea Laini Email: andrea.la...@claypaky.it<mailto:andrea.la...@claypaky.it> _________________________________ Clay Paky S.p.A. AN OSRAM BUSINESS Via Pastrengo, 3/b - 24068 Seriate (BG) - ITALY Phone: +39 - 035.654.311 - Fax: +39 - 035.30.18.76 Web: www.claypaky.it<http://www.claypaky.it/> _________________________________ Read our Disclaimer @ www.claypaky.it/disclaimer<http://www.claypaky.it/disclaimer/index.html>
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto