On Thu, Jan 15, 2015 at 8:09 AM, Ran Shalit <ransha...@gmail.com> wrote: > > > > On Thu, Jan 15, 2015 at 3:22 PM, Ran Shalit <ransha...@gmail.com> wrote: >> >> Hello, >> >> >> I have trouble using ethernet usb gadget driver on the beagleboard >> (omap3530). >> >> I am using SDK 4.2.0.7 for the kernel, I've compiled it with beaglebpoard >> config, so everything is expected to work as required on this EVM. >> >> I have compiled both kernel and modules with ethernet gadget module >> enabled, but on trying to insmod the driver, I get the following; >> >> root@beagleboard:/lib/modules/2.6.37/kernel/drivers/usb/gadget# insmod >> g_ether.ko >> >> insmod: error inserting 'g_ether.ko': -1 No such device >> >> >> Did anyone encounter such failure ? >> >> Attached boot log.Regards, >> >> > > Hi, > I suspect it is related to the following error: > > Welcome to The ֵngstrצm Distribution! > > [ 3.811035] <28>systemd[1]: /sbin/modprobe failed with error code 1. > [ 3.822387] <30>systemd[1]: Set hostname to <beagleboard>. > [ 3.843353] <28>systemd[1]: CONFIG_CGROUPS was not set when your kernel > was compiled. Systems without control groups are not supported. We will now > sleep for 10s, and then continue boot-up. Expect breakage and please do not > file bugs. Instead fix your kernel and enable CONFIG_CGROUPS. > [ 13.897247] <28>systemd[1]: No control group support available, not > creating root group. > [ 14.307220] <27>systemd[1]: Failed to open /dev/autofs: No such file or > directory > [ 14.315338] <27>systemd[1]: Failed to initialize automounter: No such > file or directory > [ 14.323974] <29>systemd[1]: Unit proc-sys-fs-binfmt_misc.automount > entered failed state. > Starting Runtime Directory... > > Is anyone familiar with it ?
It should be pretty obvious, it's actually telling you twice what kernel config your missing.. Hint: it's telling you your kernel is mis-configured, add the config option and reboot.. Regards, -- Robert Nelson http://www.rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.