Slow boot up without ethernet connected - Debian

973 views
Skip to first unread message

ky...@cranehome.info

unread,
Jul 18, 2014, 9:55:53 PM7/18/14
to beagl...@googlegroups.com

When I start my BBB with the ethernet connection I am generally up and at a login prompt within a few seconds.  But when I boot with the ethernet cable disconnected then the boot seems to hang right after the last message here:

Uncompressing Linux... done, booting the kernel.

[    0.361461] omap2_mbox_probe: platform not supported

[    0.516311] tps65217-bl tps65217-bl: no platform data provided

[    0.579093] bone-capemgr bone_capemgr.9: slot #0: No cape found

[    0.616203] bone-capemgr bone_capemgr.9: slot #1: No cape found

[    0.653308] bone-capemgr bone_capemgr.9: slot #2: No cape found

[    0.690418] bone-capemgr bone_capemgr.9: slot #3: No cape found

[    0.709273] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed

[    0.770742] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8

[    0.782436] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22

[    0.789715] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single

Loading, please wait...

Scanning for Btrfs filesystems

systemd-fsck[204]: rootfs: clean, 31460/230144 files, 195808/919296 blocks

[    4.134130] libphy: PHY 4a101000.mdio:01 not found

[    4.139188] net eth0: phy 4a101000.mdio:01 not found on slave 1


From here it will sit and do nothing but the heartbeat blink without indication of any real disk activity.   The delay seems to be around 45 seconds to maybe a minute.   At that point the wireless adapter finally begins to negotiate and connect.  Only when that has completed do I then get a login prompt at the serial console.


I would really like to determine how I can speed this up.  I don't want my robot to sit and blink at me for 50 seconds just burning time at startup.  Below is the dmesg output.   You can see the very long delay after about the 5 second mark.


[    0.000000] Booting Linux on physical CPU 0x0

[    0.000000] Initializing cgroup subsys cpu

[    0.000000] Linux version 3.8.13-bone59 (root@imx6q-wandboard-2gb-0) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Fri Jul 4 22:52:56 UTC 2014

[    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d

[    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] Memory policy: ECC disabled, Data cache writeback

[    0.000000] On node 0 totalpages: 130816

[    0.000000] free_area_init_node: node 0, pgdat c08b2640, node_mem_map c092d000

[    0.000000]   Normal zone: 1024 pages used for memmap

[    0.000000]   Normal zone: 0 pages reserved

[    0.000000]   Normal zone: 129792 pages, LIFO batch:31

[    0.000000] AM335X ES2.1 (l2cache sgx neon )

[    0.000000] PERCPU: Embedded 9 pages/cpu @c0d3d000 s14080 r8192 d14592 u36864

[    0.000000] pcpu-alloc: s14080 r8192 d14592 u36864 alloc=9*4096

[    0.000000] pcpu-alloc: [0] 0 

[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 129792

[    0.000000] Kernel command line: console=ttyO0,115200n8 quiet capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN root=UUID=7efe3206-89e4-4951-92ea-bd15e60fb19b rootfstype=ext4 rootwait quiet init=/lib/systemd/systemd

[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)

[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)

[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)

[    0.000000] __ex_table already sorted, skipping sort

[    0.000000] allocated 1048576 bytes of page_cgroup

[    0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups

[    0.000000] Memory: 511MB = 511MB total

[    0.000000] Memory: 505580k/505580k available, 18708k reserved, 0K highmem

[    0.000000] Virtual kernel memory layout:

[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)

[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)

[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)

[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)

[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)

[    0.000000]     modules : 0xbf800000 - 0xbfe00000   (   6 MB)

[    0.000000]       .text : 0xc0008000 - 0xc07ef7b8   (8094 kB)

[    0.000000]       .init : 0xc07f0000 - 0xc082d700   ( 246 kB)

[    0.000000]       .data : 0xc082e000 - 0xc08b5600   ( 542 kB)

[    0.000000]        .bss : 0xc08b5600 - 0xc092cd80   ( 478 kB)

[    0.000000] Hierarchical RCU implementation.

[    0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.

[    0.000000] NR_IRQS:0 nr_irqs:0 0

[    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.000236] Calibrating delay loop... 993.47 BogoMIPS (lpj=969728)

[    0.029194] pid_max: default: 32768 minimum: 301

[    0.029329] Security Framework initialized

[    0.029385] Mount-cache hash table entries: 512

[    0.035115] Initializing cgroup subsys cpuacct

[    0.035136] Initializing cgroup subsys memory

[    0.035176] Initializing cgroup subsys blkio

[    0.035263] CPU: Testing write buffer coherency: ok

[    0.035643] CPU0: thread -1, cpu 0, socket -1, mpidr 0

[    0.035698] Setting up static identity map for 0x804d2948 - 0x804d2994

[    0.036636] Brought up 1 CPUs

[    0.036650] SMP: Total of 1 processors activated (993.47 BogoMIPS).

[    0.037439] devtmpfs: initialized

[    0.045861] omap_hwmod: wd_timer2: _wait_target_disable failed

[    0.097965] pinctrl core: initialized pinctrl subsystem

[    0.098099] rstctl core: initialized rstctl subsystem

[    0.098395] regulator-dummy: no parameters

[    0.098714] NET: Registered protocol family 16

[    0.099247] DMA: preallocated 256 KiB pool for atomic coherent allocations

[    0.104845] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568

[    0.105429] platform 49000000.edma: alias fck already exists

[    0.105446] platform 49000000.edma: alias fck already exists

[    0.105459] platform 49000000.edma: alias fck already exists

[    0.106062] gpiochip_add: registered GPIOs 0 to 31 on device: gpio

[    0.106156] OMAP GPIO hardware version 0.1

[    0.106967] gpiochip_add: registered GPIOs 32 to 63 on device: gpio

[    0.107678] gpiochip_add: registered GPIOs 64 to 95 on device: gpio

[    0.108369] gpiochip_add: registered GPIOs 96 to 127 on device: gpio

[    0.108622] of_get_named_gpio_flags exited with status 52

[    0.108640] gpio-rctrl rstctl.4: loaded OK

[    0.111775] hw-breakpoint: debug architecture 0x4 unsupported.

[    0.113009] cpsw.0: No hwaddr in dt. Using d0:39:72:14:c9:21 from efuse

[    0.113025] cpsw.1: No hwaddr in dt. Using d0:39:72:14:c9:23 from efuse

[    0.121254] bio: create slab <bio-0> at 0

[    0.127567] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver

[    0.127718] of_get_named_gpio_flags: can't parse gpios property

[    0.127842] vmmcsd_fixed: 3300 mV 

[    0.129350] SCSI subsystem initialized

[    0.129577] usbcore: registered new interface driver usbfs

[    0.129637] usbcore: registered new interface driver hub

[    0.129836] usbcore: registered new device driver usb

[    0.131071] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz

[    0.131981] input: tps65217_pwr_but as /devices/ocp.3/44e0b000.i2c/i2c-0/0-0024/input/input0

[    0.133255] DCDC1: at 1500 mV 

[    0.134084] vdd_mpu: 925 <--> 1325 mV at 1325 mV 

[    0.134939] vdd_core: 925 <--> 1150 mV at 1125 mV 

[    0.135745] LDO1: at 1800 mV 

[    0.136532] LDO2: at 3300 mV 

[    0.138064] LDO3: 1800 mV 

[    0.138873] LDO4: at 3300 mV 

[    0.139590] tps65217 0-0024: TPS65217 ID 0xe version 1.2

[    0.140039] omap_i2c 44e0b000.i2c: unable to select pin group

[    0.140496] omap_i2c 4819c000.i2c: bus 1 rev0.11 at 100 kHz

[    0.141876] omap_i2c 4819c000.i2c: unable to select pin group

[    0.142016] media: Linux media interface: v0.10

[    0.142080] Linux video capture interface: v2.00

[    0.142152] pps_core: LinuxPPS API ver. 1 registered

[    0.142160] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giom...@linux.it>

[    0.142624] Advanced Linux Sound Architecture Driver Initialized.

[    0.143198] NetLabel: Initializing

[    0.143207] NetLabel:  domain hash size = 128

[    0.143213] NetLabel:  protocols = UNLABELED CIPSOv4

[    0.143279] NetLabel:  unlabeled traffic allowed by default

[    0.143470] Switching to clocksource gp_timer

[    0.174956] NET: Registered protocol family 2

[    0.175582] TCP established hash table entries: 4096 (order: 3, 32768 bytes)

[    0.175664] TCP bind hash table entries: 4096 (order: 4, 81920 bytes)

[    0.175746] TCP: Hash tables configured (established 4096 bind 4096)

[    0.175806] TCP: reno registered

[    0.175820] UDP hash table entries: 256 (order: 1, 12288 bytes)

[    0.175844] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)

[    0.176076] NET: Registered protocol family 1

[    0.176470] RPC: Registered named UNIX socket transport module.

[    0.176482] RPC: Registered udp transport module.

[    0.176489] RPC: Registered tcp transport module.

[    0.176495] RPC: Registered tcp NFSv4.1 backchannel transport module.

[    0.176714] Trying to unpack rootfs image as initramfs...

[    0.360535] Freeing initrd memory: 2632K

[    0.360860] hw perfevents: enabled with ARMv7 Cortex-A8 PMU driver, 5 counters available

[    0.361112] CPU PMU: attempt to register multiple PMU devices!

[    0.361135] arm-pmu: probe of arm-pmu failed with error -28

[    0.361461] omap2_mbox_probe: platform not supported

[    0.511676] VFS: Disk quotas dquot_6.5.2

[    0.511817] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

[    0.512525] NFS: Registering the id_resolver key type

[    0.512592] Key type id_resolver registered

[    0.512602] Key type id_legacy registered

[    0.512969] fuse init (API version 7.20)

[    0.513367] Btrfs loaded

[    0.513485] msgmni has been set to 992

[    0.515191] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)

[    0.515207] io scheduler noop registered

[    0.515216] io scheduler deadline registered

[    0.515237] io scheduler cfq registered (default)

[    0.516311] tps65217-bl tps65217-bl: no platform data provided

[    0.516333] tps65217-bl: probe of tps65217-bl failed with error -22

[    0.516929] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled

[    0.518214] omap_uart 44e09000.serial: did not get pins for uart0 error: -19

[    0.518495] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0

[    0.530420] console [ttyO0] enabled

[    0.531053] [drm] Initialized drm 1.1.0 20060810

[    0.538474] brd: module loaded

[    0.542200] loop: module loaded

[    0.542280] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

[    0.542322] at24 1-0054: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

[    0.542357] at24 1-0055: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

[    0.542393] at24 1-0056: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

[    0.542427] at24 1-0057: 32768 byte 24c256 EEPROM, writable, 1 bytes/write

[    0.549126] bone-capemgr bone_capemgr.9: Baseboard: 'A335BNLT,000C,2714BBBK0485'

[    0.549151] bone-capemgr bone_capemgr.9: compatible-baseboard=ti,beaglebone-black

[    0.549194] bone-capemgr bone_capemgr.9: Skipping disabled cape with part# BB-BONELT-HDMI

[    0.549242] bone-capemgr bone_capemgr.9: Skipping disabled cape with part# BB-BONELT-HDMIN

[    0.579093] bone-capemgr bone_capemgr.9: slot #0: No cape found

[    0.616203] bone-capemgr bone_capemgr.9: slot #1: No cape found

[    0.653308] bone-capemgr bone_capemgr.9: slot #2: No cape found

[    0.690418] bone-capemgr bone_capemgr.9: slot #3: No cape found

[    0.696635] bone-capemgr bone_capemgr.9: slot #4: specific override

[    0.696658] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 4

[    0.696675] bone-capemgr bone_capemgr.9: slot #4: 'Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G'

[    0.696756] bone-capemgr bone_capemgr.9: slot #5: specific override

[    0.696774] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 5

[    0.696789] bone-capemgr bone_capemgr.9: slot #5: 'Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI'

[    0.696858] bone-capemgr bone_capemgr.9: slot #6: specific override

[    0.696877] bone-capemgr bone_capemgr.9: bone: Using override eeprom data at slot 6

[    0.696891] bone-capemgr bone_capemgr.9: slot #6: 'Bone-Black-HDMIN,00A0,Texas Instrument,BB-BONELT-HDMIN'

[    0.697049] bone-capemgr bone_capemgr.9: Skipping loading of disabled cape with part# BB-BONELT-HDMI

[    0.697063] bone-capemgr bone_capemgr.9: Skipping loading of disabled cape with part# BB-BONELT-HDMIN

[    0.697208] bone-capemgr bone_capemgr.9: initialized OK.

[    0.698939] OneNAND driver initializing

[    0.699752] usbcore: registered new interface driver cdc_ether

[    0.699809] usbcore: registered new interface driver rndis_host

[    0.699909] usbcore: registered new interface driver cdc_ncm

[    0.700307] bone-capemgr bone_capemgr.9: loader: before slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)

[    0.700323] bone-capemgr bone_capemgr.9: loader: check slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)

