|
本帖最后由 hthgo 于 2017-11-20 15:38 编辑
原来用好好的,现在启动后内核日志显示反复port5 link up link down ,无线信号也很差有时还自动停止无线,刷的是padorabox。请教高手是什么问题,谢谢
[ 0.000000] Linux version 3.14.79 (lintel@PandoraBox-Server) (gcc version 4.8.3 (PandoraBox/Linaro GCC 4.8-2014.04 2016-10-03-git-f17527d) ) #0 Thu Dec 29 18:48:18 2016
[ 0.000000] PandoraBox CPUID Module for Ralink/MTK SoC v1.1.
[ 0.000000] Ralink RT3052 pkgFN rev:1 eco:3 CPU:384MHz Bus:128MHz Uart:128MHz
[ 0.000000] CPU running in Little Endian
[ 0.000000] Board VLANLLLW
[ 0.000000] Flash:NOR Size: 16MB
[ 0.000000] DRAM: 32MB SDRAM 32 bits
[ 0.000000] Kernel Support [USB]
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[ 0.000000] Software DMA cache coherency
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 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 802b04e0, 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 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 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: pause_on_oops=10 noresume board=HG255D console=ttyS1,115200 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] Writing ErrCtl register=00074018
[ 0.000000] Readback ErrCtl register=00074018
[ 0.000000] Memory: 29116K/32768K available (2417K kernel code, 164K rwdata, 296K rodata, 184K init, 248K bss, 3652K reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:256
[ 0.000000] console [ttyS1] enabled
[ 0.004000] bootconsole [early0] disabled
[ 0.008000] Calibrating delay loop... 255.74 BogoMIPS (lpj=511488)
[ 0.044000] pid_max: default: 32768 minimum: 301
[ 0.048000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.052000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.060000] pinctrl core: initialized pinctrl subsystem
[ 0.064000] NET: Registered protocol family 16
[ 0.068000] Ralink/MTK BootROM maped.
[ 0.072000] Generic Ralink/MTK Register Operation API (c) 2013-2015 PandoraBox Team
[ 0.076000] SYSCTL maped at address:0xb0000000
[ 0.080000] MEMCTRL maped at address:0xb0000300
[ 0.084000] RFCTRL maped at address:0xb0180000
[ 0.088000] Generic GPIO Driver for Ralink RT3052 Board. (c) 2013-2015 PandoraBox Team
[ 0.092000] RT305X-GPIO0:registering 24 irq handlers
[ 0.096000] RT305X-GPIO1:registering 16 irq handlers
[ 0.100000] RT305X-GPIO2:registering 12 irq handlers
[ 0.104000] MIPS: machine is HuaWei HG255D
[ 0.108000] HG255D:Seems Lintel 's U-boot.
[ 0.112000] ralink_register_flash:NOR Flash.
[ 0.116000] Ralink/MTK PinCtrl registered.
[ 0.120000] Generic PinCtrl Driver for Ralink RT3052 Board. (c) 2013-2015 PandoraBox Team
[ 0.124000] PINCTRL:add 24 pins for RT305X-PINCTRL0.
[ 0.128000] PINCTRL:add 16 pins for RT305X-PINCTRL1.
[ 0.132000] PINCTRL:add 12 pins for RT305X-PINCTRL2.
[ 0.136000] GPIO_MODE_REG:0x5F
[ 0.160000] bio: create slab <bio-0> at 0
[ 0.168000] Switched to clocksource MIPS
[ 0.172000] PandoraBox SPLICE initialized. rcv 81c11000 (sz:384) kvec 81c0a000 (sz:128) per 1 core
[ 0.184000] NET: Registered protocol family 2
[ 0.192000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.200000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.204000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.212000] TCP: reno registered
[ 0.216000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.220000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.228000] NET: Registered protocol family 1
[ 0.232000] Ralink SoC clocks api init.
[ 0.236000] mips hpt frequency:192000000HZ
[ 0.240000] Ralink/MTK APSoC GPIO Resource maped.
[ 0.248000] Load Kernel WDG Timer Module
[ 0.252000] Load Ralink Timer0 Module
[ 0.256000] Ralink DWC_OTG Host register.
[ 0.276000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.312000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.320000] jffs2: version 2.2 (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.332000] msgmni has been set to 56
[ 0.336000] io scheduler noop registered
[ 0.340000] io scheduler deadline registered (default)
[ 0.344000] io scheduler cfq registered
[ 0.348000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[ 0.356000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 37, base_baud = 8000000) is a 16550A
[ 0.364000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 12, base_baud = 8000000) is a 16550A
[ 0.376000] Enable Ralink GDMA Controller Module
[ 0.404000] brd: module loaded
[ 0.412000] physmap platform flash device: 01000000 at bf000000
[ 0.420000] physmap-flash: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x002101
[ 0.428000] Amd/Fujitsu Extended Query Table at 0x0040
[ 0.432000] Amd/Fujitsu Extended Query version 1.3.
[ 0.440000] number of CFI chips: 1
[ 0.444000] Creating 5 MTD partitions on "physmap-flash":
[ 0.448000] 0x000000000000-0x000000040000 : "U-Boot"
[ 0.456000] 0x000000040000-0x000000060000 : "U-Boot-Env"
[ 0.468000] 0x000000060000-0x000000080000 : "Factory"
[ 0.476000] 0x000000000000-0x000001000000 : "fullflash"
[ 0.484000] 0x000000080000-0x000001000000 : "firmware"
[ 0.492000] 3 uimage-fw partitions found on MTD device firmware
[ 0.500000] 0x000000080000-0x00000017a589 : "kernel"
[ 0.504000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.520000] 0x00000017a589-0x000000fc0000 : "rootfs"
[ 0.524000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.540000] mtd: device 6 (rootfs) set to be root filesystem
[ 0.548000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.552000] 0x0000007c0000-0x000000fc0000 : "rootfs_data"
[ 0.560000] 0x000000fc0000-0x000001000000 : "panic_oops"
[ 0.568000] mtdoops: ready 0, 1 (no erase)
[ 0.568000] mtdoops: Attached to MTD device 8
[ 0.588000] rdm_major = 253
[ 0.592000] EEPROM:Read from [Factory] offset 0x28,length 0x6.
[ 0.596000] warning: ra_mtd_read_nm: rdlen is not equal to len. len:0x6 rdlen:0x81c8a182 erasesize:0x20000
[ 0.612000] Ralink APSoC Ethernet Driver v3.2.4 (raeth)
[ 0.616000] raeth: PDMA RX ring 128, PDMA TX ring 512. Max packet size 1536
[ 0.624000] raeth: NAPI & GRO support, weight 32
[ 0.628000] raeth: Byte Queue Limits (BQL) support
[ 0.632000] raeth: GMAC reset
[ 0.640000] rt305x switch driver registered.
[ 0.644000] rt305x-esw default vlans:wllll
[ 0.648000] TCP: cubic registered
[ 0.652000] TCP: westwood registered
[ 0.656000] TCP: hybla registered
[ 0.656000] TCP: htcp registered
[ 0.660000] NET: Registered protocol family 17
[ 0.664000] Bridge firewalling registered
[ 0.668000] 8021q: 802.1Q VLAN Support v1.8
[ 0.676000] PandoraBox Mass Storage accelerater v1.2
[ 0.680000] Generic NVRAM Driver for MediaTek Board. (c) 2013-2015 PandoraBox Team.
[ 0.688000] NVRAM driver (major 252) installed
[ 0.700000] VFS: Mounted root (squashfs filesystem) readonly on device 31:6.
[ 0.708000] Freeing unused kernel memory: 184K (802d2000 - 80300000)
[ 2.128000] init: Console is alive
[ 5.032000] usbcore: registered new interface driver usbfs
[ 5.040000] usbcore: registered new interface driver hub
[ 5.044000] usbcore: registered new device driver usb
[ 5.056000] exFAT: Version 1.2.9
[ 5.116000] ufsd: module license 'Commercial product' taints kernel.
[ 5.124000] Disabling lock debugging due to kernel taint
[ 5.164000] ufsd:: trace mask set to 0000000f
[ 5.168000] ufsd: driver (lke_8.9.0 lke_8.9.0_r217400_b3, LBD=ON, delalloc, ioctl, sd2(1), fua, tr) loaded at 80900000
[ 5.168000] NTFS support included
[ 5.168000] exFAT/TexFAT support included
[ 5.168000] optimized: speed
[ 5.168000] Build_for_PandoraBox_Not_for_release_k2.6.36_2015-09-22_lke_8.9.0_r225793_b93
[ 5.168000]
[ 5.196000] ufsd: exfat can't store dates before Jan 1, 1980. Please update current date
[ 5.212000] PandoraBox Button Driver init
[ 5.216000] Button [reset] mapped to GPIO4 and IRQ65
[ 5.220000] Button [wps] mapped to GPIO10 and IRQ66
[ 5.224000] Button [rfkill] mapped to GPIO0 and IRQ67
[ 5.244000] SCSI subsystem initialized
[ 6.148000] dwc2 dwc2.0: DWC OTG Controller
[ 6.152000] dwc2 dwc2.0: new USB bus registered, assigned bus number 1
[ 6.156000] dwc2 dwc2.0: irq 18, io mem 0x00000000
[ 6.164000] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 6.168000] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 6.176000] usb usb1: Product: DWC OTG Controller
[ 6.180000] usb usb1: Manufacturer: Linux 3.14.79 dwc2_hsotg
[ 6.188000] usb usb1: SerialNumber: dwc2.0
[ 6.192000] hub 1-0:1.0: USB hub found
[ 6.196000] hub 1-0:1.0: 1 port detected
[ 6.216000] usbcore: registered new interface driver usb-storage
[ 6.236000] init: - preinit -
[ 7.040000] random: jshn: uninitialized urandom read (4 bytes read, 120 bits of entropy available)
[ 7.128000] random: jshn: uninitialized urandom read (4 bytes read, 121 bits of entropy available)
[ 7.416000] random: nonblocking pool is initialized
[ 8.396000] raeth: HW IP/TCP/UDP checksum RX/TX offload enabled
[ 8.404000] raeth: HW VLAN TX offload enabled
[ 8.408000] raeth: HW Scatter/Gather TX offload enabled
[ 8.412000] raeth: NAPI mode enabled
[ 8.416000] raeth: NAPI GRO offload enabled
[ 8.420000] raeth: Frame Engine reset
[ 8.424000] raeth: PDMA init
[ 8.428000] raeth: RT305x ESW initializing
[ 8.432000] No PHY detected on MDIO addr 0x1F
[ 8.752000] raeth: port 5 link up (10Mbps/Half duplex)
[ 8.760000] raeth: port 5 link down
[ 8.764000] raeth: port 5 link up (10Mbps/Half duplex)
[ 8.768000] raeth: port 5 link down
[ 10.072000] raeth: port 4 link up (100Mbps/Full duplex)
[ 11.812000] mount_root: loading kmods from internal overlay
[ 11.992000] jffs2: notice: (421) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 12.008000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 12.016000] block: unable to load configuration (fstab: Entry not found)
[ 12.024000] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 12.032000] block: extroot: not configured
[ 12.056000] jffs2: notice: (418) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 12.168000] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab
[ 12.176000] block: unable to load configuration (fstab: Entry not found)
[ 12.180000] block: attempting to load /tmp/jffs_cfg/etc/config/fstab
[ 12.192000] block: extroot: not configured
[ 12.196000] mount_root: switching to jffs2 overlay
[ 12.204000] urandom-seed: Seed file not found (/etc/urandom.seed)
[ 12.312000] raeth: port 4 link down
[ 12.352000] procd: - early -
[ 13.220000] procd: - ubus -
[ 13.744000] procd: - init -
[ 14.736000] NET: Registered protocol family 10
[ 14.784000] tun: Universal TUN/TAP device driver, 1.6
[ 14.788000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 14.816000] gre: GRE over IPv4 demultiplexor driver
[ 14.828000] ip_gre: GRE over IPv4 tunneling driver
[ 14.848000] gpiodev: gpio device registered with major 251
[ 14.876000] nf_conntrack version 0.5.0 (457 buckets, 1828 max)
[ 14.896000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 14.916000] Netfilter messages via NETLINK v0.30.
[ 14.928000] ip_set: protocol 6
[ 15.020000] u32 classifier
[ 15.024000] input device check on
[ 15.028000] Actions configured
[ 15.048000] Mirror/redirect action on
[ 15.060000] PandoraBox IP Bandwidth load.
[ 15.212000]
[ 15.212000]
[ 15.212000] === pAd = c15e2000, size = 1106096 ===
[ 15.212000]
[ 15.220000] <-- RTMPAllocTxRxRingMemory, Status=0
[ 15.228000] <-- RTMPAllocAdapterBlock, Status=0
[ 15.232000] PandoraBox RT2860v2 AP Driver version-2.7.2.0(Dec 29 2016 19:29:24).
[ 15.240000] RT305x_ChipSpecInit: CHIP_SPEC_ID_NUM(3)
[ 15.308000] ip_tables: (C) 2000-2006 Netfilter Core Team, NAT Type:Symmetric Cone
[ 15.444000] usbcore: registered new interface driver ums-alauda
[ 15.452000] usbcore: registered new interface driver ums-cypress
[ 15.476000] usbcore: registered new interface driver ums-datafab
[ 15.488000] usbcore: registered new interface driver ums-freecom
[ 15.500000] usbcore: registered new interface driver ums-isd200
[ 15.512000] usbcore: registered new interface driver ums-jumpshot
[ 15.524000] usbcore: registered new interface driver ums-karma
[ 15.536000] usbcore: registered new interface driver ums-sddr09
[ 15.548000] usbcore: registered new interface driver ums-sddr55
[ 15.560000] usbcore: registered new interface driver ums-usbat
[ 15.652000] xt_time: kernel timezone is -0000
[ 15.716000] PPP generic driver version 2.4.2
[ 15.728000] NET: Registered protocol family 24
[ 28.824000] raeth: HW IP/TCP/UDP checksum RX/TX offload enabled
[ 28.828000] raeth: HW VLAN TX offload enabled
[ 28.836000] raeth: HW Scatter/Gather TX offload enabled
[ 28.840000] raeth: NAPI mode enabled
[ 28.844000] raeth: NAPI GRO offload enabled
[ 28.848000] raeth: Frame Engine reset
[ 28.852000] raeth: PDMA init
[ 28.856000] raeth: RT305x ESW initializing
[ 28.860000] No PHY detected on MDIO addr 0x1F
[ 28.884000] device eth0 entered promiscuous mode
[ 28.892000] device eth0.1 entered promiscuous mode
[ 28.900000] br-lan: port 1(eth0.1) entered forwarding state
[ 28.908000] br-lan: port 1(eth0.1) entered forwarding state
[ 30.392000] raeth: port 4 link up (100Mbps/Full duplex)
[ 30.912000] br-lan: port 1(eth0.1) entered forwarding state
[ 33.356000] RX DESC a0b6a000 size = 2048
[ 33.756000] APCli_WPAPSK_KEY, key string required 8 ~ 64 characters!!!
[ 33.808000] 1. Phy Mode = 9
[ 33.812000] 2. Phy Mode = 9
[ 33.816000] EEPROM:Read from [Factory] offset 0x0,length 0x200.
[ 33.820000] warning: ra_mtd_read_nm: rdlen is not equal to len. len:0x200 rdlen:0x8033bf9c erasesize:0x20000
[ 33.832000] 3. Phy Mode = 9
[ 33.832000] [mAntCfgInit: primary/secondary ant 0/1
[ 33.832000] [mMCS Set = ff ff 00 00 01
[ 33.844000] SYNC - BBP R4 to 20MHz.l
[ 37.036000] raeth: port 5 link up (10Mbps/Half duplex)
[ 37.040000] raeth: port 5 link down
[ 37.756000] raeth: port 5 link up (10Mbps/Half duplex)
[ 37.764000] raeth: port 5 link down
[ 41.516000] ch1 bssid=20:6b:e7:d7:dc:af
[ 41.520000] ch1 bssid=24:69:68:a5:35:14
[ 41.520000] ch1 bssid=20:6b:e7:d7:ee:0d
[ 41.524000] ch1 bssid=00:25:86:7d:6e:7e
[ 41.528000] ch1 bssid=14:75:90:ee:f5:b0
[ 41.532000] ch1 bssid=44:19:b6:7b:98:e1
[ 41.536000] ch6 bssid=88:25:93:5e:4c:02
[ 41.540000] ch6 bssid=7a:e8:7b:36:a8:d0
[ 41.544000] =====================================================
[ 41.552000] Channel 1 : Dirty = 420, False CCA = 36, Busy Time = 0, Skip Channel = FALSE
[ 41.560000] Channel 2 : Dirty = 232, False CCA = 22, Busy Time = 0, Skip Channel = FALSE
[ 41.568000] Channel 3 : Dirty = 216, False CCA = 10, Busy Time = 0, Skip Channel = FALSE
[ 41.576000] Channel 4 : Dirty = 200, False CCA = 24, Busy Time = 0, Skip Channel = FALSE
[ 41.584000] Channel 5 : Dirty = 184, False CCA = 26, Busy Time = 0, Skip Channel = FALSE
[ 41.592000] Channel 6 : Dirty = 140, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
[ 41.600000] Channel 7 : Dirty = 64, False CCA = 44, Busy Time = 0, Skip Channel = FALSE
[ 41.608000] Channel 8 : Dirty = 56, False CCA = 6, Busy Time = 0, Skip Channel = FALSE
[ 41.616000] Channel 9 : Dirty = 48, False CCA = 0, Busy Time = 0, Skip Channel = FALSE
[ 41.624000] Channel 10 : Dirty = 40, False CCA = 33, Busy Time = 0, Skip Channel = FALSE
[ 41.632000] Channel 11 : Dirty = 0, False CCA = 31, Busy Time = 0, Skip Channel = FALSE
[ 41.640000] Channel 12 : Dirty = 0, False CCA = 0, Busy Time = 0, Skip Channel = TRUE
[ 41.648000] Channel 13 : Dirty = 0, False CCA = 17, Busy Time = 0, Skip Channel = TRUE
[ 41.656000] =====================================================
[ 41.664000] Rule 1 CCA value : Min Dirtiness ==> Select Channel 11
[ 41.668000] Min Dirty = 0
[ 41.672000] ExChannel = 7 , 0
[ 41.676000] BW = 40
[ 41.680000] Main bssid = 7a:4d:8e:59:4c:c0
[ 41.684000] <==== rt28xx_init, Status=0
[ 43.400000] device ra0 entered promiscuous mode
[ 43.404000] br-lan: port 2(ra0) entered forwarding state
[ 43.408000] br-lan: port 2(ra0) entered forwarding state
[ 45.412000] br-lan: port 2(ra0) entered forwarding state
[ 46.908000] PandoraBox IP bandwidth unload.
[ 48.112000] PandoraBox IP Bandwidth load.
[ 48.684000] raeth: port 5 link up (10Mbps/Half duplex)
[ 48.704000] raeth: port 5 link down
[ 50.508000] raeth: port 5 link up (10Mbps/Half duplex)
[ 50.520000] raeth: port 5 link down
[ 52.072000] raeth: port 5 link up (10Mbps/Half duplex)
[ 52.080000] raeth: port 5 link down
[ 56.584000] procd: - init complete -
[ 58.560000] raeth: port 5 link up (10Mbps/Half duplex)
[ 58.564000] raeth: port 5 link down
[ 60.720000] raeth: port 5 link up (10Mbps/Half duplex)
[ 60.728000] raeth: port 5 link down
[ 61.488000] raeth: port 5 link up (10Mbps/Half duplex)
[ 61.492000] raeth: port 5 link down
[ 64.480000] raeth: port 5 link up (10Mbps/Half duplex)
[ 64.488000] raeth: port 5 link down
[ 66.696000] raeth: port 5 link up (10Mbps/Half duplex)
[ 66.700000] raeth: port 5 link down
[ 67.832000] raeth: port 5 link up (10Mbps/Half duplex)
[ 67.836000] raeth: port 5 link down
[ 68.328000] raeth: port 5 link up (10Mbps/Half duplex)
[ 68.344000] raeth: port 5 link down
|
|