Welcome! Log In Create A New Profile

Advanced

Debian on Shuttle KD20 (PLX OXNAS 7821)

Posted by Peacemaker 
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 18, 2015 12:19PM
Peacemaker,

> As I hadn't much time last wek & focused on a full
> SATA Boot, USB 3.0 & Cardreader didn't make any
> progress execpt, Cardreader might connect to USB
> 3.0 or I2C, but I haven't figured out yet.
>
> For full SATA boot I'm a bit stucked as well, but
> may be I'll open for this a ne topic in the Uboot
> section here.

I would like to see if I can suggest some ideas, but lost tracks with where you are. Perhaps you can update the 1st post to show serial console log of u-boot and kernel booting? It would be a good summary of where you are and what problems remained. Great for others looking for info about this device.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 18, 2015 12:30PM
Jacq,
are you still able to boot into debian and access via ssh?
If you can do this, maybe you can print out the env of uboot.
fw_printenv

If you are not able to do this, you can boot into uboot via SATA and reflash your Uboot, if you need to do this I'll upload a files for this and a manual.


Bodhi,
I have already on my list to update 1. post, but had not so much time the last week to make propper updated post.
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 19, 2015 12:41AM
@Peacemaker

Unfortunately I do not have access via ssh.

> If you are not able to do this, you can boot into uboot via SATA and reflash your Uboot, if you need to do this I'll upload a files for this and a manual.

How can I do it?
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 19, 2015 12:35PM
Okay, here it is:
SATA-Uboot

Its a modified version of Warheads SATA rescue for the pogoplug, so most of the cedits to him :-)


What you got to do:

1. Connect a SATA disk to your Linux.
2. Find the disk (/dev/sdX)
3. Modify the disk_create script. Correct the /dev/sdX in second line to your system and uncomment it.
4. Make the script executable.
5. Check if you choose the right disk & execute the script as root and sync.
sudo ./disk_create
sync
6. Put the disk in the right port of your KD20
7. Press the on button & it sould start an Uboot and trys to load Kernel & uInitrd from Nand.
Stage-1 Bootloader 2014-09.24-14:52:42
Attempting to set PLLA to 875MHz ...
  plla_ctrl0 : 0x0000020A
  plla_ctrl1 : 0x00348000
  plla_ctrl2 : 0x0068008B
  plla_ctrl3 : 0x000000F8
PLLA Set

Setup memory, testing
Reading disk 00
  Sector : 0x0000009A
  Hdr len: 0x00027E98
  Hdr CRC: 0xF55097E9
 OK

     _           _   _   _
    | |         | | | | | |
 ___| |__  _   _| |_| |_| | ___
/ __| '_ \| | | | __| __| |/ _ \
\__ \ | | | |_| | |_| |_| |  __/
|___/_| |_|\__,_|\__|\__|_|\___|
          _   _     ____              _
         | | | |   | __ )  ___   ___ | |_
         | | | |___|  _ \ / _ \ / _ \| __|
         | |_| |___| |_) | (_) | (_) | |_
          \___/    |____/ \___/ \___/ \__|

U-Boot 1.1.2 (May  2 2012 - 21:38:52)

U-Boot code: 60D00000 -> 60D27E98  BSS: -> 60D3ABC0
IRQ Stack: 60cddf7c
FIQ Stack: 60cdcf7c
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:128 MiB
In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Hit any key to stop autoboot:  0

Device 0: 128MiB 3,3V 8-bit, sector size 128 KB

NAND read: device 0 offset 0x840000, size 0x350000

Reading data from 0xb8f800 -- 100% complete.
 3473408 bytes read: OK
....

Jacq, here you can interrupt the boot process and backup your Stage1 and Uboot via tftp.


@bodhi here is as well my problem, I've no idea why Uboot doesn't load up the harddrives. If I choose a newer Uboot (this is the vendors Uboot). I's not working anything (as the original Stage1 can't load fat partition or ext4) or only one disk with only 128mb ram or these sort of thinks
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 21, 2015 12:10PM
I cannot start linux on my omninas. Uboot is not booting...
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 21, 2015 02:44PM
Okay, that is really strange.

The SATA-boot is a real fail save boot. It should boot, not Linux but Uboot.

I got the script from this thread: http://archlinuxarm.org/forum/viewtopic.php?f=55&t=6193

It even is working with these files but Uboot is then more buggy.

So redownload the file I uploaded, prepare a hhd & try again. And make sure you uses the right sata port or just try on both!

edit.:
Upps I just saw I uploaded the overclocked version. Maybe you have "monday" ram on your board and can't use 875mhz (mine works even with 915mhz)

But I'll fix this and upload a 800mhz version



Edited 3 time(s). Last edit at 01/21/2015 02:59PM by Peacemaker.
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 21, 2015 03:49PM
@Peacemaker
Are you sure that your suggestion should be working when i have not work console...?
How can I verify results without console?
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 22, 2015 02:23PM
Okay, am I right here:
You have connected at first a Serial/UART and you somehow messed up something ( Uboot, stage1,..).
and you can't get a console over UART now.

So if you load everything from SATA (Stage1 & Uboot), then you shoud get uboot, stage1 and so UART back to live.

If you cant get UART back to live this way there are not so much things to investigate.

1. Check if you did everything correct with the sata boot disk(Script, right port/bay,..)

2. If boot disk is ok UART is the problem here: Check if every contact still in good shape, if you got an other device with uart check if its working there, check if baudrate and so on is still correct,...

If you didn't find an error: check again as far as I know If you do not physical damage the board, I see no possible way to brick the rescue boot as this is integradet in the SoC

Btw.: Is your kd20 still beeping after power it up?
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 23, 2015 03:28PM
@Peacemaker
I prepared disk with only one partition(with ext3 file system) using your script and i have put disk into right bay.

> Btw.: Is your kd20 still beeping after power it up?
Yes and blue power button changed color to red.

Console still don't work...



Edited 1 time(s). Last edit at 01/23/2015 03:35PM by Jacq.
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 24, 2015 03:13AM
Okay, my fault:

1. Beeping and Red color is a good sign as your Uboot is running normal. Do you get this by trying to start from sata & nand or only from sata?

2. I forget that the UBoot even from sata try's to load env's from nand and maybe there is the problem.

Two options:
1. I'll try to figure out a "better" Sata Uboot so really every thing is load from sata

2. Normaly Uboot trys to load an uImage from tftp as "backup", if loading form nand failed.
You need a dhcp with that gives the oxnas the tftp server address and you have to name the uImage just "uImage"

NAND read: device 0 offset 0x240000, size 0x280000

Reading data from 0x4bf800 -- 100% complete.
 2621440 bytes read: OK
## Booting image at 60500000 ...
Bad Magic Number
Wait GMAC to reset
Wait for PHY reset
PHY is IC+ IP1001LF
Wait for link to come up...........Link up
Wait for auto-negotiation to complete
Link is 1000M
BOOTP broadcast 1
*** Unhandled DHCP Option in OFFER/ACK: 28
*** Unhandled DHCP Option in OFFER/ACK: 42
*** Unhandled DHCP Option in OFFER/ACK: 28
*** Unhandled DHCP Option in OFFER/ACK: 42
DHCP client bound to address 192.168.0.177
Wait GMAC to reset
Wait for PHY reset
PHY is IC+ IP1001LF
Wait for link to come up...........Link up
Wait for auto-negotiation to complete
Link is 1000M
TFTP from server 192.168.0.100; our IP address is 192.168.0.177
Filename 'uImage'.
Load address: 0x60500000

-------------------------------------------------------------------------
GitHub https://github.com/cschil



Edited 1 time(s). Last edit at 01/24/2015 04:17AM by Peacemaker.
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 24, 2015 04:29AM
@Peacemaker,

> @bodhi here is as well my problem, I've no idea
> why Uboot doesn't load up the harddrives. If I
> choose a newer Uboot (this is the vendors Uboot).
> I's not working anything (as the original Stage1
> can't load fat partition or ext4) or only one disk
> with only 128mb ram or these sort of thinks

As I mentioned, I've lost track of what you have done on this device. So instead of rereading the posts, I'll wait till you have the boot log posted to see if I have any idea why certain thing is not working.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 24, 2015 04:39AM
bodhi Wrote:
-------------------------------------------------------
> @Peacemaker,
>
> > @bodhi here is as well my problem, I've no idea
> > why Uboot doesn't load up the harddrives. If I
> > choose a newer Uboot (this is the vendors
> Uboot).
> > I's not working anything (as the original
> Stage1
> > can't load fat partition or ext4) or only one
> disk
> > with only 128mb ram or these sort of thinks
>
> As I mentioned, I've lost track of what you have
> done on this device. So instead of rereading the
> posts, I'll wait till you have the boot log posted
> to see if I have any idea why certain thing is not
> working.

:-) This was not a " come on and look over my posts". For the Uboot probs there will be a own thread with everything is needed
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 24, 2015 05:55AM
I configure dhcp and tftp server option, but omninas did not try to get ip from this server....
Any idea?
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 24, 2015 07:05AM
Okay, not too bad as it realy looks you messed up your env's

I updated the SATA Uboot, with env's from sata -> please try again with updated files.

Here the link again:
KD20_sata_boot.tar.gz
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 24, 2015 01:06PM
Now power button blink on violet/red.
Nas get up from dhcp, but no response on icmp..
Console still not working...
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 24, 2015 01:10PM
Hm,.. Okay, then software is not the problem here, or at least not the software on KD20.

Can you somehow check if your UART/Serial equipment is working properly?
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 24, 2015 01:19PM
UART converter/serial is working properly on other device - Zyxel NSA310
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 24, 2015 01:30PM
I think you checked the connectors on the KD20 board, as well :-) But some how I'm out of idea for now where the problem with console can be.

I
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 24, 2015 03:17PM
Ok, it was problem with connectivity between pins and mainboard...

How to repair console permanently?

Can you share me files for booting debian from disk?



Edited 2 time(s). Last edit at 01/24/2015 03:53PM by Jacq.
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 25, 2015 03:46AM
Jacq Wrote:
-------------------------------------------------------
> Can you share me files for booting debian from
> disk?

Sry, at the moment a full sata boot did'nt work. As Uboot did not find the activate Sata ports
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 25, 2015 03:57AM
How to repair console permanently?
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 25, 2015 03:59AM
Jacq Wrote:
-------------------------------------------------------
> Ok, it was problem with connectivity between pins
> and mainboard...

You should know, how to fix the contacts :-)

Try to boot from nand and see if this still works, else you can boot with my sata boot und restore your nand uboot
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 25, 2015 04:11AM
When i remove prepared disk from the omninas uboot isn't loading(from nand)....
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 25, 2015 04:19AM
Okay, then
1. boot form sata to Uboot
2. load your uboot-backup via tftp
tftp 64000000 uboot.backup # <- your backup file former mtd2

3. write it back to nand:
nand erase 40000 200000
nand write 64000000 40000 200000

Same for stage1:
tftp 64000000 stage1.backup
nand erase 0 40000
nand write 64000000 0 40000

Powerdown the nas & remove the disk

If you did not backuped your uboot or stage1 here you can get them

stage1.backup
uboot.backup



Edited 1 time(s). Last edit at 01/25/2015 04:29AM by Peacemaker.
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 25, 2015 04:21AM
After download this two files and remove the disk:

     _           _   _   _
    | |         | | | | | |
 ___| |__  _   _| |_| |_| | ___
/ __| '_ \| | | | __| __| |/ _ \
\__ \ | | | |_| | |_| |_| |  __/
|___/_| |_|\__,_|\__|\__|_|\___|
          _   _     ____              _
         | | | |   | __ )  ___   ___ | |_
         | | | |___|  _ \ / _ \ / _ \| __|
         | |_| |___| |_) | (_) | (_) | |_
          \___/    |____/ \___/ \___/ \__|

U-Boot 1.1.2 (Jan 24 2015 - 13:54:11)

U-Boot code: 60D00000 -> 60D25978  BSS: -> 60D3A680
IRQ Stack: 60cddf7c
FIQ Stack: 60cdcf7c
RAM Configuration:
        Bank #0: 60000000 256 MB
SRAM Configuration:
        64KB at 0x50000000
