找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 13323|回复: 12

RG100A-AA刷了OPENWRT,USB挂不上,快要崩溃了

[复制链接]
发表于 2009-6-29 18:32 | 显示全部楼层 |阅读模式
RG100A-AA刷了OPENWRT,折腾了1个多星期了,U盘,移动硬盘,摄像头就是挂不上

另外中继也没成功,快要崩溃了

dmesg如下,麻烦各位大大看看

root@OpenWrt:/# dmesg
Linux version 2.6.27.22 (bugeye@tux) (gcc version 4.1.2) #5 Sat May 9 08:40:30 CST 2009
Detected Broadcom 0x6358 CPU revision a1
CPU frequency is 300000000 Hz
32MB of RAM installed
board_bcm963xx: CFE version: 1.0.37-10.3
console [early0] enabled
CPU revision is: 0002a010 (Broadcom BCM6358)
board_bcm963xx: board name: 96358VW
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Zone PFN ranges:
  Normal   0x00000000 -> 0x00002000
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0: 0x00000000 -> 0x00002000
On node 0 totalpages: 8192
free_area_init_node: node 0, pgdat 8023e1e0, node_mem_map 81000000
  Normal zone: 8128 pages, LIFO batch:0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
Primary instruction cache 32kB, VIPT, 2-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, VIPT, cache aliases, linesize 16 bytes
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 29916k/32768k available (1907k kernel code, 2852k reserved, 329k data, 120k init, 0k highmem)
Calibrating delay loop... 299.00 BogoMIPS (lpj=598016)
Mount-cache hash table entries: 512
net_namespace: 592 bytes
NET: Registered protocol family 16
registering 37 GPIOs
registering PCI controller with io_map_base unset
PCI: 0000:00:01.0 reg 10 32bit mmio: [0, 1fff]
bus: 00 index 0 io port: [8000000, 800ffff]
bus: 00 index 1 mmio: [30000000, 37ffffff]
Switched to high resolution mode on CPU 0
PCI: Enabling device 0000:00:01.0 (0000 -> 0002)
PCI: Setting latency timer of device 0000:00:01.0 to 64
ssb: Sonics Silicon Backplane found on PCI device 0000:00:01.0
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
NET: Registered protocol family 1
audit: initializing netlink socket (disabled)
type=2000 audit(0.363:1): initialized
squashfs: version 3.0 (2006/03/15) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  ?? 2001-2006 Red Hat, Inc.
msgmni has been set to 58
io scheduler noop registered
io scheduler cfq registered (default)
gpiodev: gpio device registered with major 254
gpiodev: gpio platform device registered with access mask FFFFFFFF
bcm63xx_uart.0: ttyS0 at MMIO 0xfffe0100 (irq = 10) is a bcm63xx_uart
console handover: boot [early0] -> real [ttyS0]
bcm63xx_enet MII bus: probed
bcm963xx_flash: 0x02000000 at 0x1e000000
bcm963xx: Found 1 x16 devices at 0x0 in 16-bit bank
bcm963xx: Found an alias at 0x1000000 for the chip at 0x0
Amd/Fujitsu Extended Query Table at 0x0040
bcm963xx: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
bcm963xx_flash: Read Signature value of CFE1CFE1
bcm963xx_flash: CFE bootloader detected
bcm963xx_flash: CFE boot tag found with version 6 and board type 96358VW.
bcm963xx_flash: Partition 0 is CFE offset 0 and length 20000
bcm963xx_flash: Partition 1 is kernel offset 20100 and length bf5ff
bcm963xx_flash: Partition 2 is rootfs offset e0000 and length f00000
bcm963xx_flash: Partition 3 is nvram offset fe0000 and length 20000
Creating 4 MTD partitions on "bcm963xx":
0x00000000-0x00020000 : "CFE"
0x00020100-0x000df6ff : "kernel"
mtd: partition "kernel" doesn't start on an erase block boundary -- force read-only
0x000e0000-0x00fe0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=380000, len=C60000
0x00380000-0x00fe0000 : "rootfs_data"
0x00fe0000-0x01000000 : "nvram"
TCP bic registered
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>
VFS: Mounted root (squashfs filesystem) readonly.
Freeing unused kernel memory: 120k freed
Please be patient, while OpenWrt loads ...
Algorithmics/MIPS FPU Emulator v1.5
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
eth1: link forced UP - 100/full - flow control off/off
device eth1.0 entered promiscuous mode
device eth1 entered promiscuous mode
br-lan: topology change detected, propagating
br-lan: port 1(eth1.0) entering forwarding state
cfg80211: Calling CRDA to update world regulatory domain
SCSI subsystem initialized
br-lan: port 1(eth1.0) entering disabled state
br-lan: topology change detected, propagating
br-lan: port 1(eth1.0) entering forwarding state
roboswitch: Probing device eth0: <3>roboswitch: [/home/bugeye/projects/kamakaze-bcm63xx/build_dir/linux-brcm63xx/kmod-switch/switch-robo.c:126] SIOCGETCPHYRD failed!
roboswitch: [/home/bugeye/projects/kamakaze-bcm63xx/build_dir/linux-brcm63xx/kmod-switch/switch-robo.c:126] SIOCGETCPHYRD failed!
No Robo switch in managed mode found, phy_id = 0xffffffff
roboswitch: Probing device eth1: found!
b43-phy0: Broadcom 4318 WLAN found (core revision 9)
phy0: Selected rate control algorithm 'minstrel'
Broadcom 43xx driver loaded [ Features: PL, Firmware-ID: FW13 ]
firmware: requesting b43/ucode5.fw
firmware: requesting b43/pcm5.fw
PPP generic driver version 2.4.2
firmware: requesting b43/b0g0initvals5.fw
firmware: requesting b43/b0g0bsinitvals5.fw
b43-phy0: Loading firmware version 410.2160 (2007-05-26 15:32:10)
Registered led device: b43-phy0::tx
Registered led device: b43-phy0::rx
ip_tables: (C) 2000-2006 Netfilter Core Team
b43-phy0: Radio turned on by software
device wlan0 entered promiscuous mode
Driver 'sd' needs updating - please use bus_type methods
ehci_hcd: Unknown symbol usb_hcd_platform_shutdown
ehci_hcd: Unknown symbol usb_hub_tt_clear_buffer
ehci_hcd: Unknown symbol usb_hcd_pci_probe
ehci_hcd: Unknown symbol usb_hcd_unlink_urb_from_ep
ehci_hcd: Unknown symbol usb_hcd_check_unlink_urb
ehci_hcd: Unknown symbol usb_hcds_loaded
ehci_hcd: Unknown symbol usb_calc_bus_time
ehci_hcd: Unknown symbol ehci_cf_port_reset_rwsem
ehci_hcd: Unknown symbol usb_hcd_pci_shutdown
ehci_hcd: Unknown symbol usb_hcd_link_urb_to_ep
ehci_hcd: Unknown symbol usb_put_hcd
ehci_hcd: Unknown symbol usb_hcd_giveback_urb
ehci_hcd: Unknown symbol usb_hcd_poll_rh_status
ehci_hcd: Unknown symbol usb_create_hcd
ehci_hcd: Unknown symbol usb_hcd_pci_remove
ehci_hcd: Unknown symbol usb_remove_hcd
ehci_hcd: Unknown symbol usb_add_hcd
nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
ohci_hcd: Unknown symbol usb_hcd_platform_shutdown
ohci_hcd: Unknown symbol usb_hcd_pci_probe
ohci_hcd: Unknown symbol usb_hcd_unlink_urb_from_ep
ohci_hcd: Unknown symbol usb_disabled
ohci_hcd: Unknown symbol usb_hcd_check_unlink_urb
ohci_hcd: Unknown symbol usb_hcds_loaded
ohci_hcd: Unknown symbol usb_calc_bus_time
ohci_hcd: Unknown symbol usb_hcd_pci_shutdown
ohci_hcd: Unknown symbol usb_hcd_link_urb_to_ep
ohci_hcd: Unknown symbol usb_put_hcd
ohci_hcd: Unknown symbol usb_hcd_giveback_urb
ohci_hcd: Unknown symbol usb_hcd_poll_rh_status
ohci_hcd: Unknown symbol usb_create_hcd
ohci_hcd: Unknown symbol usb_hcd_pci_remove
ohci_hcd: Unknown symbol usb_remove_hcd
ohci_hcd: Unknown symbol usb_add_hcd
uhci_hcd: Unknown symbol usb_hcd_pci_probe
uhci_hcd: Unknown symbol usb_hcd_unlink_urb_from_ep
uhci_hcd: Unknown symbol usb_disabled
uhci_hcd: Unknown symbol usb_hcd_check_unlink_urb
uhci_hcd: Unknown symbol usb_hcds_loaded
uhci_hcd: Unknown symbol usb_calc_bus_time
uhci_hcd: Unknown symbol usb_hcd_link_urb_to_ep
uhci_hcd: Unknown symbol usb_hcd_giveback_urb
uhci_hcd: Unknown symbol usb_hcd_poll_rh_status
uhci_hcd: Unknown symbol usb_hcd_pci_remove
usblp: Unknown symbol usb_alloc_urb
usblp: Unknown symbol usb_anchor_urb
usblp: Unknown symbol usb_free_urb
usblp: Unknown symbol usb_register_driver
usblp: Unknown symbol usb_find_interface
usblp: Unknown symbol usb_kill_anchored_urbs
usblp: Unknown symbol usb_submit_urb
usblp: Unknown symbol usb_control_msg
usblp: Unknown symbol usb_register_dev
usblp: Unknown symbol usb_set_interface
usblp: Unknown symbol usb_deregister
usblp: Unknown symbol usb_unanchor_urb
usblp: Unknown symbol usb_deregister_dev
usb_storage: Unknown symbol usb_alloc_urb
usb_storage: Unknown symbol usb_free_urb
usb_storage: Unknown symbol usb_register_driver
usb_storage: Unknown symbol usb_sg_init
usb_storage: Unknown symbol usb_sg_cancel
usb_storage: Unknown symbol usb_reset_device
usb_storage: Unknown symbol usb_submit_urb
usb_storage: Unknown symbol usb_control_msg
usb_storage: Unknown symbol usb_deregister
usb_storage: Unknown symbol usb_lock_device_for_reset
usb_storage: Unknown symbol usb_unlink_urb
usb_storage: Unknown symbol usb_reset_configuration
usb_storage: Unknown symbol usb_kill_urb
usb_storage: Unknown symbol usb_buffer_free
usb_storage: Unknown symbol usb_sg_wait
usb_storage: Unknown symbol usb_buffer_alloc
fuse init (API version 7.9)
device wlan0 left promiscuous mode
br-wan: port 1(wlan0) entering disabled state
device wlan0 entered promiscuous mode
 楼主| 发表于 2009-6-29 20:59 | 显示全部楼层
