Welcome! Log In Create A New Profile

Advanced

Debian on Medion NAS MD 86xxx (MitraStar STG-212)

Posted by pengu 
Debian on Medion NAS MD 86xxx (MitraStar STG-212)
May 28, 2016 04:36PM
I'm using this and this tutorial but with some modifications to get debian up and running on this devices.

The Medion / ZyXEL firmware has no "flash_erase" so I use flash_eraseall.


NOTE:

In ZyXEL OS, "mtd0" seems to represent the whole flash, so please backup!

nanddump -i --omitoob -f mtd0  /dev/mtd0
nanddump doesn't support --noecc, so I use -i


flash_eraseall /dev/mtd0
Erasing 128 Kibyte @ 7fe0000 -- 99 % complete.

if you plan to go back to stock OS without reflash the whole MTD, only mtd1 and 2 should be erased:

flash_eraseall /dev/mtd1
flash_eraseall /dev/mtd2

Now I'm flashing SPL, U-Boot and env:

nandwrite /dev/mtd0 uboot.spl.2013.10.ox820.850mhz.mtd0.img
Writing data to block 0

nandwrite -s 262144 /dev/mtd0 uboot.2015.10-tld-1.ox820.mtd0
.img
Writing data to block 40000
Writing data to block 60000
Writing data to block 80000
Writing data to block a0000

nandwrite -s 1048576 /dev/mtd0 uboot.2013.10-tld-5.ox820.env
ironment.img
Writing data to block 100000

Now, we should see this when rebooting:

U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12)
  Boot device: NAND
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set

U-Boot 2015.10-tld-1 (Nov 21 2015 - 01:17:59 -0800)
OXNAS OX820

DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   dwmac.40400000
Hit any key to stop autoboot:  0

now we can prepare the the rootfs
(I'm using one ext4 partition labeled "rootfs" and a second partition for swap.

Before we can boot, we have to change the DTB otherwhise the device didn't boot:

...

running scan_disk ...
Scan device usb
device usb 0:1
1 bytes read in 221 ms (0 Bytes/s)
Found bootable drive on usb 0
loading uImage ...
4102704 bytes read in 525 ms (7.5 MiB/s)
loading uInitrd ...
1953812 bytes read in 345 ms (5.4 MiB/s)
loading DTB /boot/dts/ox820-pogoplug-pro.dtb ...
7029 bytes read in 238 ms (28.3 KiB/s)
## Booting kernel from Legacy Image at 60500000 ...
   Image Name:   Linux-3.17.0-oxnas-tld-1
   Created:      2014-11-01   7:16:44 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4102640 Bytes = 3.9 MiB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 60e00000 ...
   Image Name:   initramfs-3.17.0-oxnas-tld-1
   Created:      2014-11-01   7:18:53 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    1953748 Bytes = 1.9 MiB
   Load Address: 60000000
   Entry Point:  60000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 62c00000
   Booting using the fdt blob at 0x62c00000
   Loading Kernel Image ... OK
   Loading Ramdisk to 67c4e000, end 67e2afd4 ... OK
   Loading Device Tree to 67c49000, end 67c4db74 ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.

So please change "dtb_file as folows:

setenv  dtb_file '/boot/dts/ox820-pogoplug-classic.dtb'

Now, the device will come up and we are able to login via serial or SSH.

The newer 4.1 Kernel is running fine, I've build the latest 4.1 kernel which runs also fine:


[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.1.25-oxnas-rm-1 (root@debian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #2 SMP PREEMPT Sat May 28 13:32:27 CEST 2016
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Pogoplug V3 Classic
...

Now, I'm trying to build the 4.4 kernel with the available patches from OpenWrt.
If this is successfull, I'll poast.



Edited 7 time(s). Last edit at 05/30/2016 07:36PM by pengu.
Re: Debian on Medion NAS MD 86xxx (STG-212)
May 28, 2016 04:56PM
pengu,

> Now, I'm trying to build the 4.4 kernel with the
> available patches from OpenWrt.
> If this is successfull, I'll poast.

Cool. We definitely need more testers on this box. The ARM11MPCORE cache coherency problem was what stopped me from spending too much time on Oxnas kernel. Perhaps I've missed a patch somewhere. If you're successful then I'll come back to this subject to build newer kernel.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Debian on Medion NAS MD 86xxx (STG-212)
May 28, 2016 05:14PM
coherency problem?

this (4.1 and above)
seems to describe it and give some solutions?

how can I evoke this reproducable?



Edited 1 time(s). Last edit at 05/28/2016 05:17PM by pengu.
Re: Debian on Medion NAS MD 86xxx (STG-212)
May 28, 2016 06:01PM
Yes. That's the problem the OpenWrt patch addressed for ARM11 MPCore. They used option d.

Quote

d) Broadcast of cache maintenance operations

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 1 time(s). Last edit at 05/28/2016 06:02PM by bodhi.
Re: Debian on Medion NAS MD 86xxx (STG-212)
May 28, 2016 07:07PM
pengu,

> how can I evoke this reproducable?

Start with OpenWrt 4.4 patches for Oxnas, and then try both my 4.1 config and OpenWrt's config.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Debian on Medion NAS MD 86xxx (STG-212)
May 29, 2016 07:33AM
kernel 4.4 is ready for testing but building was not successful at first try.
I decided to do this on the Medion NAS with -j3, gcc sometimes gets confused.

And .. there is another little "problem" ...
When the system is running for some hours and I issue a reboot ... it doesn't come back ...



U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12)                                                                                                                                         
  Boot device: NAND                                                                                                                                                                       
Attempting to set PLLA to 850 MHz ...                                                                                                                                                     
  plla_ctrl0 : 0000020a                                                                                                                                                                   
  plla_ctrl1 : 00330000                                                                                                                                                                   
  plla_ctrl2 : 0065008b                                                                                                                                                                   
  plla_ctrl3 : 000000f1                                                                                                                                                                   
                                                                                                                                                                                          
PLLA Set


I have to power cycle ...



Edited 1 time(s). Last edit at 05/30/2016 07:41PM by pengu.
Re: Debian on Medion NAS MD 86xxx (STG-212)
May 29, 2016 08:00AM
4.4.11 is booting ...

http://pastebin.com/VqLPKXZe

...
Scan device usb                                                                                                                                                                           
device usb 0:1                                                                                                                                                                            
1 bytes read in 189 ms (0 Bytes/s)                                                                                                                                                        
Found bootable drive on usb 0                                                                                                                                                             
loading uImage ...                                                                                                                                                                        
4432240 bytes read in 515 ms (8.2 MiB/s)                                                                                                                                                  
loading uInitrd ...                                                                                                                                                                       
3835068 bytes read in 483 ms (7.6 MiB/s)                                                                                                                                                  
loading DTB /boot/dts/ox820-stg212.dtb ...                                                                                                                                                
7224 bytes read in 226 ms (30.3 KiB/s)                                                                                                                                                    
## Booting kernel from Legacy Image at 60500000 ...                                                                                                                                       
   Image Name:   vmlinuz-4.4.11-oxnas-rm-1                                                                                                                                                
   Created:      2016-05-29  11:51:17 UTC                                                                                                                                                 
   Image Type:   ARM Linux Kernel Image (uncompressed)                                                                                                                                    
   Data Size:    4432176 Bytes = 4.2 MiB                                                                                                                                                  
   Load Address: 60008000                                                                                                                                                                 
   Entry Point:  60008000                                                                                                                                                                 
   Verifying Checksum ... OK                                                                                                                                                              
## Loading init Ramdisk from Legacy Image at 60e00000 ...                                                                                                                                 
   Image Name:   initrd.img-4.4.11-oxnas-rm-1                                                                                                                                             
   Created:      2016-05-29  11:51:45 UTC                                                                                                                                                 
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)                                                                                                                                
   Data Size:    3835004 Bytes = 3.7 MiB                                                                                                                                                  
   Load Address: 60000000                                                                                                                                                                 
   Entry Point:  60000000                                                                                                                                                                 
   Verifying Checksum ... OK                                                                                                                                                              
## Flattened Device Tree blob at 62c00000                                                                                                                                                 
   Booting using the fdt blob at 0x62c00000                                                                                                                                               
   Loading Kernel Image ... OK                                                                                                                                                            
   Loading Ramdisk to 67a83000, end 67e2b47c ... OK                                                                                                                                       
   Loading Device Tree to 67a7e000, end 67a82c37 ... OK                                                                                                                                   
                                                                                                                                                                                          
Starting kernel ...                                                                                                                                                                       
                                                                                                                                                                                          
Uncompressing Linux... done, booting the kernel.                                                                                                                                          
[    0.000000] Booting Linux on physical CPU 0x0                                                                                                                                          
[    0.000000] Initializing cgroup subsys cpuset                                                                                                                                          
[    0.000000] Initializing cgroup subsys cpu                                                                                                                                             
[    0.000000] Initializing cgroup subsys cpuacct                                                                                                                                         
[    0.000000] Linux version 4.4.11-oxnas-rm-1 (root@debian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP PREEMPT Sun May 29 00:23:30 CEST 2016                                          
[    0.000000] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d                                                                                                 
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache                                                                                                   
[    0.000000] Machine model: MitraStar Technology Corp. STG-212     
...
...
[    0.051351] CPU: Testing write buffer coherency: ok
[    0.202457] DMA: preallocated 256 KiB pool for atomic coherent allocations
...



Edited 1 time(s). Last edit at 05/29/2016 10:08AM by pengu.
Attachments:
open | download - oxnas_patches.tar.xz (5.3 KB)
open | download - oxnas_files.tar.xz (45.2 KB)
Re: Debian on Medion NAS MD 86xxx (STG-212)
May 29, 2016 04:21PM
> coherency: ok
> [ 0.202457] DMA: preallocated 256 KiB pool for
> atomic coherent allocations
> ...

Ah! that looks new to me.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Debian on Medion NAS MD 86xxx (STG-212)
May 29, 2016 04:58PM
news news .. after booting the 4.4.11 kernel, I could build this kernel without gcc confusion.
The mentioned hung between the two bootloader stages is also gone (till now)


the shutdown:

in ZyXEL OS, the device reboots, wenn issuing a poweroff or halt ..
with the 4.4.11 kernel using stg-212 dtb ... the HDD is spinning down but it doesn't fully power off ( still 3,9W)
but I think this is still a better solution then in stock ZyXEL OS
Re: Debian on Medion NAS MD 86xxx (STG-212)
May 29, 2016 05:39PM
pengu Wrote:
-------------------------------------------------------
> news news .. after booting the 4.4.11 kernel, I
> could build this kernel without gcc confusion.
> The mentioned hung between the two bootloader
> stages is also gone (till now)
>
>
> the shutdown:
>
> in ZyXEL OS, the device reboots, wenn issuing a
> poweroff or halt ..
> with the 4.4.11 kernel using stg-212 dtb ... the
> HDD is spinning down but it doesn't fully power
> off ( still 3,9W)
> but I think this is still a better solution then
> in stock ZyXEL OS

I would like you to run this with samba, nfs, ntpd, autofs, and possibly other apps that you normally run. Please post back a couple days from now. Your patch set might be newer than what I got before!

Great job so far, pengu :)

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Debian on Medion NAS MD 86xxx (STG-212)
May 29, 2016 07:19PM
Re: Debian on Medion NAS MD 86xxx (STG-212)
May 29, 2016 07:53PM
bodhi Wrote:
-------------------------------------------------------
> And thanks for the OXNAS patch files. Did you use
> their config, mine, or your own?

I'm using a config based on your oxnas config (4.1.0)


>I would like you to run this with samba, nfs, ntpd, autofs, and possibly other apps that you normally run. Please post back a >couple days from now.

I will ... but now .. I got other problems ..
because I think that the rootfs (kirkwood and oxnas) is just the same except the kernel, I'm using this now.
(removed the kernel and installed my 4.4.11 one).

The problem now is that I cannot use most of my USB Sticks, that I usually use on Kirkwood devices.

(U-Boot doesn't find uImage / uinitrd and the DTB file.

Only Verbatim and Intenso is working.

OX820> ext4ls usb 0:1 /                                                                                                                                                                
<DIR>       4096 .                                                                                                                                                                     
<DIR>       4096 ..                                                                                                                                                                    
<DIR>      16384 lost+found                                                                                                                                                            
<DIR>       4096 proc                                                                                                                                                                  
<DIR>       4096 usr                                                                                                                                                                   
<DIR>          0 var                                                                                                                                                                   
<DIR>          0 bin                                                                                                                                                                   
<DIR>          0 root                                                                                                                                                                  
<DIR>          0 sys                                                                                                                                                                   
<DIR>          0 srv                                                                                                                                                                   
<DIR>          0 sbin                                                                                                                                                                  
<DIR>          0 opt                                                                                                                                                                   
<DIR>          0 home                                                                                                                                                                  
<DIR>          0 run                                                                                                                                                                   
<DIR>          0 boot                                                                                                                                                                  
<DIR>          0 lib                                                                                                                                                                   
<DIR>          0 dev                                                                                                                                                                   
<DIR>          0 etc                                                                                                                                                                   
<DIR>          0 tmp                                                                                                                                                                   
<DIR>          0 media                                                                                                                                                                 
<DIR>          0 mnt
the "non-working" usb sticks (ls of /boot shows nothing)


OX820> ext4ls usb 0:1 /                                                                                                                                                                
<DIR>       4096 .                                                                                                                                                                     
<DIR>       4096 ..                                                                                                                                                                    
<DIR>      16384 lost+found                                                                                                                                                            
<DIR>       4096 media                                                                                                                                                                 
<DIR>          0 mnt                                                                                                                                                                   
<DIR>       4096 data                                                                                                                                                                  
<DIR>       4096 run                                                                                                                                                                   
<DIR>       4096 opt                                                                                                                                                                   
<DIR>       4096 boot                                                                                                                                                                  
<DIR>       4096 sys                                                                                                                                                                   
<DIR>       4096 var                                                                                                                                                                   
<DIR>       4096 lib                                                                                                                                                                   
<DIR>       4096 home                                                                                                                                                                  
<DIR>       4096 usr                                                                                                                                                                   
<DIR>          0 proc                                                                                                                                                                  
<DIR>          0 root                                                                                                                                                                  
<DIR>          0 bin                                                                                                                                                                   
<DIR>          0 srv                                                                                                                                                                   
<DIR>          0 tmp                                                                                                                                                                   
<DIR>          0 etc                                                                                                                                                                   
<DIR>          0 sbin                                                                                                                                                                  
<DIR>      98491 dev

the "working" usb sticks (ls of /boot shows all needed files)



Edited 2 time(s). Last edit at 05/29/2016 08:02PM by pengu.
Re: Debian on Medion NAS MD 86xxx (STG-212)
May 29, 2016 08:02PM
> I think that the rootfs (kirkwood and
> oxnas) is just the same except the kernel, I'm
> using this now.

That's right. The rootfs should stay the same, no need to update it.

Sure, any time at your convenience. We are not in any hurry! by running "couple days" I meant that would prove the patches work well. If there are lots of activities with samba then it even better.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Debian on Medion NAS MD 86xxx (STG-212)
May 30, 2016 06:24AM
it seems that wie do not need all the patches in future.
The Oxnas target is now available in Kernel 4.7
Re: Debian on Medion NAS MD 86xxx (STG-212)
May 30, 2016 06:46AM
pengu Wrote:
-------------------------------------------------------
> it seems that wie do not need all the patches in
> future.
> The Oxnas target is now available in Kernel 4.7

It's for a different OXNAS SoC, and it's ARM9. We have ARM11.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Debian on Medion NAS MD 86xxx (STG-212)
May 30, 2016 07:14AM
confirmed ... OX810SE -->ARM926EJ-S --> ARM9

Edit:

first tests made ....


Iperf : 600 mbit (tcp)
samba 38 mb/s read, 32 mb/s write (windows 8.1 and 10)

when comparing the tcp throughput with other devices, I see the following:

D-Link DIR-825 (560 MHz, atheros): 300 mbit (tcp) 1000 mbit (udp)
D-Link DIR-645 (500 MHz, ralink): 300 mbit (tcp) 1000 mbit (udp)
Medion NAS (2x 850 MHz,oxnas): 600 mbit (tcp) 1000 mbit (udp)
Linksys EA4500 (1,2 GHz, kirkwood): 700 mbit (tcp) 1000 mbit (udp)
ZyXEL NSA325 (1,6 GHz, kirkwood): 900 mbit (tcp) 1000 mbit (udp)


In the next view days, I plan the following:

SMB / SMB + Tvheadend (I hope that there will be less performance impact compared to single core kirkwood, SMB throughput)
SMB + JDownloader (via java 8 headless (I see a big performance impact on NSA325, SMB throughput and internal)

because of the the less ram, I think it isn't possible to combine all of this


Edit 2

one thing I've seen while preparing the second medion device:
"mtd0" seems to represent the WHOLE flash (in stock fw, from the kernels point of view) so a backup is needed when going back to stock


Edit 3

see /proc/mtd in stock ZyXEL OS:

cat /proc/mtd                                                                                                                    
dev:    size   erasesize  name                                                                                                  
mtd0: 08000000 00020000 "NAND 128MiB 3,3V 8-bit"                                                                                
mtd1: 00040000 00020000 "stage1"                                                                                                
mtd2: 00380000 00020000 "uboot"                                                                                                 
mtd3: 00080000 00020000 "uboot_env"                                                                                             
mtd4: 00a00000 00020000 "kernel"                                                                                                
mtd5: 00a00000 00020000 "etc"                                                                                                   
mtd6: 00a00000 00020000 "info"                                                                                                  
mtd7: 05dc0000 00020000 "sysdisk"



Edited 7 time(s). Last edit at 05/30/2016 07:53PM by pengu.
Re: Debian on Medion NAS MD 86xxx (STG-212)
June 01, 2016 02:34PM
Re: Debian on Medion NAS MD 86xxx (STG-212)
June 02, 2016 10:46AM
$ uptime
 16:37:05 up 2 days, 12:51,  1 user,  load average: 0,35, 0,26, 0,24

thats the third one ... as you can see .. I should replace the HDD (perhaps).
I see nothing like that on the other two devices.


[Di Mai 31 03:45:55 2016] Booting Linux on physical CPU 0x0
[Di Mai 31 03:45:55 2016] Initializing cgroup subsys cpuset
[Di Mai 31 03:45:55 2016] Initializing cgroup subsys cpu
[Di Mai 31 03:45:55 2016] Initializing cgroup subsys cpuacct
[Di Mai 31 03:45:55 2016] Linux version 4.4.11-oxnas-rm-1 (root@debianNAS) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP PREEMPT Sun May 29 17:01:40 CEST 2016
[Di Mai 31 03:45:55 2016] CPU: ARMv6-compatible processor [410fb025] revision 5 (ARMv7), cr=00c5787d
[Di Mai 31 03:45:55 2016] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[Di Mai 31 03:45:55 2016] Machine model: MitraStar Technology Corp. STG-212
[Di Mai 31 03:45:55 2016] Memory policy: Data cache writealloc
[Di Mai 31 03:45:55 2016] On node 0 totalpages: 32768
[Di Mai 31 03:45:55 2016] free_area_init_node: node 0, pgdat c0882d80, node_mem_map c7ed9000
[Di Mai 31 03:45:55 2016]   Normal zone: 288 pages used for memmap
[Di Mai 31 03:45:55 2016]   Normal zone: 0 pages reserved
[Di Mai 31 03:45:55 2016]   Normal zone: 32768 pages, LIFO batch:7
[Di Mai 31 03:45:55 2016] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[Di Mai 31 03:45:55 2016] PERCPU: Embedded 12 pages/cpu @c7eba000 s17760 r8192 d23200 u49152
[Di Mai 31 03:45:55 2016] pcpu-alloc: s17760 r8192 d23200 u49152 alloc=12*4096
[Di Mai 31 03:45:55 2016] pcpu-alloc: [0] 0 [0] 1 
[Di Mai 31 03:45:55 2016] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32480
[Di Mai 31 03:45:55 2016] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=41000000.nand:14m(boot),-(data)
[Di Mai 31 03:45:55 2016] PID hash table entries: 512 (order: -1, 2048 bytes)
[Di Mai 31 03:45:55 2016] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[Di Mai 31 03:45:55 2016] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[Di Mai 31 03:45:55 2016] allocated 131072 bytes of page_ext
[Di Mai 31 03:45:55 2016] Memory: 116828K/131072K available (6279K kernel code, 315K rwdata, 1868K rodata, 228K init, 251K bss, 14244K reserved, 0K cma-reserved)
[Di Mai 31 03:45:55 2016] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xc8800000 - 0xff800000   ( 880 MB)
    lowmem  : 0xc0000000 - 0xc8000000   ( 128 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .text : 0xc0008000 - 0xc07fcfa0   (8148 kB)
      .init : 0xc07fd000 - 0xc0836000   ( 228 kB)
      .data : 0xc0836000 - 0xc0884c70   ( 316 kB)
       .bss : 0xc0884c70 - 0xc08c39f0   ( 252 kB)
[Di Mai 31 03:45:55 2016] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[Di Mai 31 03:45:55 2016] Preemptible hierarchical RCU implementation.
[Di Mai 31 03:45:55 2016] NR_IRQS:160
[Di Mai 31 03:45:55 2016] clocksource: rps_clocksource_timer: mask: 0xffffff max_cycles: 0xffffff, max_idle_ns: 19112603332 ns
[Di Mai 31 03:45:55 2016] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 21474835200ns
[Di Mai 31 03:45:55 2016] Console: colour dummy device 80x30
[Di Mai 31 03:45:55 2016] Calibrating delay loop... 339.14 BogoMIPS (lpj=1695744)
[Di Mai 31 03:45:55 2016] pid_max: default: 32768 minimum: 301
[Di Mai 31 03:45:55 2016] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[Di Mai 31 03:45:55 2016] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[Di Mai 31 03:45:55 2016] Initializing cgroup subsys io
[Di Mai 31 03:45:55 2016] Initializing cgroup subsys memory
[Di Mai 31 03:45:55 2016] Initializing cgroup subsys devices
[Di Mai 31 03:45:55 2016] Initializing cgroup subsys freezer
[Di Mai 31 03:45:55 2016] Initializing cgroup subsys net_cls
[Di Mai 31 03:45:55 2016] Initializing cgroup subsys pids
[Di Mai 31 03:45:55 2016] CPU: Testing write buffer coherency: ok
[Di Mai 31 03:45:55 2016] Setting up static identity map for 0x60008220 - 0x60008258
[Di Mai 31 03:45:55 2016] Brought up 2 CPUs
[Di Mai 31 03:45:55 2016] SMP: Total of 2 processors activated (678.29 BogoMIPS).
[Di Mai 31 03:45:55 2016] devtmpfs: initialized
[Di Mai 31 03:45:55 2016] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[Di Mai 31 03:45:55 2016] prandom: seed boundary self test passed
[Di Mai 31 03:45:55 2016] prandom: 100 self tests passed
[Di Mai 31 03:45:55 2016] pinctrl core: initialized pinctrl subsystem
[Di Mai 31 03:45:55 2016] NET: Registered protocol family 16
[Di Mai 31 03:45:55 2016] DMA: preallocated 256 KiB pool for atomic coherent allocations
[Di Mai 31 03:45:55 2016] cpuidle: using governor ladder
[Di Mai 31 03:45:55 2016] cpuidle: using governor menu
[Di Mai 31 03:45:55 2016] gpio-oxnas 44000000.gpio: at address c8848000
[Di Mai 31 03:45:55 2016] gpio-oxnas 44100000.gpio: at address c884a000
[Di Mai 31 03:45:55 2016] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[Di Mai 31 03:45:55 2016] vgaarb: loaded
[Di Mai 31 03:45:55 2016] SCSI subsystem initialized
[Di Mai 31 03:45:55 2016] libata version 3.00 loaded.
[Di Mai 31 03:45:55 2016] usbcore: registered new interface driver usbfs
[Di Mai 31 03:45:55 2016] usbcore: registered new interface driver hub
[Di Mai 31 03:45:55 2016] usbcore: registered new device driver usb
[Di Mai 31 03:45:55 2016] pps_core: LinuxPPS API ver. 1 registered
[Di Mai 31 03:45:55 2016] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[Di Mai 31 03:45:55 2016] PTP clock support registered
[Di Mai 31 03:45:55 2016] clocksource: Switched to clocksource rps_clocksource_timer
[Di Mai 31 03:45:55 2016] NET: Registered protocol family 2
[Di Mai 31 03:45:55 2016] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[Di Mai 31 03:45:55 2016] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[Di Mai 31 03:45:55 2016] TCP: Hash tables configured (established 1024 bind 1024)
[Di Mai 31 03:45:55 2016] UDP hash table entries: 256 (order: 1, 8192 bytes)
[Di Mai 31 03:45:55 2016] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[Di Mai 31 03:45:55 2016] NET: Registered protocol family 1
[Di Mai 31 03:45:55 2016] RPC: Registered named UNIX socket transport module.
[Di Mai 31 03:45:55 2016] RPC: Registered udp transport module.
[Di Mai 31 03:45:55 2016] RPC: Registered tcp transport module.
[Di Mai 31 03:45:55 2016] RPC: Registered tcp NFSv4.1 backchannel transport module.
[Di Mai 31 03:45:55 2016] PCI: CLS 0 bytes, default 32
[Di Mai 31 03:45:55 2016] Unpacking initramfs...
[Di Mai 31 03:45:55 2016] Freeing initrd memory: 3748K (c7a83000 - c7e2c000)
[Di Mai 31 03:45:55 2016] futex hash table entries: 512 (order: 2, 16384 bytes)
[Di Mai 31 03:45:55 2016] Initialise system trusted keyring
[Di Mai 31 03:45:55 2016] zbud: loaded
[Di Mai 31 03:45:55 2016] NFS: Registering the id_resolver key type
[Di Mai 31 03:45:55 2016] Key type id_resolver registered
[Di Mai 31 03:45:55 2016] Key type id_legacy registered
[Di Mai 31 03:45:55 2016] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[Di Mai 31 03:45:55 2016] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[Di Mai 31 03:45:55 2016] fuse init (API version 7.23)
[Di Mai 31 03:45:55 2016] Key type big_key registered
[Di Mai 31 03:45:55 2016] Key type asymmetric registered
[Di Mai 31 03:45:55 2016] Asymmetric key parser 'x509' registered
[Di Mai 31 03:45:55 2016] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[Di Mai 31 03:45:55 2016] io scheduler noop registered
[Di Mai 31 03:45:55 2016] io scheduler deadline registered (default)
[Di Mai 31 03:45:55 2016] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[Di Mai 31 03:45:55 2016] console [ttyS0] disabled
[Di Mai 31 03:45:55 2016] 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 6, base_baud = 390625) is a 16550A
[Di Mai 31 03:45:56 2016] console [ttyS0] enabled
[Di Mai 31 03:45:56 2016] loop: module loaded
[Di Mai 31 03:45:56 2016] scsi host0: sata_oxnas
[Di Mai 31 03:45:56 2016] ata1: SATA max UDMA/133 irq 7
[Di Mai 31 03:45:56 2016] sata_oxnas: resetting SATA core
[Di Mai 31 03:45:56 2016] nand: Could not find valid ONFI parameter page; aborting
[Di Mai 31 03:45:56 2016] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[Di Mai 31 03:45:56 2016] nand: Hynix NAND 128MiB 3,3V 8-bit
[Di Mai 31 03:45:56 2016] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[Di Mai 31 03:45:56 2016] Scanning device for bad blocks
[Di Mai 31 03:45:56 2016] Bad eraseblock 439 at 0x0000036e0000
[Di Mai 31 03:45:56 2016] 2 cmdlinepart partitions found on MTD device 41000000.nand
[Di Mai 31 03:45:56 2016] Creating 2 MTD partitions on "41000000.nand":
[Di Mai 31 03:45:56 2016] 0x000000000000-0x000000e00000 : "boot"
[Di Mai 31 03:45:56 2016] 0x000000e00000-0x000008000000 : "data"
[Di Mai 31 03:45:56 2016] oxnas-gmac 40400000.ethernet: no reset control found
[Di Mai 31 03:45:56 2016] stmmac - user ID: 0x12, Synopsys ID: 0x35
[Di Mai 31 03:45:56 2016]  Ring mode enabled
[Di Mai 31 03:45:56 2016]  DMA HW capability register supported
[Di Mai 31 03:45:56 2016]  Enhanced/Alternate descriptors
[Di Mai 31 03:45:56 2016] 	Enabled extended descriptors
[Di Mai 31 03:45:56 2016]  RX Checksum Offload Engine supported (type 2)
[Di Mai 31 03:45:56 2016]  TX Checksum insertion supported
[Di Mai 31 03:45:56 2016]  Wake-Up On Lan supported
[Di Mai 31 03:45:56 2016]  Enable RX Mitigation via HW Watchdog Timer
[Di Mai 31 03:45:56 2016] libphy: stmmac: probed
[Di Mai 31 03:45:56 2016] eth0: PHY ID 001cc915 at 0 IRQ POLL (stmmac-0:00) active
[Di Mai 31 03:45:56 2016] eth0: PHY ID 001cc915 at 7 IRQ POLL (stmmac-0:07)
[Di Mai 31 03:45:56 2016] PPP generic driver version 2.4.2
[Di Mai 31 03:45:56 2016] usbcore: registered new interface driver rtl8xxxu
[Di Mai 31 03:45:56 2016] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[Di Mai 31 03:45:56 2016] ehci-pci: EHCI PCI platform driver
[Di Mai 31 03:45:56 2016] oxnas-ehci 40200100.ehci: EHCI Host Controller
[Di Mai 31 03:45:56 2016] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[Di Mai 31 03:45:56 2016] oxnas-ehci 40200100.ehci: irq 10, io mem 0x40200100
[Di Mai 31 03:45:56 2016] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[Di Mai 31 03:45:56 2016] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[Di Mai 31 03:45:56 2016] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Di Mai 31 03:45:56 2016] usb usb1: Product: EHCI Host Controller
[Di Mai 31 03:45:56 2016] usb usb1: Manufacturer: Linux 4.4.11-oxnas-rm-1 ehci_hcd
[Di Mai 31 03:45:56 2016] usb usb1: SerialNumber: 40200100.ehci
[Di Mai 31 03:45:56 2016] hub 1-0:1.0: USB hub found
[Di Mai 31 03:45:56 2016] hub 1-0:1.0: 2 ports detected
[Di Mai 31 03:45:56 2016] usbcore: registered new interface driver cdc_acm
[Di Mai 31 03:45:56 2016] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[Di Mai 31 03:45:56 2016] usbcore: registered new interface driver usblp
[Di Mai 31 03:45:56 2016] usbcore: registered new interface driver cdc_wdm
[Di Mai 31 03:45:56 2016] usbcore: registered new interface driver usb-storage
[Di Mai 31 03:45:56 2016] usbcore: registered new interface driver usbserial
[Di Mai 31 03:45:56 2016] usbcore: registered new interface driver usbserial_generic
[Di Mai 31 03:45:56 2016] usbserial: USB Serial support registered for generic
[Di Mai 31 03:45:56 2016] mousedev: PS/2 mouse device common for all mice
[Di Mai 31 03:45:56 2016] i2c /dev entries driver
[Di Mai 31 03:45:56 2016] hidraw: raw HID events driver (C) Jiri Kosina
[Di Mai 31 03:45:56 2016] usbcore: registered new interface driver usbhid
[Di Mai 31 03:45:56 2016] usbhid: USB HID core driver
[Di Mai 31 03:45:56 2016] NET: Registered protocol family 10
[Di Mai 31 03:45:56 2016] sit: IPv6 over IPv4 tunneling driver
[Di Mai 31 03:45:56 2016] NET: Registered protocol family 17
[Di Mai 31 03:45:56 2016] Key type dns_resolver registered
[Di Mai 31 03:45:56 2016] registered taskstats version 1
[Di Mai 31 03:45:56 2016] Loading compiled-in X.509 certificates
[Di Mai 31 03:45:56 2016] zswap: loaded using pool lzo/zbud
[Di Mai 31 03:45:56 2016] Key type encrypted registered
[Di Mai 31 03:45:57 2016] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[Di Mai 31 03:45:57 2016] ata1.00: ATA-8: ST1500DL003-9VT16L, CC4A, max UDMA/133
[Di Mai 31 03:45:57 2016] ata1.00: 2930277168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[Di Mai 31 03:45:57 2016] ata1.00: configured for UDMA/133
[Di Mai 31 03:45:57 2016] scsi 0:0:0:0: Direct-Access     ATA      ST1500DL003-9VT1 CC4A PQ: 0 ANSI: 5
[Di Mai 31 03:45:57 2016] sd 0:0:0:0: [sda] 2930277168 512-byte logical blocks: (1.50 TB/1.36 TiB)
[Di Mai 31 03:45:57 2016] sd 0:0:0:0: [sda] 4096-byte physical blocks
[Di Mai 31 03:45:57 2016] sd 0:0:0:0: [sda] Write Protect is off
[Di Mai 31 03:45:57 2016] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[Di Mai 31 03:45:57 2016] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[Di Mai 31 03:45:57 2016] usb 1-1: new high-speed USB device number 2 using oxnas-ehci
[Di Mai 31 03:45:57 2016]  sda: sda1 sda2
[Di Mai 31 03:45:57 2016] sd 0:0:0:0: [sda] Attached SCSI disk
[Di Mai 31 03:45:57 2016] Freeing unused kernel memory: 228K (c07fd000 - c0836000)
[Di Mai 31 03:45:57 2016] usb 1-1: New USB device found, idVendor=8644, idProduct=800a
[Di Mai 31 03:45:57 2016] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Di Mai 31 03:45:57 2016] usb 1-1: Product: USB Flash Disk                
[Di Mai 31 03:45:57 2016] usb 1-1: Manufacturer: General                       
[Di Mai 31 03:45:57 2016] usb 1-1: SerialNumber: 1800000000003969
[Di Mai 31 03:45:57 2016] usb-storage 1-1:1.0: USB Mass Storage device detected
[Di Mai 31 03:45:57 2016] systemd-udevd[102]: starting version 215
[Di Mai 31 03:45:57 2016] random: systemd-udevd urandom read with 7 bits of entropy available
[Di Mai 31 03:45:57 2016] scsi host1: usb-storage 1-1:1.0
[Di Mai 31 03:45:57 2016] usbcore: registered new interface driver uas
[Di Mai 31 03:45:57 2016] usb 1-2: new high-speed USB device number 3 using oxnas-ehci
[Di Mai 31 03:45:57 2016] usb 1-2: New USB device found, idVendor=2040, idProduct=f900
[Di Mai 31 03:45:57 2016] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Di Mai 31 03:45:57 2016] usb 1-2: Product: WinTV-Ministick 2
[Di Mai 31 03:45:57 2016] usb 1-2: Manufacturer: Hauppauge
[Di Mai 31 03:45:57 2016] usb 1-2: SerialNumber: 000DFE8C7D80
[Di Mai 31 03:45:58 2016] scsi 1:0:0:0: Direct-Access     General  USB Flash Disk   1.0  PQ: 0 ANSI: 2
[Di Mai 31 03:45:58 2016] sd 1:0:0:0: [sdb] 7829504 512-byte logical blocks: (4.01 GB/3.73 GiB)
[Di Mai 31 03:45:58 2016] sd 1:0:0:0: [sdb] Write Protect is off
[Di Mai 31 03:45:58 2016] sd 1:0:0:0: [sdb] Mode Sense: 0b 00 00 08
[Di Mai 31 03:45:58 2016] sd 1:0:0:0: [sdb] No Caching mode page found
[Di Mai 31 03:45:58 2016] sd 1:0:0:0: [sdb] Assuming drive cache: write through
[Di Mai 31 03:45:58 2016]  sdb: sdb1 sdb2
[Di Mai 31 03:45:58 2016] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[Di Mai 31 03:46:08 2016] EXT4-fs (sdb1): mounted filesystem with ordered data mode. Opts: (null)
[Di Mai 31 03:46:10 2016] systemd-udevd[299]: starting version 215
[Di Mai 31 03:46:10 2016] usb 1-2: dvb_usb_af9035: prechip_version=83 chip_version=02 chip_type=9135
[Di Mai 31 03:46:10 2016] usb 1-2: dvb_usb_v2: found a 'Hauppauge WinTV-MiniStick 2' in cold state
[Di Mai 31 03:46:10 2016] random: nonblocking pool is initialized
[Di Mai 31 03:46:10 2016] input: gpio-keys-polled as /devices/platform/gpio-keys-polled/input/input0
[Di Mai 31 03:46:10 2016] usb 1-2: dvb_usb_v2: downloading firmware from file 'dvb-usb-it9135-02.fw'
[Di Mai 31 03:46:11 2016] i2c-gpio i2c-gpio: using pins 41 (SDA) and 42 (SCL)
[Di Mai 31 03:46:11 2016] usb 1-2: dvb_usb_af9035: firmware version=3.40.1.0
[Di Mai 31 03:46:11 2016] usb 1-2: dvb_usb_v2: found a 'Hauppauge WinTV-MiniStick 2' in warm state
[Di Mai 31 03:46:11 2016] usb 1-2: dvb_usb_af9035: [0] overriding tuner from 00 to 60
[Di Mai 31 03:46:11 2016] usb 1-2: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[Di Mai 31 03:46:11 2016] DVB: registering new adapter (Hauppauge WinTV-MiniStick 2)
[Di Mai 31 03:46:11 2016] af9033 1-0038: firmware version: LINK 3.40.1.0 - OFDM 3.40.1.0
[Di Mai 31 03:46:11 2016] af9033 1-0038: Afatech AF9033 successfully attached
[Di Mai 31 03:46:11 2016] usb 1-2: DVB: registering adapter 0 frontend 0 (Afatech AF9033 (DVB-T))...
[Di Mai 31 03:46:11 2016] sata_oxnas: resetting SATA core
[Di Mai 31 03:46:11 2016] usb 1-1: reset high-speed USB device number 2 using oxnas-ehci
[Di Mai 31 03:46:11 2016] it913x 1-001c: ITE IT913X BX successfully attached
[Di Mai 31 03:46:11 2016] Registered IR keymap rc-empty
[Di Mai 31 03:46:11 2016] input: Hauppauge WinTV-MiniStick 2 as /devices/platform/40200100.ehci/usb1/1-2/rc/rc0/input1
[Di Mai 31 03:46:11 2016] rc0: Hauppauge WinTV-MiniStick 2 as /devices/platform/40200100.ehci/usb1/1-2/rc/rc0
[Di Mai 31 03:46:11 2016] usb 1-2: dvb_usb_v2: schedule remote query interval to 500 msecs
[Di Mai 31 03:46:11 2016] usb 1-2: dvb_usb_v2: 'Hauppauge WinTV-MiniStick 2' successfully initialized and connected
[Di Mai 31 03:46:11 2016] usbcore: registered new interface driver dvb_usb_af9035
[Di Mai 31 03:46:11 2016] ata1: hard resetting link
[Di Mai 31 03:46:12 2016] usb 1-1: reset high-speed USB device number 2 using oxnas-ehci
[Di Mai 31 03:46:12 2016] usb 1-1: reset high-speed USB device number 2 using oxnas-ehci
[Di Mai 31 03:46:12 2016] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[Di Mai 31 03:46:12 2016] ata1.00: configured for UDMA/133
[Di Mai 31 03:46:12 2016] ata1: EH complete
[Di Mai 31 03:46:12 2016] sata_oxnas: resetting SATA core
[Di Mai 31 03:46:13 2016] ata1: hard resetting link
[Di Mai 31 03:46:13 2016] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[Di Mai 31 03:46:13 2016] ata1.00: configured for UDMA/133
[Di Mai 31 03:46:13 2016] ata1: EH complete
[Di Mai 31 03:46:13 2016] sata_oxnas: resetting SATA core
[Di Mai 31 03:46:13 2016] ata1: hard resetting link
[Di Mai 31 03:46:14 2016] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[Di Mai 31 03:46:14 2016] ata1.00: configured for UDMA/133
[Di Mai 31 03:46:14 2016] ata1: EH complete
[Di Mai 31 03:46:15 2016] EXT4-fs (sdb1): re-mounted. Opts: (null)
[Di Mai 31 03:46:15 2016] EXT4-fs (sdb1): re-mounted. Opts: (null)
[Di Mai 31 03:46:24 2016] oxnas-gmac 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[Di Mai 31 03:46:36 2016] usb 1-2: DVB: adapter 0 frontend 0 frequency 0 out of range (174000000..862000000)
[Di Mai 31 04:01:05 2016] Adding 153596k swap on /dev/sdb2.  Priority:-1 extents:1 across:153596k FS
[Di Mai 31 04:06:02 2016] TCP: request_sock_TCP: Possible SYN flooding on port 9981. Sending cookies.  Check SNMP counters.
[Di Mai 31 04:20:34 2016]  sda: sda1 sda2
[Di Mai 31 04:20:51 2016] sata_oxnas: resetting SATA core
[Di Mai 31 04:20:51 2016] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[Di Mai 31 04:20:51 2016] ata1.00: failed command: IDENTIFY DEVICE
[Di Mai 31 04:20:51 2016] ata1.00: cmd ec/00:01:00:00:00/00:00:00:00:00/40 tag 0 pio 512 in
         res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[Di Mai 31 04:20:51 2016] ata1.00: status: { DRDY }
