|
|
本帖最后由 shbaiyxr 于 2016-7-29 17:41 编辑
手头一个不知道哪个厂家的板子,AR9344的CPU,128M nand,按照WNDR3700v4型号编译的固件,网上找了各种帖子,就是识别不出U盘,一下为dmesg信息,忘各位大神指点。USB是通过一个GL850G的hub芯片连接的
[ 0.510000] Scanning device for bad blocks
[ 0.600000] 12 cmdlinepart partitions found on MTD device ar934x-nfc
[ 0.600000] Creating 12 MTD partitions on "ar934x-nfc":
[ 0.610000] 0x000000000000-0x000000040000 : "u-boot"
[ 0.610000] 0x000000040000-0x000000080000 : "u-boot-env"
[ 0.620000] 0x000000080000-0x0000000c0000 : "caldata"
[ 0.630000] 0x0000000c0000-0x000000140000 : "pot"
[ 0.630000] 0x000000140000-0x000000340000 : "language"
[ 0.640000] 0x000000340000-0x0000003c0000 : "config"
[ 0.640000] 0x0000003c0000-0x0000006c0000 : "traffic_meter"
[ 0.650000] 0x0000006c0000-0x0000008c0000 : "kernel"
[ 0.660000] 0x0000008c0000-0x000001fc0000 : "ubi"
[ 0.660000] 0x0000006c0000-0x000001fc0000 : "firmware"
[ 1.020000] 0x000001fc0000-0x000002000000 : "caldata_backup"
[ 1.030000] 0x000002000000-0x000008000000 : "reserved"
[ 1.050000] libphy: ag71xx_mdio: probed
[ 1.640000] ag71xx-mdio.1: Found an AR934X built-in switch
[ 1.680000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
[ 1.690000] leds-gpio: probe of leds-gpio failed with error -16
[ 1.690000] TCP: cubic registered
[ 1.700000] NET: Registered protocol family 17
[ 1.700000] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 1.710000] Bridge firewalling registered
[ 1.720000] 8021q: 802.1Q VLAN Support v1.8
[ 1.730000] UBI: auto-attach mtd8
[ 1.730000] UBI: attaching mtd8 to ubi0
[ 1.970000] random: nonblocking pool is initialized
[ 2.010000] UBI: scanning is finished
[ 2.030000] UBI: attached mtd8 (name "ubi", size 23 MiB) to ubi0
[ 2.030000] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 2.040000] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[ 2.050000] UBI: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 2.050000] UBI: good PEBs: 184, bad PEBs: 0, corrupted PEBs: 0
[ 2.060000] UBI: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 2.070000] UBI: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1222659387
[ 2.070000] UBI: available PEBs: 0, total reserved PEBs: 184, PEBs reserved for bad PEB handling: 20
[ 2.080000] UBI: background thread "ubi_bgt0d" started, PID 268
[ 2.090000] UBI: ubiblock0_0 created from ubi0:0(rootfs)
[ 2.100000] ubiblock: device ubiblock0_0 (rootfs) set to be root filesystem
[ 2.110000] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 2.120000] Freeing unused kernel memory: 236K (803c5000 - 80400000)
[ 3.080000] init: Console is alive
[ 3.080000] init: - watchdog -
[ 5.310000] usbcore: registered new interface driver usbfs
[ 5.310000] usbcore: registered new interface driver hub
[ 5.320000] usbcore: registered new device driver usb
[ 5.430000] SGI XFS with security attributes, no debug enabled
[ 5.450000] SCSI subsystem initialized
[ 5.460000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 5.470000] ehci-platform: EHCI generic platform driver
[ 5.470000] ehci-platform ehci-platform: EHCI Host Controller
[ 5.480000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 5.490000] ehci-platform ehci-platform: TX-TX IDP fix enabled
[ 5.490000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 5.520000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 5.520000] hub 1-0:1.0: USB hub found
[ 5.530000] hub 1-0:1.0: 1 port detected
[ 5.530000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.540000] ohci-platform: OHCI generic platform driver
[ 5.550000] uhci_hcd: USB Universal Host Controller Interface driver
[ 5.570000] usbcore: registered new interface driver usb-storage
[ 5.850000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 6.000000] hub 1-1:1.0: USB hub found
[ 6.000000] hub 1-1:1.0: 4 ports detected
[ 6.120000] init: - preinit -
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 9.830000] mount_root: loading kmods from internal overlay
[ 10.400000] UBIFS: background thread "ubifs_bgt0_1" started, PID 382
[ 10.510000] UBIFS: recovery needed
[ 10.730000] UBIFS: recovery completed
[ 10.740000] UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 10.740000] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 10.750000] UBIFS: FS size: 12316672 bytes (11 MiB, 97 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[ 10.760000] UBIFS: reserved for root: 581746 bytes (568 KiB)
[ 10.770000] UBIFS: media format: w4/r0 (latest is w4/r0), UUID D653D40C-F4F8-41A1-8D85-CAFFBFCF0B97, small LPT model
[ 10.780000] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[ 10.800000] block: extroot: not configured
[ 10.800000] UBIFS: un-mount UBI device 0, volume 1
[ 10.810000] UBIFS: background thread "ubifs_bgt0_1" stops
[ 10.820000] UBIFS: background thread "ubifs_bgt0_1" started, PID 385
[ 11.070000] UBIFS: mounted UBI device 0, volume 1, name "rootfs_data"
[ 11.070000] UBIFS: LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 11.080000] UBIFS: FS size: 12316672 bytes (11 MiB, 97 LEBs), journal size 1015809 bytes (0 MiB, 6 LEBs)
[ 11.090000] UBIFS: reserved for root: 581746 bytes (568 KiB)
[ 11.100000] UBIFS: media format: w4/r0 (latest is w4/r0), UUID D653D40C-F4F8-41A1-8D85-CAFFBFCF0B97, small LPT model
[ 11.110000] mount_root: loading kmods from internal overlay
[ 11.450000] block: attempting to load /tmp/ubifs_cfg/upper/etc/config/fstab
[ 11.460000] block: extroot: not configured
[ 11.470000] mount_root: switching to jffs2 overlay
[ 11.520000] procd: - early -
[ 11.520000] procd: - watchdog -
[ 12.240000] procd: - ubus -
[ 13.250000] procd: - init -
Please press Enter to activate this console.
[ 14.370000] NET: Registered protocol family 10
[ 14.400000] ntfs: driver 2.1.31 [Flags: R/O MODULE].
[ 14.420000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 14.440000] Netfilter messages via NETLINK v0.30.
[ 14.440000] ip_set: protocol 6
[ 14.500000] u32 classifier
[ 14.500000] input device check on
[ 14.500000] Actions configured
[ 14.510000] Mirror/redirect action on
[ 14.550000] Loading modules backported from Linux version master-2015-03-09-0-g141f155
[ 14.560000] Backport generated by backports.git backports-20150129-0-gdd4a670
[ 14.590000] Ebtables v2.0 registered
[ 14.600000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 14.630000] nf_conntrack version 0.5.0 (1966 buckets, 7864 max)
[ 14.690000] usbcore: registered new interface driver ums-alauda
[ 14.700000] usbcore: registered new interface driver ums-cypress
[ 14.710000] usbcore: registered new interface driver ums-datafab
[ 14.730000] usbcore: registered new interface driver ums-freecom
[ 14.740000] usbcore: registered new interface driver ums-isd200
[ 14.750000] usbcore: registered new interface driver ums-jumpshot
[ 14.760000] usbcore: registered new interface driver ums-karma
[ 14.770000] usbcore: registered new interface driver ums-sddr09
[ 14.780000] usbcore: registered new interface driver ums-sddr55
[ 14.780000] usbcore: registered new interface driver ums-usbat
[ 14.840000] xt_time: kernel timezone is -0000
[ 14.880000] cfg80211: Calling CRDA to update world regulatory domain
[ 14.910000] cfg80211: World regulatory domain updated:
[ 14.910000] cfg80211: DFS Master region: unset
[ 14.920000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 14.930000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 14.930000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 14.940000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 14.950000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 14.960000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 14.970000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 14.980000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 14.980000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 15.070000] PPP generic driver version 2.4.2
[ 15.080000] NET: Registered protocol family 24
[ 15.160000] ieee80211 phy0: Atheros AR9340 Rev:3 mem=0xb8100000, irq=47
以下为dev目录内容
bus mtd2 mtdblock0 ppp
console mtd2ro mtdblock1 ptmx
cpu_dma_latency mtd3 mtdblock10 pts
full mtd3ro mtdblock11 random
kmsg mtd4 mtdblock2 shm
log mtd4ro mtdblock3 tty
mem mtd5 mtdblock4 ttyS0
memory_bandwidth mtd5ro mtdblock5 ubi0
mtd0 mtd6 mtdblock6 ubi0_0
mtd0ro mtd6ro mtdblock7 ubi0_1
mtd1 mtd7 mtdblock8 ubi_ctrl
mtd10 mtd7ro mtdblock9 ubiblock0_0
mtd10ro mtd8 network_latency urandom
mtd11 mtd8ro network_throughput watchdog
mtd11ro mtd9 null zero
mtd1ro mtd9ro port
以下为lsusb的信息,可以识别到hub
Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
|
|