Modify

Opened 11 years ago

Closed 11 years ago

#1520 closed defect (fixed)

Ethernet device on WGT634U not working (SIOCGETCPHYRD failed from switch-robo.cs)

Reported by: s.risser@… Owned by: developers
Priority: normal Milestone:
Component: base system Version:
Keywords: Cc:

Description

Hello,

i just installed todays snapshot (2007-03-26, r6698) on my WGT634U and get the following error during boot. Ethernet device eth0.0 is available but not working. Found this error in another ticket (#631) to be fixed in RC6.

Probing device eth0: [/usr/src/buildslave/buildroot-ng-brcm47xx-2.6/build/build
_mipsel/linux-2.6-brcm47xx/kmod-switch/switch-robo.c:91] SIOCGETCPHYRD failed!
[/usr/src/buildslave/buildroot-ng-brcm47xx-2.6/build/build_mipsel/linux-2.6-brc
m47xx/kmod-switch/switch-robo.c:91] SIOCGETCPHYRD failed!
No Robo switch in managed mode found

Attachments (0)

Change History (9)

comment:1 Changed 11 years ago by s.risser@…

Correction: eth0.0 is working, but still having the error message during boot. Not sure if it's of any interest.

comment:2 Changed 11 years ago by jhansen@…

You should see it probe the ethernet devices later on, and it should properly find the switch. Mine probes at least twice, and succeeds on the last probe. The other problem you may be seeing is that the dhcp client starts up on eth0.1 before the bridge is correctly set up, so you may have eth0.1 *and* br-lan on the same subnet (not good). I'm working on a work-around for this.

comment:3 Changed 11 years ago by florian

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

Should be fixed with [7085]

comment:4 Changed 11 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

Error message is still present on my WGT634U in 7088:

diag: Detected 'Netgear WGT634U'
Probing device eth0: [/home/notroot/wgt/trunk/build_mipsel/linux-2.6-brcm47xx/kmod-switch/switch-robo.c:91] SIOCGETCPHYRD failed!
[/home/notroot/wgt/trunk/build_mipsel/linux-2.6-brcm47xx/kmod-switch/switch-robo.c:91] SIOCGETCPHYRD failed!
No Robo switch in managed mode found
Probing device eth1: No such device
Probing device eth2: No such device
Probing device eth3: No such device
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.

comment:5 Changed 11 years ago by nbd

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

fixed in [7126]

comment:6 Changed 11 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

sorry but still get same error on Buffalo-WVR (BCM4704+ BCM 5325A2KQM + Atheros wifi),

KAMIKAZE (bleeding edge, r7363)

in dmesg:

Probing device eth0: No Robo switch in managed mode found
Probing device eth1: [/home/openwrt/OpenWrt/build_mipsel/linux-2.6-brcm47xx/kmod-switch/switch-robo.c:91] SIOCGETCPHYRD failed!
[/home/openwrt/OpenWrt/build_mipsel/linux-2.6-brcm47xx/kmod-switch/switch-robo.c:91] SIOCGETCPHYRD failed!
No Robo switch in managed mode found


the eth1 then up, but running at 10Mbps, half duplex.

wlan: 0.8.4.2 (svn r2377)
b44: eth1: Link is up at 10 Mbps, half duplex.
b44: eth1: Flow control is off for TX and off for RX.




this do NOT ONLY happen after 2.6.21 is introduced, i'll revert to R7164 and paste result here too

comment:7 Changed 11 years ago by anonymous

in R7164

BusyBox v1.4.2 (2007-05-28 11:45:54 CST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 KAMIKAZE (bleeding edge, r7164) -------------------
  * 10 oz Vodka       Shake well with ice and strain
  * 10 oz Triple sec  mixture into 10 shot glasses.
  * 10 oz lime juice  Salute!
 ---------------------------------------------------
root@OpenWrt:/# dmesg
Linux version 2.6.19.2 (openwrt@byrbbstest) (gcc version 4.1.2) #1 Mon May 28 12:04:20 CST 2007
CPU revision is: 00029006
ssb: Sonics Silicon Backplane found on address 0x18000000
ssb: BUG: Assertion failed (bus->board_vendor && bus->board_type) at: drivers/ssb/core.c:260:ssb_get_boardtype()
ssb: Core 0 found: ChipCommon (cc 0x800, rev 0x03, vendor 0x4243)
ssb: Core 1 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
ssb: Core 2 found: Fast Ethernet (cc 0x806, rev 0x06, vendor 0x4243)
ssb: Core 3 found: USB 1.1 Hostdev (cc 0x808, rev 0x02, vendor 0x4243)
ssb: Core 4 found: PCI (cc 0x804, rev 0x08, vendor 0x4243)
ssb: Core 5 found: MIPS 3302 (cc 0x816, rev 0x00, vendor 0x4243)
ssb: Core 6 found: V90 (cc 0x807, rev 0x02, vendor 0x4243)
ssb: Core 7 found: IPSEC (cc 0x80B, rev 0x00, vendor 0x4243)
ssb: Core 8 found: MEMC SDRAM (cc 0x80F, rev 0x00, vendor 0x4243)
ssb: Initializing MIPS core...
ssb: set_irq: core 0x0806, irq 2 => 2
ssb: set_irq: core 0x0806, irq 3 => 3
ssb: set_irq: core 0x0804, irq 0 => 4
Determined physical RAM map:
 memory: 04000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
On node 0 totalpages: 16384
  DMA zone: 128 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 16256 pages, LIFO batch:3
  Normal zone: 0 pages used for memmap
Built 1 zonelists.  Total pages: 16256
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, linesize 16 bytes.
Synthesized TLB refill handler (19 instructions).
Synthesized TLB load handler fastpath (31 instructions).
Synthesized TLB store handler fastpath (31 instructions).
Synthesized TLB modify handler fastpath (30 instructions).
PID hash table entries: 256 (order: 8, 1024 bytes)
Using 132.000 MHz high precision timer.
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 62372k/65536k available (1979k kernel code, 3100k reserved, 281k data, 116k init, 0k highmem)
Calibrating delay loop... 263.16 BogoMIPS (lpj=526336)
Mount-cache hash table entries: 512
Checking for 'wait' instruction...  available.
NET: Registered protocol family 16
ssb: PCIcore in host mode found
PCI: fixing up bridge
PCI: Setting latency timer of device 0000:00:00.0 to 64
PCI: Fixing up device 0000:00:00.0
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler deadline registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing enabled
serial8250: ttyS0 at MMIO 0x0 (irq = 3) is a 16550A
serial8250: ttyS1 at MMIO 0x0 (irq = 3) is a 16550A
b44.c:v1.01 (Jun 16, 2006)
eth0: Broadcom 10/100BaseT Ethernet 00:0d:0b:0d:1e:66
eth1: Broadcom 10/100BaseT Ethernet 00:0d:0b:0d:1e:67
flash init: 0x1c000000 0x02000000
Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
 Amd/Fujitsu Extended Query Table at 0x0040
Physically mapped flash: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Flash device: 0x800000 at 0x1fc00000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x1acb59
Updating TRX offsets and length:
old trx = [0x0000001c, 0x000008f0, 0x000b0000], len=0x0025d000 crc32=0x2c17ecab
new trx = [0x0000001c, 0x000008f0, 0x000b0000], len=0x00260000 crc32=0xfd8226bf
Done
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007f0000 : "linux"
0x000f0000-0x002a0000 : "rootfs"
0x007f0000-0x00800000 : "nvram"
0x002a0000-0x007f0000 : "OpenWrt"
ip_conntrack version 2.4 (512 buckets, 4096 max) - 240 bytes per conntrack
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP vegas registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Time: MIPS clocksource has been installed.
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 116k freed
Warning: unable to open an initial console.
Algorithmics/MIPS FPU Emulator v1.5
diag: Detected 'Buffalo (unknown)'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
Probing device eth0: No Robo switch in managed mode found
Probing device eth1: [/home/openwrt/OpenWrt/build_mipsel/linux-2.6-brcm47xx/kmod-switch/switch-robo.c:91] SIOCGETCPHYRD
failed!
[/home/openwrt/OpenWrt/build_mipsel/linux-2.6-brcm47xx/kmod-switch/switch-robo.c:91] SIOCGETCPHYRD failed!
No Robo switch in managed mode found
Probing device eth2: No such device
Probing device eth3: No such device
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 1(eth0) entering forwarding state
Probing device eth0: No Robo switch in managed mode found
Probing device eth1: Invalid phy address (5)
Probing device eth2: No such device
Probing device eth3: No such device
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
PPP generic driver version 2.4.2
wlan: 0.8.4.2 (0.9.2.1)
b44: eth1: Link is up at 10 Mbps, half duplex.
b44: eth1: Flow control is off for TX and off for RX.
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.17.2 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, REGOPS_FUNC)
ath_rate_sample: 1.2 (0.9.2.1)
wlan: mac acl policy registered
ath_pci: 0.9.4.5 (0.9.2.1)
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
PCI: Fixing up device 0000:00:01.0
ath_pci: switching rfkill capability off
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 10.5 phy 6.1 radio 6.3
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0x40000000, irq=6

comment:8 Changed 11 years ago by xlighting@…

after apply the "hack patch" in http://forum.openwrt.org/viewtopic.php?id=10528[[BR]]
the "10Mbps, half duplex" probelm is gone.

comment:9 Changed 11 years ago by florian

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

Seems to be fixed as of today (svn r7653) :

diag: Detected 'Netgear WGT634U'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
Probing device eth0: found!

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.