[Di Mai 31 04:20:51 2016] ata1: hard resetting link
[Di Mai 31 04:20:51 2016] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[Di Mai 31 04:20:51 2016] ata1.00: configured for UDMA/133
[Di Mai 31 04:20:51 2016] ata1: EH complete
[Di Mai 31 04:20:51 2016] sata_oxnas: resetting SATA core
[Di Mai 31 04:20:52 2016] ata1: hard resetting link
[Di Mai 31 04:20:52 2016] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[Di Mai 31 04:20:52 2016] ata1.00: configured for UDMA/133
[Di Mai 31 04:20:52 2016] ata1: EH complete
[Di Mai 31 04:21:58 2016] EXT4-fs (sda1): mounted filesystem with writeback data mode. Opts: data=writeback
[Mi Jun  1 16:45:04 2016] TCP: request_sock_TCP: Possible SYN flooding on port 9981. Sending cookies.  Check SNMP counters.



$ free -m
             total       used       free     shared    buffers     cached
Mem:           117        106         11          0         20         41
-/+ buffers/cache:         45         72
Swap:          149         26        123

perhaps you notice that I've built this kernel on one of the other Medion NAS devices and while building, "free" shows the same swap usage as now.

I haven't testet any other things yet because

- some problems on other Oxnas devices (PogoPlug v3 / biz)
- JDownloader update loop (I don't see this on other devieces yet but perhaps they have made something wrong)
So the only one I could test ATM is network throughput while Tvheadend is running.



Edited 1 time(s). Last edit at 06/02/2016 11:08AM by pengu.
Re: Debian on Medion NAS MD 86xxx (STG-212)
June 02, 2016 03:58PM
Re: Debian on Medion NAS MD 86xxx (STG-212)
June 02, 2016 04:56PM
@pengu,

Are these u-boot SPL and u-boot version still on this box?

U-Boot SPL 2013.10-tld-4 (Sep 07 2014 - 14:10:12)
  Boot device: NAND
Attempting to set PLLA to 850 MHz ...
  plla_ctrl0 : 0000020a
  plla_ctrl1 : 00330000
  plla_ctrl2 : 0065008b
  plla_ctrl3 : 000000f1

PLLA Set

U-Boot 2015.10-tld-1 (Nov 21 2015 - 01:17:59 -0800)
OXNAS OX820

DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   dwmac.40400000
Hit any key to stop autoboot:  0

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Debian on Medion NAS MD 86xxx (STG-212)
June 02, 2016 04:59PM
bodhi Wrote:
-------------------------------------------------------
> @pengu,
>
> Are these u-boot SPL and u-boot version still on
> this box?
>

yes they are.
Re: Debian on Medion NAS MD 86xxx (STG-212)
June 02, 2016 06:11PM
Re: Debian on Medion NAS MD 86xxx (STG-212)
June 02, 2016 08:08PM
bodhi Wrote:
-------------------------------------------------------
> Do you remember how you created this rootfs? based
> on which version?


The rootfs is based un my Kirkwood rootfs and this is based on your "Debian-3.18.5-kirkwood-tld-1-rootfs-bodhi.tar.bz2"
As you mentioned earlier, I only have to replace the kernel and that's what I've done.

To do this, I've done the following after mounting the stick un my main machine (Gentoo Linux x86_64)

cp /usr/bin/qemu-arm  <location of the mounted stick>/usr/bin
chroot  <location of the mounted stick> /bin/bash

Now I could install the kernel, update uImage and uInitrd.
Re: Debian on Medion NAS MD 86xxx (STG-212)
June 03, 2016 01:12AM
Thanks pengu,

> cp /usr/bin/qemu-arm <location of the mounted
> stick>/usr/bin
> chroot <location of the mounted stick> /bin/bash

You could have chroot directly into it in a kirkwood box, too, no qemu needed.

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner
Re: Debian on Medion NAS MD 86xxx (STG-212)
June 03, 2016 08:38AM
bodhi Wrote:
-------------------------------------------------------
> Thanks pengu,
>
> > cp /usr/bin/qemu-arm <location of the mounted
> > stick>/usr/bin
> > chroot <location of the mounted stick>
> /bin/bash
>
> You could have chroot directly into it in a
> kirkwood box, too, no qemu needed.

qemu is needed and also this:

mount | grep binfmt
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
Re: Debian on Medion NAS MD 86xxx (STG-212)
June 03, 2016 10:52AM
perhaps, JD is too much for this box:


[Fr Jun  3 16:30:29 2016] swapper/0: page allocation failure: order:0, mode:0x2080020
[Fr Jun  3 16:30:29 2016] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.11-oxnas-rm-1 #1
[Fr Jun  3 16:30:29 2016] Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[Fr Jun  3 16:30:29 2016] [<c0010c6c>] (unwind_backtrace) from [<c000cf9c>] (show_stack+0x10/0x14)
[Fr Jun  3 16:30:29 2016] [<c000cf9c>] (show_stack) from [<c02b7780>] (dump_stack+0x84/0xa0)
[Fr Jun  3 16:30:29 2016] [<c02b7780>] (dump_stack) from [<c00a38f4>] (warn_alloc_failed+0xdc/0x124)
[Fr Jun  3 16:30:29 2016] [<c00a38f4>] (warn_alloc_failed) from [<c00a5fe8>] (__alloc_pages_nodemask+0x1a0/0x960)
[Fr Jun  3 16:30:29 2016] [<c00a5fe8>] (__alloc_pages_nodemask) from [<c00a69b0>] (__alloc_page_frag+0x168/0x19c)
[Fr Jun  3 16:30:29 2016] [<c00a69b0>] (__alloc_page_frag) from [<c04879f0>] (__netdev_alloc_skb+0xa0/0x110)
[Fr Jun  3 16:30:29 2016] [<c04879f0>] (__netdev_alloc_skb) from [<c03a9604>] (stmmac_poll+0x510/0x66c)
[Fr Jun  3 16:30:29 2016] [<c03a9604>] (stmmac_poll) from [<c0494c04>] (net_rx_action+0x1fc/0x30c)
[Fr Jun  3 16:30:29 2016] [<c0494c04>] (net_rx_action) from [<c001e240>] (__do_softirq+0xfc/0x248)
[Fr Jun  3 16:30:29 2016] [<c001e240>] (__do_softirq) from [<c001e648>] (irq_exit+0xc4/0x110)
[Fr Jun  3 16:30:29 2016] [<c001e648>] (irq_exit) from [<c005c864>] (__handle_domain_irq+0x90/0x10c)
[Fr Jun  3 16:30:29 2016] [<c005c864>] (__handle_domain_irq) from [<c0009428>] (gic_handle_irq+0x34/0x74)
[Fr Jun  3 16:30:29 2016] [<c0009428>] (gic_handle_irq) from [<c000da20>] (__irq_svc+0x40/0x74)
[Fr Jun  3 16:30:29 2016] Exception stack(0xc0837f50 to 0xc0837f98)
[Fr Jun  3 16:30:29 2016] 7f40:                                     00000001 00000000 00000000 00000000
[Fr Jun  3 16:30:29 2016] 7f60: 00000000 c05fb62c 00000000 c0837fa8 c08312c4 c083e6ac c0836000 00000000
[Fr Jun  3 16:30:30 2016] 7f80: 00000000 c0837fa0 c000af3c c000af40 60000013 ffffffff
[Fr Jun  3 16:30:30 2016] [<c000da20>] (__irq_svc) from [<c000af40>] (arch_cpu_idle+0x28/0x30)
[Fr Jun  3 16:30:30 2016] [<c000af40>] (arch_cpu_idle) from [<c00516fc>] (cpu_startup_entry+0x14c/0x260)
[Fr Jun  3 16:30:30 2016] [<c00516fc>] (cpu_startup_entry) from [<c07fdc14>] (start_kernel+0x354/0x3cc)
[Fr Jun  3 16:30:30 2016] Mem-Info:
[Fr Jun  3 16:30:30 2016] active_anon:10749 inactive_anon:10757 isolated_anon:23
 active_file:2120 inactive_file:1812 isolated_file:0
 unevictable:0 dirty:389 writeback:362 unstable:0
 slab_reclaimable:1132 slab_unreclaimable:1541
 mapped:2225 shmem:8 pagetables:394 bounce:0
 free:128 free_pcp:49 free_cma:0
[Fr Jun  3 16:30:30 2016] Normal free:512kB min:1364kB low:1704kB high:2044kB active_anon:42996kB inactive_anon:43028kB active_file:8480kB inactive_file:7248kB unevictable:0kB isolated(anon):92kB isolated(file):0kB present:131072kB managed:120804kB mlocked:0kB dirty:1556kB writeback:1448kB mapped:8900kB shmem:32kB slab_reclaimable:4528kB slab_unreclaimable:6164kB kernel_stack:1208kB pagetables:1576kB unstable:0kB bounce:0kB free_pcp:196kB local_pcp:72kB free_cma:0kB writeback_tmp:0kB pages_scanned:128 all_unreclaimable? no
[Fr Jun  3 16:30:30 2016] lowmem_reserve[]: 0 0
[Fr Jun  3 16:30:30 2016] Normal: 128*4kB (UE) 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 512kB
[Fr Jun  3 16:30:30 2016] 5129 total pagecache pages
[Fr Jun  3 16:30:30 2016] 1185 pages in swap cache
[Fr Jun  3 16:30:30 2016] Swap cache stats: add 431792, delete 430607, find 367054/470605
[Fr Jun  3 16:30:30 2016] Free swap  = 68524kB
[Fr Jun  3 16:30:30 2016] Total swap = 153596kB
[Fr Jun  3 16:30:30 2016] 32768 pages RAM
[Fr Jun  3 16:30:30 2016] 0 pages HighMem/MovableOnly
[Fr Jun  3 16:30:30 2016] 2567 pages reserved
[Fr Jun  3 16:30:30 2016] ksoftirqd/0: page allocation failure: order:0, mode:0x2080020
[Fr Jun  3 16:30:30 2016] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.4.11-oxnas-rm-1 #1
[Fr Jun  3 16:30:30 2016] Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[Fr Jun  3 16:30:30 2016] [<c0010c6c>] (unwind_backtrace) from [<c000cf9c>] (show_stack+0x10/0x14)
[Fr Jun  3 16:30:30 2016] [<c000cf9c>] (show_stack) from [<c02b7780>] (dump_stack+0x84/0xa0)
[Fr Jun  3 16:30:30 2016] [<c02b7780>] (dump_stack) from [<c00a38f4>] (warn_alloc_failed+0xdc/0x124)
[Fr Jun  3 16:30:30 2016] [<c00a38f4>] (warn_alloc_failed) from [<c00a5fe8>] (__alloc_pages_nodemask+0x1a0/0x960)
[Fr Jun  3 16:30:30 2016] [<c00a5fe8>] (__alloc_pages_nodemask) from [<c00a69b0>] (__alloc_page_frag+0x168/0x19c)
[Fr Jun  3 16:30:30 2016] [<c00a69b0>] (__alloc_page_frag) from [<c04879f0>] (__netdev_alloc_skb+0xa0/0x110)
[Fr Jun  3 16:30:30 2016] [<c04879f0>] (__netdev_alloc_skb) from [<c03a9604>] (stmmac_poll+0x510/0x66c)
[Fr Jun  3 16:30:30 2016] [<c03a9604>] (stmmac_poll) from [<c0494c04>] (net_rx_action+0x1fc/0x30c)
[Fr Jun  3 16:30:30 2016] [<c0494c04>] (net_rx_action) from [<c001e240>] (__do_softirq+0xfc/0x248)
[Fr Jun  3 16:30:30 2016] [<c001e240>] (__do_softirq) from [<c001e3b4>] (run_ksoftirqd+0x28/0x44)
[Fr Jun  3 16:30:30 2016] [<c001e3b4>] (run_ksoftirqd) from [<c0036cdc>] (smpboot_thread_fn+0x164/0x28c)
[Fr Jun  3 16:30:30 2016] [<c0036cdc>] (smpboot_thread_fn) from [<c0033bb8>] (kthread+0xd4/0xf0)
[Fr Jun  3 16:30:30 2016] [<c0033bb8>] (kthread) from [<c000a508>] (ret_from_fork+0x14/0x2c)
[Fr Jun  3 16:30:30 2016] Mem-Info:
[Fr Jun  3 16:30:30 2016] active_anon:10749 inactive_anon:10757 isolated_anon:23
 active_file:2120 inactive_file:1812 isolated_file:0
 unevictable:0 dirty:389 writeback:362 unstable:0
 slab_reclaimable:1132 slab_unreclaimable:1541
 mapped:2225 shmem:8 pagetables:394 bounce:0
 free:128 free_pcp:49 free_cma:0
[Fr Jun  3 16:30:30 2016] Normal free:512kB min:1364kB low:1704kB high:2044kB active_anon:42996kB inactive_anon:43028kB active_file:8480kB inactive_file:7248kB unevictable:0kB isolated(anon):92kB isolated(file):0kB present:131072kB managed:120804kB mlocked:0kB dirty:1556kB writeback:1448kB mapped:8900kB shmem:32kB slab_reclaimable:4528kB slab_unreclaimable:6164kB kernel_stack:1208kB pagetables:1576kB unstable:0kB bounce:0kB free_pcp:196kB local_pcp:72kB free_cma:0kB writeback_tmp:0kB pages_scanned:128 all_unreclaimable? no
[Fr Jun  3 16:30:30 2016] lowmem_reserve[]: 0 0
[Fr Jun  3 16:30:30 2016] Normal: 128*4kB (UE) 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 512kB
[Fr Jun  3 16:30:30 2016] 5129 total pagecache pages
[Fr Jun  3 16:30:30 2016] 1185 pages in swap cache
[Fr Jun  3 16:30:30 2016] Swap cache stats: add 431792, delete 430607, find 367054/470606
[Fr Jun  3 16:30:30 2016] Free swap  = 68524kB
[Fr Jun  3 16:30:30 2016] Total swap = 153596kB
[Fr Jun  3 16:30:30 2016] 32768 pages RAM
[Fr Jun  3 16:30:30 2016] 0 pages HighMem/MovableOnly
[Fr Jun  3 16:30:30 2016] 2567 pages reserved
[Fr Jun  3 16:30:30 2016] ksoftirqd/0: page allocation failure: order:0, mode:0x2080020
[Fr Jun  3 16:30:30 2016] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.4.11-oxnas-rm-1 #1
[Fr Jun  3 16:30:30 2016] Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[Fr Jun  3 16:30:30 2016] [<c0010c6c>] (unwind_backtrace) from [<c000cf9c>] (show_stack+0x10/0x14)
[Fr Jun  3 16:30:30 2016] [<c000cf9c>] (show_stack) from [<c02b7780>] (dump_stack+0x84/0xa0)
[Fr Jun  3 16:30:30 2016] [<c02b7780>] (dump_stack) from [<c00a38f4>] (warn_alloc_failed+0xdc/0x124)
[Fr Jun  3 16:30:30 2016] [<c00a38f4>] (warn_alloc_failed) from [<c00a5fe8>] (__alloc_pages_nodemask+0x1a0/0x960)
[Fr Jun  3 16:30:30 2016] [<c00a5fe8>] (__alloc_pages_nodemask) from [<c00a69b0>] (__alloc_page_frag+0x168/0x19c)
[Fr Jun  3 16:30:30 2016] [<c00a69b0>] (__alloc_page_frag) from [<c04879f0>] (__netdev_alloc_skb+0xa0/0x110)
[Fr Jun  3 16:30:30 2016] [<c04879f0>] (__netdev_alloc_skb) from [<c03a9604>] (stmmac_poll+0x510/0x66c)
[Fr Jun  3 16:30:30 2016] [<c03a9604>] (stmmac_poll) from [<c0494c04>] (net_rx_action+0x1fc/0x30c)
[Fr Jun  3 16:30:30 2016] [<c0494c04>] (net_rx_action) from [<c001e240>] (__do_softirq+0xfc/0x248)
[Fr Jun  3 16:30:30 2016] [<c001e240>] (__do_softirq) from [<c001e3b4>] (run_ksoftirqd+0x28/0x44)
[Fr Jun  3 16:30:30 2016] [<c001e3b4>] (run_ksoftirqd) from [<c0036cdc>] (smpboot_thread_fn+0x164/0x28c)
[Fr Jun  3 16:30:30 2016] [<c0036cdc>] (smpboot_thread_fn) from [<c0033bb8>] (kthread+0xd4/0xf0)
[Fr Jun  3 16:30:30 2016] [<c0033bb8>] (kthread) from [<c000a508>] (ret_from_fork+0x14/0x2c)
[Fr Jun  3 16:30:30 2016] Mem-Info:
[Fr Jun  3 16:30:30 2016] active_anon:10749 inactive_anon:10757 isolated_anon:23
 active_file:2120 inactive_file:1812 isolated_file:0
 unevictable:0 dirty:389 writeback:362 unstable:0
 slab_reclaimable:1132 slab_unreclaimable:1541
 mapped:2225 shmem:8 pagetables:394 bounce:0
 free:128 free_pcp:49 free_cma:0
[Fr Jun  3 16:30:30 2016] Normal free:512kB min:1364kB low:1704kB high:2044kB active_anon:42996kB inactive_anon:43028kB active_file:8480kB inactive_file:7248kB unevictable:0kB isolated(anon):92kB isolated(file):0kB present:131072kB managed:120804kB mlocked:0kB dirty:1556kB writeback:1448kB mapped:8900kB shmem:32kB slab_reclaimable:4528kB slab_unreclaimable:6164kB kernel_stack:1208kB pagetables:1576kB unstable:0kB bounce:0kB free_pcp:196kB local_pcp:72kB free_cma:0kB writeback_tmp:0kB pages_scanned:128 all_unreclaimable? no
[Fr Jun  3 16:30:30 2016] lowmem_reserve[]: 0 0
[Fr Jun  3 16:30:30 2016] Normal: 128*4kB (UE) 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 512kB
[Fr Jun  3 16:30:30 2016] 5129 total pagecache pages
[Fr Jun  3 16:30:30 2016] 1185 pages in swap cache
[Fr Jun  3 16:30:30 2016] Swap cache stats: add 431792, delete 430607, find 367054/470606
[Fr Jun  3 16:30:30 2016] Free swap  = 68524kB
[Fr Jun  3 16:30:30 2016] Total swap = 153596kB
[Fr Jun  3 16:30:30 2016] 32768 pages RAM
[Fr Jun  3 16:30:30 2016] 0 pages HighMem/MovableOnly
[Fr Jun  3 16:30:30 2016] 2567 pages reserved
[Fr Jun  3 16:30:30 2016] tvheadend: page allocation failure: order:0, mode:0x2080020
[Fr Jun  3 16:30:30 2016] CPU: 0 PID: 27484 Comm: tvheadend Not tainted 4.4.11-oxnas-rm-1 #1
[Fr Jun  3 16:30:30 2016] Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[Fr Jun  3 16:30:30 2016] [<c0010c6c>] (unwind_backtrace) from [<c000cf9c>] (show_stack+0x10/0x14)
[Fr Jun  3 16:30:30 2016] [<c000cf9c>] (show_stack) from [<c02b7780>] (dump_stack+0x84/0xa0)
[Fr Jun  3 16:30:30 2016] [<c02b7780>] (dump_stack) from [<c00a38f4>] (warn_alloc_failed+0xdc/0x124)
[Fr Jun  3 16:30:30 2016] [<c00a38f4>] (warn_alloc_failed) from [<c00a5fe8>] (__alloc_pages_nodemask+0x1a0/0x960)
[Fr Jun  3 16:30:30 2016] [<c00a5fe8>] (__alloc_pages_nodemask) from [<c00a69b0>] (__alloc_page_frag+0x168/0x19c)
[Fr Jun  3 16:30:30 2016] [<c00a69b0>] (__alloc_page_frag) from [<c04879f0>] (__netdev_alloc_skb+0xa0/0x110)
[Fr Jun  3 16:30:30 2016] [<c04879f0>] (__netdev_alloc_skb) from [<c03a9604>] (stmmac_poll+0x510/0x66c)
[Fr Jun  3 16:30:30 2016] [<c03a9604>] (stmmac_poll) from [<c0494c04>] (net_rx_action+0x1fc/0x30c)
[Fr Jun  3 16:30:30 2016] [<c0494c04>] (net_rx_action) from [<c001e240>] (__do_softirq+0xfc/0x248)
[Fr Jun  3 16:30:30 2016] [<c001e240>] (__do_softirq) from [<c001e648>] (irq_exit+0xc4/0x110)
[Fr Jun  3 16:30:30 2016] [<c001e648>] (irq_exit) from [<c000fad4>] (handle_IPI+0xe0/0x1c4)
[Fr Jun  3 16:30:30 2016] [<c000fad4>] (handle_IPI) from [<c0009460>] (gic_handle_irq+0x6c/0x74)
[Fr Jun  3 16:30:30 2016] [<c0009460>] (gic_handle_irq) from [<c000da20>] (__irq_svc+0x40/0x74)
[Fr Jun  3 16:30:30 2016] Exception stack(0xc2e05e10 to 0xc2e05e58)
[Fr Jun  3 16:30:30 2016] 5e00:                                     c7ebdb20 07689000 00000000 000014b2
[Fr Jun  3 16:30:30 2016] 5e20: c7ebdb20 c50f91e0 00000000 c7444940 00000000 00000007 c2f9bb74 c2e05e8c
[Fr Jun  3 16:30:30 2016] 5e40: 00000000 c2e05e60 c003820c c05fa1c0 60000013 ffffffff
[Fr Jun  3 16:30:30 2016] [<c000da20>] (__irq_svc) from [<c05fa1c0>] (_raw_spin_unlock_irq+0x24/0x58)
[Fr Jun  3 16:30:30 2016] [<c05fa1c0>] (_raw_spin_unlock_irq) from [<c003820c>] (finish_task_switch+0x5c/0x174)
[Fr Jun  3 16:30:30 2016] [<c003820c>] (finish_task_switch) from [<c05f6ac4>] (__schedule+0x1a8/0x5a4)
[Fr Jun  3 16:30:30 2016] [<c05f6ac4>] (__schedule) from [<c05f70d0>] (schedule+0x4c/0xac)
[Fr Jun  3 16:30:30 2016] [<c05f70d0>] (schedule) from [<c05f9c0c>] (schedule_hrtimeout_range_clock+0xa0/0x120)
[Fr Jun  3 16:30:30 2016] [<c05f9c0c>] (schedule_hrtimeout_range_clock) from [<c012dd68>] (SyS_epoll_wait+0x340/0x45c)
[Fr Jun  3 16:30:30 2016] [<c012dd68>] (SyS_epoll_wait) from [<c000a460>] (ret_fast_syscall+0x0/0x34)
[Fr Jun  3 16:30:30 2016] Mem-Info:
[Fr Jun  3 16:30:30 2016] active_anon:10749 inactive_anon:10757 isolated_anon:23
 active_file:2120 inactive_file:1812 isolated_file:0
 unevictable:0 dirty:389 writeback:362 unstable:0
 slab_reclaimable:1132 slab_unreclaimable:1541
 mapped:2225 shmem:8 pagetables:394 bounce:0
 free:128 free_pcp:49 free_cma:0
[Fr Jun  3 16:30:30 2016] Normal free:512kB min:1364kB low:1704kB high:2044kB active_anon:42996kB inactive_anon:43028kB active_file:8480kB inactive_file:7248kB unevictable:0kB isolated(anon):92kB isolated(file):0kB present:131072kB managed:120804kB mlocked:0kB dirty:1556kB writeback:1448kB mapped:8900kB shmem:32kB slab_reclaimable:4528kB slab_unreclaimable:6164kB kernel_stack:1208kB pagetables:1576kB unstable:0kB bounce:0kB free_pcp:196kB local_pcp:72kB free_cma:0kB writeback_tmp:0kB pages_scanned:128 all_unreclaimable? no
[Fr Jun  3 16:30:30 2016] lowmem_reserve[]: 0 0
[Fr Jun  3 16:30:30 2016] Normal: 128*4kB (UE) 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 512kB
[Fr Jun  3 16:30:30 2016] 5129 total pagecache pages
[Fr Jun  3 16:30:30 2016] 1185 pages in swap cache
[Fr Jun  3 16:30:30 2016] Swap cache stats: add 431792, delete 430607, find 367054/470606
[Fr Jun  3 16:30:30 2016] Free swap  = 68524kB
[Fr Jun  3 16:30:30 2016] Total swap = 153596kB
[Fr Jun  3 16:30:30 2016] 32768 pages RAM
[Fr Jun  3 16:30:30 2016] 0 pages HighMem/MovableOnly
[Fr Jun  3 16:30:31 2016] 2567 pages reserved
[Fr Jun  3 16:30:31 2016] eth0: Inconsistent Rx descriptor chain
[Fr Jun  3 16:30:31 2016] java: page allocation failure: order:0, mode:0x2080020
[Fr Jun  3 16:30:31 2016] CPU: 0 PID: 7438 Comm: java Not tainted 4.4.11-oxnas-rm-1 #1
[Fr Jun  3 16:30:31 2016] Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[Fr Jun  3 16:30:31 2016] [<c0010c6c>] (unwind_backtrace) from [<c000cf9c>] (show_stack+0x10/0x14)
[Fr Jun  3 16:30:31 2016] [<c000cf9c>] (show_stack) from [<c02b7780>] (dump_stack+0x84/0xa0)
[Fr Jun  3 16:30:31 2016] [<c02b7780>] (dump_stack) from [<c00a38f4>] (warn_alloc_failed+0xdc/0x124)
[Fr Jun  3 16:30:31 2016] [<c00a38f4>] (warn_alloc_failed) from [<c00a5fe8>] (__alloc_pages_nodemask+0x1a0/0x960)
[Fr Jun  3 16:30:31 2016] [<c00a5fe8>] (__alloc_pages_nodemask) from [<c00a69b0>] (__alloc_page_frag+0x168/0x19c)
[Fr Jun  3 16:30:31 2016] [<c00a69b0>] (__alloc_page_frag) from [<c04879f0>] (__netdev_alloc_skb+0xa0/0x110)
[Fr Jun  3 16:30:31 2016] [<c04879f0>] (__netdev_alloc_skb) from [<c03a9604>] (stmmac_poll+0x510/0x66c)
[Fr Jun  3 16:30:31 2016] [<c03a9604>] (stmmac_poll) from [<c0494c04>] (net_rx_action+0x1fc/0x30c)
[Fr Jun  3 16:30:31 2016] [<c0494c04>] (net_rx_action) from [<c001e240>] (__do_softirq+0xfc/0x248)
[Fr Jun  3 16:30:31 2016] [<c001e240>] (__do_softirq) from [<c001e648>] (irq_exit+0xc4/0x110)
[Fr Jun  3 16:30:31 2016] [<c001e648>] (irq_exit) from [<c000fad4>] (handle_IPI+0xe0/0x1c4)
[Fr Jun  3 16:30:31 2016] [<c000fad4>] (handle_IPI) from [<c0009460>] (gic_handle_irq+0x6c/0x74)
[Fr Jun  3 16:30:31 2016] [<c0009460>] (gic_handle_irq) from [<c000da20>] (__irq_svc+0x40/0x74)
[Fr Jun  3 16:30:31 2016] Exception stack(0xc0a0dd90 to 0xc0a0ddd8)
[Fr Jun  3 16:30:31 2016] dd80:                                     00000000 00000000 c7ebab60 c7ebab20
[Fr Jun  3 16:30:31 2016] dda0: c0a0de38 c0a0de38 00000001 afde5444 ffffff92 c0a0c000 c75b3884 c0a0de34
[Fr Jun  3 16:30:31 2016] ddc0: c7ebab20 c0a0dde4 00000000 c006b780 60000013 ffffffff
[Fr Jun  3 16:30:31 2016] [<c000da20>] (__irq_svc) from [<c006b780>] (hrtimer_active+0x88/0x8c)
[Fr Jun  3 16:30:31 2016] [<c006b780>] (hrtimer_active) from [<c006bdfc>] (hrtimer_try_to_cancel+0x10/0xb4)
[Fr Jun  3 16:30:31 2016] [<c006bdfc>] (hrtimer_try_to_cancel) from [<c006beb4>] (hrtimer_cancel+0x14/0x24)
[Fr Jun  3 16:30:31 2016] [<c006beb4>] (hrtimer_cancel) from [<c007bab0>] (futex_wait+0x1cc/0x23c)
[Fr Jun  3 16:30:31 2016] [<c007bab0>] (futex_wait) from [<c007d38c>] (do_futex+0xfc/0xad4)
[Fr Jun  3 16:30:31 2016] [<c007d38c>] (do_futex) from [<c007dde0>] (SyS_futex+0x7c/0x168)
[Fr Jun  3 16:30:31 2016] [<c007dde0>] (SyS_futex) from [<c000a460>] (ret_fast_syscall+0x0/0x34)
[Fr Jun  3 16:30:31 2016] Mem-Info:
[Fr Jun  3 16:30:31 2016] active_anon:10749 inactive_anon:10757 isolated_anon:23
 active_file:2120 inactive_file:1812 isolated_file:0
 unevictable:0 dirty:389 writeback:362 unstable:0
 slab_reclaimable:1132 slab_unreclaimable:1541
 mapped:2225 shmem:8 pagetables:394 bounce:0
 free:128 free_pcp:49 free_cma:0
[Fr Jun  3 16:30:31 2016] Normal free:512kB min:1364kB low:1704kB high:2044kB active_anon:42996kB inactive_anon:43028kB active_file:8480kB inactive_file:7248kB unevictable:0kB isolated(anon):92kB isolated(file):0kB present:131072kB managed:120804kB mlocked:0kB dirty:1556kB writeback:1448kB mapped:8900kB shmem:32kB slab_reclaimable:4528kB slab_unreclaimable:6164kB kernel_stack:1208kB pagetables:1576kB unstable:0kB bounce:0kB free_pcp:196kB local_pcp:72kB free_cma:0kB writeback_tmp:0kB pages_scanned:128 all_unreclaimable? no
[Fr Jun  3 16:30:31 2016] lowmem_reserve[]: 0 0
[Fr Jun  3 16:30:31 2016] Normal: 128*4kB (UE) 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 512kB
[Fr Jun  3 16:30:31 2016] 5129 total pagecache pages
[Fr Jun  3 16:30:31 2016] 1185 pages in swap cache
[Fr Jun  3 16:30:31 2016] Swap cache stats: add 431792, delete 430607, find 367054/470606
[Fr Jun  3 16:30:31 2016] Free swap  = 68524kB
[Fr Jun  3 16:30:31 2016] Total swap = 153596kB
[Fr Jun  3 16:30:31 2016] 32768 pages RAM
[Fr Jun  3 16:30:31 2016] 0 pages HighMem/MovableOnly
[Fr Jun  3 16:30:31 2016] 2567 pages reserved
[Fr Jun  3 16:30:31 2016] eth0: Inconsistent Rx descriptor chain
[Fr Jun  3 16:30:31 2016] init: page allocation failure: order:0, mode:0x2080020
[Fr Jun  3 16:30:31 2016] CPU: 0 PID: 1 Comm: init Not tainted 4.4.11-oxnas-rm-1 #1
[Fr Jun  3 16:30:31 2016] Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[Fr Jun  3 16:30:31 2016] [<c0010c6c>] (unwind_backtrace) from [<c000cf9c>] (show_stack+0x10/0x14)
[Fr Jun  3 16:30:31 2016] [<c000cf9c>] (show_stack) from [<c02b7780>] (dump_stack+0x84/0xa0)
[Fr Jun  3 16:30:31 2016] [<c02b7780>] (dump_stack) from [<c00a38f4>] (warn_alloc_failed+0xdc/0x124)
[Fr Jun  3 16:30:31 2016] [<c00a38f4>] (warn_alloc_failed) from [<c00a5fe8>] (__alloc_pages_nodemask+0x1a0/0x960)
[Fr Jun  3 16:30:31 2016] [<c00a5fe8>] (__alloc_pages_nodemask) from [<c00a69b0>] (__alloc_page_frag+0x168/0x19c)
[Fr Jun  3 16:30:31 2016] [<c00a69b0>] (__alloc_page_frag) from [<c04879f0>] (__netdev_alloc_skb+0xa0/0x110)
[Fr Jun  3 16:30:31 2016] [<c04879f0>] (__netdev_alloc_skb) from [<c03a9604>] (stmmac_poll+0x510/0x66c)
[Fr Jun  3 16:30:31 2016] [<c03a9604>] (stmmac_poll) from [<c0494c04>] (net_rx_action+0x1fc/0x30c)
[Fr Jun  3 16:30:31 2016] [<c0494c04>] (net_rx_action) from [<c001e240>] (__do_softirq+0xfc/0x248)
[Fr Jun  3 16:30:31 2016] [<c001e240>] (__do_softirq) from [<c001e648>] (irq_exit+0xc4/0x110)
[Fr Jun  3 16:30:31 2016] [<c001e648>] (irq_exit) from [<c000fad4>] (handle_IPI+0xe0/0x1c4)
[Fr Jun  3 16:30:31 2016] [<c000fad4>] (handle_IPI) from [<c0009460>] (gic_handle_irq+0x6c/0x74)
[Fr Jun  3 16:30:31 2016] [<c0009460>] (gic_handle_irq) from [<c000da20>] (__irq_svc+0x40/0x74)
[Fr Jun  3 16:30:31 2016] Exception stack(0xc7443dc8 to 0xc7443e10)
[Fr Jun  3 16:30:31 2016] 3dc0:                   00000001 c000fcf4 c7443e34 00000001 00000001 c000fcf4
[Fr Jun  3 16:30:31 2016] 3de0: c7443e34 c6a10300 00000001 c64a8160 c6a101a0 c6a101d4 b6dfc000 c7443e18
[Fr Jun  3 16:30:31 2016] 3e00: c007e98c c003c0f8 80000113 ffffffff
[Fr Jun  3 16:30:31 2016] [<c000da20>] (__irq_svc) from [<c003c0f8>] (preempt_count_add+0x0/0x118)
[Fr Jun  3 16:30:31 2016] Mem-Info:
[Fr Jun  3 16:30:31 2016] active_anon:10749 inactive_anon:10757 isolated_anon:23
 active_file:2120 inactive_file:1812 isolated_file:0
 unevictable:0 dirty:389 writeback:362 unstable:0
 slab_reclaimable:1132 slab_unreclaimable:1541
 mapped:2225 shmem:8 pagetables:394 bounce:0
 free:128 free_pcp:49 free_cma:0
[Fr Jun  3 16:30:31 2016] Normal free:512kB min:1364kB low:1704kB high:2044kB active_anon:42996kB inactive_anon:43028kB active_file:8480kB inactive_file:7248kB unevictable:0kB isolated(anon):92kB isolated(file):0kB present:131072kB managed:120804kB mlocked:0kB dirty:1556kB writeback:1448kB mapped:8900kB shmem:32kB slab_reclaimable:4528kB slab_unreclaimable:6164kB kernel_stack:1208kB pagetables:1576kB unstable:0kB bounce:0kB free_pcp:196kB local_pcp:72kB free_cma:0kB writeback_tmp:0kB pages_scanned:128 all_unreclaimable? no
[Fr Jun  3 16:30:31 2016] lowmem_reserve[]: 0 0
[Fr Jun  3 16:30:31 2016] Normal: 128*4kB (UE) 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 512kB
[Fr Jun  3 16:30:31 2016] 5129 total pagecache pages
[Fr Jun  3 16:30:31 2016] 1185 pages in swap cache
[Fr Jun  3 16:30:31 2016] Swap cache stats: add 431792, delete 430607, find 367054/470606
[Fr Jun  3 16:30:31 2016] Free swap  = 68524kB
[Fr Jun  3 16:30:31 2016] Total swap = 153596kB
[Fr Jun  3 16:30:31 2016] 32768 pages RAM
[Fr Jun  3 16:30:31 2016] 0 pages HighMem/MovableOnly
[Fr Jun  3 16:30:31 2016] 2567 pages reserved
[Fr Jun  3 16:30:31 2016] eth0: Inconsistent Rx descriptor chain
[Fr Jun  3 16:30:31 2016] ksoftirqd/0: page allocation failure: order:0, mode:0x2080020
[Fr Jun  3 16:30:31 2016] CPU: 0 PID: 3 Comm: ksoftirqd/0 Not tainted 4.4.11-oxnas-rm-1 #1
[Fr Jun  3 16:30:31 2016] Hardware name: PLXTECH NAS782X SoC (Flattened Device Tree)
[Fr Jun  3 16:30:31 2016] [<c0010c6c>] (unwind_backtrace) from [<c000cf9c>] (show_stack+0x10/0x14)
[Fr Jun  3 16:30:31 2016] [<c000cf9c>] (show_stack) from [<c02b7780>] (dump_stack+0x84/0xa0)
[Fr Jun  3 16:30:31 2016] [<c02b7780>] (dump_stack) from [<c00a38f4>] (warn_alloc_failed+0xdc/0x124)
[Fr Jun  3 16:30:31 2016] [<c00a38f4>] (warn_alloc_failed) from [<c00a5fe8>] (__alloc_pages_nodemask+0x1a0/0x960)
[Fr Jun  3 16:30:31 2016] [<c00a5fe8>] (__alloc_pages_nodemask) from [<c00a69b0>] (__alloc_page_frag+0x168/0x19c)
[Fr Jun  3 16:30:31 2016] [<c00a69b0>] (__alloc_page_frag) from [<c04879f0>] (__netdev_alloc_skb+0xa0/0x110)
[Fr Jun  3 16:30:31 2016] [<c04879f0>] (__netdev_alloc_skb) from [<c03a9604>] (stmmac_poll+0x510/0x66c)
[Fr Jun  3 16:30:31 2016] [<c03a9604>] (stmmac_poll) from [<c0494c04>] (net_rx_action+0x1fc/0x30c)
[Fr Jun  3 16:30:31 2016] [<c0494c04>] (net_rx_action) from [<c001e240>] (__do_softirq+0xfc/0x248)
[Fr Jun  3 16:30:31 2016] [<c001e240>] (__do_softirq) from [<c001e3b4>] (run_ksoftirqd+0x28/0x44)
[Fr Jun  3 16:30:31 2016] [<c001e3b4>] (run_ksoftirqd) from [<c0036cdc>] (smpboot_thread_fn+0x164/0x28c)
[Fr Jun  3 16:30:31 2016] [<c0036cdc>] (smpboot_thread_fn) from [<c0033bb8>] (kthread+0xd4/0xf0)
[Fr Jun  3 16:30:31 2016] [<c0033bb8>] (kthread) from [<c000a508>] (ret_from_fork+0x14/0x2c)
[Fr Jun  3 16:30:31 2016] Mem-Info:
[Fr Jun  3 16:30:31 2016] active_anon:10749 inactive_anon:10757 isolated_anon:23
 active_file:2120 inactive_file:1812 isolated_file:0
 unevictable:0 dirty:389 writeback:362 unstable:0
 slab_reclaimable:1132 slab_unreclaimable:1541
 mapped:2225 shmem:8 pagetables:394 bounce:0
 free:128 free_pcp:49 free_cma:0
[Fr Jun  3 16:30:31 2016] Normal free:512kB min:1364kB low:1704kB high:2044kB active_anon:42996kB inactive_anon:43028kB active_file:8480kB inactive_file:7248kB unevictable:0kB isolated(anon):92kB isolated(file):0kB present:131072kB managed:120804kB mlocked:0kB dirty:1556kB writeback:1448kB mapped:8900kB shmem:32kB slab_reclaimable:4528kB slab_unreclaimable:6164kB kernel_stack:1208kB pagetables:1576kB unstable:0kB bounce:0kB free_pcp:196kB local_pcp:72kB free_cma:0kB writeback_tmp:0kB pages_scanned:128 all_unreclaimable? no
[Fr Jun  3 16:30:31 2016] lowmem_reserve[]: 0 0
[Fr Jun  3 16:30:31 2016] Normal: 128*4kB (UE) 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 512kB
[Fr Jun  3 16:30:31 2016] 5129 total pagecache pages
[Fr Jun  3 16:30:31 2016] 1185 pages in swap cache
[Fr Jun  3 16:30:31 2016] Swap cache stats: add 431792, delete 430607, find 367054/470606
[Fr Jun  3 16:30:31 2016] Free swap  = 68524kB
[Fr Jun  3 16:30:31 2016] Total swap = 153596kB
[Fr Jun  3 16:30:31 2016] 32768 pages RAM
[Fr Jun  3 16:30:31 2016] 0 pages HighMem/MovableOnly
[Fr Jun  3 16:30:31 2016] 2567 pages reserved
[Fr Jun  3 16:30:43 2016] eth0: Inconsistent Rx descriptor chain


Edit

The box is still alive but is seems that network performance has dropped .. (1 mb/s samba file copy)
After installing Webmin I've restarted the box because the LAN driver isn't build as module so I cannot unload it (I'll change that in 4.4.12)

Now (with running Webmin and Tvheadend, I get 32 - 34 MB/s write again (sometimes it drops to 25 mb/s for a short time)
The only thing thats different from the first test (updated wheezy image + linux-4.1.25), the read speed is much slower
(12 - 15 MB/s smba file copy)


Edit 2

it seems that there are en error in my setup (windows 8.1, VM, usb 3.0 LAN attached directly to the host)
On native Windows 8.1 / 10 .. same speed as with kernel 4.1.25 (38 - 40 MB/s samba file copy read, 32 - 34 MB/s samba file copy write)
hmm the tcp thoughput seems to be more unstable as with kernel 4.1 ..
Sometimes I see 700 MBit, sometimes 600 MBit ... and from time to time it trops to 400 MBit for a second
The other way is interesting (I haven't testet before) ... (Medion box client, PC server) .. in this constellation I get only 400 MBit throughput ... (tcp)



Edited 2 time(s). Last edit at 06/03/2016 08:16PM by pengu.
Re: Debian on Medion NAS MD 86xxx (STG-212)
June 03, 2016 09:42PM
Try bumping up sysctl.cfg vm.min_free_kbytes to 16MB. See if it helps. With 128MB RAM, there is not a whole lot memory to play with :)

-bodhi
===========================
Wiki
latest Kirkwood kernel builds and rootfs
latest u-boot-kirkwood builds
latest Oxnas kernel builds and rootfs
latest u-boot-oxnas builds
latest MVEBU Armada kernel builds and rootfs
U-Boot & Kernel Booting process
bodhi's u-boot GitHub
bodhi's corner



Edited 1 time(s). Last edit at 06/03/2016 11:42PM by bodhi.
Re: Debian on Medion NAS MD 86xxx (STG-212)
June 04, 2016 06:22PM
let's see ..


sysctl --system
* Applying /etc/sysctl.conf ...
net.core.rmem_max = 2097152
net.core.wmem_max = 2097152
net.ipv4.tcp_rmem = 4096 87380 2097152
net.ipv4.tcp_wmem = 4096 16384 2097152
vm.min_free_kbytes = 16384
(the rest is taken from my kirkwood image)

free -m
             total       used       free     shared    buffers     cached
Mem:           117         80         37          2          1         23
-/+ buffers/cache:         55         62
Swap:          149         76         73

I didn't see <20 MB free RAM yet

Edit

I think this makes it better and worse .. depending what is running ..
more free ram makes tvheadend web interface and perhaps webmin faster but .. java is killing the box again .. and it become unresponsive in the last two days .. when this occoures.
The interesting thing .. this is happening with swap nearly half filled .. the stick is ok .. and ATM the only one from which I can boot (the other is the verbatim ... perhaps I should try the cruizer blade ...)
I've formatted the swap partition on that box so that shouldn't happen.



Edited 4 time(s). Last edit at 06/04/2016 07:23PM by pengu.
Re: Debian on Medion NAS MD 86xxx (STG-212)
June 07, 2016 05:46PM
ok ... kernel 4.4.12 is running ... I'm trying with ..

java  -jar -Xms16m -Xmx32m


free -m
             total       used       free     shared    buffers     cached
Mem:           118        106         11          0          1         10
-/+ buffers/cache:         94         23
Swap:          149         40        109

lsmod
Module                  Size  Used by
cpufreq_conservative     6626  0 
cpufreq_ondemand        8440  0 
cpufreq_stats           2570  0 
cpufreq_powersave        767  0 
cpufreq_userspace       1333  0 
it913x                  3783  1 
regmap_i2c              2791  1 it913x
af9033                 26946  1 
gpio_keys_polled        4266  0 
i2c_gpio                3036  0 
input_polldev           3180  1 gpio_keys_polled
i2c_algo_bit            5388  1 i2c_gpio
dvb_usb_af9035         16916  16 
gpio_keys               7260  0 
dvb_usb_v2             12504  1 dvb_usb_af9035
dvb_core               74925  1 dvb_usb_v2
rc_core                15382  3 dvb_usb_v2,dvb_usb_af9035
dwmac_generic           2218  0 
uas                    12165  0 
dwmac_oxnas             1706  0 
stmmac_platform         2870  2 dwmac_generic,dwmac_oxnas
stmmac                 58592  4 dwmac_generic,stmmac_platform,dwmac_oxnas



Edited 1 time(s). Last edit at 06/07/2016 05:47PM by pengu.
Re: Debian on Medion NAS MD 86xxx (STG-212)
April 17, 2017 08:06AM
a fiew months ago (with Kernel 4.4.2x and OpenWrt patches), I noticed that there were issues while running "locale-gen"
(gzip was messed up and "localedef" two or segfaults)

Now tried with kernel 4.4.61 and patches from here but same thing ...

Perhaps it depends on the exact version of the device, it differs sometimes ...

"memtester" is running fine so this isn't memory related .. perhaps something in the "coherency" stoff is going wrong ..



Edited 1 time(s). Last edit at 04/17/2017 08:08AM by pengu.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: