Beaglebone eth0 won't connect without toggling on boot

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

Re: Beaglebone eth0 won't connect without toggling on boot

Postby johonaton » Wed Feb 06, 2013 1:45 pm

Disabling ipv6 did nothing except remove the "No ipv6 routers present" message from dmesg...still needs the toggle.
johonaton
 
Posts: 8
Joined: Tue Feb 05, 2013 1:21 am

Re: Beaglebone eth0 won't connect without toggling on boot

Postby johonaton » Wed Feb 06, 2013 9:35 pm

Just did a kernel update, as of 3.2.32-5-ARCH eth0 doesn't appear at all...

and to add to the fun, "modprobe g_ether" no longer works for the usb0 ethernet gadget, journalctl gives the following
$this->bbcode_second_pass_code('', 'Jan 01 03:18:36 alarm systemd-udevd[58]: worker [144] terminated by signal 11 (Segmentation fault)
Jan 01 03:18:36 alarm systemd-coredump[147]: Process 144 (systemd-udevd) dumped core.
Jan 01 03:18:36 alarm systemd-udevd[58]: worker [144] failed while handling '/devices/platform/omap/musb-ti81xx/musb-hdrc.0/gadget/net/usb0'
')

Thankfully I have a buttload of backup images.
johonaton
 
Posts: 8
Joined: Tue Feb 05, 2013 1:21 am

Re: Beaglebone eth0 won't connect without toggling on boot

Postby xenoxaos » Thu Feb 07, 2013 12:52 am

$this->bbcode_second_pass_quote('johonaton', 'J')ust did a kernel update, as of 3.2.32-5-ARCH eth0 doesn't appear at all...

Thankfully I have a buttload of backup images.


Ya...sorry bout that...thought maybe having things as modules and load after everything is settled would work...nope.

but also, try a new bootloader.... http://archlinuxarm.org/xeno/beagleboneuboot.tar.gz it loads uImage from /boot/uImage on the ext partition (partition 2) and i also have the rootfstype set to ext4 (you may need to change that) but now ethernet comes up automatically....also there should be a 3.2.32-6 kernel out so pacman -Syu that too....but make sure that the kernel is going to ./boot on the rootfs.
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Beaglebone eth0 won't connect without toggling on boot

Postby xenoxaos » Thu Feb 07, 2013 3:07 am

btw, imma just gonna put this here....
Linux version 3.7.3-1-ARCH (nobody@nitrogen) (gcc version 4.7.2 (GCC) ) #1 SMP Thu Feb 7 02:04:03 UTC 2013
$this->bbcode_second_pass_code('', '=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2013.02.06 22:04:01 =~=~=~=~=~=~=~=~=~=~=~=

U-Boot SPL 2013.01.01 (Feb 06 2013 - 16:35:07)
OMAP SD/MMC: 0
reading u-boot.img
reading u-boot.img


U-Boot 2013.01.01 (Feb 06 2013 - 16:35:07)

I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Warning - readenv() failed, using default environment

musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Peripheral mode controller at 47401000 using PIO, IRQ 0
musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
musb-hdrc: MHDRC RTL version 2.0
musb-hdrc: setup fifo_mode 4
musb-hdrc: 28/31 max ep, 16384/16384 memory
USB Host mode controller at 47401800 using PIO, IRQ 0
Net: cpsw, usb_ether
Hit any key to stop autoboot: 1  0
mmc0 is current device
SD/MMC found on device 0
reading uEnv.txt
635 bytes read in 5 ms (124 KiB/s)
Loaded environment from uEnv.txt
Importing environment from mmc ...
3331880 bytes read in 596 ms (5.3 MiB/s)
20094 bytes read in 60 ms (326.2 KiB/s)
Booting from mmc ...
## Flattened Device Tree blob at 815f0000
Booting using the fdt blob at 0x815f0000
Loading Device Tree to 8fe3a000, end 8fe41e7d ... OK

Starting kernel ...

[ 0.129138] omap_init_sham: platform not supported
[ 0.129158] omap_init_aes: platform not supported
[ 0.554169] omap_hsmmc mmc.3: could not set regulator OCR (-22)
[ 0.560780] omap_hsmmc mmc.3: could not set regulator OCR (-22)
[ 1.612746] omap_i2c 4819c000.i2c: controller timed out
[ 2.628359] omap_i2c 4819c000.i2c: controller timed out
[ 2.659617] capebus bone:0: bone: Failed to read EEPROM at slot 0 (addr 0x54)
[ 2.667153] bone-capebus capebus.10: Failed to register slot #0
[ 3.667425] omap_i2c 4819c000.i2c: controller timed out
[ 4.698671] omap_i2c 4819c000.i2c: controller timed out
[ 4.729915] capebus bone:0: bone: Failed to read EEPROM at slot 1 (addr 0x55)
[ 4.737448] bone-capebus capebus.10: Failed to register slot #1
[ 5.737737] omap_i2c 4819c000.i2c: controller timed out
[ 6.768994] omap_i2c 4819c000.i2c: controller timed out
[ 6.800237] capebus bone:0: bone: Failed to read EEPROM at slot 2 (addr 0x56)
[ 6.807768] bone-capebus capebus.10: Failed to register slot #2
[ 7.808051] omap_i2c 4819c000.i2c: controller timed out
[ 8.839298] omap_i2c 4819c000.i2c: controller timed out
[ 8.870548] capebus bone:0: bone: Failed to read EEPROM at slot 3 (addr 0x57)
[ 8.878081] bone-capebus capebus.10: Failed to register slot #3
[ 8.894961] omapfb omapfb: no displays
[ 8.898939] omapfb omapfb: failed to setup omapfb
[ 8.904103] failed to register omapfb driver
[ 8.908734] this->driver.i2c_client not allocated
[ 8.960006] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 8.966987] sr_init: platform driver register failed for SR

Welcome to Arch Linux ARM!

Expecting device dev-ttyO0.device...
[ OK ] Listening on Syslog Socket.
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on Delayed Shutdown Socket.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Reached target Encrypted Volumes.
[ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[ OK ] Reached target Swap.
[ OK ] Listening on Journal Socket.
Mounting Temporary Directory...
Starting Setup Virtual Console...
Mounting POSIX Message Queue File System...
Starting Apply Kernel Variables...
Mounting Debug File System...
Starting udev Kernel Device Manager...
Starting udev Coldplug all Devices...
Mounting FUSE Control File System...
Starting Journal Service...
[ OK ] Started Journal Service.
[ OK ] Reached target Syslog.
Starting Remount Root and Kernel File Systems...
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Apply Kernel Variables.
[ OK ] Mounted Temporary Directory.
[ OK ] Mounted Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted FUSE Control File System.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Reached target Local File Systems.
Starting Recreate Volatile Files and Directories...
Starting Trigger Flushing of Journal to Persistent Storage...
[ OK ] Reached target Local File Systems (Pre).
Starting Load Random Seed...
[ OK ] Started Load Random Seed.
[ OK ] Started Trigger Flushing of Journal to Persistent Storage.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Recreate Volatile Files and Directories.
i[ OK ] Started Setup Virtual Console.
[ OK ] Reached target System Initialization.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Netcfg multi-profile daemon...
Starting Periodic Command Scheduler...
[ OK ] Started Periodic Command Scheduler.
Starting OpenSSH Daemon...
[ OK ] Started OpenSSH Daemon.
Starting Login Service...
Starting D-Bus System Message Bus...
[ OK ] Started D-Bus System Message Bus.
Starting System Logger Daemon...
[ OK ] Started System Logger Daemon.
Starting Permit User Sessions...
[ OK ] Found device /dev/ttyO0.
[ OK ] Started Permit User Sessions.
Starting Getty on tty1...
[ OK ] Started Getty on tty1.
Starting Serial Getty on ttyO0...
[ OK ] Started Serial Getty on ttyO0.
[ OK ] Reached target Login Prompts.
[ 14.648898] systemd-udevd[69]: worker [93] terminated by signal 11 (Segmentation fault)
[ 14.667574] systemd-udevd[69]: worker [93] failed while handling '/devices/ocp.2/usb_otg_hs.6/musb-hdrc.0/gadget/net/usb0'
[ OK ] Started Login Service.
[ 16.270395] libphy: PHY 4a101000.mdio:01 not found
[ 16.275410] net eth0: phy 4a101000.mdio:01 not found on slave 1


Arch Linux 3.7.3-1-ARCH (ttyO0)

alarm login: root[ OK ] Started Netcfg multi-profile daemon.
[ OK ] Reached target Network.
Starting OpenNTP Daemon...
[ OK ] Started OpenNTP Daemon.
[ OK ] Reached target Multi-User.
[ OK ] Reached target Graphical Interface.


Password:
Last login: Wed Dec 31 18:00:32 CST 1969 on ttyO0
Last login: Wed Feb 6 21:03:06 on ttyO0
[root@alarm ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.0.109 netmask 255.255.255.0 broadcast 10.0.0.255
inet6 fe80::c48b:b4ff:fe7c:43c6 prefixlen 64 scopeid 0x20<link>
ether c6:8b:b4:7c:43:c6 txqueuelen 1000 (Ethernet)
RX packets 43 bytes 9490 (9.2 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 31 bytes 3010 (2.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
device interrupt 56

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 4 bytes 260 (260.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 4 bytes 260 (260.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

[root@alarm ~]# ping google.com
PING google.com (74.125.228.3) 56(84) bytes of data.
64 bytes from iad23s05-in-f3.1e100.net (74.125.228.3): icmp_seq=1 ttl=53 time=19.0 ms
64 bytes from iad23s05-in-f3.1e100.net (74.125.228.3): icmp_seq=2 ttl=53 time=14.4 ms
64 bytes from iad23s05-in-f3.1e100.net (74.125.228.3): icmp_seq=3 ttl=53 time=20.9 ms

--- google.com ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 14.407/18.133/20.970/2.754 ms
[root@alarm ~]# dmesg
[ 0.000000] Booting Linux on physical CPU 0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Linux version 3.7.3-1-ARCH (nobody@nitrogen) (gcc version 4.7.2 (GCC) ) #1 SMP Thu Feb 7 02:04:03 UTC 2013
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: Generic AM33XX (Flattened Device Tree), model: TI AM335x BeagleBone
[ 0.000000] Reserving 18874368 bytes SDRAM for VRAM
[ 0.000000] cma: CMA: reserved 16 MiB at 8d000000
[ 0.000000] Memory policy: ECC disabled, Data cache writeback
[ 0.000000] On node 0 totalpages: 58880
[ 0.000000] free_area_init_node: node 0, pgdat c0998280, node_mem_map c0a65000
[ 0.000000] Normal zone: 512 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 58368 pages, LIFO batch:15
[ 0.000000] AM335X ES1.0 (neon )
[ 0.000000] PERCPU: Embedded 9 pages/cpu @c0c71000 s13632 r8192 d15040 u36864
[ 0.000000] pcpu-alloc: s13632 r8192 d15040 u36864 alloc=9*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 58368
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 noinitrd rootwait
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] allocated 524288 bytes of page_cgroup
[ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups
[ 0.000000] Memory: 229MB 1MB = 230MB total
[ 0.000000] Memory: 205580k/205580k available, 56564k reserved, 0K highmem
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xd0800000 - 0xff000000 ( 744 MB)
lowmem : 0xc0000000 - 0xd0000000 ( 256 MB)
pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
.text : 0xc0008000 - 0xc08b8328 (8897 kB)
.init : 0xc08b9000 - 0xc0916540 ( 374 kB)
.data : 0xc0918000 - 0xc099b6f0 ( 526 kB)
.bss : 0xc099b714 - 0xc0a64dd4 ( 806 kB)
[ 0.000000] SLUB: Genslabs=11, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] Total of 128 interrupts on 1 active controller
[ 0.000000] OMAP clockevent source: GPTIMER1 at 24000000 Hz
[ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[ 0.000000] OMAP clocksource: GPTIMER2 at 24000000 Hz
[ 0.000000] Console: colour dummy device 80x30
[ 0.000259] Calibrating delay loop... 364.48 BogoMIPS (lpj=1425408)
[ 0.052932] pid_max: default: 32768 minimum: 301
[ 0.053141] Security Framework initialized
[ 0.053211] AppArmor: AppArmor initialized
[ 0.053499] Mount-cache hash table entries: 512
[ 0.060598] Initializing cgroup subsys cpuacct
[ 0.060636] Initializing cgroup subsys memory
[ 0.060789] Initializing cgroup subsys devices
[ 0.060808] Initializing cgroup subsys freezer
[ 0.060822] Initializing cgroup subsys blkio
[ 0.060835] Initializing cgroup subsys perf_event
[ 0.061014] CPU: Testing write buffer coherency: ok
[ 0.061436] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.061514] Setting up static identity map for 0x8062b810 - 0x8062b868
[ 0.062816] Brought up 1 CPUs
[ 0.062840] SMP: Total of 1 processors activated (364.48 BogoMIPS).
[ 0.064075] devtmpfs: initialized
[ 0.101191] pinctrl core: initialized pinctrl subsystem
[ 0.101900] regulator-dummy: no parameters
[ 0.103783] NET: Registered protocol family 16
[ 0.108496] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.108897] omap-gpmc omap-gpmc: GPMC revision 6.0
[ 0.119627] platform 49000000.edma: alias fck already exists
[ 0.119661] platform 49000000.edma: alias fck already exists
[ 0.119683] platform 49000000.edma: alias fck already exists
[ 0.120653] gpiochip_add: registered GPIOs 0 to 31 on device: gpio
[ 0.120775] OMAP GPIO hardware version 0.1
[ 0.121779] gpiochip_add: registered GPIOs 32 to 63 on device: gpio
[ 0.122833] gpiochip_add: registered GPIOs 64 to 95 on device: gpio
[ 0.124011] gpiochip_add: registered GPIOs 96 to 127 on device: gpio
[ 0.127508] No ATAGs?
[ 0.127535] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.129138] omap_init_sham: platform not supported
[ 0.129158] omap_init_aes: platform not supported
[ 0.141449] bio: create slab <bio-0> at 0
[ 0.150928] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[ 0.152853] SCSI subsystem initialized
[ 0.153234] usbcore: registered new interface driver usbfs
[ 0.153325] usbcore: registered new interface driver hub
[ 0.153648] usbcore: registered new device driver usb
[ 0.154009] nop_usb_xceiv phy1.5: transceiver type USB2 PHY already exists
[ 0.156150] omap_i2c 44e0b000.i2c: bus 0 rev2.4.0 at 400 kHz
[ 0.157749] omap_i2c 44e0b000.i2c: unable to select pin group
[ 0.157779] omap_i2c 44e0b000.i2c: bus 0 rev2.4.0 at 400 kHz
[ 0.170542] omap_i2c 4819c000.i2c: bus 1 rev2.4.0 at 100 kHz
[ 0.172727] omap_i2c 4819c000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c2_pins, deferring probe
[ 0.172759] omap_i2c 4819c000.i2c: unable to select pin group
[ 0.172781] omap_i2c 4819c000.i2c: bus 1 rev2.4.0 at 100 kHz
[ 0.172976] media: Linux media interface: v0.10
[ 0.173064] Linux video capture interface: v2.00
[ 0.173849] Advanced Linux Sound Architecture Driver Initialized.
[ 0.174675] NetLabel: Initializing
[ 0.174694] NetLabel: domain hash size = 128
[ 0.174705] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.174784] NetLabel: unlabeled traffic allowed by default
[ 0.175106] Switching to clocksource gp_timer
[ 0.199138] AppArmor: AppArmor Filesystem Enabled
[ 0.214470] NET: Registered protocol family 2
[ 0.215525] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.215739] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.215936] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.216025] TCP: reno registered
[ 0.216050] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.216088] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.216503] NET: Registered protocol family 1
[ 0.217101] RPC: Registered named UNIX socket transport module.
[ 0.217121] RPC: Registered udp transport module.
[ 0.217133] RPC: Registered tcp transport module.
[ 0.217145] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.218306] CPU PMU: probing PMU on CPU 0
[ 0.218352] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available
[ 0.219083] omap_dsp_init: 600000 bytes @ 8e600000
[ 0.220876] audit: initializing netlink socket (disabled)
[ 0.220974] type=2000 audit(0.210:1): initialized
[ 0.492165] VFS: Disk quotas dquot_6.5.2
[ 0.492652] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.496926] NFS: Registering the id_resolver key type
[ 0.497063] Key type id_resolver registered
[ 0.497078] Key type id_legacy registered
[ 0.497147] fuse init (API version 7.20)
[ 0.499750] Btrfs loaded
[ 0.499808] msgmni has been set to 433
[ 0.502251] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.502277] io scheduler noop registered
[ 0.502291] io scheduler deadline registered
[ 0.502342] io scheduler cfq registered (default)
[ 0.504756] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.506337] omap_uart 44e09000.serial: did not get pins for uart0 error: -19
[ 0.506646] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a OMAP UART0
[ 0.517493] console [ttyO0] enabled
[ 0.529843] brd: module loaded
[ 0.536014] loop: module loaded
[ 0.536141] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 0.536209] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 0.536266] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 0.536323] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 0.536379] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 0.538460] OneNAND driver initializing
[ 0.539457] usbcore: registered new interface driver cdc_ether
[ 0.539539] usbcore: registered new interface driver rndis_host
[ 0.539674] usbcore: registered new interface driver cdc_ncm
[ 0.540630] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.540744] Initializing USB Mass Storage driver...
[ 0.540845] usbcore: registered new interface driver usb-storage
[ 0.540858] USB Mass Storage support registered.
[ 0.540990] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[ 0.541322] nop_usb_xceiv nop_usb_xceiv: transceiver type USB2 PHY already exists
[ 0.541346] nop_usb_xceiv nop_usb_xceiv: transceiver type USB2 PHY already exists
[ 0.541439] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 0.541458] musb-hdrc: MHDRC RTL version 2.0
[ 0.541472] musb-hdrc: setup fifo_mode 4
[ 0.541499] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 0.542022] musb-hdrc musb-hdrc.0: USB OTG mode controller at d083c000 using PIO, IRQ 34
[ 0.542275] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 0.542294] musb-hdrc: MHDRC RTL version 2.0
[ 0.542307] musb-hdrc: setup fifo_mode 4
[ 0.542327] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 0.542609] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
[ 0.542984] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
[ 0.543170] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.543193] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.543212] usb usb1: Product: MUSB HDRC host driver
[ 0.543231] usb usb1: Manufacturer: Linux 3.7.3-1-ARCH musb-hcd
[ 0.543248] usb usb1: SerialNumber: musb-hdrc.1
[ 0.544063] hub 1-0:1.0: USB hub found
[ 0.544111] hub 1-0:1.0: 1 port detected
[ 0.544543] musb-hdrc musb-hdrc.1: USB Host mode controller at d083e800 using PIO, IRQ 35
[ 0.544631] udc musb-hdrc.0: registering UDC driver [g_ether]
[ 0.544780] gadget: using random self ethernet address
[ 0.544808] gadget: using random host ethernet address
[ 0.545561] usb0: MAC 62:17:76:87:d6:97
[ 0.545581] usb0: HOST MAC 4a:41:b9:80:3f:99
[ 0.545639] gadget: adding config #2 'RNDIS'/c0989184
[ 0.545711] gadget: adding 'rndis'/cca38600 to config 'RNDIS'/c0989184
[ 0.545749] rndis_register: configNr = 0
[ 0.545763] rndis_set_param_medium: 0 0
[ 0.545780] gadget: RNDIS: dual speed IN/ep1in OUT/ep1out NOTIFY/ep2in
[ 0.545800] gadget: cfg 2/c0989184 speeds: high full
[ 0.545815] gadget: interface 0 = rndis/cca38600
[ 0.545830] gadget: interface 1 = rndis/cca38600
[ 0.545850] gadget: adding config #1 'CDC Ethernet (EEM)'/c09890e0
[ 0.545871] gadget: adding 'cdc_eem'/cca8bf00 to config 'CDC Ethernet (EEM)'/c09890e0
[ 0.545897] gadget: CDC Ethernet (EEM): dual speed IN/ep1in OUT/ep1out
[ 0.545914] gadget: cfg 1/c09890e0 speeds: high full
[ 0.545929] gadget: interface 0 = cdc_eem/cca8bf00
[ 0.545951] gadget: Ethernet Gadget, version: Memorial Day 2008
[ 0.545977] gadget: g_ether ready
[ 0.546024] musb-hdrc musb-hdrc.0: MUSB HDRC host driver
[ 0.546460] musb-hdrc musb-hdrc.0: new USB bus registered, assigned bus number 2
[ 0.546619] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.546642] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.546661] usb usb2: Product: MUSB HDRC host driver
[ 0.546678] usb usb2: Manufacturer: Linux 3.7.3-1-ARCH musb-hcd
[ 0.546695] usb usb2: SerialNumber: musb-hdrc.0
[ 0.547503] hub 2-0:1.0: USB hub found
[ 0.547543] hub 2-0:1.0: 1 port detected
[ 0.548468] mousedev: PS/2 mouse device common for all mice
[ 0.549449] i2c /dev entries driver
[ 0.550158] lirc_dev: IR Remote Control driver registered, major 246
[ 0.550426] smssdio: Siano SMS1xxx SDIO driver
[ 0.550440] smssdio: Copyright Pierre Ossman
[ 0.550497] Driver for 1-wire Dallas network protocol.
[ 0.551616] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 0.552787] device-mapper: ioctl: 4.23.0-ioctl (2012-07-25) initialised: dm-devel@redhat.com
[ 0.552841] cpuidle: using governor ladder
[ 0.552856] cpuidle: using governor menu
[ 0.552929] sdhci: Secure Digital Host Controller Interface driver
[ 0.552942] sdhci: Copyright(c) Pierre Ossman
[ 0.553180] of_get_named_gpio_flags: can't parse gpios property
[ 0.553198] of_get_named_gpio_flags: can't parse gpios property
[ 0.553211] of_get_named_gpio_flags: can't parse gpios property
[ 0.553264] omap_hsmmc mmc.3: unable to select pin group
[ 0.553436] omap_hsmmc mmc.3: Failed to get debounce clk
[ 0.553809] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[ 0.553855] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[ 0.553938] mmc.3 supply vmmc not found, using dummy regulator
[ 0.554082] mmc.3 supply vmmc_aux not found, using dummy regulator
[ 0.554169] omap_hsmmc mmc.3: could not set regulator OCR (-22)
[ 0.560780] omap_hsmmc mmc.3: could not set regulator OCR (-22)
[ 0.613160] leds-gpio gpio-leds.8: could not find pctldev for node /pinmux@44e10800/pinmux_userled_pins, deferring probe
[ 0.613189] leds-gpio gpio-leds.8: pins are not configured from the driver
[ 0.613229] of_get_named_gpio_flags exited with status 53
[ 0.613480] Registered led device: beaglebone:green:usr0
[ 0.613507] of_get_named_gpio_flags exited with status 54
[ 0.613693] Registered led device: beaglebone:green:usr1
[ 0.613716] of_get_named_gpio_flags exited with status 55
[ 0.613865] Registered led device: beaglebone:green:usr2
[ 0.613887] of_get_named_gpio_flags exited with status 56
[ 0.614034] Registered led device: beaglebone:green:usr3
[ 0.614207] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.615054] usbcore: registered new interface driver usbhid
[ 0.615073] usbhid: USB HID core driver
[ 0.617065] ashmem: initialized
[ 0.617777] capebus bone:0: Registered
[ 0.617867] capebus bone:0: Slot #0 registered
[ 0.651959] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 0.653910] mmc0: new high speed SDHC card at address 1234
[ 0.654740] mmcblk0: mmc0:1234 SA04G 3.63 GiB
[ 0.657285] mmcblk0: p1 p2
[ 0.738309] CAUTION: musb: Babble Interrupt Occured
[ 0.821636] CAUTION: musb: Babble Interrupt Occured
[ 0.914581] gadget: high-speed config #1: CDC Ethernet (EEM)
[ 0.914602] gadget: init eem
[ 0.914618] gadget: activate eem
[ 0.914680] usb0: qlen 10
[ 0.914977] gadget: reset eem
[ 0.914994] usb0: gether_disconnect
[ 0.915040] gadget: init eem
[ 0.915054] gadget: activate eem
[ 0.915079] usb0: qlen 10
[ 1.612746] omap_i2c 4819c000.i2c: controller timed out
[ 2.628359] omap_i2c 4819c000.i2c: controller timed out
[ 2.659617] capebus bone:0: bone: Failed to read EEPROM at slot 0 (addr 0x54)
[ 2.667153] bone-capebus capebus.10: Failed to register slot #0
[ 2.673471] capebus bone:0: Slot #1 registered
[ 3.667425] omap_i2c 4819c000.i2c: controller timed out
[ 4.698671] omap_i2c 4819c000.i2c: controller timed out
[ 4.729915] capebus bone:0: bone: Failed to read EEPROM at slot 1 (addr 0x55)
[ 4.737448] bone-capebus capebus.10: Failed to register slot #1
[ 4.743746] capebus bone:0: Slot #2 registered
[ 5.737737] omap_i2c 4819c000.i2c: controller timed out
[ 6.768994] omap_i2c 4819c000.i2c: controller timed out
[ 6.800237] capebus bone:0: bone: Failed to read EEPROM at slot 2 (addr 0x56)
[ 6.807768] bone-capebus capebus.10: Failed to register slot #2
[ 6.814060] capebus bone:0: Slot #3 registered
[ 7.808051] omap_i2c 4819c000.i2c: controller timed out
[ 8.839298] omap_i2c 4819c000.i2c: controller timed out
[ 8.870548] capebus bone:0: bone: Failed to read EEPROM at slot 3 (addr 0x57)
[ 8.878081] bone-capebus capebus.10: Failed to register slot #3
[ 8.884618] bone-capebus capebus.10: Registered i2c-dt platform driver
[ 8.884764] bone-capebus capebus.10: Registered spi-dt platform driver
[ 8.884888] bone-capebus capebus.10: Registered pruss-dt platform driver
[ 8.885025] bone-capebus capebus.10: Registered dt-overlay platform driver
[ 8.885086] bone-capebus capebus.10: initialized OK.
[ 8.886729] oprofile: using arm/armv7
[ 8.887417] TCP: cubic registered
[ 8.888311] NET: Registered protocol family 10
[ 8.889764] NET: Registered protocol family 17
[ 8.890097] Key type dns_resolver registered
[ 8.890399] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 8.890437] ThumbEE CPU extension supported.
[ 8.890484] Registering SWP/SWPB emulation handler
[ 8.890498] SmartReflex Class3 initialized
[ 8.893416] clock: disabling unused clocks to save power
[ 8.894700] registered taskstats version 1
[ 8.894961] omapfb omapfb: no displays
[ 8.898939] omapfb omapfb: failed to setup omapfb
[ 8.904003] omapfb: probe of omapfb failed with error -22
[ 8.904103] failed to register omapfb driver
[ 8.908620] hdmitx(tda19989) 1.3.0 compiled: Feb 7 2013 02:03:15 -ioctl (2009-10-15)
[ 8.908734] this->driver.i2c_client not allocated
[ 8.956515] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 8.956548] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 8.957628] libphy: 4a101000.mdio: probed
[ 8.957660] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 8.957741] Random MACID = c6:8b:b4:7c:43:c6
[ 8.960006] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 8.966765] sr_init: No PMIC hook to init smartreflex
[ 8.966987] sr_init: platform driver register failed for SR
[ 8.972957] cpufreq_cpu0: failed to get cpu0 regulator
[ 8.973761] ALSA device list:
[ 8.973778] No soundcards found.
[ 9.018263] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 9.018362] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 9.020194] devtmpfs: mounted
[ 9.020902] Freeing init memory: 372K
[ 9.874262] systemd[1]: systemd 197 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ)
[ 10.032748] systemd[1]: Inserted module 'autofs4'
[ 10.036372] systemd[1]: Set hostname to <alarm>.
[ 10.363509] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. See system logs and 'systemctl status display-manager.service' for details.
[ 10.364663] systemd[1]: Expecting device dev-ttyO0.device...
[ 10.378631] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 10.379282] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 10.379460] systemd[1]: Starting Syslog Socket.
[ 10.394180] systemd[1]: Listening on Syslog Socket.
[ 10.394315] systemd[1]: Starting Remote File Systems.
[ 10.409772] systemd[1]: Reached target Remote File Systems.
[ 10.409898] systemd[1]: Starting Delayed Shutdown Socket.
[ 10.425396] systemd[1]: Listening on Delayed Shutdown Socket.
[ 10.425512] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 10.441030] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 10.441738] systemd[1]: Starting udev Kernel Socket.
[ 10.456750] systemd[1]: Listening on udev Kernel Socket.
[ 10.457344] systemd[1]: Starting udev Control Socket.
[ 10.472305] systemd[1]: Listening on udev Control Socket.
[ 10.472450] systemd[1]: Starting Encrypted Volumes.
[ 10.487889] systemd[1]: Reached target Encrypted Volumes.
[ 10.488258] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[ 10.511371] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[ 10.511582] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[ 10.511979] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 10.512076] systemd[1]: Starting Swap.
[ 10.526964] systemd[1]: Reached target Swap.
[ 10.527120] systemd[1]: Starting Journal Socket.
[ 10.542610] systemd[1]: Listening on Journal Socket.
[ 10.542838] systemd[1]: Started File System Check on Root Device.
[ 10.542924] systemd[1]: Mounting Temporary Directory...
[ 10.564268] systemd[1]: Starting Setup Virtual Console...
[ 10.585564] systemd[1]: Mounting POSIX Message Queue File System...
[ 10.623977] systemd[1]: Starting Apply Kernel Variables...
[ 10.640660] systemd[1]: Mounting Debug File System...
[ 10.688950] systemd[1]: Started Set Up Additional Binary Formats.
[ 10.689648] systemd[1]: Starting udev Kernel Device Manager...
[ 10.710854] systemd[1]: Starting udev Coldplug all Devices...
[ 10.734192] systemd[1]: Mounted Huge Pages File System.
[ 10.866628] systemd[1]: Started Load Kernel Modules.
[ 10.866916] systemd[1]: Mounting FUSE Control File System...
[ 10.885515] systemd-udevd[69]: starting version 197
[ 10.889846] systemd[1]: Mounted Configuration File System.
[ 10.890019] systemd[1]: Starting Journal Service...
[ 10.917895] systemd[1]: Started Journal Service.
[ 10.918329] systemd[1]: Starting Syslog.
[ 10.933859] systemd[1]: Reached target Syslog.
[ 10.934527] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 10.980424] systemd[1]: Started udev Kernel Device Manager.
[ 10.995840] systemd[1]: Started Apply Kernel Variables.
[ 12.100010] systemd-journald[74]: Received SIGUSR1
[ 12.914995] systemd-journald[74]: File /var/log/journal/d300cc40d61bb905611107a7000a72d8/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 14.648898] systemd-udevd[69]: worker [93] terminated by signal 11 (Segmentation fault)
[ 14.667574] systemd-udevd[69]: worker [93] failed while handling '/devices/ocp.2/usb_otg_hs.6/musb-hdrc.0/gadget/net/usb0'
[ 16.268031] net eth0: initializing cpsw version 1.12 (0)
[ 16.270370] net eth0: phy found : id is : 0x7c0f1
[ 16.270395] libphy: PHY 4a101000.mdio:01 not found
[ 16.275410] net eth0: phy 4a101000.mdio:01 not found on slave 1
[ 16.282014] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 19.269503] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
[ 19.269577] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[root@alarm ~]# powerreboot
[ OK ] Stopped target Local File Systems (Pre).
[ OK ] Stopped target Graphical Interface.
[ OK ] Stopped target Multi-User.
Stopping Periodic Command Scheduler...
Stopping OpenNTP Daemon...
Stopping OpenSSH Daemon...
Stopping Login Service...
[ OK ] Stopped target Login Prompts.
Stopping Getty on tty1...
Stopping Serial Getty on ttyO0...
Stopping D-Bus [ OK ] Stopped Periodic Command Scheduler.
[ OK ] Stopped OpenSSH Daemon.
[ OK ] Stopped Login Service.
[ OK ] Stopped D-Bus System Message Bus.
[ OK ] Stopped Getty on tty1.
[ OK ] Stopped Serial Getty on ttyO0.
Stopping Permit User Sessions...
[ OK ] Stopped OpenNTP Daemon.
[ OK ] Stopped target Network.
Stopping Netcfg multi-profile daemon...
[ OK ] Stopped Permit User Sessions.
[ OK ] Stopped target Remote File Systems.
[ OK ] Stopped System Logger Daemon.
[ OK ] Stopped Netcfg multi-profile daemon.
[ OK ] Stopped target Basic System.
[ OK ] Stopped target Sockets.
[ OK ] Closed D-Bus System Message Bus Socket.
[ OK ] Closed Syslog Socket.
[ OK ] Stopped target System Initialization.
[ OK ] Stopped target Encrypted Volumes.
Stopping Setup Virtual Console...
[ OK ] Stopped Setup Virtual Console.
Stopping Apply Kernel Variables...
[ OK ] Stopped Apply Kernel Variables.
[ OK ] Stopped target Swap.
[ OK ] Stopped target Local File Systems.
Stopping Remount Root and Kernel File Systems...
[ OK ] Stopped Remount Root and Kernel File Systems.
Starting Update UTMP about System Shutdown...
[ OK ] Reached target Shutdown.
[ 74.941482] omap_wdt: Unexpected close, not stopping!
Sending SIGTERM to remaining processes...
Sending SIGKILL to remaining processes...
Hardware watchdog 'OMAP Watchdog', version 0
Unmounting file systems.
Unmounting /sys/fs/fuse/connections.
Unmounting /dev/mqueue.
Unmounting /sys/kernel/debug.

All filesystems unmounted.
Deactivating swaps.
All swaps deactivated.
Detaching loop devices.
Detaching loopback /dev/loop7.
Detaching loopback /dev/loop6.
Detaching loopback /dev/loop5.
Detaching loopback /dev/loop4.
Detaching loopback /dev/loop3.
Detaching loopback /dev/loop2.
Detaching loopback /dev/loop1.
Detaching loopback /dev/loop0.
All loop devices detached.
Deta[ 90.304885] (NULL device *): gadget not registered.
ching DM devices.
All DM devices detached.
')

On another note....booting this kernel + uboot + DT, networking has come up on every single boot (5 so far), but sadly it doesnt reboot...
Arch Linux ARM exists and continues to grow through community support, please donate today!
xenoxaos
Developer
 
Posts: 323
Joined: Thu Jan 06, 2011 1:45 am

Re: Beaglebone eth0 won't connect without toggling on boot

Postby johonaton » Thu Feb 07, 2013 4:29 am

what's DT?

So far the 3.2.32-6 update seems to have brought eth0..thanks for the quick fix! Did a clean, updated install on a backup card just in case, and all seems to be well on that end...

as for eth0 connectivity, it seems to work on first boot now without the toggle, but I will have to verify on the static configuration tomorrow.

EDIT 1:

Scratch that, did more tests...
On some boots netcfg is failing. And on some boots it's doing this:

$this->bbcode_second_pass_code('', '[root@alarm ~]# ping google.com
PING google.com (74.125.226.230) 56(84) bytes of data.
64 bytes from lga15s29-in-f6.1e100.net (74.125.226.230): icmp_seq=1 ttl=54 time=1008 ms
64 bytes from lga15s29-in-f6.1e100.net (74.125.226.230): icmp_seq=2 ttl=54 time=3866 ms
64 bytes from lga15s29-in-f6.1e100.net (74.125.226.230): icmp_seq=3 ttl=54 time=1004 ms
64 bytes from lga15s29-in-f6.1e100.net (74.125.226.230): icmp_seq=4 ttl=54 time=2003 ms
64 bytes from 74.125.226.230: icmp_seq=5 ttl=54 time=999 ms

--- google.com ping statistics ---
6 packets transmitted, 5 received, 16% packet loss, time 14898ms
rtt min/avg/max/mdev = 999.359/1776.452/3866.333/1114.358 ms, pipe 2
[root@alarm ~]# netcfg reconnect ethernet-eth0
:: ethernet-eth0 down [ BUSY ] [ DONE ]
:: ethernet-eth0 up [ BUSY ] [ DONE ]
[root@alarm ~]# ping google.com
PING google.com (74.125.226.228) 56(84) bytes of data.
64 bytes from lga15s29-in-f4.1e100.net (74.125.226.228): icmp_seq=1 ttl=54 time=39.4 ms
64 bytes from lga15s29-in-f4.1e100.net (74.125.226.228): icmp_seq=2 ttl=54 time=37.0 ms
64 bytes from lga15s29-in-f4.1e100.net (74.125.226.228): icmp_seq=3 ttl=54 time=38.8 ms
64 bytes from lga15s29-in-f4.1e100.net (74.125.226.228): icmp_seq=4 ttl=54 time=41.4 ms

--- google.com ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 37.017/39.199/41.474/1.612 ms
')

On some boots, I get a netcfg failure message, and openntpd starts twice...others netcfg works...and others, it works, but gives me these slow ping times until I do a reboot.

EDIT 2:

I checked on my testing network, and it does still need the toggle on boot for the static configuration.
johonaton
 
Posts: 8
Joined: Tue Feb 05, 2013 1:21 am

Re: Beaglebone eth0 won't connect without toggling on boot

Postby palindrom » Fri Mar 01, 2013 9:02 pm

Just thought I'd share this to save time for people like me who are not very familiar with Arch, or GNU/Linux at all for that matter:

I "solved" this issue by making the following systemd script:$this->bbcode_second_pass_code('', '[Unit]
Description=BeagleBone Ethernet Fix
Before=netcfg.service

[Service]
Type=oneshot
ExecStart=/sbin/ifconfig eth0 up ; /sbin/ifconfig eth0 down ; /sbin/ifconfig eth0 up ; /sbin/dhcpcd

[Install]
WantedBy=netcfg.service') I placed it in /usr/lib/systemd/system/ and called systemctl:$this->bbcode_second_pass_code('', '#systemctl enable <whatever-you-named-it>')

Edit: If it is of any use, I should mention that when I powered my BeagleBone with the USB-cable most of the time I didn't have to bring eth0 up, down and up; four times out of five I had a working connection without any hassle. However when I powered the board using a 5V adapter it would never work without the up/down/up. In my head this supports the theory of it being a timing issue; the CPU boosts to 700MHz+ when using the 5V adapter (500MHz with USB-power), in conjunction with systemd's, I quote, "aggressive parallelization capabilities" this could potentially be the cause. Just guessing, as I said I am not very familiar with GNU/Linux, least ARM boards.
palindrom
 
Posts: 1
Joined: Fri Mar 01, 2013 4:48 pm

Re: Beaglebone eth0 won't connect without toggling on boot

Postby johonaton » Sat Mar 02, 2013 12:20 am

Yeah, I have a virtually identical systemd script on there now to provide the same workaround.
johonaton
 
Posts: 8
Joined: Tue Feb 05, 2013 1:21 am

Previous

Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 10 guests

cron