[FS#1489] After RAMIPS switched to 4.14, every USB device work in USB 1.1 mode

LEDE Bugs lede-bugs at lists.infradead.org
Fri Apr 13 01:55:05 PDT 2018


A new Flyspray task has been opened.  Details are below. 

User who did this - ds_shadof (ds_shadof) 

Attached to Project - OpenWrt/LEDE Project
Summary - After RAMIPS switched to 4.14, every USB device work in USB 1.1 mode
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Critical
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - Supply the following if possible:
 - Device problem occurs on

MT7628AN 

 - Software versions of OpenWrt/LEDE release, packages, etc.

Latest trunk

 - Steps to reproduce

Just plug any USB device and thee the bug

Here is dmesg 4.14 and my USB flash DRIVE test


[    0.000000] Linux version 4.14.32 (quik at kvm-server) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6469-5862f01)) #0 Fri Apr 13 04:01:16 2018
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[    0.000000] MIPS: machine is TP-Link TL-WR841N v13
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 8043a8a0, node_mem_map 81000040
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 pages, LIFO batch:3
[    0.000000] random: get_random_bytes called from start_kernel+0x8c/0x474 with crng_init=0
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    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] Writing ErrCtl register=00008000
[    0.000000] Readback ErrCtl register=00008000
[    0.000000] Memory: 60120K/65536K available (3354K kernel code, 165K rwdata, 812K rodata, 204K init, 208K bss, 5416K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] intc: using register map from devicetree
[    0.000000] CPU Clock: 580MHz
[    0.000000] timer_probe: no matching timers found
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.007538] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.073492] pid_max: default: 32768 minimum: 301
[    0.078176] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.084520] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.096954] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.106438] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.112390] pinctrl core: initialized pinctrl subsystem
[    0.117961] NET: Registered protocol family 16
[    0.137549] random: fast init done
[    0.147377] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.153021] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.158568] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.167733] clocksource: Switched to clocksource MIPS
[    0.173754] NET: Registered protocol family 2
[    0.178848] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.185538] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.191718] TCP: Hash tables configured (established 1024 bind 1024)
[    0.197965] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.203565] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.209905] NET: Registered protocol family 1
[    0.214079] PCI: CLS 0 bytes, default 32
[    0.217004] Crashlog allocated RAM at address 0x3f00000
[    0.223330] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.235178] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.240795] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.258339] io scheduler noop registered
[    0.262070] io scheduler deadline registered (default)
[    0.268009] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.275264] console [ttyS0] disabled
[    0.278754] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[    0.287460] console [ttyS0] enabled
[    0.294487] bootconsole [early0] disabled
[    0.303114] cacheinfo: Failed to find cpu0 device node
[    0.308364] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.315253] spi-mt7621 10000b00.spi: sys_freq: 193333333
[    0.334995] m25p80 spi0.0: w25q128 (16384 Kbytes)
[    0.339825] 3 fixed-partitions partitions found on MTD device spi0.0
[    0.346264] Creating 3 MTD partitions on "spi0.0":
[    0.351138] 0x000000000000-0x000000020000 : "boot"
[    0.356912] 0x000000020000-0x000000fd0000 : "firmware"
[    0.470395] 2 tplink-fw partitions found on MTD device firmware
[    0.476423] 0x000000020000-0x00000018384e : "kernel"
[    0.482395] 0x000000183850-0x000000fd0000 : "rootfs"
[    0.488299] mtd: device 3 (rootfs) set to be root filesystem
[    0.495292] 1 squashfs-split partitions found on MTD device rootfs
[    0.501639] 0x0000004d0000-0x000000fd0000 : "rootfs_data"
[    0.508089] 0x000000fb0000-0x000000fe0000 : "factory"
[    0.514764] libphy: Fixed MDIO Bus: probed
[    0.529764] rt3050-esw 10110000.esw: link changed 0x00
[    0.535880] mtk_soc_eth 10100000.ethernet: generated random MAC address a6:fe:81:41:6a:4c
[    0.544936] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    0.555126] NET: Registered protocol family 10
[    0.563314] Segment Routing with IPv6
[    0.567159] NET: Registered protocol family 17
[    0.571786] 8021q: 802.1Q VLAN Support v1.8
[    0.588086] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    0.596346] Freeing unused kernel memory: 204K
[    0.600894] This architecture does not have kernel memory protection.
[    1.792836] init: Console is alive
[    1.796527] init: - watchdog -
[    3.840155] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.999717] usbcore: registered new interface driver usbfs
[    4.005370] usbcore: registered new interface driver hub
[    4.010946] usbcore: registered new device driver usb
[    4.022119] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.037815] SCSI subsystem initialized
[    4.046865] ehci-platform: EHCI generic platform driver
[    4.062521] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
[    4.069332] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
[    4.074643] ehci-platform 101c0000.ehci: EHCI Host Controller
[    4.080516] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    4.088692] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    4.117778] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    4.125094] hub 1-0:1.0: USB hub found
[    4.129382] hub 1-0:1.0: 1 port detected
[    4.136665] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.144717] ohci-platform: OHCI generic platform driver
[    4.150353] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    4.157287] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    4.165426] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    4.242806] hub 2-0:1.0: USB hub found
[    4.246951] hub 2-0:1.0: 1 port detected
[    4.260472] usbcore: registered new interface driver usb-storage
[    4.267276] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.277241] init: - preinit -
[    5.217775] usb 2-1: new full-speed USB device number 2 using ohci-platform
[    5.590860] usb 2-1: not running at top speed; connect to a high speed hub
[    5.609181] hub 2-1:1.0: USB hub found
[    5.615021] hub 2-1:1.0: 4 ports detected
[    5.817345] rt3050-esw 10110000.esw: link changed 0x00
[    8.797533] rt3050-esw 10110000.esw: link changed 0x01
[    9.338791] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[    9.346172] jffs2_build_filesystem(): unlocking the mtd device...
[    9.346201] done.
[    9.354424] jffs2_build_filesystem(): erasing all blocks after the end marker...
[    9.485272] rt3050-esw 10110000.esw: link changed 0x09
[   53.066825] done.
[   53.068874] jffs2: notice: (365) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   53.086209] mount_root: overlay filesystem has not been fully initialized yet
[   53.115967] mount_root: switching to jffs2 overlay
[   53.159975] overlayfs: upper fs does not support tmpfile.
[   53.792443] urandom-seed: Seed file not found (/etc/urandom.seed)
[   53.989504] procd: - early -
[   53.992528] procd: - watchdog -
[   54.657899] procd: - watchdog -
[   54.661364] procd: - ubus -
[   54.817990] procd: - init -
[   55.301904] kmodloader: loading kernel modules from /etc/modules.d/*
[   55.311905] tun: Universal TUN/TAP device driver, 1.6
[   55.323220] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   55.339884] Netfilter messages via NETLINK v0.30.
[   55.347973] ip_set: protocol 6
[   55.390207] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   55.398394] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   55.409044] ip_tables: (C) 2000-2006 Netfilter Core Team
[   55.427654] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   55.536157] xt_time: kernel timezone is -0000
[   55.543350] usbcore: registered new interface driver cdc_ether
[   55.622977] mt76_wmac 10300000.wmac: ASIC revision: 76280001
[   55.633885] mt76_wmac 10300000.wmac: Firmware Version: _e2_mp
[   55.639813] mt76_wmac 10300000.wmac: Build Time: 20150211175503
[   55.657728] firmware init done
[   55.827497] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   55.858385] PPP generic driver version 2.4.2
[   55.874572] NET: Registered protocol family 24
[   55.948018] kmodloader: done loading kernel modules from /etc/modules.d/*
[   61.663867] rt3050-esw 10110000.esw: link changed 0x00
[   64.673763] rt3050-esw 10110000.esw: link changed 0x01
[   65.164903] rt3050-esw 10110000.esw: link changed 0x09
[   67.807007] device eth0 entered promiscuous mode
[   67.819022] br-lan: port 1(eth0.1) entered blocking state
[   67.824511] br-lan: port 1(eth0.1) entered disabled state
[   67.830594] device eth0.1 entered promiscuous mode
[   67.848428] br-lan: port 1(eth0.1) entered blocking state
[   67.853919] br-lan: port 1(eth0.1) entered forwarding state
[   67.859825] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   69.218180] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   73.241243] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   73.311058] br-lan: port 2(wlan0) entered blocking state
[   73.316462] br-lan: port 2(wlan0) entered disabled state
[   73.322307] device wlan0 entered promiscuous mode
[   75.022410] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   75.029122] br-lan: port 2(wlan0) entered blocking state
[   75.034516] br-lan: port 2(wlan0) entered forwarding state
[   98.820650] random: crng init done
[  235.539053] usb 2-1: USB disconnect, device number 2
[  245.460464] usb 2-1: new full-speed USB device number 3 using ohci-platform
[  245.763844] usb 2-1: not running at top speed; connect to a high speed hub
[  245.842275] usb-storage 2-1:1.0: USB Mass Storage device detected
[  245.860562] scsi host0: usb-storage 2-1:1.0
[  246.886973] scsi 0:0:0:0: Direct-Access     JetFlash TS256MJF2A       1.00 PQ: 0 ANSI: 2
[  246.920906] sd 0:0:0:0: [sda] 512000 512-byte logical blocks: (262 MB/250 MiB)
[  246.932910] sd 0:0:0:0: [sda] Write Protect is off
[  246.937918] sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08
[  246.942921] sd 0:0:0:0: [sda] No Caching mode page found
[  246.948338] sd 0:0:0:0: [sda] Assuming drive cache: write through
[  247.004045]  sda: sda1 sda2
[  247.007099] sda: p2 size 524288 extends beyond EOD, enabling native capacity
[  247.049035]  sda: sda1 sda2
[  247.052136] sda: p2 size 524288 extends beyond EOD, truncated
[  247.088894] sd 0:0:0:0: [sda] Attached SCSI removable disk

root at OpenWrt:~# /usr/bin/dd if=/dev/sda of=/dev/null
512000+0 records in
512000+0 records out
262144000 bytes (262 MB) copied, 275.923 s, 950 kB/s


Here is revert to 804952e
dmesg and some tests


root at OpenWrt:~# dmesg
[    0.000000] Linux version 4.9.91 (quik at kvm-server) (gcc version 7.3.0 (OpenWrt GCC 7.3.0 r6469-5862f01) ) #0 Fri Apr 6 16:07:43 2018
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[    0.000000] MIPS: machine is TP-Link TL-WR841N v13
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 04000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] On node 0 totalpages: 16384
[    0.000000] free_area_init_node: node 0, pgdat 803eed64, node_mem_map 81000020
[    0.000000]   Normal zone: 128 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 16384 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: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    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] Writing ErrCtl register=00008000
[    0.000000] Readback ErrCtl register=00008000
[    0.000000] Memory: 60440K/65536K available (3121K kernel code, 158K rwdata, 752K rodata, 184K init, 209K bss, 5096K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] intc: using register map from devicetree
[    0.000000] CPU Clock: 580MHz
[    0.000000] clocksource_probe: no matching clocksources found
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000012] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.007530] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.070056] pid_max: default: 32768 minimum: 301
[    0.074639] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.080980] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.094244] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.103734] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.109657] pinctrl core: initialized pinctrl subsystem
[    0.115327] NET: Registered protocol family 16
[    0.140406] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.146114] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.151661] mt7621_gpio 10000600.gpio: registering 32 gpios
[    0.160869] clocksource: Switched to clocksource MIPS
[    0.166887] NET: Registered protocol family 2
[    0.172047] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[    0.178740] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.184920] TCP: Hash tables configured (established 1024 bind 1024)
[    0.191120] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.196718] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.203056] NET: Registered protocol family 1
[    0.207232] PCI: CLS 0 bytes, default 32
[    0.210221] Crashlog allocated RAM at address 0x3f00000
[    0.216483] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.230609] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.236225] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.254649] io scheduler noop registered
[    0.258380] io scheduler deadline registered (default)
[    0.264226] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.271548] console [ttyS0] disabled
[    0.274979] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[    0.283754] console [ttyS0] enabled
[    0.290734] bootconsole [early0] disabled
[    0.300019] spi-mt7621 10000b00.spi: sys_freq: 193333333
[    0.319641] m25p80 spi32766.0: using chunked io (size=32)
[    0.325165] m25p80 spi32766.0: w25q128 (16384 Kbytes)
[    0.330320] 3 fixed-partitions partitions found on MTD device spi32766.0
[    0.337127] Creating 3 MTD partitions on "spi32766.0":
[    0.342374] 0x000000000000-0x000000020000 : "boot"
[    0.348886] 0x000000020000-0x000000fd0000 : "firmware"
[    0.453312] 2 tplink-fw partitions found on MTD device firmware
[    0.459339] 0x000000020000-0x00000016c98c : "kernel"
[    0.465997] 0x00000016c98c-0x000000fd0000 : "rootfs"
[    0.472889] mtd: device 3 (rootfs) set to be root filesystem
[    0.479171] 1 squashfs-split partitions found on MTD device rootfs
[    0.485518] 0x0000004c0000-0x000000fd0000 : "rootfs_data"
[    0.492638] 0x000000fb0000-0x000000fe0000 : "factory"
[    0.500221] libphy: Fixed MDIO Bus: probed
[    0.514362] rt3050-esw 10110000.esw: link changed 0x00
[    0.520306] mtk_soc_eth 10100000.ethernet: generated random MAC address 0a:49:da:dd:b3:f5
[    0.529492] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    0.539462] NET: Registered protocol family 10
[    0.547152] NET: Registered protocol family 17
[    0.551795] 8021q: 802.1Q VLAN Support v1.8
[    0.567691] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    0.575910] Freeing unused kernel memory: 184K
[    0.580415] This architecture does not have kernel memory protection.
[    1.745645] init: Console is alive
[    1.749335] init: - watchdog -
[    2.250879] random: fast init done
[    3.736086] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.892305] usbcore: registered new interface driver usbfs
[    3.897966] usbcore: registered new interface driver hub
[    3.903545] usbcore: registered new device driver usb
[    3.914570] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.930154] SCSI subsystem initialized
[    3.939146] ehci-platform: EHCI generic platform driver
[    3.954793] phy phy-10120000.usbphy.0: remote usb device wakeup disabled
[    3.961607] phy phy-10120000.usbphy.0: UTMI 16bit 30MHz
[    3.966935] ehci-platform 101c0000.ehci: EHCI Host Controller
[    3.972810] ehci-platform 101c0000.ehci: new USB bus registered, assigned bus number 1
[    3.980974] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    4.010921] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    4.018398] hub 1-0:1.0: USB hub found
[    4.022613] hub 1-0:1.0: 1 port detected
[    4.029833] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    4.037641] ohci-platform: OHCI generic platform driver
[    4.043266] ohci-platform 101c1000.ohci: Generic Platform OHCI controller
[    4.050180] ohci-platform 101c1000.ohci: new USB bus registered, assigned bus number 2
[    4.058340] ohci-platform 101c1000.ohci: irq 26, io mem 0x101c1000
[    4.136009] hub 2-0:1.0: USB hub found
[    4.140162] hub 2-0:1.0: 1 port detected
[    4.152917] usbcore: registered new interface driver usb-storage
[    4.159728] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.169693] init: - preinit -
[    4.942141] usb 1-1: new high-speed USB device number 2 using ehci-platform
[    5.381859] usb-storage 1-1:1.0: USB Mass Storage device detected
[    5.396860] scsi host0: usb-storage 1-1:1.0
[    5.675197] rt3050-esw 10110000.esw: link changed 0x00
[    6.423292] scsi 0:0:0:0: Direct-Access     JetFlash TS256MJF2A       1.00 PQ: 0 ANSI: 2
[    6.440005] sd 0:0:0:0: [sda] 512000 512-byte logical blocks: (262 MB/250 MiB)
[    6.448321] sd 0:0:0:0: [sda] Write Protect is off
[    6.453260] sd 0:0:0:0: [sda] Mode Sense: 0b 00 00 08
[    6.454073] sd 0:0:0:0: [sda] No Caching mode page found
[    6.459495] sd 0:0:0:0: [sda] Assuming drive cache: write through
[    6.476979]  sda: sda1 sda2
[    6.480064] sda: p2 size 524288 extends beyond EOD, enabling native capacity
[    6.497481]  sda: sda1 sda2
[    6.500524] sda: p2 size 524288 extends beyond EOD, truncated
[    6.516326] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    8.950300] rt3050-esw 10110000.esw: link changed 0x01
[    9.130141] rt3050-esw 10110000.esw: link changed 0x09
[    9.194634] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[    9.202028] jffs2_build_filesystem(): unlocking the mtd device...
[    9.208146] done.
[    9.210099] jffs2_build_filesystem(): erasing all blocks after the end marker...
[   51.850736] done.
[   51.852773] jffs2: notice: (365) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   51.870237] mount_root: overlay filesystem has not been fully initialized yet
[   51.898358] mount_root: switching to jffs2 overlay
[   52.569791] urandom-seed: Seed file not found (/etc/urandom.seed)
[   52.760928] procd: - early -
[   52.764683] procd: - watchdog -
[   53.433083] procd: - watchdog -
[   53.436548] procd: - ubus -
[   53.588823] procd: - init -
[   54.067274] kmodloader: loading kernel modules from /etc/modules.d/*
[   54.076985] tun: Universal TUN/TAP device driver, 1.6
[   54.082168] tun: (C) 1999-2004 Max Krasnyansky 
[   54.094250] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   54.110697] Netfilter messages via NETLINK v0.30.
[   54.118843] ip_set: protocol 6
[   54.160553] Loading modules backported from Linux version wt-2017-11-01-0-gfe248fc2c180
[   54.168744] Backport generated by backports.git v4.14-rc2-1-31-g86cf0e5d
[   54.179319] ip_tables: (C) 2000-2006 Netfilter Core Team
[   54.197446] nf_conntrack version 0.5.0 (1024 buckets, 4096 max)
[   54.304380] xt_time: kernel timezone is -0000
[   54.311561] usbcore: registered new interface driver cdc_ether
[   54.390100] mt76_wmac 10300000.wmac: ASIC revision: 76280001
[   54.400797] mt76_wmac 10300000.wmac: Firmware Version: _e2_mp
[   54.406709] mt76_wmac 10300000.wmac: Build Time: 20150211175503
[   54.430874] firmware init done
[   54.601787] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   54.631464] PPP generic driver version 2.4.2
[   54.647713] NET: Registered protocol family 24
[   54.722231] kmodloader: done loading kernel modules from /etc/modules.d/*
[   60.437090] rt3050-esw 10110000.esw: link changed 0x00
[   63.446980] rt3050-esw 10110000.esw: link changed 0x01
[   63.921748] rt3050-esw 10110000.esw: link changed 0x09
[   66.574989] device eth0 entered promiscuous mode
[   66.589934] br-lan: port 1(eth0.1) entered blocking state
[   66.595662] br-lan: port 1(eth0.1) entered disabled state
[   66.601645] device eth0.1 entered promiscuous mode
[   66.622035] br-lan: port 1(eth0.1) entered blocking state
[   66.627527] br-lan: port 1(eth0.1) entered forwarding state
[   66.633427] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   67.994587] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   71.321878] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   71.335250] br-lan: port 2(wlan0) entered blocking state
[   71.340653] br-lan: port 2(wlan0) entered disabled state
[   71.346629] device wlan0 entered promiscuous mode
[   72.649783] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   72.656484] br-lan: port 2(wlan0) entered blocking state
[   72.661907] br-lan: port 2(wlan0) entered forwarding state
[   92.400519] random: crng init done

root at OpenWrt:~# /usr/bin/dd if=/dev/sda of=/dev/null
512000+0 records in
512000+0 records out
262144000 bytes (262 MB) copied, 32.7958 s, 8.0 MB/s




More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=1489



More information about the lede-bugs mailing list