problem during the installation

Posted by Artos 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Now, this forum is in read-only mode. You find details Details hereContinue on /r/PirateBox
problem during the installation
April 02, 2016 03:17PM
Hi,
i have a problem with the MR3020 and piratebox.
i found the mr3020 on 169.254.7.74 and i can ping it.
i can see the ssid "PirateBox Share Freely" but i can't use piratebox

someone can help me ? what did I do wrong ?
thanks

this is what i obtain throught the serial port during the boot.


U-Boot 1.1.4 (Aug 17 2012 - 15:21:03)

AP121 (ar9330) U-boot

DRAM:  32 MB
led turning on for 1s...
id read 0x100000ff
flash size 4194304, sector count = 64
Flash:  4 MB
Using default environment

In:    serial
Out:   serial
Err:   serial
Net:   ag7240_enet_initialize...
No valid address in Flash. Using fixed address
No valid address in Flash. Using fixed address
: cfg1 0x5 cfg2 0x7114
eth0: 00:03:7f:09:0b:ad
ag7240_phy_setup
eth0 up
: cfg1 0xf cfg2 0x7214
eth1: 00:03:7f:09:0b:ad
athrs26_reg_init_lan
ATHRS26: resetting s26
ATHRS26: s26 reset done
ag7240_phy_setup
eth1 up
eth0, eth1
Autobooting in 1 seconds
## Booting image at 9f020000 ...
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.3.8 (strubel@compute) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #2 Mon Feb 1 20:10:10 CET 2016
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[    0.000000] SoC: Atheros AR9330 rev 1
[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone PFN ranges:
[    0.000000]   Normal   0x00000000 -> 0x00002000
[    0.000000] Movable zone start PFN for each node
[    0.000000] Early memory PFN ranges
[    0.000000]     0: 0x00000000 -> 0x00002000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  board=TL-MR3020 console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
[    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] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Memory: 28964k/32768k available (2241k kernel code, 3804k reserved, 420k data, 216k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:51
[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[    0.080000] pid_max: default: 32768 minimum: 301
[    0.080000] Mount-cache hash table entries: 512
[    0.090000] NET: Registered protocol family 16
[    0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
[    0.100000] MIPS: machine is TP-LINK TL-MR3020
[    0.350000] bio: create slab <bio-0> at 0
[    0.360000] Switching to clocksource MIPS
[    0.360000] NET: Registered protocol family 2
[    0.370000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.370000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.370000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.380000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.390000] TCP reno registered
[    0.390000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.400000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.400000] NET: Registered protocol family 1
[    0.420000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.430000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.440000] msgmni has been set to 56
[    0.440000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
[    0.450000] io scheduler noop registered
[    0.450000] io scheduler deadline registered (default)
[    0.460000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.470000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[    0.480000] console [ttyATH0] enabled, bootconsole disabled
[    0.480000] console [ttyATH0] enabled, bootconsole disabled
[    0.490000] m25p80 spi0.0: found s25sl032a, expected m25p80
[    0.490000] m25p80 spi0.0: s25sl032a (4096 Kbytes)
[    0.500000] 5 tp-link partitions found on MTD device spi0.0
[    0.500000] Creating 5 MTD partitions on "spi0.0":
[    0.510000] 0x000000000000-0x000000020000 : "u-boot"
[    0.520000] 0x000000020000-0x00000010d124 : "kernel"
[    0.520000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.530000] 0x00000010d124-0x0000003f0000 : "rootfs"
[    0.540000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[    0.550000] mtd: partition "rootfs" set to be root filesystem
[    0.560000] mtd: partition "rootfs_data" created automatically, ofs=310000, len=E0000
[    0.560000] 0x000000310000-0x0000003f0000 : "rootfs_data"
[    0.570000] 0x0000003f0000-0x000000400000 : "art"
[    0.580000] 0x000000020000-0x0000003f0000 : "firmware"
[    0.600000] ag71xx_mdio: probed
[    0.610000] eth0: Atheros AG71xx at 0xb9000000, irq 4
[    1.160000] ag71xx ag71xx.0: eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[    1.170000] TCP cubic registered
[    1.170000] NET: Registered protocol family 17
[    1.170000] Bridge firewalling registered
[    1.180000] 8021q: 802.1Q VLAN Support v1.8
[    1.190000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[    1.200000] Freeing unused kernel memory: 216k freed
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
[    6.880000] JFFS2 notice: (441) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 12 of xref (0 dead, 2 orphan) found.
[    7.640000] SCSI subsystem initialized
[    7.770000] usbcore: registered new interface driver usbfs
[    7.770000] usbcore: registered new interface driver hub
[    7.780000] usbcore: registered new device driver usb
[    8.170000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    8.170000] ehci-platform ehci-platform: Generic Platform EHCI Controller
[    8.180000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[    8.220000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[    8.240000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[    8.240000] hub 1-0:1.0: USB hub found
[    8.240000] hub 1-0:1.0: 1 port detected
[    8.270000] Initializing USB Mass Storage driver...
[    8.270000] usbcore: registered new interface driver usb-storage
[    8.280000] USB Mass Storage support registered.
[    8.570000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[   19.110000] usb 1-1: device not accepting address 2, error -71
[   19.230000] usb 1-1: new high-speed USB device number 3 using ehci-platform
switching to jffs2
- init -

Please press Enter to activate this console. [   29.300000] Loading modules backported from Linux version master-2014-05-22-0-gf2032ea
[   29.310000] Backport generated by backports.git backports-20140320-37-g5c33da0
[   29.490000] cfg80211: Calling CRDA to update world regulatory domain
[   29.490000] cfg80211: World regulatory domain updated:
[   29.500000] cfg80211:  DFS Master region: unset
[   29.500000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   29.510000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   29.520000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   29.530000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   29.530000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   29.540000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   29.550000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   29.780000] usb 1-1: device not accepting address 3, error -71
[   29.840000] NET: Registered protocol family 10
[   29.900000] usb 1-1: new high-speed USB device number 4 using ehci-platform
[   30.910000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[   30.920000] cfg80211: Calling CRDA for country: US
[   30.920000] cfg80211: Regulatory domain changed to country: US
[   30.930000] cfg80211:  DFS Master region: FCC
[   30.930000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   30.940000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
[   30.950000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 1700 mBm), (N/A)
[   30.960000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2300 mBm), (0 s)
[   30.970000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
[   30.970000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   31.430000] loop: module loaded
[   31.480000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   31.660000] nf_conntrack version 0.5.0 (455 buckets, 1820 max)
[   31.890000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   32.170000] batman_adv: B.A.T.M.A.N. advanced 2013.4.0 (compatibility version 14) loaded
[   35.660000] usb 1-1: device not accepting address 4, error -71
[   35.910000] usb 1-1: new high-speed USB device number 5 using ehci-platform
[   36.540000] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   36.540000] device eth0 entered promiscuous mode
[   36.560000] ADDRCONF(NETDEV_UP): br-lan: link is not ready
[   41.340000] usb 1-1: device not accepting address 5, error -71
[   41.340000] hub 1-0:1.0: unable to enumerate USB device on port 1
[   43.360000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   43.360000] device wlan0 entered promiscuous mode
[   43.380000] br-lan: port 2(wlan0) entered forwarding state
[   43.390000] br-lan: port 2(wlan0) entered forwarding state
[   43.390000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[   43.410000] ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   45.390000] br-lan: port 2(wlan0) entered forwarding state

Re: problem during the installation
April 03, 2016 04:55PM
Quote
Artos
Language: HTML
[ 0.520000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.530000] 0x00000010d124-0x0000003f0000 : "rootfs" [ 0.540000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
and
Language: HTML
[ 19.110000] usb 1-1: device not accepting address 2, error -71

Might be your problem areas. Looks like its not initializing the thumb drive. Someone with more experience with the MR3020 might chime in. Lack of power to the hub maybe?


PirateBox Installs:
2x Zsun's (both testing, one with serial interface)
A5-V11 (mostly for OpenWRT testing DIY)
2x RPi Zero's
(one active in car 24/7, gets a lot of hits at Walmart, movie theaters and the mall)
2x RPi3's (both home servers, one Ubuntu custom install along side a ton of other services)
1x RPi2 (currently work server)



Edited 2 time(s). Last edit at 04/03/2016 04:59PM by TheExpertNoob.
Re: problem during the installation
April 06, 2016 06:28PM
Yes, the USB stick is not recognized anymore.
This is the reason why you don't get a proper IP adress by your device. 169.xxx is an APIPA address, which windows gives away if no DHCP server is available.

best regards
Matthias