Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: odroid-c1's awge0 on 9?



I was reminded (off list) of the old bug where the network only worked
if plugged in after the OS had booted.
That helped - if the cable is plugged in after booting things seem to work.
Interestingly, the old bug only occurred with 100mb  -  another work
around was to connect to a 1gb hub.

I'll play some more.

On Thu, 31 Oct 2019 at 09:59, Andrew Cagney <andrew.cagney%gmail.com@localhost> wrote:
>
> Continuing my upgrade ...
>
> I'm finding that with NetBSD 9 the awge0 interface isn't receiving
> packets.  With DHCP, for instance, I can see the 1gb router receiving
> and responding to the requests, but the odroid-c1 isn't seeing the
> responses.
>
> # /etc/rc.d/dhcpcd restart
> Stopping dhcpcd.
> Starting dhcpcd.
> 13:49:55.909999 IP6 fe80::b6d2:18be:d3e9:86b7 > ff02::2: ICMP6, router
> solicitation, length 16
> 13:49:56.019999 IP 0.0.0.0.bootpc > 255.255.255.255.bootps:
> BOOTP/DHCP, Request from 00:1e:06:10:1d:0c (oui Unknown), length 346
> 13:49:59.919999 IP6 fe80::b6d2:18be:d3e9:86b7 > ff02::2: ICMP6, router
> solicitation, length 16
> 13:50:00.959999 IP 0.0.0.0.bootpc > 255.255.255.255.bootps:
> BOOTP/DHCP, Request from 00:1e:06:10:1d:0c (oui Unknown), length 346
> 13:50:01.029999 ARP, Request who-has 169.254.217.108 tell
> 169.254.217.108, length 28
> armv7# 13:50:03.039999 ARP, Request who-has 169.254.217.108 tell
> 169.254.217.108, length 28
> 13:50:03.929999 IP6 fe80::b6d2:18be:d3e9:86b7 > ff02::2: ICMP6, router
> solicitation, length 16
> 13:50:07.939999 IP6 fe80::b6d2:18be:d3e9:86b7 > ff02::2: ICMP6, router
> solicitation, length 16
>
> and here's what the server is seeing:
>
> # tcpdump 'ether host 00:1e:06:10:1d:0c'
> tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
> listening on br-lan, link-type EN10MB (Ethernet), capture size 262144 bytes
> 09:49:55.517214 IP6 fe80::b6d2:18be:d3e9:86b7 > ff02::2: ICMP6, router
> solicitation, length 16
> 09:49:55.519878 IP6 fe80::c66e:1fff:fed7:2c0e >
> fe80::b6d2:18be:d3e9:86b7: ICMP6, router advertisement, length 120
> 09:49:55.525566 IP6 fe80::eade:27ff:feff:9994 >
> fe80::b6d2:18be:d3e9:86b7: ICMP6, router advertisement, length 120
> 09:49:55.626769 IP 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP,
> Request from 00:1e:06:10:1d:0c (oui Unknown), length 346
> 09:49:55.633607 IP b2.67 > charlie.68: BOOTP/DHCP, Reply, length 300
>
> any suggestions on where to start looking?
>
> [   1.0000000] NetBSD/evbarm (fdt) booting ...
> [   1.0000000] [ Kernel symbol table missing! ]
> [   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002,
> 2003, 2004, 2005,
> [   1.0000000]     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013,
> 2014, 2015, 2016, 2017,
> [   1.0000000]     2018, 2019 The NetBSD Foundation, Inc.  All rights reserved.
> [   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
> [   1.0000000]     The Regents of the University of California.  All
> rights reserved.
>
> [   1.0000000] NetBSD 9.0_BETA (GENERIC) #2: Wed Oct 30 17:31:56 EDT 2019
> [   1.0000000]
> cagney@charlie:/home/netbsd/9/evbearmv7hf-el/sys/arch/evbarm/compile/GENERIC
> [   1.0000000] total memory = 1024 MB
> [   1.0000000] avail memory = 1003 MB
> [   1.0000000] armfdt0 (root)
> [   1.0000000] simplebus0 at armfdt0: Hardkernel ODROID-C1
> [   1.0000000] simplebus1 at simplebus0
> [   1.0000000] cpus0 at simplebus0
> [   1.0000000] simplebus2 at simplebus0
> [   1.0000000] simplebus3 at simplebus0
> [   1.0000000] cpu0 at cpus0: Cortex-A5 r0p1 (Cortex V7A core)
> [   1.0000000] cpu0: DC enabled IC enabled WB enabled LABT branch
> prediction enabled
> [   1.0000000] cpu0: 32KB/32B 2-way L1 VIPT Instruction cache
> [   1.0000000] cpu0: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
> [   1.0000000] cpu0: 512KB/32B 8-way write-back L2 PIPT Unified cache
> [   1.0000000] vfp0 at cpu0: NEON MPE (VFP 3.0+), rounding, NaN
> propagation, denormals
> [   1.0000000] cpufreqdt0 at cpu0
> [   1.0000000] cpu1 at cpus0
> [   1.0000000] cpufreqdt1 at cpu1
> [   1.0000000] cpu2 at cpus0
> [   1.0000000] cpufreqdt2 at cpu2
> [   1.0000000] cpu3 at cpus0
> [   1.0000000] cpufreqdt3 at cpu3
> [   1.0000000] simplebus4 at simplebus1
> [   1.0000000] simplebus5 at simplebus1
> [   1.0000000] simplebus6 at simplebus1
> [   1.0000000] simplebus7 at simplebus1
> [   1.0000000] gic0 at simplebus4: GIC
> [   1.0000000] armgic0 at gic0: Generic Interrupt Controller, 256
> sources (245 valid)
> [   1.0000000] armgic0: 32 Priorities, 224 SPIs, 5 PPIs, 16 SGIs
> [   1.0000000] syscon0 at simplebus5: System Controller Registers
> [   1.0000000] syscon1 at simplebus5: System Controller Registers
> [   1.0000000] syscon2 at simplebus5: System Controller Registers
> [   1.0000000] syscon3 at simplebus7: System Controller Registers
> [   1.0000000] syscon4 at simplebus1: System Controller Registers
> [   1.0000000] meson8bclkc0 at syscon0: Meson8b clock controller
> [   1.0000000] mesonpinctrl0 at simplebus5: Meson8b CBUS GPIO
> [   1.0000000] gpio0 at mesonpinctrl0: 71 pins
> [   1.0000000] mesonresets0 at simplebus5
> [   1.0000000] mesonpinctrl1 at simplebus7: Meson8b AO GPIO
> [   1.0000000] mesonpinctrl1: usb-hub-reset GPIOAO_4 set to output (high)
> [   1.0000000] gpio1 at mesonpinctrl1: 14 pins
> [   1.0000000] l2cc0 at simplebus0
> [   1.0000000] arml2cc0 at l2cc0: ARM PL310 r3p3 L2 Cache Controller (disabled)
> [   1.0000000] arml2cc0: cache enabled
> [   1.0000000] a9ptmr0 at simplebus4
> [   1.0000000] a9ptmr0: interrupting on GIC irq 29
> [   1.0000000] arma9ptmr0 at a9ptmr0: A5 Private Timer (300 MHz)
> [   1.0000000] gregulator0 at simplebus0: TF_IO
> [   1.0000000] mesonuart0 at simplebus7: console
> [   1.0000000] mesonuart0: interrupting on GIC irq 122
> [   1.0000000] fregulator0 at simplebus0: VCC1V8
> [   1.0000000] fregulator1 at simplebus0: TFLASH_VDD
> [   1.0000000] fregulator2 at simplebus0: VCC3V3
> [   1.0000000] fregulator3 at simplebus0: P5V0
> [   1.0000000] fregulator4 at simplebus0: DDR_VDDC
> [   1.0000000] fregulator5 at simplebus0: VDD_RTC
> [   1.0000000] mesonusbphy0 at simplebus5: USB2 PHY (host)
> [   1.0000000] /soc/secbus@da000000/nvmem@0 at simplebus6 not configured
> [   1.0000000] awge0 at simplebus1: Gigabit Ethernet Controller
> [   1.0000000] awge0: interrupting on GIC irq 40
> [   1.0000000] awge0: Core version: 00001037
> [   1.0000000] awge0: Ethernet address 00:1e:06:10:1d:0c
> [   1.0000000] awge0: HW feature mask: 100d4f37
> [   1.0000000] rgephy0 at awge0 phy 0: RTL8211F 1000BASE-T media interface
> [   1.0000000] rgephy0: 10baseT, 10baseT-FDX, 100baseTX,
> 100baseTX-FDX, 1000baseT-FDX, auto
> [   1.0000000] rgephy1 at awge0 phy 1: RTL8211F 1000BASE-T media interface
> [   1.0000000] rgephy1: 10baseT, 10baseT-FDX, 100baseTX,
> 100baseTX-FDX, 1000baseT-FDX, auto
> [   1.0000000] /soc/cbus@c1100000/interrupt-controller@9880 at
> simplebus5 not configured
> [   1.0000000] /opp-table at simplebus0 not configured
> [   1.0000000] /gpu-opp-table at simplebus0 not configured
> [   1.0000000] /soc/cbus@c1100000/adc@8680 at simplebus5 not configured
> [   1.0000000] /soc/cbus@c1100000/pwm@8650 at simplebus5 not configured
> [   1.0000000] mesonrng0 at simplebus5: Hardware RNG
> [   1.0000000] mesonsdio0 at simplebus5: SDIO controller (port B)
> [   1.0000000] mesonsdio0: interrupting on GIC irq 60
> [   1.0000000] mesonsdio0: core 159375000 Hz, clkin 159375000 Hz
> [   1.0000000] mesonwdt0 at simplebus5: EE-watchdog
> [   1.0000000] /soc/cbus@c1100000/timer@9940 at simplebus5 not configured
> [   1.0000000] mesonsdhc0 at simplebus5: SDHC controller (port C)
> [   1.0000000] mesonsdhc0: interrupting on GIC irq 110
> [   1.0000000] mesonsdhc0: core 159375000 Hz, clkin 850000000 Hz
> [   1.0000000] /soc/aobus@c8100000/ir-receiver@480 at simplebus7 not configured
> [   1.0000000] mesonrtc0 at simplebus7: RTC
> [   1.0000000] dwctwo0 at simplebus1: DesignWare USB2 OTG
> [   1.0000000] dwctwo0: interrupting on GIC irq 63
> [   1.0000000] /soc/sram@d9000000 at simplebus1 not configured
> [   1.0000000] /bus@d0000000/gpu@c0000 at simplebus2 not configured
> [   1.0000000] /regulator-vcck at simplebus0 not configured
> [   1.0000000] mesonfb0 at simplebus0
> [   1.0000000] wsdisplay0 at mesonfb0 kbdmux 1: console (default,
> vt100 emulation)
> [   1.0000000] armpmu0 at simplebus0: Performance Monitor Unit
> [   1.0000000] gpioleds0 at simplebus0: c1:blue:alive
> [   1.0000000] /iio-hwmon at simplebus0 not configured
> [   1.0000000] /soc/bus@c4300000/scu@0 at simplebus4 not configured
> [   1.0001540] cpu1: Cortex-A5 r0p1 (Cortex V7A core)
> [   1.0301540] cpu1: DC enabled IC enabled WB enabled LABT branch
> prediction enabled
> [   1.0801540] cpu1: 32KB/32B 2-way L1 VIPT Instruction cache
> [   1.1101540] cpu1: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
> [   1.1501540] cpu1: 512KB/32B 8-way write-back L2 PIPT Unified cache
> [   1.1801540] vfp1 at cpu1: NEON MPE (VFP 3.0+), rounding, NaN
> propagation, denormals
> [   1.2301540] cpu2: Cortex-A5 r0p1 (Cortex V7A core)
> [   1.2601540] cpu2: DC enabled IC enabled WB enabled LABT branch
> prediction enabled
> [   1.3101540] cpu2: 32KB/32B 2-way L1 VIPT Instruction cache
> [   1.3501540] cpu2: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
> [   1.3801540] cpu2: 512KB/32B 8-way write-back L2 PIPT Unified cache
> [   1.4201540] vfp2 at cpu2: NEON MPE (VFP 3.0+), rounding, NaN
> propagation, denormals
> [   1.4701540] cpu3: Cortex-A5 r0p1 (Cortex V7A core)
> [   1.5001540] cpu3: DC enabled IC enabled WB enabled LABT branch
> prediction enabled
> [   1.5501540] cpu3: 32KB/32B 2-way L1 VIPT Instruction cache
> [   1.5901540] cpu3: 32KB/32B 4-way write-back-locking-C L1 PIPT Data cache
> [   1.6201540] cpu3: 512KB/32B 8-way write-back L2 PIPT Unified cache
> [   1.6601540] vfp3 at cpu3: NEON MPE (VFP 3.0+), rounding, NaN
> propagation, denormals
> [   1.7201540] sdmmc0 at mesonsdio0
> [   1.7201540] sdmmc1 at mesonsdhc0
> [   1.7201540] usb0 at dwctwo0: USB revision 2.0
> [   1.9501540] uhub0 at usb0: NetBSD (0000) DWC2 root hub (0000),
> class 9/0, rev 2.00/1.00, addr 1
> [   1.9601540] armpmu0: interrupting on GIC irq 169
> [   1.9601540] armpmu0: interrupting on GIC irq 170
> [   1.9701540] armpmu0: interrupting on GIC irq 185
> [   1.9701540] armpmu0: interrupting on GIC irq 186
> [   2.0101540] sdmmc1: sdmmc_mem_enable failed with error 60
> [   2.0101540] sdmmc1: couldn't enable card: 60
> [   3.0301540] sdmmc0: SD card status: 4-bit, C10, U1
> [   3.0301540] ld0 at sdmmc0: <0x41:0x3432:SD32G:0x30:0x83808391:0x0f7>
> [   3.0401540] ld0: 29984 MB, 7614 cyl, 128 head, 63 sec, 512
> bytes/sect x 61407232 sectors
> [   3.0501540] ld0: 4-bit width, High-Speed/SDR25, 50.000 MHz
> [   4.6301540] uhub1 at uhub0 port 1: vendor 05e3 (0x5e3) USB2.0 Hub
> (0x610), class 9/0, rev 2.00/32.98, addr 2
> [   4.6401540] uhub1: multiple transaction translators
> [   5.9501540] umass0 at uhub1 port 4 configuration 1 interface 0
> [   5.9501540] umass0: Norelsys (0x2537) NS1068 (0x1068), rev 2.10/1.00, addr 3
> [   5.9701540] scsibus0 at umass0: 2 targets, 1 lun per target
> [   5.9701540] uhub0: illegal enable change, port 1
> [   7.4901540] sd0 at scsibus0 target 0 lun 0: <ATA, ADATA SU800, 3A> disk fixed
> [   7.5001540] sd0: 119 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect
> x 250069680 sectors
> [   7.5201540] WARNING: 2 errors while detecting hardware; check system log.
> [   7.5201540] boot device: ld0
> [   7.5301540] root on ld0a dumps on ld0b
> [   7.5401540] root file system type: ffs
> [   7.5401540] kern.module.path=/stand/evbarm/9.0/modules
> Thu Oct 31 13:38:26 UTC 2019
> Starting root file system check:
> /dev/rld0a: file system is clean; not checking
> fdisk: Cannot determine the number of heads
> Not resizing /: already correct size
> swapctl: adding /dev/ld0b as swap device at priority 0
> Starting file system checks:
> /dev/rld0e: 24 files, 44784 free (11196 clusters)
> random_seed: /var/db/entropy-file: Not present
> Setting tty flags.
> Setting sysctl variables:
> ddb.onpanic: 1 -> 0
> Starting network.
> Hostname: armv7
> IPv6 mode: host
> Configuring network interfaces:.
> Adding interface aliases:.
> Waiting for DAD to complete for statically configured addresses...
> Starting dhcpcd.
> Starting mdnsd.
> mDNSResponder: mDNSResponder (Engineering Build) starting
> mDNSResponder: Unable to parse DNS server list. Unicast DNS-SD unavailable
> Building databases: dev, utmp, utmpx.
> wsconscfg: screen 1 is already configured
> wsconscfg: screen 2 is already configured
> wsconscfg: screen 3 is already configured
> Starting syslogd.
> Mounting all file systems...
> Clearing temporary files.
> Updating fontconfig cache: done.
> Creating a.out runtime link editor directory cache.
> Checking quotas: done.
> Setting securelevel: kern.securelevel: 0 -> 1
> Starting virecover.
> Checking for core dump...
> savecore: no core dump
> Starting devpubd.
> Starting local daemons:.
> Updating motd.
> Starting ntpd.
> Starting sshd.
> Starting inetd.
> Starting cron.


Home | Main Index | Thread Index | Old Index