[    0.700338] bone-capemgr bone_capemgr.9: loader: after slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)

[    0.700359] bone-capemgr bone_capemgr.9: slot #4: Requesting firmware 'cape-bone-2g-emmc1.dtbo' for board-name 'Bone-LT-eMMC-2G', version '00A0'

[    0.700378] bone-capemgr bone_capemgr.9: slot #4: dtbo 'cape-bone-2g-emmc1.dtbo' loaded; converting to live tree

[    0.700572] bone-capemgr bone_capemgr.9: slot #4: #2 overlays

[    0.701141] bone-capemgr bone_capemgr.9: slot #4: Applied #2 overlays.

[    0.701157] bone-capemgr bone_capemgr.9: loader: done slot-4 BB-BONE-EMMC-2G:00A0 (prio 1)

[    0.701417] usbcore: registered new interface driver cdc_acm

[    0.701426] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

[    0.701434] Initializing USB Mass Storage driver...

[    0.701509] usbcore: registered new interface driver usb-storage

[    0.701516] USB Mass Storage support registered.

[    0.701648] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)

[    0.701874] musb-hdrc musb-hdrc.0.auto: pdev->id = 0

[    0.701888] musb-hdrc musb-hdrc.0.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK

[    0.701914] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)

[    0.701924] musb-hdrc: MHDRC RTL version 2.0 

