找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 7020|回复: 6

WZR-HP-G301nh刷openwrt的问题和snapshot的版本问题

[复制链接]
本帖最后由 Helleon 于 2012-3-31 12:39 编辑

入了个洋垃圾G301nh,刷backfire 的10.3.1以及RC5 RC6都失败,方法试过dd-wrt下mtd,试过直接tftp灌,以及从snapshot版本sysupgrade,统统起不来。症状是电源常亮,diag常亮。等待半小时以上无果。

只好在snapshot下将就用着,但是snapshot 有个问题,opkg update之后opkg install用不了,我检查了 http://downloads.openwrt.org/snapshots/trunk/ar71xx/packages/ 目录,发现软件版本和Packages.gz宣称的版本不同,故此下载请求全部是404 error,求解决办法......

或者谁能帮我分析下为什么刷不了backfire也成,RC6的releasenotes明明说了merger了G301的,郁闷。以下是dmsg信息:
 楼主| | 显示全部楼层
[    0.000000] Linux version 3.2.9 (openwrt@OpenWRTBuild) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Mar 13 20:33:19 MST 2012
[    0.000000] MyLoader: sysp=00000000, boardp=00000000, parts=00000000
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9132 rev 2
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:5.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00004000
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00004000
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 802e4c80, node_mem_map 81000000
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16256 pages, LIFO batch:3
[    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: 16256
[    0.000000] Kernel command line:  board=WZR-HP-G300NH console=ttyS0,115200 rootfstype=squashfs,jffs2 noinitrd
[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 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=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 61668k/65536k available (2171k kernel code, 3868k reserved, 409k 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... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] MIPS: machine is Buffalo WZR-HP-G300NH
[    0.100000] Found an RTL8366RB switch
[    0.560000] bio: create slab <bio-0> at 0
[    0.560000] Switching to clocksource MIPS
[    0.570000] NET: Registered protocol family 2
[    0.570000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.580000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)
[    0.590000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.590000] TCP: Hash tables configured (established 2048 bind 2048)
[    0.600000] TCP reno registered
[    0.600000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.610000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.620000] NET: Registered protocol family 1
[    0.620000] PCI: CLS 0 bytes, default 32
[    0.640000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.650000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.660000] msgmni has been set to 120
[    0.660000] io scheduler noop registered
[    0.660000] io scheduler deadline registered (default)
[    0.670000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.700000] serial8250.0: ttyS0 at MMIO 0x18020000 (irq = 11) is a 16550A
[    0.700000] console [ttyS0] enabled, bootconsole disabled
[    0.720000] physmap platform flash device: 02000000 at 1e000000
[    0.720000] physmap-flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x00227e
[    0.730000] Amd/Fujitsu Extended Query Table at 0x0040
[    0.740000]   Amd/Fujitsu Extended Query version 1.3.
[    0.740000] number of CFI chips: 1
[    0.750000] Searching for RedBoot partition table in physmap-flash at offset 0x1fc0000
[    0.770000] Searching for RedBoot partition table in physmap-flash at offset 0x1fe0000
[    0.790000] No RedBoot partition table detected in physmap-flash
[    0.800000] Creating 7 MTD partitions on "physmap-flash":
[    0.810000] 0x000000000000-0x000000040000 : "u-boot"
[    0.810000] 0x000000040000-0x000000060000 : "u-boot-env"
[    0.820000] 0x000000060000-0x000000160000 : "kernel"
[    0.830000] 0x000000160000-0x000001fc0000 : "rootfs"
[    0.830000] mtd: partition "rootfs" set to be root filesystem
[    0.840000] mtd: partition "rootfs_data" created automatically, ofs=2C0000, len=1D00000
[    0.850000] 0x0000002c0000-0x000001fc0000 : "rootfs_data"
[    0.860000] 0x000001fc0000-0x000001fe0000 : "user_property"
[    0.860000] 0x000001fe0000-0x000002000000 : "art"
[    0.870000] 0x000000060000-0x000001fc0000 : "firmware"
[    0.880000] Realtek RTL8366RB ethernet switch driver version 0.2.3
[    0.890000] rtl8366rb rtl8366rb: using GPIO pins 19 (SDA) and 20 (SCK)
[    0.890000] rtl8366rb rtl8366rb: RTL5937 ver. 3 chip found
[    0.940000] rtl8366rb: probed
[    0.950000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.250000] eth1: Atheros AG71xx at 0xba000000, irq 5
[    1.560000] ag71xx ag71xx.1: eth1: connected to PHY at rtl8366rb:04 [uid=001cc961, driver=Generic PHY]
[    1.570000] TCP westwood registered
[    1.570000] NET: Registered protocol family 17
[    1.580000] Bridge firewalling registered
[    1.580000] 8021q: 802.1Q VLAN Support v1.8
[    1.590000] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.600000] Freeing unused kernel memory: 196k freed
[    3.420000] ar71xx: pll_reg 0xb8050014: 0x1f000000
[    3.420000] eth0: link up (1000Mbps/Full duplex)
[    3.560000] Registered led device: buffalorange:security
[    3.560000] Registered led device: buffalo:green:wireless
[    3.560000] Registered led device: buffalo:green:router
[    3.560000] Registered led device: buffalo:red:diag
[    3.560000] Registered led device: buffalo:blue:usb
[    6.790000] JFFS2 notice: (432) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 12 of xref (0 dead, 5 orphan) found.
[    6.980000] eth0: link down
[    7.900000] Compat-wireless backport release: compat-wireless-2012-02-27-1-r30919
[    7.900000] Backport based on wireless-testing.git master-2012-02-27
[    7.950000] cfg80211: Calling CRDA to update world regulatory domain
[    8.320000] cfg80211: World regulatory domain updated:
[    8.330000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    8.340000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.350000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.350000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[    8.360000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.370000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    8.390000] usbcore: registered new interface driver usbfs
[    8.390000] usbcore: registered new interface driver hub
[    8.400000] usbcore: registered new device driver usb
回复

使用道具 举报

 楼主| | 显示全部楼层
[    8.870000] ath: EEPROM regdomain: 0x0
[    8.870000] ath: EEPROM indicates default country code should be used
[    8.870000] ath: doing EEPROM country->regdmn map search
[    8.870000] ath: country maps to regdmn code: 0x3a
[    8.870000] ath: Country alpha2 being used: US
[    8.870000] ath: Regpair used: 0x3a
[    8.870000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[    8.880000] ieee80211 phy0: Atheros AR9100 MAC/BB Rev:7 AR2133 RF Rev:a2 mem=0xb80c0000, irq=2
[    8.890000] cfg80211: Calling CRDA for country: US
[    9.050000] PPP generic driver version 2.4.2
[    9.060000] cfg80211: Regulatory domain changed to country: US
[    9.070000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[    9.070000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[    9.080000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
[    9.090000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.100000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.110000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[    9.110000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
[    9.160000] ip_tables: (C) 2000-2006 Netfilter Core Team
[    9.270000] NET: Registered protocol family 24
[    9.400000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    9.410000] ath79-ehci ar913x-ehci: Atheros built-in EHCI controller
[    9.410000] ath79-ehci ar913x-ehci: new USB bus registered, assigned bus number 1
[    9.450000] ath79-ehci ar913x-ehci: irq 3, io mem 0x1b000000
[    9.470000] ath79-ehci ar913x-ehci: USB 2.0 started, EHCI 1.00
[    9.470000] hub 1-0:1.0: USB hub found
[    9.480000] hub 1-0:1.0: 1 port detected
[    9.500000] nf_conntrack version 0.5.0 (966 buckets, 3864 max)
[    9.770000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[   11.730000] device wlan0 entered promiscuous mode
[   14.370000] ar71xx: pll_reg 0xb8050014: 0x1f000000
[   14.650000] eth0: link up (1000Mbps/Full duplex)
[   14.730000] device wlan0 left promiscuous mode
[   14.730000] br-lan: port 1(wlan0) entering disabled state
[   15.040000] device wlan0 entered promiscuous mode
[   17.220000] br-lan: port 1(wlan0) entering forwarding state
[   17.230000] br-lan: port 1(wlan0) entering forwarding state
[   19.120000] device eth0.1 entered promiscuous mode
[   19.120000] device eth0 entered promiscuous mode
[   19.120000] br-lan: port 2(eth0.1) entering forwarding state
[   19.130000] br-lan: port 2(eth0.1) entering forwarding state
[   19.840000] ar71xx: pll_reg 0xb8050018: 0x13000a44
[   19.840000] eth1: link up (100Mbps/Full duplex)
[   32.240000] br-lan: port 1(wlan0) entering forwarding state
[   34.160000] br-lan: port 2(eth0.1) entering forwarding state
[ 1150.050000] ath: Failed to stop TX DMA, queues=0x005!
回复

使用道具 举报

本帖最后由 西门吹炭 于 2012-4-2 10:11 编辑

贴个对岸的论坛版主整理的帖子,希望能帮到楼主


本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
回复

使用道具 举报

本帖最后由 西门吹炭 于 2012-4-2 10:14 编辑

也就是说,要刷Trunk版本的r27814才行
因为这个机器的千兆交换机与300NH是不一样的,虽然都是螃蟹的千兆,但后缀不同,驱动也不同,楼主可以按照我给的方法试试
回复

使用道具 举报

 楼主| | 显示全部楼层
西门吹炭 发表于 2012-4-2 10:12
也就是说,要刷Trunk版本的r27814才行
因为这个机器的千兆交换机与300NH是不一样的,虽然都是螃蟹的千兆, ...

我首帖已经得到不能刷backfire只能刷trunk的结论了,只是好奇RC6的release note明明说了合并了301的代码的 (http://downloads.openwrt.org/backfire/10.03.1-rc6/README),为啥不行

snapshot下面opkg不能用的问题,后来发现下载的packages不对,不知道是不是长宽将其cache了,最后在别处下了packages覆盖 /var/opkg-lists/snapshot ,问题解决。不过trunk的包还是没有backfire多,暂时无解吧,除非自己编译。
回复

使用道具 举报

楼主的机子在openwrt下挂载U盘或硬盘正常吗?

我的在dd下挂载都正常,刷了openwrt怎么都mount不上啊
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-15 07:42

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表