NAND:128 MiB
*** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Setting Linux mem= boot arg value
Hit any key to stop autoboot:   0

IDE device 0: not available
enable_interrupts

Reset IDE: Detecting SATA busses:
Bus 0: No devices found
disk is not present!
enable_interrupts

Reset IDE: Detecting SATA busses:
Bus 0: No devices found
disk is not present!
enable_interrupts

Reset IDE: Detecting SATA busses:
Bus 0: No devices found
disk is not present!
enable_interrupts

Reset IDE: Detecting SATA busses:
Bus 0: No devices found
disk is not present!
enable_interrupts

Reset IDE: Detecting SATA busses:
Bus 0: No devices found
disk is not present!
enable_interrupts

Reset IDE: Detecting SATA busses:
Bus 0: đNo devices found
disk is not present!
enable_interrupts

Reset IDE: Detecting SATA busses:
Bus 0: No devices found
disk is not present!
enable_interrupts

Reset IDE: Detecting SATA busses:
Bus 0: ŕNo devices found
disk is not present!
enable_interrupts

Reset IDE: Detecting SATA busses:
Bus 0: No devices found
disk is not present!
Wait GMAC to reset
Wait for PHY reset
PHY is IC+ IP1001LF
Wait for link to come up.........Stage-1 Bootloader 2012-06.13-13:06:32
Attempting to set PLLA to 750MHz ...
  plla_ctrl0 : 0x0000000A
  plla_ctrl1 : 0x000F0000
  plla_ctrl2 : 0x001D01A0
  plla_ctrl3 : 0x00000017
PLLA Set

Setup memory, testing, Image 0
Failed to correct error
Failed to correct error
  Hdr len: 0xA1A2A3A4
  Hdr CRC: 0xB1B2B3B4
 read failed, Image 1
Failed to correct error
Failed to correct error
  Hdr len: 0xA1A2A3A4
  Hdr CRC: 0xB1B2B3B4
 read failed, Image 0
Failed to correct error
Failed to correct error
  Hdr len: 0xA1A2A3A4



Edited 2 time(s). Last edit at 01/25/2015 05:09AM by Jacq.
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 25, 2015 06:23AM
Stage1 is OK.

But it did not find your uboot, so maybe try to flash again the uboot. If it fails i'll check my files again.
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
January 25, 2015 06:28AM
Any news?



Edited 2 time(s). Last edit at 03/13/2015 07:01AM by Jacq.
dalvir
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
March 20, 2015 12:05AM
Can You please explain Option 2?
Fritsbenik
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
April 28, 2015 03:41AM
After trying to get a USB to serial converter working under the original firmware. I've managed to f*ck up the kernel and not getting it to boot at all.

After follwing Peacemakers instructions I've managed to install debian on the KD20.

The problems i ran into during the install where:

The connection on the logicboard of the KD20 is pretty hard to solder (the copper around the hole didn't take the tin very well had to re-solder it 2 times :( ) Also the UART connection baudrate is nowhere descripted (but it's 115200 - got it from a picture of crosser's google+ page)

I've first setup with a rootfs disk in the right bay, but at first I had permission issues that causes the drive to be mounted read-only.
So I chown -R nobody the crap out of it. And finally it booted. But I wanted too put the original drive back into it (the one I already used with the original shuttle firmware) so had the same issue with a 8GB pen drive.

Now it boots from the pen drive but when it's getting into the debian the LED on the front is off as well as all other lighting or beeping.

I will post a full boot log later today, maybe I still have something not setup correctly.

Thanks to all the people ho made this possible and a special thanks to Peacemaker for the instructions and Crosser for the disassemble pictures and finding the UART
Re: Debian on Shuttle KD20 (PLX OXNAS 7821)
April 28, 2015 02:11PM
Like promised in my post above, which is full of typo's a bootlog

Connected.
Stage-1 Bootloader 2012-06.13-13:06:32
Attempting to set PLLA to 750MHz ...
  plla_ctrl0 : 0x0000000A
  plla_ctrl1 : 0x000F0000
  plla_ctrl2 : 0x001D01A0
  plla_ctrl3 : 0x00000017
PLLA Set

Setup memory, testing, Image 0
  Hdr len: 0x00028594
  Hdr CRC: 0x0BA1B9D0
 OK

     _           _   _   _       
    | |         | | | | | |      
 ___| |__  _   _| |_| |_| | ___  
/ __| '_ \| | | | __| __| |/ _ \ 
\__ \ | | | |_| | |_| |_| |  __/ 
|___/_| |_|\__,_|\__|\__|_|\___| 
          _   _     ____              _
         | | | |   | __ )  ___   ___ | |_ 
         | | | |___|  _ \ / _ \ / _ \| __| 
         | |_| |___| |_) | (_) | (_) | |_ 
          \___/    |____/ \___/ \___/ \__| 

