Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3135 - bcm47xx: WGT634U missing ethernet interface #8598

Closed
openwrt-bot opened this issue May 29, 2020 · 2 comments
Closed

FS#3135 - bcm47xx: WGT634U missing ethernet interface #8598

openwrt-bot opened this issue May 29, 2020 · 2 comments
Labels

Comments

@openwrt-bot
Copy link

russell:

Supply the following if possible:

  • Device problem occurs on: Observed on bcm47xx Netgear WGT634U

  • Software versions of OpenWrt/LEDE release, packages, etc:

  • was working as of r12238-gdc145de4be

  • noticed broken as of r13317-ga860fe2304

  • Steps to reproduce: boot log contains:

[ 1.478544] libphy: Fixed MDIO Bus: probed
[ 1.483710] b44: Broadcom 44xx/47xx 10/100 PCI ethernet driver version 2.0
[ 1.491079] b44 ssb0:0: Required 30BIT DMA mask unsupported by the system

Full log:

[ 0.000000] Linux version 4.19.123 (openwrt@hawg) (gcc version 8.4.0 (OpenWrt GCC 8.4.0 r13317-a860fe2304)) #0 Thu May 28 19:22:18 2020
[ 0.000000] CPU0 revision is: 00029007 (Broadcom BMIPS3300)
[ 0.000000] bcm47xx: Using ssb bus
[ 0.000000] ssb: Found chip with id 0x5365, rev 0x01 and package 0x00
[ 0.000000] early_nvram_init: WGT634U NVRAM found.
[ 0.000000] ssb: Sonics Silicon Backplane found at address 0x18000000
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Primary instruction cache 8kB, VIPT, 2-way, linesize 16 bytes.
[ 0.000000] Primary data cache 4kB, 2-way, VIPT, no aliases, linesize 16 bytes
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000001ffffff]
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8192 pages, LIFO batch:0
[ 0.000000] random: get_random_bytes called from 0x803d66c4 with crng_init=0
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=132768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: noinitrd console=ttyS0,115200
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Memory: 28060K/32768K available (3344K kernel code, 146K rwdata, 428K rodata, 168K init, 268K bss, 4708K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS: 128
[ 0.000000] MIPS: machine is Unknown Board
[ 0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604467 ns
[ 0.000062] sched_clock: 32 bits at 100MHz, resolution 10ns, wraps every 21474836475ns
[ 0.000311] Calibrating delay loop... 197.63 BogoMIPS (lpj=395264)
[ 0.036686] pid_max: default: 32768 minimum: 301
[ 0.038340] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.038541] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.054673] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.054835] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.058075] NET: Registered protocol family 16
[ 0.198414] clocksource: Switched to clocksource MIPS
[ 0.525333] PCI host bridge to bus 0000:00
[ 0.525490] pci_bus 0000:00: root bus resource [mem 0x40000000-0x7fffffff]
[ 0.525617] pci_bus 0000:00: root bus resource [io 0x0100-0x07ff]
[ 0.525741] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 0.525858] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.526133] pci 0000:00:00.0: [14e4:5365] type 00 class 0x060000
[ 0.526507] pci 0000:00:00.0: PCI: Fixing up bridge 0000:00:00.0
[ 0.526667] pci 0000:00:00.0: PCI: Fixing up device 0000:00:00.0
[ 0.526828] pci 0000:00:00.0: PCI: Fixing latency timer of device 0000:00:00.0 to 168
[ 0.527048] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x00001fff]
[ 0.527183] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x07ffffff pref]
[ 0.528677] pci 0000:00:01.0: [168c:0013] type 00 class 0x020000
[ 0.528905] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x0000ffff]
[ 0.530738] pci 0000:00:02.0: [1033:0035] type 00 class 0x0c0310
[ 0.530968] pci 0000:00:02.0: reg 0x10: [mem 0x00000000-0x00000fff]
[ 0.531277] pci 0000:00:02.0: supports D1 D2
[ 0.531344] pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot
[ 0.532723] pci 0000:00:02.1: [1033:0035] type 00 class 0x0c0310
[ 0.532950] pci 0000:00:02.1: reg 0x10: [mem 0x00000000-0x00000fff]
[ 0.533253] pci 0000:00:02.1: supports D1 D2
[ 0.533320] pci 0000:00:02.1: PME# supported from D0 D1 D2 D3hot
[ 0.535059] pci 0000:00:02.2: [1033:00e0] type 00 class 0x0c0320
[ 0.535288] pci 0000:00:02.2: reg 0x10: [mem 0x00000000-0x000000ff]
[ 0.535594] pci 0000:00:02.2: supports D1 D2
[ 0.535661] pci 0000:00:02.2: PME# supported from D0 D1 D2 D3hot
[ 0.537270] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.537460] pci 0000:00:01.0: BAR 0: assigned [mem 0x40000000-0x4000ffff]
[ 0.537673] pci 0000:00:02.0: BAR 0: assigned [mem 0x40010000-0x40010fff]
[ 0.537882] pci 0000:00:02.1: BAR 0: assigned [mem 0x40011000-0x40011fff]
[ 0.538093] pci 0000:00:02.2: BAR 0: assigned [mem 0x40012000-0x400120ff]
[ 0.545771] NET: Registered protocol family 2
[ 0.549853] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes)
[ 0.550117] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.550613] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.550823] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.551768] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.552020] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.553390] NET: Registered protocol family 1
[ 0.553846] PCI: CLS 0 bytes, default 16
[ 0.591007] Crashlog allocated RAM at address 0x1f00000
[ 0.603401] workingset: timestamp_bits=30 max_order=13 bucket_order=0
[ 0.654060] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.654400] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.738047] io scheduler noop registered
[ 0.738151] io scheduler deadline registered (default)
[ 0.739653] Serial: 8250/16550 driver, 2 ports, IRQ sharing enabled
[ 0.743763] console [ttyS0] disabled
[ 0.764156] serial8250.0: ttyS0 at MMIO 0xb8000400 (irq = 3, base_baud = 115740) is a 16550A
[ 1.190486] console [ttyS0] enabled
[ 1.216366] serial8250.0: ttyS1 at MMIO 0xb8000300 (irq = 3, base_baud = 115740) is a 16550A
[ 1.230376] random: fast init done
[ 1.234789] physmap platform flash device: 02000001 at 1c000000
[ 1.241241] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x000017
[ 1.251850] physmap-flash.0: Found an alias at 0x800000 for the chip at 0x0
[ 1.251925] physmap-flash.0: Found an alias at 0x1000000 for the chip at 0x0
[ 1.251994] physmap-flash.0: Found an alias at 0x1800000 for the chip at 0x0
[ 1.252134] Intel/Sharp Extended Query Table at 0x0031
[ 1.257625] Intel/Sharp Extended Query Table at 0x0031
[ 1.263094] Using buffer write method
[ 1.267053] cfi_cmdset_0001: Erase suspend on write enabled
[ 1.272962] erase region 0: offset=0x0,size=0x20000,blocks=64
[ 1.282894] 3 bcm47xxpart partitions found on MTD device physmap-flash.0
[ 1.289908] Creating 3 MTD partitions on "physmap-flash.0":
[ 1.295836] 0x000000000000-0x0000000a0000 : "boot"
[ 1.326499] 0x0000000a0000-0x0000007e0000 : "firmware"
[ 1.338122] 3 trx partitions found on MTD device firmware
[ 1.343853] Creating 3 MTD partitions on "firmware":
[ 1.349160] 0x00000000001c-0x000000000948 : "loader"
[ 1.372803] 0x000000000948-0x000000149c00 : "linux"
[ 1.391736] 0x000000149c00-0x000000740000 : "rootfs"
[ 1.403399] mtd: device 4 (rootfs) set to be root filesystem
[ 1.409457] 1 squashfs-split partitions found on MTD device rootfs
[ 1.416003] 0x000000580000-0x000000740000 : "rootfs_data"
[ 1.440832] 0x0000007e0000-0x000000800000 : "nvram"
[ 1.478544] libphy: Fixed MDIO Bus: probed
[ 1.483710] b44: Broadcom 44xx/47xx 10/100 PCI ethernet driver version 2.0
[ 1.491079] b44 ssb0:0: Required 30BIT DMA mask unsupported by the system
[ 1.500622] bcm47xx-wdt bcm47xx-wdt.0: BCM47xx Watchdog Timer enabled (30 seconds, Software Timer)
[ 1.510716] GPIO_WDT: failed to register misc device
[ 1.522701] NET: Registered protocol family 10
[ 1.551448] Segment Routing with IPv6
[ 1.555920] NET: Registered protocol family 17
[ 1.561006] 8021q: 802.1Q VLAN Support v1.8
[ 1.587766] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
[ 1.597826] Freeing unused kernel memory: 168K
[ 1.602589] This architecture does not have kernel memory protection.
[ 1.609318] Run /sbin/init as init process
[ 3.135062] init: Console is alive
[ 3.140180] init: - watchdog -
[ 5.317770] kmodloader: loading kernel modules from /etc/modules-boot.d/

[ 5.476207] usbcore: registered new interface driver usbfs
[ 5.482904] usbcore: registered new interface driver hub
[ 5.489260] usbcore: registered new device driver usb
[ 5.524317] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.537667] ehci-platform: EHCI generic platform driver
[ 5.557478] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.569806] ohci-platform: OHCI generic platform driver
[ 5.575871] ohci-platform ohci-platform.0: Generic Platform OHCI controller
[ 5.583378] ohci-platform ohci-platform.0: new USB bus registered, assigned bus number 1
[ 5.592344] ohci-platform ohci-platform.0: irq 6, io mem 0x18003000
[ 5.669187] hub 1-0:1.0: USB hub found
[ 5.675894] hub 1-0:1.0: 2 ports detected
[ 5.700369] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[ 5.719972] init: - preinit -
[ 7.403807] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 8.478994] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 8.490524] usb usb1-port1: attempt power cycle
[ 9.439862] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.735569] random: jshn: uninitialized urandom read (4 bytes read)
[ 9.870993] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 10.275825] random: jshn: uninitialized urandom read (4 bytes read)
[ 10.888504] usb usb1-port1: Cannot enable. Maybe the USB cable is bad?
[ 10.959755] usb usb1-port1: unable to enumerate USB device
[ 11.166548] usb 1-2: new low-speed USB device number 6 using ohci-platform
[ 11.370536] usb 1-2: device descriptor read/64, error -62
[ 11.674634] usb 1-2: device descriptor read/64, error -62
[ 11.974464] usb 1-2: new low-speed USB device number 7 using ohci-platform
[ 12.174454] usb 1-2: device descriptor read/64, error -62
[ 12.478455] usb 1-2: device descriptor read/64, error -62
[ 12.590748] usb usb1-port2: attempt power cycle
[ 13.098467] usb 1-2: new low-speed USB device number 8 using ohci-platform
[ 13.522455] usb 1-2: device not accepting address 8, error -62
[ 13.714463] usb 1-2: new low-speed USB device number 9 using ohci-platform
[ 14.138457] usb 1-2: device not accepting address 9, error -62
[ 14.144917] usb usb1-port2: unable to enumerate USB device
[ 23.478889] jffs2: notice: (367) jffs2_build_xattr_subsystem: complete building xattr subsystem, 3 of xdatum (0 unchecked, 1 orphan) and 10 of xref (1 dead, 0 orphan) found.
[ 23.500379] mount_root: switching to jffs2 overlay
[ 23.621417] overlayfs: upper fs does not support tmpfile.
[ 23.655639] urandom-seed: Seeding with /etc/urandom.seed
[ 23.901849] procd: - early -
[ 23.905716] procd: - watchdog -
[ 24.967950] procd: - watchdog -
[ 24.973710] procd: - ubus -
[ 25.100296] random: ubusd: uninitialized urandom read (4 bytes read)
[ 25.184997] random: ubusd: uninitialized urandom read (4 bytes read)
[ 25.193894] random: ubusd: uninitialized urandom read (4 bytes read)
[ 25.210865] procd: - init -
[ 29.536216] kmodloader: loading kernel modules from /etc/modules.d/*
[ 29.646413] urngd: v1.0.2 started.
[ 29.720627] tun: Universal TUN/TAP device driver, 1.6
[ 29.908285] Loading modules backported from Linux version v5.7-rc3-0-g6a8b55ed4056
[ 29.916172] Backport generated by backports.git v5.7-rc3-1-0-gc0c7d2bb
[ 30.362439] xt_time: kernel timezone is -0000
[ 30.946473] random: crng init done
[ 30.949970] random: 4 urandom warning(s) missed due to ratelimiting
[ 31.904075] ath5k 0000:00:01.0: enabling device (0000 -> 0002)
[ 31.910410] ath5k 0000:00:01.0: PCI: Fixing up device 0000:00:01.0
[ 31.918019] ath5k 0000:00:01.0: registered as 'phy0'
[ 32.915035] ath: EEPROM regdomain sanitized
[ 32.915095] ath: EEPROM regdomain: 0x64
[ 32.915128] ath: EEPROM indicates we should expect a direct regpair map
[ 32.915198] ath: Country alpha2 being used: 00
[ 32.915231] ath: Regpair used: 0x64
[ 32.915568] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 32.929967] ath5k: phy0: Atheros AR5213A chip found (MAC: 0x59, PHY: 0x43)
[ 32.937191] ath5k: phy0: RF2112B 2GHz radio found (0x46)
[ 33.115785] kmodloader: done loading kernel modules from /etc/modules.d/*

@openwrt-bot
Copy link
Author

russell:

This is the commit where the switch problem begins:

commit 5c98041d5a054bfe68070bbfa6fdeab63e6586fc (HEAD) Author: Rafał Miłecki Date: Tue Mar 10 13:26:57 2020 +0100
bcm47xx: switch to kernel 4.19

Ethernet, switch, LEDs, buttons, USB, sysupgrade & LuCI were
successfully tested on BCM4706.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>

@openwrt-bot
Copy link
Author

russell:

Just tried 15468-g0f8fd1d0bf and the problem seems to be gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant