#22956: Unable to mount root(overlay) on ar71xx/NETGEAR/WNR2200 ----------------------------------+--------------------------------------- Reporter: shamsiev_marat@… | Owner: developers Type: defect | Status: new Priority: high | Milestone: Designated Driver (Trunk) Component: kernel | Version: Trunk Keywords: wnr2200 overlay boot | ----------------------------------+--------------------------------------- The current trunk (28.07.2016) has usb support, led indicators, its good. But there is no support overlay root mount. I found the solution on EQUK'S BLOG https://equk.co.uk/2015/07/13/netgear-wnr2200-openwrt-usb-support/. I build the firmware to its with '''target\linux\ar71xx\base- files\lib\preinit\83_load_ath9k_mod''' script, everything works well.
Before: [ 0.000000] Linux version 4.4.14 (thepeople@trabant) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 49832) ) #1 Wed Jul 20 20:54:26 UTC 2016 [ 0.000000] MyLoader: sysp=ffffffff, boardp=ffffffff, parts=ffffffff [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc) [ 0.000000] SoC: Atheros AR7241 rev 1 .... [ 5.169651] hub 1-0:1.0: USB hub found [ 5.173938] hub 1-0:1.0: 1 port detected [ 5.182501] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 5.190840] ohci-platform: OHCI generic platform driver [ 5.199495] init: - preinit - [ 6.095024] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 8.193122] eth1: link up (1000Mbps/Full duplex) [ 8.197819] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 9.302407] mount_root: Could not open mtd device: /dev/mtd4 [ 9.308214] mount_root: reading rootfs failed [ 9.378415] jffs2: notice: (380) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. [ 9.402939] mount_root: loading kmods from internal overlay [ 9.712982] random: procd urandom read with 16 bits of entropy available [ 10.212125] SCSI subsystem initialized [ 10.269879] usbcore: registered new interface driver usb-storage '''[ 10.607451] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 10.620235] block: extroot: device not present, retrying in 5 seconds [ 15.629818] block: extroot: cannot find device with UUID efbf4a2e-3849-4e63-82b8-4d220e90c0a9 [ 15.639743] mount_root: switching to jffs2 overlay '''[ 15.690659] eth1: link down ... [ 19.409102] usb 1-1: new high-speed USB device number 2 using ehci- platform [ 19.636844] usb-storage 1-1:1.0: USB Mass Storage device detected [ 19.658325] scsi host0: usb-storage 1-1:1.0 [ 20.767286] scsi 0:0:0:0: Direct-Access JetFlash TS1GJF160 0.00 PQ: 0 ANSI: 2 [ 20.780417] sd 0:0:0:0: [sda] 2047999 512-byte logical blocks: (1.05 GB/1000 MiB) [ 20.797183] sd 0:0:0:0: [sda] Write Protect is off [ 20.802151] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00 [ 20.812064] sd 0:0:0:0: [sda] Asking for cache data failed [ 20.817642] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 20.922853] sda: sda1 [ 20.944798] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 29.537212] device eth1 entered promiscuous mode After: [ 0.000000] Linux version 4.4.14 (marat@ubuntu-server) (gcc version 5.3.0 (OpenWrt GCC 5.3.0 49876) ) #4 Thu Jul 28 08:37:05 UTC 2016 [ 0.000000] MyLoader: sysp=ff6fffff, boardp=dfffffff, parts=ffffffff [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 00019374 (MIPS 24Kc) [ 0.000000] SoC: Atheros AR7241 rev 1 ... [ 6.278316] init: - preinit - [ 6.557755] Loading modules backported from Linux version wt-2016-05-12-0-g7a54796 [ 6.565447] Backport generated by backports.git backports-20160216-0-ge3c56e4 [ 6.837953] PCI: Enabling device 0000:00:00.0 (0000 -> 0002) [ 6.848962] ath: phy0: Ignoring endianness difference in EEPROM magic bytes. [ 6.856164] ath: phy0: eeprom contains invalid mac address: ff:ff:ff:ff:ff:ff [ 6.863377] ath: phy0: random mac address will be used: 4e:51:32:11:58:0f [ 6.871691] ath: EEPROM regdomain: 0x0 [ 6.871709] ath: EEPROM indicates default country code should be used [ 6.871724] ath: doing EEPROM country->regdmn map search [ 6.871753] ath: country maps to regdmn code: 0x3a [ 6.871770] ath: Country alpha2 being used: US [ 6.871785] ath: Regpair used: 0x3a [ 6.886765] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 6.893207] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xb0000000, irq=40 [ 6.902003] random: procd urandom read with 11 bits of entropy available [ 7.283263] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 8.090197] usb 1-1: new high-speed USB device number 2 using ehci- platform [ 8.243759] usb-storage 1-1:1.0: USB Mass Storage device detected [ 8.251122] scsi host0: usb-storage 1-1:1.0 [ 9.251961] scsi 0:0:0:0: Direct-Access JetFlash TS1GJF160 0.00 PQ: 0 ANSI: 2 [ 9.263982] sd 0:0:0:0: [sda] 2047999 512-byte logical blocks: (1.05 GB/1000 MiB) [ 9.272324] sd 0:0:0:0: [sda] Write Protect is off [ 9.277176] sd 0:0:0:0: [sda] Mode Sense: 00 00 00 00 [ 9.277673] sd 0:0:0:0: [sda] Asking for cache data failed [ 9.283294] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 9.350567] sda: sda1 [ 9.357438] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 9.381374] eth1: link up (1000Mbps/Full duplex) [ 9.386104] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready [ 10.616415] mount_root: Could not open mtd device: /dev/mtd4 [ 10.622430] mount_root: reading rootfs failed [ 10.628250] mount_root: loading kmods from internal overlay [ 11.026381] jffs2: notice: (425) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. '''[ 11.042749] block: attempting to load /tmp/jffs_cfg/upper/etc/config/fstab [ 11.133998] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: [ 11.155073] mount_root: switched to extroot ''' -- Ticket URL: <https://dev.openwrt.org/ticket/22956> OpenWrt <http://openwrt.org> Opensource Wireless Router Technology _______________________________________________ openwrt-tickets mailing list openwrt-tickets@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets