Quantcast
Channel: Debian on Shuttle KD20 (PLX OXNAS 7821)
Viewing all 141 articles
Browse latest View live

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
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)

$
0
0
UART converter/serial is working properly on other device - Zyxel NSA310

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
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)

$
0
0
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?

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
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)

$
0
0
How to repair console permanently?

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
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)

$
0
0
When i remove prepared disk from the omninas uboot isn't loading(from nand)....

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
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

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
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

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
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)

$
0
0
Where can i find file rdimg.gz? Is it for omninas?

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Can You please explain Option 2?

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
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)

$
0
0
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.

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Hey,

First, I some how have stopped (maybe stalled) to look deeper into the KD20 as I have at the moment not the time and efford to do so (and have a good working debian NAS RN102)

@Fritsbenik
So one thing is you might clean up your /etc/modules as they are integrated in the Kernel already. The LED's are not programmed jet, but I think it can be easly done if you modify the LED script from bodhi or write your own bash script.
You can control the LED's as I rembere from the /sys/class/....

Maybe if I can find a free minute (more an hour or 2) to compile the 4.0 Kernel for the KD20 as there is something changed for usb 3.0 and maybe magicly cardreader and usb 3.0 is working.

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
@Peacemaker
Is it possible for you to upload the sources. The one in your dropbox is for a older kernel.

I didn't have time to look at the LED classes yet.

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Regarding serial, anyone care to share the pin layout of CON5, need to find the RX/TX and the gitorious
link is down.

Thanks,

Xander

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
1. RX normally has pull up/down resistor.
2. TX will have signal out during booting.

Re: Debian on Shuttle KD20 (PLX OXNAS 7821)

$
0
0
Odd, I need RX and TX to be both connected to get serial messages,
so I see booting but I am unable to interrupt u-boot or login from the console.

minicom settings are 115200 baud 8N1 identical behaviour on both PL2303 and
CH340G, unable to get anything across the line, both OSX and linux.

Any ideas?
Viewing all 141 articles
Browse latest View live