Modify

Opened 6 years ago

Closed 3 years ago

#11081 closed defect (no_response)

Data bus error on RB493G with Atheros AR5413 (Backfire trunk)

Reported by: julianjm@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: Cc:

Description

Same miniPCI cards (2 of them) worked fine on RB493. For 493G to work, had to compile latest trunk (r30811).

This is the console log:

RouterBOOT booter 2.29

RouterBoard 493G

Authorization: Passed
CPU frequency: 680 MHz
  Memory size: 256 MB

Press any key within 2 seconds to enter setup..
loading kernel from nand... OK
setting up elf image... OK
jumping to kernel code
[    0.000000] Linux version 3.2.9 (julian@bazinga) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Sun Mar 4 20:35:16 WET 2012
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR7161 rev 2
[    0.000000] Clocks: CPU:680.000MHz, DDR:340.000MHz, AHB:170.000MHz, Ref:40.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 08000000 @ 00000000 (usable)
[    0.000000] User-defined physical RAM map:
[    0.000000]  memory: 10000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00010000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00010000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line:  console=ttyS0,115200 gpio=4023 HZ=340000000 mem=256M kmac=00:0C:42:A7:xx:xx board=493G boot=0 mlc=2 rootfstype=squashfs,yaffs,jffs2 noinitrd
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=000700d0
[    0.000000] Readback ErrCtl register=000700d0
[    0.000000] Memory: 256272k/262144k available (2287k kernel code, 5872k reserved, 612k data, 196k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] Calibrating delay loop... 452.19 BogoMIPS (lpj=2260992)
[    0.060000] pid_max: default: 32768 minimum: 301
[    0.060000] Mount-cache hash table entries: 512
[    0.070000] NET: Registered protocol family 16
[    0.070000] MIPS: machine is MikroTik RouterBOARD 493G
[    2.670000] registering PCI controller with io_map_base unset
[    2.680000] bio: create slab <bio-0> at 0
[    2.690000] pci 0000:00:12.0: BAR 0: assigned [mem 0x10000000-0x1000ffff]
[    2.690000] pci 0000:00:12.0: BAR 0: set to [mem 0x10000000-0x1000ffff] (PCI address [0x10000000-0x1000ffff])
[    2.700000] pci 0000:00:13.0: BAR 0: assigned [mem 0x10010000-0x1001ffff]
[    2.700000] pci 0000:00:13.0: BAR 0: set to [mem 0x10010000-0x1001ffff] (PCI address [0x10010000-0x1001ffff])
[    2.710000] pci 0000:00:12.0: using irq 40 for pin 1
[    2.710000] pci 0000:00:13.0: using irq 41 for pin 1
[    2.720000] Switching to clocksource MIPS
[    2.720000] NET: Registered protocol family 2
[    2.730000] IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
[    2.730000] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    2.740000] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    2.740000] TCP: Hash tables configured (established 8192 bind 8192)
[    2.750000] TCP reno registered
[    2.750000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    2.760000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    2.760000] NET: Registered protocol family 1
[    2.790000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    2.790000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    2.800000] msgmni has been set to 500
[    2.810000] io scheduler noop registered
[    2.810000] io scheduler deadline registered (default)
[    2.820000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    2.840000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    2.850000] console [ttyS0] enabled, bootconsole disabled
[    2.850000] console [ttyS0] enabled, bootconsole disabled
[    2.860000] m25p80 spi0.0: pm25lv512 (64 Kbytes)
[    2.870000] Creating 4 MTD partitions on "spi0.0":
[    2.870000] 0x000000000000-0x00000000b000 : "routerboot"
[    2.880000] 0x00000000b000-0x00000000c000 : "hard_config"
[    2.890000] 0x00000000d000-0x00000000f000 : "bios"
[    2.890000] 0x00000000f000-0x000000010000 : "soft_config"
[    2.900000] NAND flash driver for RouterBoard 4xx series version 0.2.0
[    2.910000] NAND device: Manufacturer ID: 0xec, Chip ID: 0xf1 (Samsung NAND 128MiB 3,3V 8-bit)
[    2.920000] Scanning device for bad blocks
[    2.960000] Bad eraseblock 137 at 0x000001120000
[    2.990000] Bad eraseblock 234 at 0x000001d40000
[    3.060000] Bad eraseblock 450 at 0x000003840000
[    3.230000] Creating 3 MTD partitions on "NAND 128MiB 3,3V 8-bit":
[    3.240000] 0x000000000000-0x000000040000 : "booter"
[    3.240000] 0x000000040000-0x000000600000 : "kernel"
[    3.250000] 0x000000600000-0x000008000000 : "rootfs"
[    3.260000] mtd: partition "rootfs" set to be root filesystem
[    3.260000] split_squashfs: no squashfs found in "NAND 128MiB 3,3V 8-bit"
[    3.490000] GPIO Bitbanged MDIO: probed
[    3.710000] ag71xx_mdio: probed
[    3.710000] eth0: Atheros AG71xx at 0xba000000, irq 5
[    4.230000] eth0: AR8316 switch driver attached.
[    4.250000] ar8316: Using port 4 as switch port
[   10.300000] ag71xx ag71xx.1: eth0: connected to PHY at ffffffff:00 [uid=004dd041, driver=Atheros AR8216/AR8316/AR8326]
[   10.310000] eth1: Atheros AG71xx at 0xb9000000, irq 4
[   10.830000] eth1: AR8316 switch driver attached.
[   10.850000] ar8316: Using port 4 as switch port
[   16.900000] ag71xx ag71xx.0: eth1: connected to PHY at ag71xx-mdio.0:00 [uid=004dd041, driver=Atheros AR8216/AR8316/AR8326]
[   16.910000] TCP westwood registered
[   16.910000] NET: Registered protocol family 17
[   16.910000] Bridge firewalling registered
[   16.920000] 8021q: 802.1Q VLAN Support v1.8
[   16.930000] yaffs: dev is 32505862 name is "mtdblock6" ro
[   16.930000] yaffs: passed flags ""
[   19.630000] VFS: Mounted root (yaffs filesystem) readonly on device 31:6.
[   19.630000] Freeing unused kernel memory: 196k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
[   24.410000] eth0: link up (1000Mbps/Full duplex)
- regular preinit -
- init -
[   25.810000] eth0: link down

Please press Enter to activate this console. [   27.470000] Compat-wireless backport release: compat-wireless-2012-02-23-9-g3e5b1f0
[   27.480000] Backport based on wireless-testing.git master-2012-02-27
[   27.770000] cfg80211: Calling CRDA to update world regulatory domain
[   27.950000] cfg80211: World regulatory domain updated:
[   27.950000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   27.960000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   27.970000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   27.970000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   27.980000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   27.990000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   28.260000] usbcore: registered new interface driver usbfs
[   28.270000] usbcore: registered new interface driver hub
[   28.270000] usbcore: registered new device driver usb
[   29.100000] PCI: Enabling device 0000:00:12.0 (0000 -> 0002)
[   29.100000] ath5k 0000:00:12.0: registered as 'phy0'
[   29.740000] ath5k phy0: Atheros AR5414 chip found (MAC: 0xa5, PHY: 0x61)
[   29.750000] PCI: Enabling device 0000:00:13.0 (0000 -> 0002)
[   29.760000] ath5k 0000:00:13.0: registered as 'phy1'
[   29.760000] cfg80211: Calling CRDA for country: US
[   29.800000] cfg80211: Regulatory domain changed to country: US
[   29.800000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   29.810000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[   29.820000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[   29.830000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   29.830000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   29.840000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   29.850000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[   30.480000] ath5k phy1: Atheros AR5414 chip found (MAC: 0xa5, PHY: 0x61)
[   30.630000] PPP generic driver version 2.4.2
[   30.820000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   31.190000] NET: Registered protocol family 24
[   31.330000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   31.340000] ath79-ehci ar71xx-ehci: Atheros built-in EHCI controller
[   31.350000] ath79-ehci ar71xx-ehci: new USB bus registered, assigned bus number 1
[   31.380000] ath79-ehci ar71xx-ehci: irq 3, io mem 0x1b000000
[   31.400000] ath79-ehci ar71xx-ehci: USB 2.0 started, EHCI 1.00
[   31.400000] hub 1-0:1.0: USB hub found
[   31.410000] hub 1-0:1.0: 2 ports detected
[   31.520000] nf_conntrack version 0.5.0 (4007 buckets, 16028 max)
[   32.160000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   32.170000] ath79-ohci ath79-ohci: Atheros built-in OHCI controller
[   32.170000] ath79-ohci ath79-ohci: new USB bus registered, assigned bus number 2
[   32.180000] ath79-ohci ath79-ohci: irq 14, io mem 0x1c000000
[   32.250000] hub 2-0:1.0: USB hub found
[   32.250000] hub 2-0:1.0: 2 ports detected
[   32.320000] uhci_hcd: USB Universal Host Controller Interface driver
[   32.490000] fuse init (API version 7.17)
[   36.340000] eth1: link up (1000Mbps/Full duplex)
[   37.820000] cfg80211: Calling CRDA for country: ES
[   41.000000] cfg80211: Calling CRDA to update world regulatory domain
[   47.040000] cfg80211: World regulatory domain updated:
[   47.050000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   47.050000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   47.060000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   47.070000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   47.080000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   47.080000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   47.110000] cfg80211: Calling CRDA for country: ES
[   47.690000] cfg80211: Regulatory domain changed to country: ES
[   47.700000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   47.710000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   47.720000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   47.720000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[   47.730000] cfg80211:   (5490000 KHz - 5710000 KHz @ 40000 KHz), (N/A, 2700 mBm)
[   84.720000] Data bus error, epc == 8f9d4b6c, ra == 8f9d4b6c
[   84.720000] Oops[#1]:
[   84.720000] Cpu 0
[   84.720000] $ 0   : 00000000 00c0a504 deadc0de 00000200
[   84.720000] $ 4   : b00080f8 000080f8 00000040 8f0afb00
[   84.720000] $ 8   : 00000018 80177bf8 4f53d6de 000003e9
[   84.720000] $12   : 00000000 8f03a91c 00000000 00470000
[   84.720000] $16   : 8fa41660 8fa41660 8fa40a60 00000028
[   84.720000] $20   : 8f0a8cc0 8f0afb00 fffffffe 00000038
[   84.720000] $24   : 00000000 8fbd46b0                  
[   84.720000] $28   : 8f0ae000 8f0afa88 00000008 8f9d4b6c
[   84.720000] Hi    : 00000000
[   84.720000] Lo    : 00000068
[   84.720000] epc   : 8f9d4b6c ath_hw_cycle_counters_update+0x54/0x19c [ath]
[   84.720000]     Tainted: G           O
[   84.720000] ra    : 8f9d4b6c ath_hw_cycle_counters_update+0x54/0x19c [ath]
[   84.720000] Status: 1000fc03    KERNEL EXL IE 
[   84.720000] Cause : 1080001c
[   84.720000] PrId  : 00019374 (MIPS 24Kc)
[   84.720000] Modules linked in: fuse uhci_hcd ohci_hcd nf_nat_irc nf_conntrack_irc nf_nat_ftp nf_conntrack_ftp ipt_MASQUERADE iptable_nat nf_nat xt_conntrack xt_CT xt_NOTRACK i)
[   84.720000] Process wpa_supplicant (pid: 1029, threadinfo=8f0ae000, task=8fa20850, tls=775c4440)
[   84.720000] Stack : 40808000 8fb014a4 ffffffea 8fad4900 8f0afaf8 8fa41660 8f0afb00 8fa40a60
[   84.720000]         00000028 8f0a8cc0 8f0afb00 8fbd46f0 8fad4900 8fb11f74 8fb1e464 8f801c80
[   84.720000]         8fad4900 ffffff86 8fad4900 00000001 00000000 8fb12c74 00000008 800d4660
[   84.720000]         00000008 8fb12864 00000006 8f030a00 8f028000 8fa40000 8f0a8cc0 801f5a28
[   84.720000]         ffffdc74 f7881183 00000008 8f028384 00000014 00000000 8f036e00 8f036e00
[   84.720000]         ...
[   84.720000] Call Trace:
[   84.720000] [<8f9d4b6c>] ath_hw_cycle_counters_update+0x54/0x19c [ath]
[   84.720000] [<8fbd46f0>] ath5k_sysfs_unregister+0x2f0/0x32d8 [ath5k]
[   84.720000] 
[   84.720000] 
[   84.720000] Code: 8c420000  0040f809  340580f8 
[   84.720000]  8e0200cc  02202021  8c420000  0040f809  340580f4 
[   84.930000] ---[ end trace 5c2511384a5746d7 ]---
[   84.940000] Kernel panic - not syncing: Fatal exception in interrupt
[   84.950000] Rebooting in 3 seconds..
# lspci
00:12.0 Ethernet controller: Atheros Communications Inc. AR5413 802.11abg NIC (rev 01)
00:13.0 Ethernet controller: Atheros Communications Inc. AR5413 802.11abg NIC (rev 01)

And here is the /etc/config/wireless config:

config wifi-device  radio0
        option type     mac80211
        option channel  auto
        option macaddr  00:0c:42:65:xx:xx
        option hwmode   11g
        option diversity 0
        option txantenna 1
        option rxantenna 1
        option country ES

config wifi-iface
        option device   radio0
        option network  wan
        option mode     sta
        option ssid     mynetwork
        option encryption psk
        option key xxxxxxxxxxxxxxxx

config wifi-device  radio1
        option type     mac80211
        option channel  auto
        option macaddr  00:0c:42:65:yy:yy
        option hwmode   11g
        option diversity 0
        option txantenna 1
        option rxantenna 1
        option country ES

config wifi-iface
        option device   radio1
        option mode     monitor

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by Del <delonly@…>

If I understand correctly, this issue was resolved with r30811. If so, I believe this issue should be closed now.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:3 Changed 3 years ago by anonymous

I meet this problem too in my platform, Has this problem been fixed?

comment:4 Changed 3 years ago by nbd

please post an updated log of this issue on current trunk

comment:5 Changed 3 years ago by nbd

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

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.