[    0.701932] musb-hdrc: setup fifo_mode 4

[    0.701948] musb-hdrc: 28/31 max ep, 16384/16384 memory

[    0.702035] musb-hdrc musb-hdrc.0.auto: *** mode=3

[    0.702045] musb-hdrc musb-hdrc.0.auto: *** power=250

[    0.702626] musb-hdrc musb-hdrc.1.auto: pdev->id = 1

[    0.702642] musb-hdrc musb-hdrc.1.auto: drivers/usb/musb/musb_dsps.c:468 dsps_musb_init: OK

[    0.702664] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)

[    0.702673] musb-hdrc: MHDRC RTL version 2.0 

[    0.702681] musb-hdrc: setup fifo_mode 4

[    0.702692] musb-hdrc: 28/31 max ep, 16384/16384 memory

[    0.702758] musb-hdrc musb-hdrc.1.auto: *** mode=1

[    0.702769] musb-hdrc musb-hdrc.1.auto: *** power=250

[    0.702780] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver

[    0.702984] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1

[    0.703015] musb-hdrc musb-hdrc.1.auto: supports USB remote wakeup

[    0.703083] usb usb1: default language 0x0409

[    0.703122] usb usb1: udev 1, busnum 1, minor = 0

[    0.703134] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002

[    0.703144] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[    0.703154] usb usb1: Product: MUSB HDRC host driver

[    0.703164] usb usb1: Manufacturer: Linux 3.8.13-bone59 musb-hcd

[    0.703173] usb usb1: SerialNumber: musb-hdrc.1.auto

[    0.703574] usb usb1: usb_probe_device

[    0.703588] usb usb1: configuration #1 chosen from 1 choice

[    0.703627] usb usb1: adding 1-0:1.0 (config #1, interface 0)

[    0.703728] hub 1-0:1.0: usb_probe_interface

[    0.703739] hub 1-0:1.0: usb_probe_interface - got id

[    0.703755] hub 1-0:1.0: USB hub found

[    0.703779] hub 1-0:1.0: 1 port detected

[    0.703788] hub 1-0:1.0: standalone hub

[    0.703797] hub 1-0:1.0: individual port power switching

[    0.703806] hub 1-0:1.0: no over-current protection

[    0.703814] hub 1-0:1.0: Single TT

[    0.703824] hub 1-0:1.0: TT requires at most 8 FS bit times (666 ns)

[    0.703833] hub 1-0:1.0: power on to power good time: 10ms

[    0.703854] hub 1-0:1.0: local power source is good

[    0.703915] hub 1-0:1.0: enabling power on all ports

[    0.704605] mousedev: PS/2 mouse device common for all mice

[    0.706165] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0

[    0.706209] 44e3e000.rtc: already running

[    0.706368] i2c /dev entries driver

[    0.707309] pps_ldisc: PPS line discipline registered

[    0.707391] Driver for 1-wire Dallas network protocol.

[    0.708543] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec

[    0.708949] device-mapper: ioctl: 4.23.1-ioctl (2012-12-18) initialised: dm-d...@redhat.com

[    0.708985] cpuidle: using governor ladder

[    0.708995] cpuidle: using governor menu

[    0.709235] of_get_named_gpio_flags exited with status 6

[    0.709245] of_get_named_gpio_flags: can't parse gpios property

[    0.709253] of_get_named_gpio_flags: can't parse gpios property

[    0.709273] omap_hsmmc mmc.5: of_parse_phandle_with_args of 'reset' failed

[    0.716513] omap_hsmmc mmc.5: Failed to get rstctl; not using any

[    0.716843] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25

[    0.716886] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24

[    0.717058] mmc.5 supply vmmc_aux not found, using dummy regulator

[    0.717385] omap_hsmmc mmc.5: pins are not configured from the driver

[    0.743319] of_get_named_gpio_flags: can't parse gpios property

[    0.743334] of_get_named_gpio_flags: can't parse gpios property

[    0.743342] of_get_named_gpio_flags: can't parse gpios property

[    0.743372] gpio-rctrl rstctl.4: gpio_rctrl_request eMMC_RSTn

[    0.743432] omap_hsmmc mmc.11: Got rstctl (gpio:#0 name eMMC_RSTn) label:eMMC_RSTn

[    0.743444] gpio-rctrl rstctl.4: gpio_rctrl_deassert eMMC_RSTn

[    0.743632] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3

[    0.743672] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2

[    0.743990] mmc.11 supply vmmc_aux not found, using dummy regulator

[    0.744071] omap_hsmmc mmc.11: pins are not configured from the driver

[    0.770742] pinctrl-single 44e10800.pinmux: pin 44e10854 already requested by 44e10800.pinmux; cannot claim for gpio-leds.8

[    0.782436] pinctrl-single 44e10800.pinmux: pin-21 (gpio-leds.8) status -22

[    0.789715] pinctrl-single 44e10800.pinmux: could not request pin 21 on device pinctrl-single

[    0.798638] leds-gpio gpio-leds.8: pins are not configured from the driver

[    0.798661] of_get_named_gpio_flags exited with status 53

[    0.798672] of_get_named_gpio_flags exited with status 54

[    0.798682] of_get_named_gpio_flags exited with status 55

[    0.798692] of_get_named_gpio_flags exited with status 56

[    0.798704] of_get_named_gpio_flags exited with status 53

[    0.798849] of_get_named_gpio_flags exited with status 54

[    0.799012] of_get_named_gpio_flags exited with status 55

[    0.799119] of_get_named_gpio_flags exited with status 56

[    0.799430] ledtrig-cpu: registered to indicate activity on CPUs

[    0.799671] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36

[    0.799728] omap-sham 53100000.sham: hw accel on OMAP rev 4.3

[    0.801025] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2

[    0.801099] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5

[    0.801139] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6

[    0.803860] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000

[    0.803912] hub 1-0:1.0: hub_suspend

[    0.803939] usb usb1: bus auto-suspend, wakeup 1

[    0.804380] usbcore: registered new interface driver usbhid

[    0.804389] usbhid: USB HID core driver

[    0.805229] ashmem: initialized

[    0.805431] logger: created 256K log 'log_main'

[    0.805617] logger: created 256K log 'log_events'

[    0.805917] logger: created 256K log 'log_radio'

[    0.806096] logger: created 256K log 'log_system'

[    0.808051] TCP: cubic registered

[    0.808131] NET: Registered protocol family 10

[    0.808920] NET: Registered protocol family 17

[    0.809137] Key type dns_resolver registered

[    0.809307] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3

[    0.809331] ThumbEE CPU extension supported.

[    0.809358] Registering SWP/SWPB emulation handler

[    0.810075] registered taskstats version 1

[    0.858404] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6

[    0.858424] davinci_mdio 4a101000.mdio: detected phy mask fffffffe

[    0.864991] libphy: 4a101000.mdio: probed

[    0.865020] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720

[    0.865190] Detected MACID = d0:39:72:14:c9:21

[    0.865288] cpsw 4a100000.ethernet: NAPI disabled

[    0.866162] mmc1: BKOPS_EN bit is not set

[    0.866588] omap_rtc 44e3e000.rtc: setting system clock to 2014-07-07 01:14:50 UTC (1404695690)

[    0.871425] ALSA device list:

[    0.871447]   No soundcards found.

[    0.872168] Freeing init memory: 244K

[    0.874215] mmc1: new high speed MMC card at address 0001

[    0.877187] mmcblk0: mmc1:0001 MMC04G 3.60 GiB 

[    0.877490] mmcblk0boot0: mmc1:0001 MMC04G partition 1 2.00 MiB

[    0.880214] mmcblk0boot1: mmc1:0001 MMC04G partition 2 2.00 MiB

[    0.881378]  mmcblk0: p1 p2

[    0.883154]  mmcblk0boot1: unknown partition table

[    0.884526]  mmcblk0boot0: unknown partition table

[    0.890479] usb usb1: usb wakeup-resume

[    0.890528] usb usb1: usb auto-resume

[    0.890547] hub 1-0:1.0: hub_resume

[    0.890586] hub 1-0:1.0: port 1: status 0101 change 0001

[    0.951171] udevd[95]: starting version 175

[    0.993298] hub 1-0:1.0: state 7 ports 1 chg 0002 evt 0000

[    0.993357] hub 1-0:1.0: port 1, status 0101, change 0000, 12 Mb/s

[    1.098751] usb 1-1: new high-speed USB device number 2 using musb-hdrc

[    1.218663] usb 1-1: default language 0x0409

[    1.219257] usb 1-1: udev 2, busnum 1, minor = 1

[    1.219274] usb 1-1: New USB device found, idVendor=7392, idProduct=7811

[    1.219285] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3

[    1.219295] usb 1-1: Product: 802.11n WLAN Adapter

[    1.219305] usb 1-1: Manufacturer: Realtek

[    1.219314] usb 1-1: SerialNumber: 00e04c000001

[    1.219808] usb 1-1: usb_probe_device

[    1.219825] usb 1-1: configuration #1 chosen from 1 choice

[    1.219971] usb 1-1: adding 1-1:1.0 (config #1, interface 0)

[    1.220609] hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002

[    1.220643] hub 1-0:1.0: port 1 enable change, status 00000503

[    2.076936] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

[    3.098964] udevd[224]: starting version 175

[    3.140739] EXT4-fs (mmcblk0p2): re-mounted. Opts: errors=remount-ro

[    4.130001] net eth0: initializing cpsw version 1.12 (0)

[    4.134099] net eth0: phy found : id is : 0x7c0f1

[    4.134130] libphy: PHY 4a101000.mdio:01 not found

[    4.139188] net eth0: phy 4a101000.mdio:01 not found on slave 1

[    4.159610] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

[    4.901086] rtl8192cu 1-1:1.0: usb_probe_interface

[    4.901112] rtl8192cu 1-1:1.0: usb_probe_interface - got id

[    5.377503] usbcore: registered new interface driver rtl8192cu

[   65.242291] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready

[   67.608786] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready

[   74.077842]  gadget: using random self ethernet address

[   74.085116] usb0: MAC fa:33:5e:8a:b7:c8

[   74.085137] usb0: HOST MAC d0:39:72:14:c9:23

[   74.090893]  gadget: Mass Storage Function, version: 2009/09/11

[   74.090915]  gadget: Number of LUNs=1

[   74.090938]  lun0: LUN: removable file: /dev/mmcblk0p1

[   74.091042]  gadget: Multifunction Composite Gadget

[   74.091066]  gadget: g_multi ready

[   74.091108] musb-hdrc musb-hdrc.0.auto: MUSB HDRC host driver

[   74.091438] musb-hdrc musb-hdrc.0.auto: new USB bus registered, assigned bus number 2

[   74.091466] musb-hdrc musb-hdrc.0.auto: supports USB remote wakeup

[   74.091535] usb usb2: default language 0x0409

[   74.091567] usb usb2: udev 1, busnum 2, minor = 128

[   74.091580] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002

[   74.091591] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1

[   74.091601] usb usb2: Product: MUSB HDRC host driver

[   74.091611] usb usb2: Manufacturer: Linux 3.8.13-bone59 musb-hcd

[   74.091620] usb usb2: SerialNumber: musb-hdrc.0.auto

[   74.094328] usb usb2: usb_probe_device

[   74.094349] usb usb2: configuration #1 chosen from 1 choice

[   74.094404] usb usb2: adding 2-0:1.0 (config #1, interface 0)

[   74.094525] hub 2-0:1.0: usb_probe_interface

[   74.094538] hub 2-0:1.0: usb_probe_interface - got id

[   74.094557] hub 2-0:1.0: USB hub found

[   74.094582] hub 2-0:1.0: 1 port detected

[   74.094591] hub 2-0:1.0: standalone hub

[   74.094600] hub 2-0:1.0: individual port power switching

[   74.094610] hub 2-0:1.0: no over-current protection

[   74.094618] hub 2-0:1.0: Single TT

[   74.094628] hub 2-0:1.0: TT requires at most 8 FS bit times (666 ns)

[   74.094638] hub 2-0:1.0: power on to power good time: 10ms

[   74.094660] hub 2-0:1.0: local power source is good

[   74.098787] hub 2-0:1.0: enabling power on all ports

[   74.200376] hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0000

[   74.200436] hub 2-0:1.0: hub_suspend

[   74.200464] usb usb2: bus auto-suspend, wakeup 1

[   74.261373] CAUTION: musb: Babble Interrupt Occurred

[   74.406738]  gadget: high-speed config #1: Multifunction with RNDIS

Robert Nelson

unread,
Jul 18, 2014, 10:01:47 PM7/18/14
to Beagle Board
On Fri, Jul 18, 2014 at 8:55 PM, <ky...@cranehome.info> wrote:
> When I start my BBB with the ethernet connection I am generally up and at a
> login prompt within a few seconds. But when I boot with the ethernet cable
> disconnected then the boot seems to hang right after the last message here:
>
> From here it will sit and do nothing but the heartbeat blink without
> indication of any real disk activity. The delay seems to be around 45
> seconds to maybe a minute. At that point the wireless adapter finally
> begins to negotiate and connect. Only when that has completed do I then get
> a login prompt at the serial console.
>
> I would really like to determine how I can speed this up. I don't want my
> robot to sit and blink at me for 50 seconds just burning time at startup.
> Below is the dmesg output. You can see the very long delay after about the
> 5 second mark.

It sounds like you have eth0 enabled in /etc/network/interfaces

So it's waiting for a valid ip address and will wait a good 60 seconds.

> [ 0.000000] Booting Linux on physical CPU 0x0
> [ 0.000000] Initializing cgroup subsys cpu
> [ 0.000000] Linux version 3.8.13-bone59 (root@imx6q-wandboard-2gb-0) (gcc
> version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Fri Jul 4 22:52:56 UTC 2014

btw, upgrade to bone60, we fixed a major bug on the phy, where
sometimes it can't be found.

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

ky...@cranehome.info

unread,
Jul 18, 2014, 10:53:01 PM7/18/14
to beagl...@googlegroups.com
Well that almost got it.   I set the eth0 interface to a static ip and that speeds up boot by a bunch it also seems to cause it to no longer bring up the wireless interface.   I can manually ifup wlan1 and it will come online but it's ignored at boot up.

Putting "ifup wlan1" into /etc/rc.local doesn't help either.   I have to log into the serial console and force it up now.

<sigh> .... been a long afternoon.


How do upgrade the kernel?  apt-get upgrade does not do the trick. 

ky...@cranehome.info

unread,
Jul 18, 2014, 10:59:13 PM7/18/14
to beagl...@googlegroups.com
It's a timing issue.   Adding a "sleep 10" to rc.local did the trick.   

ky...@cranehome.info

unread,
Jul 18, 2014, 11:06:24 PM7/18/14
to beagl...@googlegroups.com


How do upgrade the kernel?  apt-get upgrade does not do the trick. 

Nevermind.... found it on the Wiki. 

ky...@cranehome.info

unread,
Jul 28, 2014, 1:06:16 PM7/28/14
to beagl...@googlegroups.com
Will there be any way to eliminate the boot-hang waiting for DHCP? My other distributions (Arch) will come up without delay and if Ethernet is present it's on and working if not, it doesn't come up. I ask because I'm sitting here hosed now since my boot up is to eMMC, the wireless is not coming online today and the cape arrangement blocks access to the console port, so I have no way to re-enable any other method of ssh access. Since ethernet is disabled I'm locked out till I disassemble the whole thing and try to access via the console.

I guess future capes will be designed to pull out the console serial lines to an external header. Not having those available keeps biting me.

Robert Nelson

unread,
Jul 28, 2014, 1:10:26 PM7/28/14
to Beagle Board
On Mon, Jul 28, 2014 at 12:06 PM, <ky...@cranehome.info> wrote:
> Will there be any way to eliminate the boot-hang waiting for DHCP? My other distributions (Arch) will come up without delay and if Ethernet is present it's on and working if not, it doesn't come up. I ask because I'm sitting here hosed now since my boot up is to eMMC, the wireless is not coming online today and the cape arrangement blocks access to the console port, so I have no way to re-enable any other method of ssh access. Since ethernet is disabled I'm locked out till I disassemble the whole thing and try to access via the console.
>
> I guess future capes will be designed to pull out the console serial lines to an external header. Not having those available keeps biting me.

PLug in a usb otg cable..

3 devices should come up, 2 will be useful.. (flash/usbnet/usbcdc)

Either connect to the usbnet (192.168.7.2)
Or the usbcdc (/dev/ttyACM0)?

The 2 second delay is just the way debian is for dhcp.

ky...@cranehome.info

unread,
Jul 28, 2014, 2:19:16 PM7/28/14
to beagl...@googlegroups.com
I had tried the USB cable, and was getting ready to say that wasn't working when I realized I had forgotten to install the network driver on this Mac. I was afraid I had done something in interfaces that was not allowing that device to come up. Once that was done I was able to contact it on the USB network adapter address. That will be sufficient to help me in most cases where the kernel at least boots up. Thanks for the prod to look deeper at it.

Robert Nelson

unread,
Jul 28, 2014, 2:32:17 PM7/28/14
to Beagle Board
On Mon, Jul 28, 2014 at 1:19 PM, <ky...@cranehome.info> wrote:
> I had tried the USB cable, and was getting ready to say that wasn't working when I realized I had forgotten to install the network driver on this Mac. I was afraid I had done something in interfaces that was not allowing that device to come up. Once that was done I was able to contact it on the USB network adapter address. That will be sufficient to help me in most cases where the kernel at least boots up. Thanks for the prod to look deeper at it.

Another thing you can do, is change "auto" to "allow-hotplug" but then
it only seems to work if you hotplug the eth cable after bootup..
Reply all
Reply to author
Forward
0 new messages