Modify

Opened 3 years ago

Closed 3 years ago

#19965 closed defect (fixed)

swconfig can't connect to BCM5325 on rg100a

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc: OpenWrt, Chaos, Calmer, 15.05-rc2

Description

root@OpenWrt:~# swconfig dev eth1 show
Failed to connect to the switch. Use the "list" command to see which switches are available.

Attachments (0)

Change History (9)

comment:1 Changed 3 years ago by noltari@…

Using eth1 alias is no longer valid.
Please try again with:

swconfig dev switch0 show

If that doesn't work, paste the output of:

swconfig list

comment:2 follow-up: Changed 3 years ago by anonymous

input command ; swconfig list
there is nothing show

comment:3 in reply to: ↑ 2 Changed 3 years ago by anonymous

Replying to noltari@…:

Using eth1 alias is no longer valid.
Please try again with:

swconfig dev switch0 show

If that doesn't work, paste the output of:

swconfig list

root@OpenWrt:~# swconfig dev switch0 show
Failed to connect to the switch. Use the "list" command to see which switches are available.
root@OpenWrt:~# swconfig list
root@OpenWrt:~#

it doesn't work .input command : swconfig list
there is nothing show

comment:4 follow-ups: Changed 3 years ago by florian

Could you attach a complete boot log?

comment:5 in reply to: ↑ 4 Changed 3 years ago by anonymous

Replying to florian:

Could you attach a complete boot log?

[ 0.000000] Linux version 3.18.16 (openwrt@gb-12) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r46113) ) #1 Tue Jun 23 05:57:11 UTC 2015
[ 0.000000] Detected Broadcom 0x6358 CPU revision a1
[ 0.000000] CPU frequency is 300 MHz
[ 0.000000] 32MB of RAM installed
[ 0.000000] board_bcm963xx: Boot address 0xbe000000
[ 0.000000] board_bcm963xx: CFE version: 1.0.37-10.3
[ 0.000000] bcm63xx_nvram: nvram checksum failed, contents may be invalid (expected 287fbd6b, got 58d23183)
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0002a010 (Broadcom BMIPS4350)
[ 0.000000] board: board name: 96358VW2
[ 0.000000] MIPS: machine is Alcatel RG100A
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x01ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x00000000-0x01ffffff]
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 80382390, node_mem_map 81002a60
[ 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] Primary instruction cache 32kB, VIPT, 2-way, linesize 16 bytes.
[ 0.000000] Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 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: 27228K/32768K available (2830K kernel code, 139K rwdata, 664K rodata, 1288K init, 192K bss, 5540K reserved)
[ 0.000000] NR_IRQS:256
[ 0.036000] Calibrating delay loop... 299.26 BogoMIPS (lpj=598528)
[ 0.040000] pid_max: default: 32768 minimum: 301
[ 0.044000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.048000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.064000] NET: Registered protocol family 16
[ 0.076000] registering PCI controller with io_map_base unset
[ 0.080000] registering PCI controller with io_map_base unset
[ 0.092000] PCI host bridge to bus 0000:00
[ 0.096000] pci_bus 0000:00: root bus resource [mem 0x30000000-0x37ffffff]
[ 0.100000] pci_bus 0000:00: root bus resource [io 0x8000000-0x8007fff]
[ 0.104000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.108000] pci 0000:00:01.0: [14e4:4318] type 00 class 0x028000
[ 0.108000] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x00001fff]
[ 0.112000] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[ 0.112000] pci 0000:00:01.0: BAR 0: assigned [mem 0x30000000-0x30001fff]
[ 0.116000] PCI host bridge to bus 0000:01
[ 0.120000] pci_bus 0000:01: root bus resource [mem 0x38000000-0x3fffffff]
[ 0.124000] pci_bus 0000:01: root bus resource [io 0x8008000-0x800ffff]
[ 0.128000] pci_bus 0000:01: No busn resource found for root bus, will use [bus 01-ff]
[ 0.132000] pci 0000:01:1e.0: [14e4:6358] type 02 class 0x060700
[ 0.132000] pci 0000:01:1e.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[ 0.136000] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 05
[ 0.136000] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 05
[ 0.136000] pci 0000:01:1e.0: BAR 10: assigned [mem 0x38000000-0x3fffffff]
[ 0.140000] pci 0000:01:1e.0: BAR 7: assigned [io 0x8008000-0x80080ff]
[ 0.144000] pci 0000:01:1e.0: BAR 8: assigned [io 0x8008400-0x80084ff]
[ 0.148000] pci 0000:01:1e.0: CardBus bridge to [bus 02-05]
[ 0.152000] pci 0000:01:1e.0: bridge window [io 0x8008000-0x80080ff]
[ 0.156000] pci 0000:01:1e.0: bridge window [io 0x8008400-0x80084ff]
[ 0.160000] pci 0000:01:1e.0: bridge window [mem 0x38000000-0x3fffffff]
[ 0.164000] Switched to clocksource MIPS