重新刷机后还是挂不上
root@OpenWrt:/# usb 2-1: new full speed USB device using bcm63xx_ohci and addres
s 2
usb 2-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
scsi scan: INQUIRY result too short (5), using 36
scsi 0:0:0:0: Direct-Access     GENERIC  USB DISK DEVICE  1.00 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 252509 512-byte hardware sectors (129 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 252509 512-byte hardware sectors (129 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
Unable to load NLS charset cp437
FAT: codepage cp437 not found
 楼主| 发表于 2009-6-29 21:01 | 显示全部楼层
已加载的模块
Loaded Modules
Module Size Count State Address Used by
aead 3808 0 Live 0xc009d000   
aes_generic 29488 0 Live 0xc00b6000   
arc4 832 2 Live 0xc00b0000   
b43 119296 0 Live 0xc0183000   
cbc 2176 0 Live 0xc00aa000   
cfg80211 67232 2 Live 0xc00e0000 b43, mac80211
crc16 992 0 Live 0xc00b4000   
crc_ccitt 992 1 Live 0xc00b2000 ppp_async
crypto_algapi 8096 8 Live 0xc00a0000 arc4, aes_generic, deflate, ecb, cbc, cryptomgr, crypto_blkcipher, aead
crypto_blkcipher 11280 2 Live 0xc0099000 ecb, cbc
crypto_hash 2656 0 Live 0xc00a6000   
cryptomgr 1568 0 Live 0xc00a8000   
deflate 1568 0 Live 0xc00ae000   
ecb 1408 2 Live 0xc00ac000   
ehci_hcd 36368 0 Live 0xc01af000   
ext2 51344 0 Live 0xc010a000   
ext3 106896 0 Live 0xc01d1000   
fat 43664 1 Live 0xc0142000 vfat
fuse 45984 0 Live 0xc025d000   
ip_tables 8368 3 Live 0xc0122000 iptable_nat, iptable_mangle, iptable_filter
ipt_LOG 4544 0 Live 0xc00f9000   
ipt_MASQUERADE 1152 1 Live 0xc01f2000   
ipt_REJECT 1824 2 Live 0xc01ad000   
iptable_filter 960 1 Live 0xc00fe000   
iptable_mangle 1152 0 Live 0xc014e000   
iptable_nat 2896 1 Live 0xc01ce000   
jbd 34144 1 Live 0xc0118000 ext3
mac80211 198512 1 Live 0xc0151000 b43
nf_conntrack 37520 11 Live 0xc01c3000 nf_nat_tftp, nf_conntrack_tftp, nf_nat_irc, nf_conntrack_irc, nf_nat_ftp, nf_conntrack_ftp, ipt_MASQUERADE, iptable_nat, nf_nat, xt_state, nf_conntrack_ipv4
nf_conntrack_ftp 4928 1 Live 0xc01ef000 nf_nat_ftp
nf_conntrack_ipv4 7968 9 Live 0xc01a8000 iptable_nat, nf_nat
nf_conntrack_irc 2784 1 Live 0xc01fd000 nf_nat_irc
nf_conntrack_tftp 2448 1 Live 0xc0201000 nf_nat_tftp
nf_nat 10752 5 Live 0xc01f6000 nf_nat_tftp, nf_nat_irc, nf_nat_ftp, ipt_MASQUERADE, iptable_nat
nf_nat_ftp 1440 0 Live 0xc01f4000   
nf_nat_irc 864 0 Live 0xc01ff000   
nf_nat_tftp 448 0 Live 0xc0203000   
nls_base 4512 2 Live 0xc00a3000 vfat, fat
ohci_hcd 24640 0 Live 0xc0211000   
ppp_async 6912 0 Live 0xc00f2000   
ppp_generic 20480 1 Live 0xc0104000 ppp_async
scsi_mod 75120 2 Live 0xc00bf000 usb_storage, sd_mod
sd_mod 22944 0 Live 0xc01bc000   
slhc 4480 1 Live 0xc00f6000 ppp_generic
switch_adm 4000 0 Live 0xc00de000   
switch_core 5248 2 Live 0xc00d7000 switch_adm, switch_robo
switch_robo 4256 0 Live 0xc00d3000   
uhci_hcd 20816 0 Live 0xc0208000   
usb_storage 71008 0 Live 0xc024a000   
usbcore 103072 6 Live 0xc0127000 usb_storage, usblp, uhci_hcd, ohci_hcd, ehci_hcd
usblp 9536 0 Live 0xc0220000   
vfat 9024 0 Live 0xc00da000   
x_tables 8592 11 Live 0xc0100000 ipt_MASQUERADE, iptable_nat, xt_state, ipt_REJECT, xt_TCPMSS, ipt_LOG, xt_multiport, xt_mac, xt_limit, ip_tables, xt_tcpudp
xt_TCPMSS 2016 1 Live 0xc01ab000   
xt_limit 1152 1 Live 0xc01a2000   
xt_mac 704 0 Live 0xc01a4000   
xt_multiport 1824 0 Live 0xc01a6000   
xt_state 832 6 Live 0xc01ed000   
xt_tcpudp 1856 3 Live 0xc00fc000   
Total 1261376
发表于 2009-6-29 22:53 | 显示全部楼层
看不懂,帮顶
换一个openwrt版本试试
发表于 2009-6-30 07:51 | 显示全部楼层
opkg update
opkg install kmod-nls-cp437

不过现在openwrt的源有问题,要用x-wrt的源。或者自己把这个模块编译进固件。
 楼主| 发表于 2009-6-30 19:11 | 显示全部楼层
root@OpenWrt:~# opkg install kmod-nls-cp437
Package kmod-nls-cp437 (2.6.27.25-brcm63xx-1) installed in root is up to date.
root@OpenWrt:~# insmod kmo-nls-cp437
insmod: Loading module failed: No such file or directory
没辙了
发表于 2009-6-30 19:34 | 显示全部楼层
我上传个固件,但是没xwrt等图形界面设置工具,你可以自己以后加(把升级源换成xwrt的,然后opkg update; opkg install webif)。

http://cid-0bf1ab1a91440618.skyd ... rg100a-squashfs.bin
 楼主| 发表于 2009-6-30 20:39 | 显示全部楼层
非常感谢,我试试这个新固件
我试过更换X-WRT源,同样不行root@OpenWrt:/lib/modules# ls
2.6.27.22  2.6.27.25
root@OpenWrt:/lib/modules# cd 2.6.27.25
root@OpenWrt:/lib/modules/2.6.27.25# ls
cifs.ko            nls_utf8.ko        v4l1-compat.ko
compat_ioctl32.ko  ov51x-jpeg.ko      v4l2-common.ko
nls_cp437.ko       quickcam.ko        videodev.ko
root@OpenWrt:/lib/modules/2.6.27.25# insmod nls_cp437.ko
insmod: cannot insert 'nls_cp437.ko': invalid module format (-1): Exec format error
root@OpenWrt:/lib/modules/2.6.27.25# insmod quickcam.ko
insmod: cannot insert 'quickcam.ko': invalid module format (-1): Exec format error
root@OpenWrt:/lib/modules/2.6.27.25# insmod ./quickcam.ko
insmod: cannot insert './quickcam.ko': invalid module format (-1): Exec format error
root@OpenWrt:/lib/modules/2.6.27.25# chmod 775 quickcam.ko
root@OpenWrt:/lib/modules/2.6.27.25# ls
cifs.ko            nls_utf8.ko        v4l1-compat.ko
compat_ioctl32.ko  ov51x-jpeg.ko      v4l2-common.ko
nls_cp437.ko       quickcam.ko        videodev.ko
root@OpenWrt:/lib/modules/2.6.27.25# insmod ./quickcam.ko
insmod: cannot insert './quickcam.ko': invalid module format (-1): Exec format error
root@OpenWrt:/lib/modules/2.6.27.25# insmod videodev.ko
insmod: cannot insert 'videodev.ko': invalid module format (-1): Exec format error
 楼主| 发表于 2009-6-30 22:19 | 显示全部楼层
我上传个固件,但是没xwrt等图形界面设置工具,你可以自己以后加(把升级源换成xwrt的,然后opkg update; opkg install webif)。

http://cid-0bf1ab1a91440618.skyd ... .Public/openwrt-rg1 ...
Bugeye 发表于 2009-6-30 19:34

感谢大大,换了这个版本之后U盘终于挂上了,但中继还是没成功,继续研究中
发表于 2009-7-1 11:01 | 显示全部楼层
Bugeye 大大什么时候出2.6.27.25的固件现在2.6.27.24安装模块都装.25的有问题
u盘挂不上去也是这个问题
只要在断网的时候手动安装kmod-usb-storage2.6.27.24的就没有问题(联网会安装2.6.27.25的)
发表于 2009-8-22 21:46 | 显示全部楼层
测试了一下,遇到同样的问题,最后换成EXT2文件系统搞定,估计是VFAT才需要这个吧,呵呵
发表于 2009-8-27 17:17 | 显示全部楼层
是  编码的库没有~
发表于 2009-10-22 23:40 | 显示全部楼层
手动安装怎么搞,问个明白
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

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

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

GMT+8, 2024-6-21 09:51

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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