U-Boot 1.1.2 (Oct 22 2012 - 10:55:50)

U-Boot code: 60D00000 -> 60D28594  BSS: -> 60D3B2C0
IRQ Stack: 60cddf7c
FIQ Stack: 60cdcf7c
RAM Configuration:
	Bank #0: 60000000 256 MB
SRAM Configuration:
	64KB at 0x50000000
NAND:128 MiB
In:    serial
Out:   serial
Err:   serial
Initialising disks
OX820 SATA Init...
SATA PHY not ready for device 1
Detecting SATA busses:
Bus 0: Found first device OK
  Device 0: Model: WDC WD30EZRX-00D8PB0 Firm: 80.00A80 Ser#: WD-WCC4N0748799
            Type: Hard Disk
            Supports 48-bit addressing
            Capacity: 764436.4 MB = 746.5 GB (1565565872 x 512)
  Device 1: not available
Setting Linux mem= boot arg value
Hit any key to stop autoboot:  0 

Device 0: 128MiB 3,3V 8-bit, sector size 128 KB

NAND read: device 0 offset 0x840000, size 0x350000

Reading data from 0xb8f800 -- 100% complete.
 3473408 bytes read: OK

NAND read: device 0 offset 0x240000, size 0x280000

Reading data from 0x4bf800 -- 100% complete.
 2621440 bytes read: OK
## Booting image at 60500000 ...
   Image Name:   Linux-3.18.1_7
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3066491 Bytes =  2.9 MB
   Load Address: 60008000
   Entry Point:  60008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 64000000 ...
   Image Name:   Wheezy Ramdisk
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    1841056 Bytes =  1.8 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.18.1_KD20-peace (peacemaker@VBarch) (gcc version 4.9.1 (GCC) ) #14 SMP Mon Jan 5 11:17:33 CET 2015
[    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: Shuttle KD20
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical_map
[    0.000000] PERCPU: Embedded 9 pages/cpu @cfde0000 s6784 r8192 d21888 u36864
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: root=/dev/sdb2 console=ttyS0,115200 mem=256M poweroutage=yes
[    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] Memory: 249248K/262144K available (6197K kernel code, 241K rwdata, 1680K rodata, 184K init, 392K bss, 12896K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff000000   ( 744 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07b965c   (7878 kB)
[    0.000000]       .init : 0xc07ba000 - 0xc07e8000   ( 184 kB)
[    0.000000]       .data : 0xc07e8000 - 0xc08247d0   ( 242 kB)
[    0.000000]        .bss : 0xc08247d0 - 0xc08869ec   ( 393 kB)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000] NR_IRQS:160
[    0.000020] sched_clock: 24 bits at 390kHz, resolution 2560ns, wraps every 42949670400ns
[    0.000235] Console: colour dummy device 80x30
[    0.000266] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992)
[    0.069936] pid_max: default: 32768 minimum: 301
[    0.070138] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.070161] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.071080] CPU: Testing write buffer coherency: ok
[    0.071513] Setting up static identity map for 0x605e5dc8 - 0x605e5e00
[    0.073551] CPU1: Booted secondary processor
[    0.140152] Brought up 2 CPUs
[    0.140177] SMP: Total of 2 processors activated.
[    0.141222] devtmpfs: initialized
[    0.144862] xor: measuring software checksum speed
[    0.239976]    arm4regs  :  1039.200 MB/sec
[    0.339975]    8regs     :   482.800 MB/sec
[    0.439971]    32regs    :   526.000 MB/sec
[    0.439989] xor: using function: arm4regs (1039.200 MB/sec)
[    0.440038] pinctrl core: initialized pinctrl subsystem
[    0.443038] NET: Registered protocol family 16
[    0.443727] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.448058] gpio-oxnas 44000000.gpio: at address d0848000
[    0.448345] gpio-oxnas 44100000.gpio: at address d084a000
[    0.448791] pinctrl-oxnas pinctrl: initialized OX820 pinctrl driver
[    0.620695] raid6: int32x1     37 MB/s
[    0.790097] raid6: int32x2     60 MB/s
[    0.960222] raid6: int32x4     66 MB/s
[    1.130355] raid6: int32x8     65 MB/s
[    1.130375] raid6: using algorithm int32x4 (66 MB/s)
[    1.130388] raid6: using intx1 recovery algorithm
[    1.240985] oxnas-pcie 47c0: PCIe version/deviceID 0x82510b5
[    1.252032] oxnas-pcie 47c0: link up
[    1.252282] oxnas-pcie 47c0: PCI host bridge to bus 0000:00
[    1.252313] pci_bus 0000:00: root bus resource [mem 0x48000000-0x49ffffff]
[    1.252336] pci_bus 0000:00: root bus resource [mem 0x4a000000-0x4bdfffff pref]
[    1.252359] pci_bus 0000:00: root bus resource [io  0x0000-0xfffff]
[    1.252382] pci_bus 0000:00: root bus resource [bus 00-7f]
[    1.252922] PCI: bus0: Fast back to back transfers disabled
[    1.253009] pci 0000:00:00.0: BAR 0: assigned [mem 0x48000000-0x48007fff 64bit]
[    1.253432] vgaarb: loaded
[    1.253962] SCSI subsystem initialized
[    1.254773] usbcore: registered new interface driver usbfs
[    1.254878] usbcore: registered new interface driver hub
[    1.255019] usbcore: registered new device driver usb
[    1.255162] pps_core: LinuxPPS API ver. 1 registered
[    1.255178] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    1.255221] PTP clock support registered
[    1.256896] cfg80211: Calling CRDA to update world regulatory domain
[    1.257297] Switched to clocksource rps_clocksource_timer
[    1.271539] NET: Registered protocol family 2
[    1.272601] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    1.272663] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[    1.272729] TCP: Hash tables configured (established 2048 bind 2048)
[    1.272821] TCP: reno registered
[    1.272852] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    1.272898] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    1.273231] NET: Registered protocol family 1
[    1.273871] RPC: Registered named UNIX socket transport module.
[    1.273894] RPC: Registered udp transport module.
[    1.273907] RPC: Registered tcp transport module.
[    1.273917] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.273991] pci 0000:00:00.0: enabling device (0140 -> 0142)
[    1.274472] Unpacking initramfs...
[    1.489044] Freeing initrd memory: 1800K (c4000000 - c41c2000)
[    1.490342] futex hash table entries: 512 (order: 2, 16384 bytes)
[    1.506961] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    1.508815] fuse init (API version 7.23)
[    1.509672] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    1.513758] NILFS version 2 loaded
[    1.515955] gfs2: GFS2 installed
[    1.516026] msgmni has been set to 490
[    1.519329] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    1.519367] io scheduler noop registered
[    1.519390] io scheduler deadline registered
[    1.519454] io scheduler cfq registered (default)
[    1.520053] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    1.521413] console [ttyS0] disabled
[    1.521495] of_serial 44200000.uart: ttyS0 at MMIO 0x44200000 (irq = 55, base_baud = 390625) is a 16550A
[    2.094159] console [ttyS0] enabled
[    2.100224] scsi host0: sata_oxnas
[    2.104330] scsi host1: sata_oxnas
[    2.108060] ata1: SATA max UDMA/133 irq 50
[    2.112268] ata2: SATA max UDMA/133 irq 50
[    2.117639] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xf1
[    2.124008] nand: Hynix H27U1G8F2BTR-BC
[    2.127831] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    2.133488] Scanning device for bad blocks
[    2.143823] sata_oxnas: resetting SATA core
[    2.157557] Bad eraseblock 243 at 0x000001e60000
[    2.191459] Bad eraseblock 600 at 0x000004b00000
[    2.229143] Bad eraseblock 1004 at 0x000007d80000
[    2.235422] 2 ofpart partitions found on MTD device 41000000.nand
[    2.241510] Creating 2 MTD partitions on "41000000.nand":
[    2.246886] 0x000000000000-0x000000e00000 : "boot"
[    2.253214] 0x000000e00000-0x000008000000 : "ubi"
[    2.259860] stmmaceth 40400000.ethernet: snps,phy-addr property is deprecated
[    2.267125] stmmaceth 40400000.ethernet: no reset control found
[    2.273054] stmmac - user ID: 0x12, Synopsys ID: 0x35
[    2.278074]  Ring mode enabled
[    2.281128]  DMA HW capability register supported
[    2.285634]  Enhanced/Alternate descriptors
[    2.289981] 	Enabled extended descriptors
[    2.293972]  RX Checksum Offload Engine supported (type 2)
[    2.299425]  TX Checksum insertion supported
[    2.303685]  Wake-Up On Lan supported
[    2.307328]  Enable RX Mitigation via HW Watchdog Timer
[    2.326000] libphy: stmmac: probed
[    2.329400] eth0: PHY ID 02430d91 at 1 IRQ POLL (stmmac-0:01) active
[    2.336074] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.342620] ehci-pci: EHCI PCI platform driver
[    2.347392] oxnas-ehci 40200100.ehci: EHCI Host Controller
[    2.352939] oxnas-ehci 40200100.ehci: new USB bus registered, assigned bus number 1
[    2.360744] oxnas-ehci 40200100.ehci: irq 39, io mem 0x40200100
[    2.380024] oxnas-ehci 40200100.ehci: USB 2.0 started, EHCI 1.00
[    2.386373] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.393182] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.400424] usb usb1: Product: EHCI Host Controller
[    2.405283] usb usb1: Manufacturer: Linux 3.18.1_KD20-peace ehci_hcd
[    2.411630] usb usb1: SerialNumber: 40200100.ehci
[    2.417223] hub 1-0:1.0: USB hub found
[    2.421086] hub 1-0:1.0: 2 ports detected
[    2.425804] usbcore: registered new interface driver usblp
[    2.431485] usbcore: registered new interface driver usb-storage
[    2.437821] mousedev: PS/2 mouse device common for all mice
[    2.443827] gpio-fan gpio-fan: GPIO fan initialized
[    2.448757] md: linear personality registered for level -1
[    2.454292] md: raid0 personality registered for level 0
[    2.459591] md: raid1 personality registered for level 1
[    2.464908] md: raid10 personality registered for level 10
[    2.471331] device-mapper: ioctl: 4.28.0-ioctl (2014-09-17) initialised: dm-devel@redhat.com
[    2.481602] usbcore: registered new interface driver usbhid
[    2.487152] usbhid: USB HID core driver
[    2.491397] TCP: cubic registered
[    2.495795] NET: Registered protocol family 10
[    2.501990] sit: IPv6 over IPv4 tunneling driver
[    2.507535] NET: Registered protocol family 17
[    2.517066] Btrfs loaded
[    2.520143] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    2.653667] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    2.660400] ata1.00: ATA-9: WDC WD30EZRX-00D8PB0, 80.00A80, max UDMA/133
[    2.667107] ata1.00: 5860533168 sectors, multi 0: LBA48 NCQ (depth 0/32)
[    2.674383] ata1.00: configured for UDMA/133
[    2.679180] scsi 0:0:0:0: Direct-Access     ATA      WDC WD30EZRX-00D 0A80 PQ: 0 ANSI: 5
[    2.689011] sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
[    2.696793] sd 0:0:0:0: [sda] 4096-byte physical blocks
[    2.702095] sata_oxnas: resetting SATA core
[    2.710479] sd 0:0:0:0: [sda] Write Protect is off
[    2.715502] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.733762] sata_oxnas: resetting SATA core
[    2.740106] usb 1-2: new high-speed USB device number 2 using oxnas-ehci
[    2.897930] usb 1-2: New USB device found, idVendor=058f, idProduct=6387
[    2.904668] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.911810] usb 1-2: Product: Mass Storage
[    2.915893] usb 1-2: Manufacturer: Generic
[    2.919989] usb 1-2: SerialNumber: 7E518F6A
[    2.925217] usb-storage 1-2:1.0: USB Mass Storage device detected
[    2.931932] scsi host2: usb-storage 1-2:1.0
[    3.413670] ata2: SATA link down (SStatus 0 SControl 310)
[    3.493667] ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xe frozen
[    3.500533] ata1: hard resetting link
[    3.932316] scsi 2:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 4
[    3.943370] sd 2:0:0:0: [sdb] 15974400 512-byte logical blocks: (8.17 GB/7.61 GiB)
[    3.951982] sd 2:0:0:0: [sdb] Write Protect is off
[    3.957731] sd 2:0:0:0: [sdb] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[    4.023864]  sdb: sdb1 sdb2
[    4.031367] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[    4.413665] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[    4.420997] ata1.00: configured for UDMA/133
[    4.425300] ata1: EH complete
[    5.189854]  sda: sda1 sda2 sda3 sda4
[    5.196257] sd 0:0:0:0: [sda] Attached SCSI disk
[    5.201292] Freeing unused kernel memory: 184K (c07ba000 - c07e8000)
Loading, please wait...
[    5.351846] udevd[89]: starting version 175
modprobe: chdir(3.18.1_KD20-peace): No such file or directory
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
modprobe: chdir(3.18.1_KD20-peace): No such file or directory
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting the hotplug events dispatcher: udevd[    8.895188] random: nonblocking pool is initialized
[    8.938055] udevd[293]: starting version 175
. ok 
[ ok ] Synthesizing the initial hotplug events...done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Activating swap...done.
[   11.608709] EXT2-fs (sdb2): warning: mounting unchecked fs, running e2fsck is recommended
[ ok ] Cleaning up temporary files... /tmp.
[info] Loading kernel module mii.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[info] Loading kernel module gmac.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[info] Loading kernel module scsi_wait_scan.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[info] Loading kernel module ahci.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[info] Loading kernel module led-class.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[info] Loading kernel module ledtrig-backlight.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[info] Loading kernel module ledtrig-default-on.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[info] Loading kernel module ledtrig-heartbeat.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[info] Loading kernel module mmc_block.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[info] Loading kernel module mmc_core.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[info] Loading kernel module sdhci-pci.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[info] Loading kernel module sdhci-pltfm.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[info] Loading kernel module sdhci.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[info] Loading kernel module spi_bitbang.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[info] Loading kernel module spi_ox820_gpio.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[info] Loading kernel module usblp.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[info] Loading kernel module autofs4.
libkmod: ERROR ../libkmod/libkmod.c:554 kmod_search_moddep: could not open moddep file '/lib/modules/3.18.1_KD20-peace/modules.dep.bin'
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.20.1
done.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[ ok ] Configuring network interfaces...done.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting enhanced syslogd: rsyslogd[   22.793835] stmmaceth 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
. ok 
[ ok ] Starting periodic command scheduler: cron.
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[2015/04/28 16:50:16] minidlna.c:474: error: Media directory "/storage/media/fotos" not accessible! [No such file or directory]
[2015/04/28 16:50:16] minidlna.c:474: error: Media directory "/storage/media/movies" not accessible! [No such file or directory]
[2015/04/28 16:50:16] minidlna.c:474: error: Media directory "/storage/media/tv" not accessible! [No such file or directory]
[2015/04/28 16:50:16] minidlna.c:474: error: Media directory "/storage/media/concerts" not accessible! [No such file or directory]
[2015/04/28 16:50:16] utils.c:265: warn: make_dir: cannot create directory '/storage/.cache/'
[2015/04/28 16:50:16] minidlna.c:529: fatal: Database path not accessible! [/storage/.cache/minidlna]

Debian GNU/Linux 7 oxnas ttyS0

oxnas login:

the minidlna stuff is known problem. I still have to make the drive mount at startup.
Author:

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: