Failed to bring up usb0

558 views
Skip to first unread message

davis.m...@gmail.com

unread,
Mar 9, 2017, 1:22:47 PM3/9/17
to BeagleBoard
Hello all,
My usb0 interface has suddenly stopped working and will not start properly.
Things were working well but after a power-off and reboot via SW2, usb0 no longer comes up.
Luckily I have a serial port adapter attached to the BBB J1. Otherwise I would be dead since I can no longer ssh into BBB from the host pc.

I am running the latest Debian image on a BBB with this kernel:

Linux beaglebone 4.4.52-bone16 #1 Tue Feb 28 06:56:05 UTC 2017 armv7l GNU/Linux

ifconfig usb shows:
usb0      Link encap:Ethernet  HWaddr d0:5f:b8:d2:78:b6
          inet addr:192.168.7.2  Bcast:192.168.7.3  Mask:255.255.255.252
          inet6 addr: fe80::d25f:b8ff:fed2:78b6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

Note that there are NO RX/TX packets. This is the first clue.

/etc/network/interfaces contains:

# Ethernet/RNDIS gadget (g_ether)
# Used by: /opt/scripts/boot/autoconfigure_usb0.sh
auto usb0
iface usb0 inet static
    address 192.168.7.2
    netmask 255.255.255.252
    network 192.168.7.0
    gateway 192.168.7.1


Taking usb0 down gets:

debian@beaglebone:~$ sudo ifdown usb0
ifdown: interface usb0 not configured

Restarting networking gets:

debian@beaglebone:~$ sudo /etc/init.d/networking restart
Restarting networking (via systemctl): networking.serviceJob for networking.service failed because the control process exited with error code.
See "systemctl status networking.service" and "journalctl -xe" for details.
 failed!

and systemctl status networking.service shows:

debian@beaglebone:~$ systemctl status networking.service
● networking.service - Raise network interfaces
   Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor prese
  Drop-In: /run/systemd/generator/networking.service.d
           └─50-insserv.conf-$network.conf
   Active: failed (Result: exit-code) since Sat 2016-05-21 19:12:46 EDT; 35s ago
     Docs: man:interfaces(5)
 Main PID: 1910 (code=exited, status=1/FAILURE)

May 21 19:12:44 beaglebone systemd[1]: Starting Raise network interfaces...
May 21 19:12:45 beaglebone ifup[1910]: RTNETLINK answers: File exists
May 21 19:12:45 beaglebone ifup[1910]: Failed to bring up usb0.
May 21 19:12:46 beaglebone systemd[1]: networking.service: Main process exited,
May 21 19:12:46 beaglebone systemd[1]: Failed to start Raise network interfaces.
May 21 19:12:46 beaglebone systemd[1]: networking.service: Unit entered failed s
May 21 19:12:46 beaglebone systemd[1]: networking.service: Failed with result 'e
lines 1-15/15 (END)

The message "Failed to start Raise network interfaces" is seen as boot messages scroll by on the console.

Any help would be greatly appreciated!!!
Mike Davis

Mike Davis

unread,
Mar 9, 2017, 2:57:59 PM3/9/17
to BeagleBoard
Fixed. Turned out to be an issue on the host PC.
Thanks,

dap...@ncsu.edu

unread,
Feb 24, 2018, 3:29:45 PM2/24/18
to BeagleBoard
Do you remember how you fixed this?

Thanks

Mike Davis

unread,
Feb 25, 2018, 7:37:41 AM2/25/18
to beagl...@googlegroups.com
it’s been a while, but I think the issue was resolved with a reboot of the host, which is a macbook. I may have updated OSX as well.
Good luck!

Sent from my iPad

On Feb 24, 2018, at 1:16 PM, dap...@ncsu.edu wrote:

Do you remember how you fixed this?

Thanks

--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/JkSB1Tc3R9Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/40ebdc3f-8f07-47dc-904e-a655776a61a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages