#18926: WHR-HP-AG108 problems
-------------------------+-----------------------------------
 Reporter:  d.buffa@…    |      Owner:  developers
     Type:  defect       |     Status:  new
 Priority:  high         |  Milestone:  Barrier Breaker 14.07
Component:  base system  |    Version:  Trunk
 Keywords:               |
-------------------------+-----------------------------------
 Hi,

 I'm building openwrt firmware for a couple of old WHR-HP-AG108. First try
 was with trunk and router reboot endless, so I tried with Barrier Breaker
 and with this the router booted, but passwd give me an error and freeze
 configuring wifi...

 {{{
 root@OpenWrt:/# dmesg
 [    0.000000] Linux version 3.10.49 ([email protected]) (gcc
 version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44162) ) #1 Sat Feb 7
 18:25:52 CET 2015
 [    0.000000] ar5312-gpio: registered 8 GPIOs
 [    0.000000] bootconsole [early0] enabled
 [    0.000000] CPU revision is: 00018009 (MIPS 4Kc)
 [    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] On node 0 totalpages: 8192
 [    0.000000] free_area_init_node: node 0, pgdat 802da9d0, node_mem_map
 81000000
 [    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 16kB, VIPT, 4-way, linesize 16
 bytes.
 [    0.000000] Primary data cache 16kB, 4-way, VIPT, no 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:  console=ttyS0,9600
 rootfstype=squashfs,jffs2
 [    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: 29044k/32768k available (2202k kernel code, 3724k
 reserved, 525k data, 208k init, 0k highmem)
 [    0.000000] NR_IRQS:128
 [    0.070000] Calibrating delay loop... 218.72 BogoMIPS (lpj=1093632)
 [    0.070000] pid_max: default: 32768 minimum: 301
 [    0.070000] Mount-cache hash table entries: 512
 [    0.090000] NET: Registered protocol family 16
 [    0.130000] bio: create slab <bio-0> at 0
 [    0.150000] Switching to clocksource MIPS
 [    0.160000] NET: Registered protocol family 2
 [    0.170000] TCP established hash table entries: 512 (order: 0, 4096
 bytes)
 [    0.170000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
 [    0.180000] TCP: Hash tables configured (established 512 bind 512)
 [    0.190000] TCP: reno registered
 [    0.190000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 [    0.190000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 [    0.200000] NET: Registered protocol family 1
 [    0.210000] PCI: CLS 0 bytes, default 16
 [    0.210000] Radio config found at offset 0x2000 (0x100)
 [    0.230000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
 [    0.240000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
 (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 [    0.250000] msgmni has been set to 56
 [    0.250000] io scheduler noop registered
 [    0.260000] io scheduler deadline registered (default)
 [    0.260000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
 [    0.290000] serial8250: ttyS0 at MMIO 0x1c000000 (irq = 37) is a 16550A
 [    0.300000] console [ttyS0] enabled, bootconsole disabled
 [    0.430000] physmap platform flash device: 00800000 at 1e000000
 [    0.500000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank.
 Manufacturer ID 0x000001 Chip ID 0x001a01
 [    0.630000] physmap-flash.0: Found an alias at 0x400000 for the chip at
 0x0
 [    0.630000] Amd/Fujitsu Extended Query Table at 0x0040
 [    0.690000]   Amd/Fujitsu Extended Query version 1.3.
 [    0.750000] physmap-flash.0: Swapping erase regions for top-boot CFI
 table.
 [    0.830000] number of CFI chips: 1
 [    0.880000] Searching for RedBoot partition table in physmap-flash.0 at
 offset 0x3d0000
 [    0.980000] 6 RedBoot partitions found on MTD device physmap-flash.0
 [    1.060000] Creating 6 MTD partitions on "physmap-flash.0":
 [    1.130000] 0x000000000000-0x000000050000 : "RedBoot"
 [    1.190000] 0x000000050000-0x0000001b0000 : "vmlinux.gz"
 [    1.260000] 0x0000001b0000-0x0000003d0000 : "rootfs"
 [    1.330000] mtd: device 2 (rootfs) set to be root filesystem
 [    1.400000] mtd: partition "rootfs_data" created automatically,
 ofs=0x390000, len=0x40000
 [    1.500000] 0x000000390000-0x0000003d0000 : "rootfs_data"
 [    1.570000] 0x0000003d0000-0x0000003df000 : "FIS directory"
 [    1.640000] 0x0000003df000-0x0000003e0000 : "RedBoot config"
 [    1.710000] 0x0000003e0000-0x000000400000 : "boardconfig"
 [    1.860000] eth0: Atheros AR231x: 00:16:01:63:10:0e, irq 3
 [    2.070000] libphy: ar231x_eth_mii: probed
 [    2.190000] eth1: Atheros AR231x: 00:16:01:63:10:0f, irq 4
 [    2.400000] libphy: ar231x_eth_mii: probed
 [    2.460000] TCP: cubic registered
 [    2.500000] NET: Registered protocol family 17
 [    2.550000] 8021q: 802.1Q VLAN Support v1.8
 [    2.620000] VFS: Mounted root (squashfs filesystem) readonly on device
 31:2.
 [    2.700000] Freeing unused kernel memory: 208K (802ec000 - 80320000)
 [   14.160000] NET: Registered protocol family 10
 [   14.230000] nf_conntrack version 0.5.0 (457 buckets, 1828 max)
 [   14.320000] ip6_tables: (C) 2000-2006 Netfilter Core Team
 [   14.410000] Loading modules backported from Linux version
 master-2014-05-22-0-gf2032ea
 [   14.500000] Backport generated by backports.git
 backports-20140320-37-g5c33da0
 [   14.600000] ip_tables: (C) 2000-2006 Netfilter Core Team
 [   14.770000] xt_time: kernel timezone is -0000
 [   14.900000] cfg80211: Calling CRDA to update world regulatory domain
 [   15.150000] cfg80211: World regulatory domain updated:
 [   15.210000] cfg80211:  DFS Master region: unset
 [   15.260000] cfg80211:   (start_freq - end_freq @ bandwidth),
 (max_antenna_gain, max_eirp), (dfs_cac_time)
 [   15.380000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
 2000 mBm), (N/A)
 [   15.470000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A,
 2000 mBm), (N/A)
 [   15.570000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A,
 2000 mBm), (N/A)
 [   15.670000] cfg80211:   (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A,
 2000 mBm), (N/A)
 [   15.760000] cfg80211:   (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A,
 2000 mBm), (0 s)
 [   15.860000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A,
 2000 mBm), (0 s)
 [   15.960000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
 2000 mBm), (N/A)
 [   16.050000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz),
 (N/A, 0 mBm), (N/A)
 [   16.370000] ath: EEPROM regdomain: 0x3a
 [   16.370000] ath: EEPROM indicates we should expect a direct regpair map
 [   16.370000] ath: Country alpha2 being used: CA
 [   16.370000] ath: Regpair used: 0x3a
 [   16.370000] ieee80211 phy0: Selected rate control algorithm
 'minstrel_ht'
 [   16.390000] ath5k: phy0: Atheros AR5312 chip found (MAC: 0x57, PHY:
 0x42)
 [   16.470000] ath5k: phy0: RF5112B 5GHz radio found (0x36)
 [   16.540000] cfg80211: Calling CRDA for country: CA
 [   16.610000] ath: EEPROM regdomain: 0x3a
 [   16.610000] ath: EEPROM indicates we should expect a direct regpair map
 [   16.610000] ath: Country alpha2 being used: CA
 [   16.610000] ath: Regpair used: 0x3a
 [   16.770000] cfg80211: Regulatory domain changed to country: CA
 [   16.840000] cfg80211:  DFS Master region: FCC
 [   16.890000] cfg80211:   (start_freq - end_freq @ bandwidth),
 (max_antenna_gain, max_eirp), (dfs_cac_time)
 [   17.010000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A,
 3000 mBm), (N/A)
 [   17.100000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A,
 1700 mBm), (N/A)
 [   17.200000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A,
 2400 mBm), (0 s)
 [   17.300000] cfg80211:   (5490000 KHz - 5730000 KHz @ 80000 KHz), (N/A,
 2400 mBm), (0 s)
 [   17.390000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A,
 3000 mBm), (N/A)
 [   17.490000] ieee80211 phy1: Selected rate control algorithm
 'minstrel_ht'
 [   17.500000] ath5k: phy1: Atheros AR5312 chip found (MAC: 0x57, PHY:
 0x42)
 [   17.580000] ath5k: phy1: RF2112B 2GHz radio found (0x46)
 [   32.220000] jffs2: Too few erase blocks (4)
 [   37.720000] device eth0 entered promiscuous mode
 [   37.870000] br-lan: port 1(eth0) entered forwarding state
 [   37.930000] br-lan: port 1(eth0) entered forwarding state
 [   39.930000] br-lan: port 1(eth0) entered forwarding state
 [   89.330000] CPU 0 Unable to handle kernel paging request at virtual
 address 00000030, epc == 80080004, ra == 8007feb0
 [   89.450000] Oops[#1]:
 [   89.450000] CPU: 0 PID: 956 Comm: passwd Not tainted 3.10.49 #1
 [   89.450000] task: 81a275f8 ti: 81920000 task.ti: 81920000
 [   89.450000] $ 0   : 00000000 7fa5e5f0 00000000 7fffffff
 [   89.450000] $ 4   : 00000000 00000000 81a24a48 00000000
 [   89.450000] $ 8   : ffffffff 00000002 00000000 00000000
 [   89.450000] $12   : 00000000 00000002 00000000 00000000
 [   89.450000] $16   : 81a249d8 81a24a48 00000000 00000000
 [   89.450000] $20   : 00000000 00000001 00000000 81b923e0
 [   89.450000] $24   : 00000000 00000000
 [   89.450000] $28   : 81920000 81921e28 00000001 8007feb0
 [   89.450000] Hi    : 00000001
 [   89.450000] Lo    : 00000000
 [   89.450000] epc   : 80080004 __posix_lock_file+0x330/0x590
 [   89.450000]     Not tainted
 [   89.450000] ra    : 8007feb0 __posix_lock_file+0x1dc/0x590
 [   89.450000] Status: 1000fc03 KERNEL EXL IE
 [   89.450000] Cause : 00800008
 [   89.450000] BadVA : 00000030
 [   89.450000] PrId  : 00018009 (MIPS 4Kc)
 [   89.450000] Modules linked in: iptable_nat ath5k ath nf_nat_ipv4
 nf_conntrack_ipv4 mac80211 ipt_MASQUERADE cfg80211 xt_time xt_tcpudp
 xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack
 xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT nf_nat_irc nf_nat_ftp nf_nat
 nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp iptable_raw
 iptable_mangle iptable_filter ipt_REJECT ip_tables compat ip6t_REJECT
 ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables
 nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 ipv6 arc4 crypto_blkcipher
 gpio_button_hotplug
 [   89.450000] Process passwd (pid: 956, threadinfo=81920000,
 task=81a275f8, tls=7751c440)
 [   89.450000] Stack : 0000000a 008f3210 00470000 800f8010 00000000
 81a249d8 81a24a00 80cf3c00
 [   89.450000]    00000022 800a30dc 00000001 00000023 00000001 800f10f8
 00000000 81a275f8
 [   89.450000]    00000000 00000000 00000000 00000073 00000000 7fa5e5d0
 80cf3c00 7fa5e5d0
 [   89.450000]    00000000 80cf3c00 81a249d8 00000002 00000003 00000022
 0000000c 8010a22c
 [   89.450000]    00000000 00000000 008f11a0 00001000 00020000 008f1018
 00000000 00000000
 [   89.450000]    ...
 [   89.450000] Call Trace:
 [   89.450000] [<80080004>] __posix_lock_file+0x330/0x590
 [   89.450000] [<800f10f8>] do_lock_file_wait+0x54/0x118
 [   89.450000] [<8010a22c>] fcntl_setlk64+0xf0/0x1e8
 [   89.450000] [<8005320c>] SyS_fcntl64+0x8c/0x108
 [   89.450000] [<800437dc>] stack_done+0x20/0x44
 [   89.450000]
 [   89.450000]
 [   89.450000] Code: 0104282b  14a0002d  80080028 <80080030> 8008003b
 80080044  8008004f  80080057  00000000
 [   92.110000] ---[ end trace 02a872142a9b7c7b ]---
 [   92.330000] CPU 0 Unable to handle kernel paging request at virtual
 address 00000030, epc == 80080004, ra == 8007feb0
 [   92.450000] Oops[#2]:
 [   92.450000] CPU: 0 PID: 956 Comm: passwd Tainted: G      D      3.10.49
 #1
 [   92.450000] task: 81a275f8 ti: 81920000 task.ti: 81920000
 [   92.450000] $ 0   : 00000000 1000fc00 00000000 7fffffff
 [   92.450000] $ 4   : 00000000 00000000 81a24a48 00000000
 [   92.450000] $ 8   : ffffffff 00000002 00000001 0000000a
 [   92.450000] $12   : 00000013 81bfde88 00000020 802bc1ec
 [   92.450000] $16   : 81921b70 81a24a48 00000000 00000000
 [   92.450000] $20   : 00000000 00000001 00000000 81b923e0
 [   92.450000] $24   : 0000000e 00000000
 [   92.450000] $28   : 81920000 81921b28 00800000 8007feb0
 [   92.450000] Hi    : 00000000
 [   92.450000] Lo    : 00000048
 [   92.450000] epc   : 80080004 __posix_lock_file+0x330/0x590
 [   92.450000]     Tainted: G      D
 [   92.450000] ra    : 8007feb0 __posix_lock_file+0x1dc/0x590
 [   92.450000] Status: 1000fc03 KERNEL EXL IE
 [   92.450000] Cause : 00800008
 [   92.450000] BadVA : 00000030
 [   92.450000] PrId  : 00018009 (MIPS 4Kc)
 [   92.450000] Modules linked in: iptable_nat ath5k ath nf_nat_ipv4
 nf_conntrack_ipv4 mac80211 ipt_MASQUERADE cfg80211 xt_time xt_tcpudp
 xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id xt_conntrack
 xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT nf_nat_irc nf_nat_ftp nf_nat
 nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp iptable_raw
 iptable_mangle iptable_filter ipt_REJECT ip_tables compat ip6t_REJECT
 ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables
 nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 ipv6 arc4 crypto_blkcipher
 gpio_button_hotplug
 [   92.450000] Process passwd (pid: 956, threadinfo=81920000,
 task=81a275f8, tls=7751c440)
 [   92.450000] Stack : 81a275f8 80c7e6e0 80c7e6e0 8021d998 80cf3c00
 00000000 81824c80 81824c88
 [   92.450000]    0000000c 80cf3c00 81824cb8 00000000 00800000 801763f4
 80c163bc 8011911c
 [   92.450000]    81042200 00000000 81921bb8 819f8b78 00000000 00000046
 00100000 81824c80
 [   92.450000]    00000041 02b3c4e0 000003bc 8021d998 81a275f8 819ffd20
 80cf3c00 8021d998
 [   92.450000]    00000000 00000000 7fffffff ffffffff 81824c88 00000008
 81b3c620 00000000
 [   92.450000]    ...
 [   92.450000] Call Trace:
 [   92.450000] [<80080004>] __posix_lock_file+0x330/0x590
 [   92.450000] [<801763f4>] locks_remove_posix.part.15+0x68/0x94
 [   92.450000] [<801122bc>] filp_close+0x78/0x9c
 [   92.450000] [<801cdf54>] put_files_struct+0xb0/0x13c
 [   92.450000] [<800ed1ec>] do_exit+0x2b0/0x780
 [   92.450000] [<800e69b0>] direct_splice_actor+0x0/0x30
 [   92.450000]
 [   92.450000]
 [   92.450000] Code: 0104282b  14a0002d  80080028 <80080030> 8008003b
 80080044  8008004f  80080057  00000000
 [   95.190000] ---[ end trace 02a872142a9b7c7c ]---
 [   95.250000] Fixing recursive fault but reboot is needed!
 [  227.840000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
 }}}

 Now I'm building Attitude Adjustment..

--
Ticket URL: <https://dev.openwrt.org/ticket/18926>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to