comment:6 in reply to: ↑ 4 Changed 3 years ago by anonymous

Replying to florian:

Could you attach a complete boot log?

[ 0.172000] PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
[ 0.200000] ssb: Found chip with id 0x4318, rev 0x02 and package 0x00
[ 0.208000] ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x0D, vendor 0x4243)
[ 0.208000] ssb: Core 1 found: IEEE 802.11 (cc 0x812, rev 0x09, vendor 0x4243)
[ 0.208000] ssb: Core 2 found: PCI (cc 0x804, rev 0x0C, vendor 0x4243)
[ 0.208000] ssb: Core 3 found: PCMCIA (cc 0x80D, rev 0x07, vendor 0x4243)
[ 0.240000] ssb_fallback_sprom: pci bus/device num mismatch: expected 0/0, but got 0/1
[ 0.272000] ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
[ 0.280000] NET: Registered protocol family 2
[ 0.288000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.296000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.300000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.308000] TCP: reno registered
[ 0.312000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.320000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.324000] NET: Registered protocol family 1
[ 0.332000] PCI: CLS 0 bytes, default 16
[ 0.332000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.344000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.348000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.360000] msgmni has been set to 53
[ 0.364000] io scheduler noop registered
[ 0.368000] io scheduler deadline registered (default)
[ 0.376000] bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10, base_baud = 1562500) is a bcm63xx_uart
[ 0.384000] console [ttyS0] enabled
[ 0.392000] bootconsole [early0] disabled
[ 0.404000] 1e000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[ 0.416000] 1e000000.nor: Found an alias at 0x1000000 for the chip at 0x0
[ 0.416000] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.420000] Amd/Fujitsu Extended Query version 1.3.
[ 0.424000] number of CFI chips: 1
[ 0.428000] bcm63xxpart: CFE boot tag found with version 6 and board type 96358VW2
[ 0.436000] 5 bcm63xxpart partitions found on MTD device 1e000000.nor
[ 0.444000] Creating 5 MTD partitions on "1e000000.nor":
[ 0.448000] 0x000000000000-0x000000020000 : "CFE"
[ 0.456000] 0x000000020100-0x000000157cad : "kernel"
[ 0.464000] 0x000000157cad-0x000000fe0000 : "rootfs"
[ 0.472000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.476000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.484000] 0x000000360000-0x000000fe0000 : "rootfs_data"
[ 0.492000] 0x000000020000-0x000000fe0000 : "linux"
[ 0.496000] 0x000000fe0000-0x000001000000 : "nvram"
[ 0.504000] bcm63xx-spi bcm63xx-spi: at 0xfffe0800 (irq 9, FIFOs size 542)
[ 0.544000] libphy: bcm63xx_enet MII bus: probed
[ 0.612000] bcm63xx_enet bcm63xx_enet.0: attached PHY at address 1 [Broadcom BCM63XX (2)]
[ 0.624000] bcm63xx-wdt bcm63xx-wdt: started, timer margin: 30 sec
[ 0.632000] TCP: cubic registered
[ 0.636000] NET: Registered protocol family 17
[ 0.640000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 0.652000] Bridge firewalling registered
[ 0.656000] 8021q: 802.1Q VLAN Support v1.8
[ 0.684000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 0.708000] Freeing unused kernel memory: 1288K (8039e000 - 804e0000)
[ 2.768000] init: Console is alive
[ 2.772000] init: - watchdog -
[ 4.780000] init: - preinit -
[ 8.920000] jffs2: notice: (224) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 8.940000] mount_root: switching to jffs2 overlay
[ 8.996000] procd: - early -
[ 8.996000] procd: - watchdog -
[ 9.768000] procd: - ubus -
[ 10.776000] random: ubusd urandom read with 42 bits of entropy available
[ 10.792000] procd: - init -
[ 12.924000] NET: Registered protocol family 10
[ 13.000000] usbcore: registered new interface driver usbfs
[ 13.008000] usbcore: registered new interface driver hub
[ 13.012000] usbcore: registered new device driver usb
[ 13.032000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 13.040000] ehci-platform: EHCI generic platform driver
[ 13.048000] ehci-platform ehci-platform: EHCI Host Controller
[ 13.052000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 13.060000] ehci-platform ehci-platform: irq 18, io mem 0xfffe1300
[ 13.080000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00, overcurrent ignored

comment:7 in reply to: ↑ 4 Changed 3 years ago by anonymous

Replying to florian:

Could you attach a complete boot log?

[ 13.092000] hub 1-0:1.0: USB hub found
[ 13.100000] hub 1-0:1.0: 2 ports detected
[ 13.124000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 13.180000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 13.192000] ohci-platform: OHCI generic platform driver
[ 13.200000] ohci-platform ohci-platform: Generic Platform OHCI controller
[ 13.204000] ohci-platform ohci-platform: new USB bus registered, assigned bus number 2
[ 13.216000] ohci-platform ohci-platform: irq 13, io mem 0xfffe1400
[ 13.284000] hub 2-0:1.0: USB hub found
[ 13.288000] hub 2-0:1.0: 2 ports detected
[ 13.312000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[ 13.320000] Backport generated by backports.git backports-20150129-0-gdd4a670
[ 13.340000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 13.380000] nf_conntrack version 0.5.0 (445 buckets, 1780 max)
[ 13.444000] usb 1-2: new high-speed USB device number 2 using ehci-platform
[ 13.520000] xt_time: kernel timezone is -0000
[ 13.592000] cfg80211: Calling CRDA to update world regulatory domain
[ 13.668000] cfg80211: World regulatory domain updated:
[ 13.672000] cfg80211: DFS Master region: unset
[ 13.676000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 13.688000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.696000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.704000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.712000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.720000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 13.732000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 13.740000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.748000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 13.832000] PPP generic driver version 2.4.2
[ 13.844000] NET: Registered protocol family 24
[ 13.900000] usbcore: registered new interface driver zd1211rw
[ 13.992000] b43-phy0: Broadcom 4318 WLAN found (core revision 9)
[ 14.044000] b43-phy0: Found PHY: Analog 3, Type 2 (G), Revision 7
[ 14.048000] b43-phy0: Found Radio: Manuf 0x17F, ID 0x2050, Revision 8, Version 0
[ 14.068000] Broadcom 43xx driver loaded [ Features: PNL ]
[ 14.096000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 14.260000] usb 1-2: reset high-speed USB device number 2 using ehci-platform
[ 14.408000] ieee80211 phy1: rt2x00_set_rt: Info - RT chipset 3070, rev 0201 detected
[ 14.476000] ieee80211 phy1: rt2x00_set_rf: Info - RF chipset 0006 detected
[ 14.484000] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[ 14.488000] usbcore: registered new interface driver rt2800usb
[ 20.120000] eth1: link forced UP - 100/full - flow control off/off
[ 28.624000] eth1: link forced UP - 100/full - flow control off/off
[ 28.640000] device eth1 entered promiscuous mode
[ 28.652000] br-lan: port 1(eth1) entered forwarding state
[ 28.656000] br-lan: port 1(eth1) entered forwarding state
[ 28.736000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 30.660000] br-lan: port 1(eth1) entered forwarding state
[ 31.484000] ieee80211 phy1: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[ 31.520000] ieee80211 phy1: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[ 31.572000] random: nonblocking pool is initialized
[ 32.596000] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
[ 33.760000] b43-phy0: Loading firmware version 666.2 (2011-02-23 01:15:07)
[ 33.856000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 33.908000] device wlan0 entered promiscuous mode
[ 35.192000] br-lan: port 2(wlan0) entered forwarding state
[ 35.196000] br-lan: port 2(wlan0) entered forwarding state
[ 35.204000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 36.740000] wlan1: authenticate with d8:15:0d:42:0e:ae
[ 36.824000] wlan1: send auth to d8:15:0d:42:0e:ae (try 1/3)
[ 36.840000] wlan1: authenticated
[ 36.848000] wlan1: associate with d8:15:0d:42:0e:ae (try 1/3)
[ 36.856000] wlan1: RX AssocResp from d8:15:0d:42:0e:ae (capab=0x431 status=0 aid=2)
[ 36.880000] wlan1: associated
[ 36.884000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
[ 37.200000] br-lan: port 2(wlan0) entered forwarding state

comment:8 in reply to: ↑ 4 Changed 3 years ago by anonymous

Replying to florian:

Could you attach a complete boot log?

when i use robocfg that show :

root@OpenWrt:~# robocfg show
probing eth1
Switch: enabled
Port 0(W): DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 1(4): DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 2(3): 100FD enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 3(2): DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 4(1): DOWN enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
Port 5(C): 100FD enabled stp: none vlan: 1 mac: 00:00:00:00:00:00
VLANs: BCM5325/535x disabled mac_check mac_hash
root@OpenWrt:~#

comment:9 Changed 3 years ago by jogo

  • Resolution set to fixed
  • Status changed from new to closed

Should be fixed with r46148 / r46153.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.