[FS#514] Any files copied to flash gone after reboot17.01.0-rc2 x86-geode-combined-squashfs.img

LEDE Bugs lede-bugs at lists.infradead.org
Wed Feb 15 03:14:51 PST 2017


The following task has a new comment added:

FS#514 - Any files copied to flash gone after reboot17.01.0-rc2 x86-geode-combined-squashfs.img
User who did this - Rob White (bluewavenet)

----------
Hi Jo-Phillipp
Here is the output as requested. Prior to this I had installed sftp and copied folders/files to /www
After this reboot sftp no longer installed and the copied folders/files missing.

   \  DE    \  /    Reboot (17.01.0-rc2, r3131-42f3c1f)
    \________\/    -----------------------------------------------------------

root at LEDE:~# mount
/dev/root on /rom type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
/dev/loop0 on /overlay type f2fs (rw,noatime,background_gc=on,user_xattr,inline_data,extent_cache,active_logs=6)
overlayfs:/overlay on / type overlay (rw,noatime,lowerdir=/,upperdir=/overlay/upper,workdir=/overlay/work)
tmpfs on /dev type tmpfs (rw,nosuid,relatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,mode=600)
debugfs on /sys/kernel/debug type debugfs (rw,noatime)
root at LEDE:~# dmesg
[    0.000000] Linux version 4.4.47 (buildbot at builds-02.infra.lede-project.org) (gcc version 5.4.0 (LEDE GCC 5.4.0 r3103-1b51a49) ) #0 Tue Feb 7 08:32:47 2017
[    0.000000] x86/fpu: Legacy x87 FPU detected.
[    0.000000] x86/fpu: Using 'lazy' FPU context switches.
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000f0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000000fffffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000fff00000-0x00000000ffffffff] reserved
[    0.000000] Notice: NX (Execute Disable) protection missing in CPU!
[    0.000000] DMI not present or invalid.
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x10000 max_arch_pfn = 0x100000
[    0.000000] MTRR: Disabled
[    0.000000] x86/PAT: MTRRs disabled, skipping PAT initialization too.
[    0.000000] x86/PAT: Configuration [0-7]: WB  WT  UC- UC  WB  WT  UC- UC  
[    0.000000] initial memory mapped: [mem 0x00000000-0x017fffff]
[    0.000000] Base memory trampoline at [c009b000] 9b000 size 16384
[    0.000000] 256MB LOWMEM available.
[    0.000000]   mapped low ram: 0 - 10000000
[    0.000000]   low ram: 0 - 10000000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   Normal   [mem 0x0000000001000000-0x000000000fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x000000000fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000000fffffff]
[    0.000000] On node 0 totalpages: 65439
[    0.000000] free_area_init_node: node 0, pgdat c143c6a0, node_mem_map cfe00020
[    0.000000]   DMA zone: 32 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 3999 pages, LIFO batch:0
[    0.000000]   Normal zone: 480 pages used for memmap
[    0.000000]   Normal zone: 61440 pages, LIFO batch:15
[    0.000000] Using APIC driver default
[    0.000000] No local APIC present or hardware disabled
[    0.000000] APIC: disable apic facility
[    0.000000] APIC: switched to apic NOOP
[    0.000000] e820: [mem 0x10000000-0xffefffff] available for PCI devices
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    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: 64927
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz root=PARTUUID=e77f60e1-02 rootfstype=squashfs rootwait console=tty0 console=ttyS0,38400n8 noinitrd
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Initializing CPU#0
[    0.000000] Memory: 254420K/261756K available (3443K kernel code, 238K rwdata, 676K rodata, 288K init, 264K bss, 7336K reserved, 0K cma-reserved)
[    0.000000] virtual kernel memory layout:
[    0.000000]     fixmap  : 0xfffa4000 - 0xfffff000   ( 364 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xfffa2000   ( 759 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]       .init : 0xc1445000 - 0xc148d000   ( 288 kB)
[    0.000000]       .data : 0xc135d0dd - 0xc1443900   ( 922 kB)
[    0.000000]       .text : 0xc1000000 - 0xc135d0dd   (3444 kB)
[    0.000000] Checking if this processor honours the WP bit even in supervisor mode...Ok.
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:2304 nr_irqs:32 16
[    0.000000] CPU 0 irqstacks, hard=cf808000 soft=cf80a000
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] console [ttyS0] enabled
[    0.000000] tsc: Fast TSC calibration using PIT
[    0.000000] tsc: Detected 498.018 MHz processor
[    0.030008] Calibrating delay loop (skipped), value calculated using timer frequency.. 996.03 BogoMIPS (lpj=4980180)
[    0.050011] pid_max: default: 32768 minimum: 301
[    0.060120] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070015] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.080755] Last level iTLB entries: 4KB 0, 2MB 0, 4MB 0
[    0.090013] Last level dTLB entries: 4KB 0, 2MB 0, 4MB 0, 1GB 0
[    0.100007] CPU: Geode(TM) Integrated Processor by AMD PCS (family: 0x5, model: 0xa, stepping: 0x2)
[    0.130297] Performance Events: no PMU driver, software events only.
[    0.151638] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.161073] NET: Registered protocol family 16
[    0.181157] cpuidle: using governor ladder
[    0.190243] clocksource: pit: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1601818034827 ns
[    0.201696] PCI: PCI BIOS revision 2.10 entry at 0xfced9, last bus=0
[    0.210010] PCI: Using configuration type 1 for base access
[    0.243264] SCSI subsystem initialized
[    0.250508] libata version 3.00 loaded.
[    0.250706] usbcore: registered new interface driver usbfs
[    0.260101] usbcore: registered new interface driver hub
[    0.270074] usbcore: registered new device driver usb
[    0.280259] dmi: Firmware registration failed.
[    0.290010] PCI: Probing PCI hardware
[    0.300011] PCI: root bus 00: using default resources
[    0.300030] PCI: Probing PCI hardware (bus 00)
[    0.300171] PCI host bridge to bus 0000:00
[    0.310025] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.320022] pci_bus 0000:00: root bus resource [mem 0x00000000-0xffffffff]
[    0.330020] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.340058] pci 0000:00:01.0: [1022:2080] type 00 class 0x060000
[    0.340109] pci 0000:00:01.0: [Firmware Bug]: reg 0x10: invalid BAR (can't size)
[    0.350364] pci 0000:00:01.2: [1022:2082] type 00 class 0x101000
[    0.350429] pci 0000:00:01.2: reg 0x10: [mem 0xefff4000-0xefff7fff]
[    0.350843] pci 0000:00:09.0: [1106:3053] type 00 class 0x020000
[    0.350889] pci 0000:00:09.0: reg 0x10: [io  0x1000-0x10ff]
[    0.350921] pci 0000:00:09.0: reg 0x14: [mem 0xe0000000-0xe00000ff]
[    0.351007] pci 0000:00:09.0: supports D1 D2
[    0.351029] pci 0000:00:09.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.351274] pci 0000:00:0b.0: [1106:3053] type 00 class 0x020000
[    0.351319] pci 0000:00:0b.0: reg 0x10: [io  0x1400-0x14ff]
[    0.351349] pci 0000:00:0b.0: reg 0x14: [mem 0xe0040000-0xe00400ff]
[    0.351432] pci 0000:00:0b.0: supports D1 D2
[    0.351452] pci 0000:00:0b.0: PME# supported from D0 D1 D2 D3hot D3cold
[    0.351706] pci 0000:00:0f.0: [1022:2090] type 00 class 0x060100
[    0.351829] pci 0000:00:0f.0: reg 0x10: [io  0x6000-0x6007]
[    0.351932] pci 0000:00:0f.0: reg 0x14: [io  0x6100-0x61ff]
[    0.352035] pci 0000:00:0f.0: reg 0x18: [io  0x6200-0x623f]
[    0.352189] pci 0000:00:0f.0: reg 0x20: [io  0x9d00-0x9d7f]
[    0.352293] pci 0000:00:0f.0: reg 0x24: [io  0x9c00-0x9c3f]
[    0.352632] pci 0000:00:0f.2: [1022:209a] type 00 class 0x010180
[    0.352859] pci 0000:00:0f.2: reg 0x20: [io  0xff00-0xff0f]
[    0.352965] pci 0000:00:0f.2: legacy IDE quirk: reg 0x10: [io  0x01f0-0x01f7]
[    0.360020] pci 0000:00:0f.2: legacy IDE quirk: reg 0x14: [io  0x03f6]
[    0.370021] pci 0000:00:0f.2: legacy IDE quirk: reg 0x18: [io  0x0170-0x0177]
[    0.380021] pci 0000:00:0f.2: legacy IDE quirk: reg 0x1c: [io  0x0376]
[    0.390287] pci 0000:00:0f.4: [1022:2094] type 00 class 0x0c0310
[    0.390392] pci 0000:00:0f.4: reg 0x10: [mem 0xefffe000-0xefffefff]
[    0.390658] pci 0000:00:0f.4: PME# supported from D0 D3hot D3cold
[    0.390939] pci 0000:00:0f.5: [1022:2095] type 00 class 0x0c0320
[    0.391046] pci 0000:00:0f.5: reg 0x10: [mem 0xefffd000-0xefffdfff]
[    0.391319] pci 0000:00:0f.5: PME# supported from D0 D3hot D3cold
[    0.391592] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 00
[    0.391862] PCI: pci_cache_line_size set to 32 bytes
[    0.392876] amd_nb: Cannot enumerate AMD northbridges
[    0.400034] clocksource: Switched to clocksource pit
[    0.412023] pci_bus 0000:00: resource 4 [io  0x0000-0xffff]
[    0.412047] pci_bus 0000:00: resource 5 [mem 0x00000000-0xffffffff]
[    0.412170] NET: Registered protocol family 2
[    0.426222] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.437214] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.446358] TCP: Hash tables configured (established 2048 bind 2048)
[    0.455526] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.463099] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.472102] NET: Registered protocol family 1
[    0.485502] PCI: CLS 32 bytes, default 32
[    0.496841] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.513348] alix: system is recognized as "PC Engines ALIX.2 v0.99h"
[    0.522682] NatSemi SCx200 Driver
[    0.533434] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.567375] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.577231] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.589524] io scheduler noop registered
[    0.591373] io scheduler deadline registered (default)
[    0.607202] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    0.616521] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 921600) is a NS16550A
[    0.630654] serial8250: ttyS1 at I/O 0x2f8 (irq = 3, base_baud = 921600) is a NS16550A
[    0.638049] Non-volatile memory driver v1.3
[    0.650792] AMD Geode RNG detected
[    0.661214] platform pc8736x_gpio.0: NatSemi pc8736x GPIO Driver Initializing
[    0.672692] platform pc8736x_gpio.0: no device found
[    0.687689] nsc_gpio initializing
[    0.699709] loop: module loaded
[    0.709624] cs5535-gpio cs5535-gpio: reserved resource region [io  0x6100-0x61ff]
[    0.712441] cs5535-mfgpt cs5535-mfgpt: reserved resource region [io  0x6200-0x623f]
[    0.725518] cs5535-mfgpt cs5535-mfgpt: 8 MFGPT timers available
[    0.733554] cs5535-mfd 0000:00:0f.0: 5 devices registered.
[    0.754393] scsi host0: pata_cs5536
[    0.765965] scsi host1: pata_cs5536
[    0.776805] ata1: PATA max UDMA/100 cmd 0x1f0 ctl 0x3f6 bmdma 0xff00 irq 14
[    0.787746] ata2: DUMMY
[    0.795765] via_rhine: v1.10-LK1.5.1 2010-10-09 Written by Donald Becker
[    0.812088] via-rhine 0000:00:09.0 eth0: VIA Rhine III (Management Adapter) at 0xd0808000, 00:0d:b9:26:98:34, IRQ 10
[    0.824520] via-rhine 0000:00:09.0 eth0: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000
[    0.840478] via-rhine 0000:00:0b.0 eth1: VIA Rhine III (Management Adapter) at 0xd080a000, 00:0d:b9:26:98:35, IRQ 15
[    0.842908] via-rhine 0000:00:0b.0 eth1: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000
[    0.852873] Fusion MPT base driver 3.04.20
[    0.865231] Copyright (c) 1999-2008 LSI Corporation
[    0.879942] Fusion MPT SPI Host driver 3.04.20
[    0.883426] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.893066] ehci-pci: EHCI PCI platform driver
[    0.906616] ehci-pci 0000:00:0f.5: EHCI Host Controller
[    0.912396] ehci-pci 0000:00:0f.5: new USB bus registered, assigned bus number 1
[    0.924818] ehci-pci 0000:00:0f.5: irq 12, io mem 0xefffd000
[    0.951226] ehci-pci 0000:00:0f.5: USB 2.0 started, EHCI 1.00
[    0.969459] hub 1-0:1.0: USB hub found
[    0.980963] hub 1-0:1.0: 4 ports detected
[    0.983635] ehci-platform: EHCI generic platform driver
[    0.999446] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.008075] ohci-pci: OHCI PCI platform driver
[    1.011597] ohci-pci 0000:00:0f.4: OHCI PCI host controller
[    1.028400] ohci-pci 0000:00:0f.4: new USB bus registered, assigned bus number 2
[    1.040750] ohci-pci 0000:00:0f.4: irq 12, io mem 0xefffe000
[    1.134663] hub 2-0:1.0: USB hub found
[    1.146187] hub 2-0:1.0: 4 ports detected
[    1.158660] ata1.00: CFA: LEXAR ATA FLASH CARD, 20131216, max UDMA7
[    1.167536] ata1.00: 31260096 sectors, multi 0: LBA48 
[    1.173038] ata1.00: limited to UDMA/33 due to 40-wire cable
[    1.190908] ohci-platform: OHCI generic platform driver
[    1.218557] i8042: No controller found
[    1.230301] rtc_cmos rtc_cmos: rtc core: registered rtc_cmos as rtc0
[    1.239475] rtc_cmos rtc_cmos: alarms up to one day, 114 bytes nvram
[    1.248819] cs5535-smb cs5535-smb: SCx200 device 'CS5535 ACB0' registered
[    1.265748] cs5535-mfgpt cs5535-mfgpt: registered timer 0
[    1.272169] sc1200wdt: build 20020303
[    1.283224] sc1200wdt: io parameter must be specified
[    1.299103] dmi-sysfs: dmi entry is absent.
[    1.301727] cs5535-mfgpt cs5535-mfgpt: registered timer 1
[    1.318009] cs5535-clockevt: Registering MFGPT timer as a clock event, using IRQ 7
[    1.332504] NET: Registered protocol family 10
[    1.332805] ata1.00: configured for UDMA/33
[    1.346367] scsi 0:0:0:0: Direct-Access     ATA      LEXAR ATA FLASH  1216 PQ: 0 ANSI: 5
[    1.362809] sd 0:0:0:0: [sda] 31260096 512-byte logical blocks: (16.0 GB/14.9 GiB)
[    1.365914] sd 0:0:0:0: [sda] Write Protect is off
[    1.380471] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    1.380874] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    1.390418] NET: Registered protocol family 17
[    1.393992] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[    1.401983] 8021q: 802.1Q VLAN Support v1.8
[    1.414938] Using IPI Shortcut mode
[    1.426613]  sda: sda1 sda2
[    1.437102] sd 0:0:0:0: [sda] Attached SCSI removable disk
[    1.443999] rtc_cmos rtc_cmos: setting system clock to 2000-01-01 00:00:15 UTC (946684815)
[    1.462909] VFS: Mounted root (squashfs filesystem) readonly on device 8:2.
[    1.464306] Freeing unused kernel memory: 288K (c1445000 - c148d000)
[    1.613932] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0xe5b766acc7, max_idle_ns: 881590452993 ns
[    1.613932] clocksource: Switched to clocksource tsc
[    1.808717] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    2.449111] init: Console is alive
[    2.459678] init: - watchdog -
[    3.499149] Button Hotplug driver version 0.4.1
[    3.527397] init: - preinit -
[    4.310017] random: jshn: uninitialized urandom read (4 bytes read, 58 bits of entropy available)
[    4.360133] random: jshn: uninitialized urandom read (4 bytes read, 58 bits of entropy available)
[    4.406199] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    4.423811] 8021q: adding VLAN 0 to HW filter on device eth0
[    5.860015] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.830183] random: procd: uninitialized urandom read (4 bytes read, 66 bits of entropy available)
[    8.088045] mount_root: switching to f2fs overlay
[    8.261784] EXT4-fs (sda1): mounted filesystem without journal. Opts: (null)
[    8.291066] urandom-seed: Seeding with /etc/urandom.seed
[    8.511845] procd: - early -
[    8.523777] procd: - watchdog -
[    9.227180] procd: - ubus -
[    9.448878] random: ubusd: uninitialized urandom read (4 bytes read, 89 bits of entropy available)
[    9.476995] random: ubusd: uninitialized urandom read (4 bytes read, 89 bits of entropy available)
[    9.504279] random: ubusd: uninitialized urandom read (4 bytes read, 89 bits of entropy available)
[    9.531276] random: ubusd: uninitialized urandom read (4 bytes read, 90 bits of entropy available)
[    9.558587] random: ubusd: uninitialized urandom read (4 bytes read, 90 bits of entropy available)
[    9.585568] random: ubusd: uninitialized urandom read (4 bytes read, 90 bits of entropy available)
[    9.612707] random: ubusd: uninitialized urandom read (4 bytes read, 90 bits of entropy available)
[    9.640022] procd: - init -
[   10.042021] Geode LX AES 0000:00:01.2: GEODE AES engine enabled.
[   10.063375] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   10.089627] Loading modules backported from Linux version wt-2016-10-03-1-g6fcb1a6
[   10.112448] Backport generated by backports.git backports-20160324-9-g0e38f5c
[   10.136224] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.158134] nf_conntrack version 0.5.0 (3979 buckets, 15916 max)
[   10.197175] xt_time: kernel timezone is -0000
[   10.247005] PPP generic driver version 2.4.2
[   10.261775] NET: Registered protocol family 24
[   10.303570] usb 1-1: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw requested
[   10.325541] usbcore: registered new interface driver ath9k_htc
[   10.990025] usb 1-1: ath9k_htc: Transferred FW: ath9k_htc/htc_9271-1.4.0.fw, size: 51008
[   11.259454] ath9k_htc 1-1:1.0: ath9k_htc: HTC initialized with 33 credits
[   11.708346] ath9k_htc 1-1:1.0: ath9k_htc: FW Version: 1.4
[   11.724714] ath9k_htc 1-1:1.0: FW RMW support: On
[   11.738925] ath: EEPROM regdomain: 0x60
[   11.738936] ath: EEPROM indicates we should expect a direct regpair map
[   11.738958] ath: Country alpha2 being used: 00
[   11.738968] ath: Regpair used: 0x60
[   12.053195] ieee80211 phy0: Atheros AR9271 Rev:1
[   12.201914] random: nonblocking pool is initialized
[   15.952779] 8021q: adding VLAN 0 to HW filter on device eth0
[   15.995166] device eth0 entered promiscuous mode
[   16.020115] br-lan: port 1(eth0) entered forwarding state
[   16.036463] br-lan: port 1(eth0) entered forwarding state
[   16.062778] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[   16.080503] 8021q: adding VLAN 0 to HW filter on device eth1
[   18.034508] br-lan: port 1(eth0) entered forwarding state
root at LEDE:~# 

----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=514#comment1819



More information about the lede-bugs mailing list