*Hi Dennis,Regarding this issue, now I included all the modules associated
with Ethernet CDC as built in modules.(For this I selected Ethernet CDC as
USB Gadget driver, instead of M(Module), Y(Include) is selected for*
* USB Gadget driver )When I search for all build in modules with filters,
it is showing the following results*
debian@arm:/etc/network$ cat /lib/modules/$(uname -r)/modules.builtin |
grep usb_f*
kernel/drivers/power/supply/axp20x_usb_power.ko
kernel/drivers/usb/gadget/function/usb_f_ecm.ko
kernel/drivers/usb/gadget/function/usb_f_ecm_subset.ko
kernel/drivers/usb/gadget/function/usb_f_rndis.ko
kernel/drivers/usb/musb/musb_hdrc.ko
kernel/drivers/usb/musb/musb_dsps.ko
kernel/drivers/usb/musb/musb_am335x.ko
debian@arm:/etc/network$
debian@arm:/etc/network$ cat /lib/modules/$(uname -r)/modules.builtin |
grep g_ether
kernel/drivers/usb/gadget/legacy/g_ether.ko
debian@arm:/etc/network$ cat /lib/modules/$(uname -r)/modules.builtin |
grep u_ether
kernel/drivers/usb/gadget/function/u_ether.ko
*That means the modules g_ether, u_ether, usb_f_rndis, usb_f_ecm etc. are
there and active in BBB.Also /etc/network/interfaces is as follows.*
auto lo
iface lo inet loopback
iface usb0 inet static
address 192.168.7.2
netmask 255.255.255.252
network 192.168.7.0
gateway 192.168.7.1
*But still ssh [email protected] is not working. Is there anything more to
be done for that?Thanks in advance for the help.Thanks & Regards,Sajeevan.K*
On Thursday, April 20, 2017 at 10:02:27 AM UTC+5:30, sajeevan k wrote:
>
>
> Hi Dennis Lee,
>
> Q: Did you build the added modules has kernal built-in objects, or as
> loadable objects ?
>
> A: I was building the added modules as loadable objects.
> Also I am working on systemctrl and initd systems.
>
> Initially I included all the loadable modules(g_mass_storage,
> usb_f_mass_storage and g_multi) in
> /etc/modules-load.d/modules.conf
>
> Then after reboot it is showing the following message:
>
> [FAILED] Failed to start Load Kernel Modules
> see 'systemctl status systemd-modules-load.service' for details.
>
> systemctl status systemd-modules-load.service shows the following errors
>
> debian@arm:~$ systemctl status systemd-modules-load.service
> ● systemd-modules-load.service - Load Kernel Modules
> Loaded: loaded (/lib/systemd/system/systemd-modules-load.service;
> static; ven
> Active: failed (Result: exit-code) since Sat 2016-05-21 22:31:30 UTC;
> 10 mont
> Docs: man:systemd-modules-load.service(8)
> man:modules-load.d(5)
> Main PID: 103 (code=exited, status=1/FAILURE)
>
> Warning: Journal has been rotated since unit was started. Log output is
> incomple
> lines 1-8/8 (END)...skipping...
> ● systemd-modules-load.service - Load Kernel Modules
> Loaded: loaded (/lib/systemd/system/systemd-modules-load.service;
> static; ven
> Active: failed (Result: exit-code) since Sat 2016-05-21 22:31:30 UTC;
> 10 mont
> Docs: man:systemd-modules-load.service(8)
> man:modules-load.d(5)
> Main PID: 103 (code=exited, status=1/FAILURE)
>
> Warning: Journal has been rotated since unit was started. Log output is
> incomple
> ~
>
>
>
> Q: Did you recreate the, uhm from memory, initramfs (or whatever the files
> loaded by u-boot are called) containing your added modules?
>
> I didn't understand what is meant by uhm. Googling also didn't provide me
> the results.
> Please explain it.
>
> After I added the modules, the added modules were available in
> /proc/modules, which indicates they are active.
> But after reboot it is not availble in /proc/modules
>
> Also
>
> find /lib/modules/$(uname -r) -type f -name \*.ko gives all the modules
> including
> g_mass_storage, usb_f_mass_storage and g_multi. I think this is the list of
> all modules built.
>
> I am trying with systemctrl and initd systems. Please inform if I am missing
> something.
> Thanks in advance for the help.
>
>
> Thanks & Regards,
> Sajeevan.K
>
>
> On Tuesday, April 18, 2017 at 7:00:54 PM UTC+5:30, Dennis Lee Bieber wrote:
>>
>> On Mon, 17 Apr 2017 23:30:50 -0700 (PDT), sajeevan k
>> <[email protected]> declaimed the
>> following:
>>
>>
>> >
>> >So I reboot and checked. But after rebooting, all this newly added
>> modules
>> >disappears.
>> >
>> >
>> >How can I include the modules in such a way that, it is available even
>> >after reboot?
>> >
>>
>> Again, we are beyond my actual experience -- this is just an
>> hypothesis...
>>
>> Did you recreate the, uhm from memory, initramfs (or whatever the
>> files
>> loaded by u-boot are called) containing your added modules? Did you build
>> the added modules has kernal built-in objects, or as loadable objects --
>> the latter would require running some command during start-up
>> (systemctrl?
>> my experience is still the initd system)?
>>
>> >I feel, if the Beaglebone drive appears, in Ubuntu Host, if BBB connect
>> to
>> >it through USB cable, then ssh [email protected] also will work. But
>> so
>> >far Beaglebone drive does not appear.
>> >
>>
>> Even having the file system is no guarantee... file system and
>> network
>> interfaces are separate enumerations on the USB bus.
>> --
>> Wulfraed Dennis Lee Bieber AF6VN
>> [email protected] HTTP://wlfraed.home.netcom.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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/8b492f13-fcf3-4756-8570-cfde8a543d6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.