Welcome! Log In Create A New Profile

Advanced

Debian on iomega storcenter ix4-200d: succes!

Posted by damacc 
Debian on iomega storcenter ix4-200d: succes!
July 12, 2015 01:30PM
I want to report that I managed to get the 3.18.5 rootfs running on a Iomega storcenter ix4-200d.
After a lot research about the device tree and fiddling around with dts files I also managed to get the four sata ports and dual gigabit ports to work. There is a second sata controller on the PCI bus, and the ethernet interfaces had to be configured based on a very old kernel patch I found online that never made it into the kernel (http://lists.infradead.org/pipermail/linux-arm-kernel/2009-November/003906.html)

I have not managed to get the gpio or i2c devices working since it is very hard (not impossible, but a lot of hassle) to actually get the source code for this NAS. Lenovo wants a cheque or money order to cover expenses before they will mail it to you on a cd. (https://lenovo-na-en.custhelp.com/app/answers/detail/a_id/34787)

The uboot does not support a separate dtb, so it has to be appended to the kernel (see bodhi's excellent instructions in http://forum.doozan.com/read.php?2,12096)

DTS file for the ix4-200d
/dts-v1/;                                                                                                         
                                                                                                                  
#include "kirkwood.dtsi"                                                                                          
#include "kirkwood-6281.dtsi"                                                                                     
                                                                                                                  
/ {                                                                                                               
        model = "Iomega ix4-2OOd";                                                                                
        compatible = "marvell,rd88f6281-a", "marvell,rd88f6281","marvell,kirkwood-88f6281", "marvell,kirkwood";   
                                                                                                                  
memory {                                                                                                          
        device_type = "memory";                                                                                   
        reg = <0x00000000 0x20000000>;                                                                            
};                                                                                                                
                                                                                                                  
chosen {                                                                                                          
        bootargs = "console=ttyS0,115200n8 earlyprintk";                                                          
        stdout-path = &uart0;                                                                                     
};                                                                                                                
                                                                                                                  
mbus {                                                                                                            
        pcie-controller {                                                                                         
                status = "okay";                                                                                  
                                                                                                                  
                pcie@1,0 {                                                                                        
                        status = "okay";                                                                          
                };                                                                                                
        };                                                                                                        
};                                                                                                                
                                                                                                                  
ocp@f1000000 {                                                                                                    
                                                                                                                  
        serial@12000 {                                                                                            
                status = "ok";                                                                                    
        };                                                                                                        
                                                                                                                  
        sata@80000 {                                                                                              
                status = "okay";                                                                                  
                nr-ports = <2>;                                                                                   
        };                                                                                                        
                                                                                                                  
};                                                                                                                
                                                                                                                  
};                                                                                                                
                                                                                                                  
&nand {                                                                                                           
        status = "okay";                                                                                          
                                                                                                                  
        partition@0 {                                                                                             
                label = "u-boot";                                                                                 
                reg = <0x0000000 0x100000>;                                                                       
                read-only;                                                                                        
        };                                                                                                        
                                                                                                                  
        partition@100000 {                                                                                        
                label = "uImage";                                                                                 
                reg = <0x0100000 0x200000>;                                                                       
        };                                                                                                        
                                                                                                                  
        partition@300000 {                                                                                        
                label = "rootfs";                                                                                 
                reg = <0x0300000 0x500000>;                                                                       
        };                                                                                                                                                                                            
};                                                                                            
                                                                                              
&mdio {                                                                                       
        status = "okay";                                                                      
                                                                                              
        ethphy0: ethernet-phy@8 {                                                             
                device_type = "ethernet-phy";                                                 
                reg = <8>;                                                                    
        };                                                                                    
                                                                                              
        ethphy1: ethernet-phy@9 {                                                             
                device_type = "ethernet-phy";                                                 
                reg = <9>;                                                                    
        };                                                                                    
};                                                                                            
                                                                                              
&eth0 {                                                                                       
        status = "okay";                                                                      
        ethernet0-port@0 {                                                                    
                phy-handle = <&ethphy0>;                                                      
        };                                                                                    
};                                                                                            
                                                                                              
&eth1 {                                                                                       
        status = "okay";                                                                      
        ethernet1-port@0 {                                                                    
                phy-handle = <&ethphy1>;                                                      
        };                                                                                    
};

Serial:
115200 baud 3.3v, pinout in attachment.


CN4 
--------------
|  9 8 6 4 2 |
| 10 7 5 3 1 |
-------------- PIN 1 Mark (fat line)


 1 = RXD
 4 = TXD
 6 = GND
10 = 3.3v




I hope this helps someone else trying to run debian on their ix4!
Edit: added info about the serial port.


=== bodhi's addendum ===

See this post for the patched stock u-boot that supports USB booting (thanks Sash!):

https://forum.doozan.com/read.php?2,22623,29586#msg-29586



Edited 3 time(s). Last edit at 10/02/2021 04:16PM by bodhi.
Attachments:
open | download - kirkwood-iomega_ix4_200d.dts (2.7 KB)
open | download - kirkwood-iomega_ix4_200d.dtb (9 KB)
open | download - file.jpg (51.3 KB)
Re: Debian on iomega storcenter ix4-200d: succes!
July 12, 2015 01:41PM
@damacc,

Cool! thanks for your contribution! I'll add this DTS to the next release.

In the mean time, do you have serial console connected? if you do, please post the serial console boot log.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on iomega storcenter ix4-200d: succes!
July 12, 2015 02:25PM
I do have serial connected

Boot log:

         __  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|  ** uboot_ver:v1.1.0 **

 ** MARVELL BOARD: IX4-110 LE

U-Boot 1.1.4 (Oct 15 2009 - 17:28:22) Marvell version: 3.4.18

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CF600

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Found 0x20 i2c device
Set Power State as Always On
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:32 MB
Found ADT7473, program LED ...(led_volt=90)  OK
Found ADT7473, program thermal/Fan ...(pwm_min=0) (pwm_max=130) (therm=67) (temp_min=60)  OK

Marvell Serial ATA Adapter
Integrated Sata device found


CPU : Marvell Feroceon (Rev 1)
Found initrd at 0x2d4000

Streaming disabled
Write allocate disabled

Module 0 is RGMII
Module 1 is RGMII

USB 0: host mode
PEX 0: PCI Express Root Complex Interface
PEX interface detected Link X1
SCSI:  AHCI 0001.0000 32 slots 3 ports 3 Gbps 0x7 impl IDE mode
flags: 64bit ncq stag led pmp slum part
scanning bus for devices...
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
(Re)start USB...
USB:   scanning bus for devices... 3 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
....
...................................................................................................................................................................................................................................................................................

2874910 bytes read
....
.
......
............
.........................
...................................................
......................................................................................................
............................................................................................................................................................................................................
....
...............................................................................................................................................................................................................................

6535284 bytes read
## Booting image at 00800000 ...
   Image Name:   Linux-3.18.5-kirkwood-tld-1
   Created:      2000-01-14  21:59:00 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2874846 Bytes =  2.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   initramfs-3.18.5-kirkwood-tld-1
   Created:      2015-02-19   1:49:36 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    6535220 Bytes =  6.2 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] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 3.18.5-kirkwood-tld-1 (root@tldDebian) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 PREEMPT Thu Feb 5 17:58:07 PST 2015
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: Iomega ix4-2OOd
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 rootfstype=ext2
[    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Memory: 504792K/524288K available (5640K kernel code, 365K rwdata, 1920K rodata, 268K init, 305K bss, 19496K reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xffe00000   (2048 kB)
[    0.000000]     vmalloc : 0xe0800000 - 0xff000000   ( 488 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc076a240   (7561 kB)
[    0.000000]       .init : 0xc076b000 - 0xc07ae000   ( 268 kB)
[    0.000000]       .data : 0xc07ae000 - 0xc08096fc   ( 366 kB)
[    0.000000]        .bss : 0xc08096fc - 0xc0855d84   ( 306 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000014] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474836475ns
[    0.000373] Console: colour dummy device 80x30
[    0.000400] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584)
[    0.090111] pid_max: default: 32768 minimum: 301
[    0.090250] Security Framework initialized
[    0.090345] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090364] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091046] Initializing cgroup subsys devices
[    0.091077] Initializing cgroup subsys freezer
[    0.091107] Initializing cgroup subsys net_cls
[    0.091127] Initializing cgroup subsys blkio
[    0.091221] CPU: Testing write buffer coherency: ok
[    0.091609] Setting up static identity map for 0x557418 - 0x557470
[    0.091873] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x2
[    0.094041] devtmpfs: initialized
[    0.096475] prandom: seed boundary self test passed
[    0.100561] prandom: 100 self tests passed
[    0.100588] pinctrl core: initialized pinctrl subsystem
[    0.101037] regulator-dummy: no parameters
[    0.104557] NET: Registered protocol family 16
[    0.104951] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130104] cpuidle: using governor ladder
[    0.160102] cpuidle: using governor menu
[    0.160470] Feroceon L2: Enabling L2
[    0.160513] Feroceon L2: Cache support initialised.
[    0.160858] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set
[    0.160951] [Firmware Info]: /ocp@f1000000/ethernet-controller@76000/ethernet1-port@0: local-mac-address is not set
[    0.165051] No ATAGs?
[    0.201720] vgaarb: loaded
[    0.202085] usbcore: registered new interface driver usbfs
[    0.202168] usbcore: registered new interface driver hub
[    0.202231] usbcore: registered new device driver usb
[    0.203247] Switched to clocksource orion_clocksource
[    0.240850] NET: Registered protocol family 2
[    0.241579] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[    0.241636] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[    0.241689] TCP: Hash tables configured (established 4096 bind 4096)
[    0.241748] TCP: reno registered
[    0.241762] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.241784] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.241979] NET: Registered protocol family 1
[    0.242320] RPC: Registered named UNIX socket transport module.
[    0.242333] RPC: Registered udp transport module.
[    0.242340] RPC: Registered tcp transport module.
[    0.242347] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.242606] Unpacking initramfs...
[    0.784251] Freeing initrd memory: 6384K (c1100000 - c173c000)
[    0.784366] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.785661] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.785693] Initialise system trusted keyring
[    0.785787] audit: initializing netlink subsys (disabled)
[    0.785842] audit: type=2000 audit(0.780:1): initialized
[    0.786594] zpool: loaded
[    0.786612] zbud: loaded
[    0.786907] VFS: Disk quotas dquot_6.5.2
[    0.786966] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.787544] NFS: Registering the id_resolver key type
[    0.787594] Key type id_resolver registered
[    0.787603] Key type id_legacy registered
[    0.787629] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.787643] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.787860] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.788182] msgmni has been set to 998
[    0.788339] Key type big_key registered
[    0.791112] alg: No test for stdrng (krng)
[    0.791155] Key type asymmetric registered
[    0.791171] Asymmetric key parser 'x509' registered
[    0.791262] bounce: pool size: 64 pages
[    0.791346] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.791369] io scheduler noop registered
[    0.791385] io scheduler deadline registered
[    0.791440] io scheduler cfq registered (default)
[    0.792729] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.793462] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[    0.793867] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[    0.794675] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    0.794695] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.794709] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.794723] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.795022] PCI: bus0: Fast back to back transfers disabled
[    0.795038] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.795727] pci 0000:01:00.0: disabling ASPM on pre-1.1 PCIe device.  You can enable it with 'pcie_aspm=force'
[    0.795762] PCI: bus1: Fast back to back transfers disabled
[    0.795855] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    0.795872] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    0.795891] pci 0000:01:00.0: BAR 5: assigned [mem 0xe0000000-0xe00003ff]
[    0.795910] pci 0000:01:00.0: BAR 4: assigned [io  0x10000-0x1000f]
[    0.795927] pci 0000:01:00.0: BAR 0: assigned [io  0x10010-0x10017]
[    0.795945] pci 0000:01:00.0: BAR 2: assigned [io  0x10018-0x1001f]
[    0.795962] pci 0000:01:00.0: BAR 1: assigned [io  0x10020-0x10023]
[    0.795979] pci 0000:01:00.0: BAR 3: assigned [io  0x10024-0x10027]
[    0.795995] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.796007] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    0.796022] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.796307] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.833334] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    0.873307] mv_xor f1060800.xor: Marvell XOR: ( xor cpy )
[    0.873497] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.913306] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    0.953305] mv_xor f1060900.xor: Marvell XOR: ( xor cpy )
[    0.953717] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.955057] console [ttyS0] disabled
[    0.955115] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    1.686995] console [ttyS0] enabled
[    1.691829] nand: device found, Manufacturer ID: 0xec, Chip ID: 0x75
[    1.698248] nand: Samsung NAND 32MiB 3,3V 8-bit
[    1.702803] nand: 32MiB, SLC, page size: 512, OOB size: 16
[    1.708343] Scanning device for bad blocks
[    1.935726] libphy: Fixed MDIO Bus: probed
[    1.940155] libphy: orion_mdio_bus: probed
[    1.953180] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[    3.033921] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:26:2d:06:77:48
[    4.114027] mv643xx_eth_port mv643xx_eth_port.1 eth1: port 0 with MAC address 00:26:2d:06:77:49
[    4.122994] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.129590] ehci-pci: EHCI PCI platform driver
[    4.134143] ehci-orion: EHCI orion driver
[    4.138331] orion-ehci f1050000.ehci: EHCI Host Controller
[    4.143896] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    4.151837] orion-ehci f1050000.ehci: irq 29, io mem 0xf1050000
[    4.173283] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    4.179509] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    4.186356] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.193630] usb usb1: Product: EHCI Host Controller
[    4.198530] usb usb1: Manufacturer: Linux 3.18.5-kirkwood-tld-1 ehci_hcd
[    4.205279] usb usb1: SerialNumber: f1050000.ehci
[    4.210722] hub 1-0:1.0: USB hub found
[    4.214578] hub 1-0:1.0: 1 port detected
[    4.219383] mousedev: PS/2 mouse device common for all mice
[    4.225633] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    4.232703] i2c /dev entries driver
[    4.237128] hidraw: raw HID events driver (C) Jiri Kosina
[    4.242900] drop_monitor: Initializing network drop monitor service
[    4.249471] TCP: cubic registered
[    4.252809] NET: Registered protocol family 17
[    4.257425] Key type dns_resolver registered
[    4.262505] Loading compiled-in X.509 certificates
[    4.267383] registered taskstats version 1
[    4.272518] rtc-mv f1010300.rtc: setting system clock to 2000-01-14 21:59:51 UTC (947887191)
[    4.283188] Freeing unused kernel memory: 268K (c076b000 - c07ae000)
Loading, please wait...
[    4.354611] systemd-udevd[61]: starting version 215
[    4.361558] random: systemd-udevd urandom read with 7 bits of entropy available
[    4.510677] SCSI subsystem initialized
[    4.533428] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    4.561892] pci 0000:00:01.0: enabling device (0140 -> 0143)
[    4.569946] sata_mv f1080000.sata: slots 32 ports 2
[    4.599331] ahci 0000:01:00.0: Disabling your PATA port. Use the boot option 'ahci.marvell_enable=0' to avoid this.
[    4.621233] scsi host0: sata_mv
[    4.639576] scsi host1: sata_mv
[    4.643080] ata1: SATA max UDMA/133 irq 32
[    4.657543] ahci 0000:01:00.0: controller can't do NCQ, turning off CAP_NCQ
[    4.672142] ata2: SATA max UDMA/133 irq 32
[    4.691921] ahci 0000:01:00.0: controller can't do PMP, turning off CAP_PMP
[    4.700732] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    4.712528] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    4.727751] usb 1-1: Product: USB2.0 Hub
[    4.736463] hub 1-1:1.0: USB hub found
[    4.743318] hub 1-1:1.0: 4 ports detected
[    4.748314] ahci 0000:01:00.0: masking port_map 0x7 -> 0x3
[    4.774944] ahci 0000:01:00.0: SSS flag set, parallel bus scan disabled
[    4.781658] ahci 0000:01:00.0: AHCI 0001.0000 32 slots 3 ports 3 Gbps 0x3 impl IDE mode
[    4.799368] ahci 0000:01:00.0: flags: 64bit stag led slum part
[    4.809722] scsi host2: ahci
[    4.813613] scsi host3: ahci
[    4.817427] scsi host4: ahci
[    4.821071] ata3: SATA max UDMA/133 abar m1024@0xe0000000 port 0xe0000100 irq 83
[    4.828618] ata4: SATA max UDMA/133 abar m1024@0xe0000000 port 0xe0000180 irq 83
[    4.836088] ata5: DUMMY
[    5.033597] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    5.043288] ata1: SATA link down (SStatus 0 SControl F300)
[    5.144221] usb 1-1.2: New USB device found, idVendor=0781, idProduct=5406
[    5.151143] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.158526] usb 1-1.2: Product: U3 Cruzer Micro
[    5.163075] usb 1-1.2: Manufacturer: SanDisk
[    5.167404] usb 1-1.2: SerialNumber: 0775120CC542857C
[    5.181799] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    5.188212] ata3: SATA link down (SStatus 0 SControl 300)
[    5.194065] scsi host5: usb-storage 1-1.2:1.0
[    5.200176] usbcore: registered new interface driver usb-storage
[    5.209160] usbcore: registered new interface driver uas
[    5.413292] ata2: SATA link down (SStatus 0 SControl F300)
[    5.783294] ata4: SATA link down (SStatus 0 SControl 300)
[    6.194193] scsi 5:0:0:0: Direct-Access     SanDisk  Cruzer           7.01 PQ: 0 ANSI: 0 CCS
[    6.203313] scsi 5:0:0:1: CD-ROM            SanDisk  Cruzer           7.01 PQ: 0 ANSI: 0
[    6.218024] sd 5:0:0:0: [sda] 3907583 512-byte logical blocks: (2.00 GB/1.86 GiB)
[    6.231776] sd 5:0:0:0: [sda] Write Protect is off
[    6.239395] sd 5:0:0:0: [sda] No Caching mode page found
[    6.244930] sd 5:0:0:0: [sda] Assuming drive cache: write through
[    6.252812] sr 5:0:0:1: [sr0] scsi3-mmc drive: 48x/48x tray
[    6.258719] cdrom: Uniform CD-ROM driver Revision: 3.20
[    6.270239]  sda: sda1
[    6.275768] sd 5:0:0:0: [sda] Attached SCSI removable disk
[    6.285074] sd 5:0:0:0: Attached scsi generic sg0 type 0
[    6.291247] sr 5:0:0:1: Attached scsi generic sg1 type 5
[    6.434159] sr 5:0:0:1: [sr0] GET_EVENT and TUR disagree continuously, suppress GET_EVENT events
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.
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[   17.044175] systemd-udevd[273]: starting version 215
. ok
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   17.502011] orion_wdt: Initial timeout 21 sec
[   17.777344] random: nonblocking pool is initialized
[   17.814250] sr 5:0:0:1: [sr0]
[   17.817410] Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
[   17.823307] sr 5:0:0:1: [sr0]
[   17.826460] Sense Key : Hardware Error [current]
[   17.831216] sr 5:0:0:1: [sr0]
[   17.834388] Add. Sense: No additional sense information
[   17.839665] sr 5:0:0:1: [sr0] CDB:
[   17.843166] Read(10): 28 00 00 00 7f fc 00 00 02 00
[   17.848202] blk_update_request: I/O error, dev sr0, sector 131056
[   17.915367] sr 5:0:0:1: [sr0]
[   17.918546] Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
[   17.924431] sr 5:0:0:1: [sr0]
[   17.927605] Sense Key : Hardware Error [current]
[   17.932349] sr 5:0:0:1: [sr0]
[   17.935537] Add. Sense: No additional sense information
[   17.940791] sr 5:0:0:1: [sr0] CDB:
[   17.944323] Read(10): 28 00 00 00 7f fc 00 00 01 00
[   17.949328] blk_update_request: I/O error, dev sr0, sector 131056
[   17.955470] Buffer I/O error on dev sr0, logical block 32764, async page read
[   18.024491] sr 5:0:0:1: [sr0]
[   18.027666] Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
[   18.033553] sr 5:0:0:1: [sr0]
[   18.036727] Sense Key : Hardware Error [current]
[   18.041472] sr 5:0:0:1: [sr0]
[   18.044657] Add. Sense: No additional sense information
[   18.049913] sr 5:0:0:1: [sr0] CDB:
[   18.053443] Read(10): 28 00 00 00 7f fd 00 00 01 00
[   18.058450] blk_update_request: I/O error, dev sr0, sector 131060
[   18.064592] Buffer I/O error on dev sr0, logical block 32765, async page read
done.
[ ok ] Activating swap...done.
[....] Checking root file system...fsck from util-linux 2.25.2
rootfs: clean, 14354/122160 files, 115705/488191 blocks
done.
[ ok ] Activating lvm and md swap...done.
[....] Checking file systems...fsck from util-linux 2.25.2
done.
[ ok ] Loading kernel modules...done.
[ ok ] Cleaning up temporary files... /tmp.
[ ok ] Mounting local filesystems...done.
[ ok ] Activating swapfile swap...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables ...done.
[   21.646146] NET: Registered protocol family 10
[   23.637580] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   23.648723] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ ok ] Configuring network interfaces...done.
[ ok ] Starting rpcbind daemon....
[   25.622237] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   25.632185] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...
1263 (syslogd)
. ok
[ ok ] Starting system message bus: dbus.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1261 (klogd)
. ok

Debian GNU/Linux 8 debian ttyS0

Re: Debian on iomega storcenter ix4-200d: succes!
July 12, 2015 05:32PM
@damacc,

It looks great, thanks!

Quote

Lenovo wants a cheque or money order to cover expenses before they will mail it to you on a cd. (https://lenovo-na-en.custhelp.com/app/answers/detail/a_id/34787)

They could not even provide a download link? They just want to make it more difficult for us to get their GPL source :)

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on iomega storcenter ix4-200d: succes!
July 14, 2015 04:47PM
Update to the DTS: now with working adt7473 which provides temparature and fan monitoring.
Added the new DTS as an attachment.

sensors output:
adt7473-i2c-0-2e
Adapter: mv64xxx_i2c adapter
in1:          +1.10 V  (min =  +0.00 V, max =  +2.99 V)
+3.3V:        +3.33 V  (min =  +2.96 V, max =  +3.61 V)
fan1:         755 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:           0 RPM  (min =    0 RPM)
fan4:           0 RPM  (min =    0 RPM)
temp1:        +37.5 C  (low  = -63.0 C, high = +191.0 C)
                       (crit = +100.0 C, hyst = +96.0 C)
Board Temp:   +43.5 C  (low  = -63.0 C, high = +191.0 C)
                       (crit = +67.0 C, hyst = +65.0 C)
temp3:        +37.0 C  (low  = -63.0 C, high = +191.0 C)
                       (crit = +67.0 C, hyst = +65.0 C)
Attachments:
open | download - kirkwood-iomega_ix4_200d.dts (3 KB)
Re: Debian on iomega storcenter ix4-200d: succes!
July 14, 2015 06:31PM
Thanks damacc!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on iomega storcenter ix4-200d: succes!
July 23, 2015 06:19PM
I'll try this soon, because I get into troubles on the stock os while transfering files from this on my linux box
every 1,8 gb the transfer gets stuck (samba, ftp) no problems on windows 7 or 8.1

damacc
could you confirm this?
if yes, is this the same on debian?

another question: does the display is working on debian?
Bruno
Re: Debian on iomega storcenter ix4-200d: succes!
November 04, 2015 10:27AM
Hello everybody

I'm very happy to hear that someone managed to get debian running on ix4-200d.
I have two of that boxes, but I didn't understand the install procedure of debian on them.

What documents do I need to read to understand the procedure?

Can anyone help me with that, please?

Thank you!
Re: Debian on iomega storcenter ix4-200d: succes!
November 04, 2015 04:55PM
Bruno,

Take a look at the "latest kirkwood kernel and rootfs" link in my signature.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Bruno
Re: Debian on iomega storcenter ix4-200d: succes!
November 10, 2015 11:29AM
Many thanks bodhi

Surely I will check those links!



Thanks again
Re: Debian on iomega storcenter ix4-200d: succes!
January 29, 2016 10:25AM
@DaMacc,

If you have a chance, could you print out the flash information:

mtdinfo -a

If the command is not available, install it:

apt-get install mtd-utils

I've also noticed that you did not pass the mtdparts definition to the kernel bootargs, so it will show whatever in the DTS definition. And it's OK. I only want to confirm the sector size for this box NAND memory.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on iomega storcenter ix4-200d: succes!
January 30, 2016 05:34PM
No problem here is the output:

Count of MTD devices:           3
Present MTD devices:            mtd0, mtd1, mtd2
Sysfs interface supported:      yes

mtd0
Name:                           u-boot
Type:                           nand
Eraseblock size:                16384 bytes, 16.0 KiB
Amount of eraseblocks:          40 (655360 bytes, 640.0 KiB)
Minimum input/output unit size: 512 bytes
Sub-page size:                  256 bytes
OOB size:                       16 bytes
Character device major/minor:   90:0
Bad blocks are allowed:         true
Device is writable:             true

mtd1
Name:                           env
Type:                           nand
Eraseblock size:                16384 bytes, 16.0 KiB
Amount of eraseblocks:          4 (65536 bytes, 64.0 KiB)
Minimum input/output unit size: 512 bytes
Sub-page size:                  256 bytes
OOB size:                       16 bytes
Character device major/minor:   90:2
Bad blocks are allowed:         true
Device is writable:             true

mtd2
Name:                           flash
Type:                           nand
Eraseblock size:                16384 bytes, 16.0 KiB
Amount of eraseblocks:          2048 (33554432 bytes, 32.0 MiB)
Minimum input/output unit size: 512 bytes
Sub-page size:                  256 bytes
OOB size:                       16 bytes
Character device major/minor:   90:4
Bad blocks are allowed:         true
Device is writable:             true

I haven't really bothered setting up the mtd parts correctly since I boot from USB anyway.
Re: Debian on iomega storcenter ix4-200d: succes!
January 30, 2016 05:40PM
Thanks DaMacc.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on iomega storcenter ix4-200d: succes!
February 02, 2016 01:04PM
@DaMacc,

Could you do a nanddump:

nanddump --omitoob --noecc --file=ix4-200d-mtd0.kwb /dev/mtd0

Please post the output and attach the mtd0 dump here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on iomega storcenter ix4-200d: succes!
February 04, 2016 03:20PM
I attached the uboot dump and also a default env dump, hope you can get the ix4 fixed!
Attachments:
open | download - ix4-200d_stock_env.bin (64 KB)
open | download - ix4-200d-mtd0.kwb (640 KB)
Re: Debian on iomega storcenter ix4-200d: succes!
February 04, 2016 03:34PM
damacc Wrote:
-------------------------------------------------------
> I attached the uboot dump and also a default env
> dump, hope you can get the ix4 fixed!

Thanks dammac!

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on iomega storcenter ix4-200d: succes!
February 05, 2016 04:52AM
Hi damacc,

Reto's ix4 box has been fixed:

http://forum.doozan.com/read.php?3,25120,25698#msg-25698

However, to make it a functional u-boot, we need u-boot tools in Debian to print/set u-boot envs. We'll need to find blparam binary in stock OS.

If you could, connect with serial console and boot to stock OS. The blparam binary should be somewhere in stock rootfs. If you could, search for it:

find / -name '*blparam*'

And please attach the binary here.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on iomega storcenter ix4-200d: succes!
February 09, 2016 04:49PM
Hey Bodhi,

The ix4 boxes I got were trash picked and did not come with an OS or hard drives. I did some research and the OS is actually on the hard drives of the unit, the flash only contains some kind of loader that loads the OS. This is probably why they were thrown away, since as soon as the hard disks fail the unit is no longer 'usable'. The firmware however seems available at https://lenovo-na-en.custhelp.com/app/answers/detail/a_id/22315/kw/2.1.38.22294. It might be possible to extract the required binaries from there.
Re: Debian on iomega storcenter ix4-200d: succes!
February 09, 2016 05:13PM
Thanks damacc,

That's ok. I'll dig out my old blparam binary to see if still work the same way. I was just being careful and wanted to use the one from this box. But I think it's very likely the same.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on iomega storcenter ix4-200d: succes!
February 28, 2016 04:03PM
Hi,

I also buy a NAS and I have some questions :

You can use the LCD screens ? Or is missing drivers ?

I have also some error on the NAND :
[   11.160528] blk_update_request: I/O error, dev mtdblock4, sector 0
[   11.167449] blk_update_request: I/O error, dev mtdblock4, sector 0
[   11.173938] __nand_correct_data: uncorrectable ECC error
[   11.179335] blk_update_request: I/O error, dev mtdblock4, sector 0
[   11.185868] __nand_correct_data: uncorrectable ECC error
[   11.191280] blk_update_request: I/O error, dev mtdblock3, sector 6016
[   11.198004] __nand_correct_data: uncorrectable ECC error
[   11.203447] blk_update_request: I/O error, dev mtdblock3, sector 6128
[   11.210201] __nand_correct_data: uncorrectable ECC error
[   11.215595] __nand_correct_data: uncorrectable ECC error
[   11.220993] blk_update_request: I/O error, dev mtdblock3, sector 6142
[   11.227700] __nand_correct_data: uncorrectable ECC error
[   11.233137] blk_update_request: I/O error, dev mtdblock3, sector 0
[   11.239528] __nand_correct_data: uncorrectable ECC error
[   11.244949] blk_update_request: I/O error, dev mtdblock3, sector 0
[   11.253493] __nand_correct_data: uncorrectable ECC error
[   11.258886] blk_update_request: I/O error, dev mtdblock2, sector 0
[   11.265629] __nand_correct_data: uncorrectable ECC error
[   11.271030] blk_update_request: I/O error, dev mtdblock2, sector 0
[   11.277470] __nand_correct_data: uncorrectable ECC error
[   11.283179] __nand_correct_data: uncorrectable ECC error
[   11.288524] __nand_correct_data: uncorrectable ECC error
[   11.295145] __nand_correct_data: uncorrectable ECC error
[   11.301024] __nand_correct_data: uncorrectable ECC error
[   11.306645] __nand_correct_data: uncorrectable ECC error
[   11.311997] __nand_correct_data: uncorrectable ECC error
[   11.317697] __nand_correct_data: uncorrectable ECC error
[   11.323047] __nand_correct_data: uncorrectable ECC error
[   11.328686] __nand_correct_data: uncorrectable ECC error
[   11.334084] __nand_correct_data: uncorrectable ECC error
[   11.339741] __nand_correct_data: uncorrectable ECC error
[   11.345143] __nand_correct_data: uncorrectable ECC error
[   11.350710] __nand_correct_data: uncorrectable ECC error
and
[67754.085919] blk_update_request: I/O error, dev mtdblock2, sector 0
[67754.092478] blk_update_request: I/O error, dev mtdblock2, sector 0
[67754.098687] Buffer I/O error on dev mtdblock2, logical block 0, async page read
[67754.108480] __nand_correct_data: uncorrectable ECC error
[67754.113907] __nand_correct_data: uncorrectable ECC error
[67754.119314] blk_update_request: I/O error, dev mtdblock3, sector 6016
[67754.127619] __nand_correct_data: uncorrectable ECC error
[67754.133030] blk_update_request: I/O error, dev mtdblock3, sector 6016
[67754.139506] Buffer I/O error on dev mtdblock3, logical block 752, async page read
[67754.151527] blk_update_request: I/O error, dev mtdblock4, sector 0
[67754.158719] blk_update_request: I/O error, dev mtdblock4, sector 0
[67754.164935] Buffer I/O error on dev mtdblock4, logical block 0, async page read
[67754.302477] __nand_correct_data: uncorrectable ECC error
[67754.307914] __nand_correct_data: uncorrectable ECC error
[67754.314805] __nand_correct_data: uncorrectable ECC error
[67754.320196] Buffer I/O error on dev mtdblock0, logical block 1, async page read
[67754.332832] __nand_correct_data: uncorrectable ECC error
[67754.338515] __nand_correct_data: uncorrectable ECC error
[67754.345766] Buffer I/O error on dev mtdblock1, logical block 0, async page read
[67754.357383] __nand_correct_data: uncorrectable ECC error
[67754.362909] __nand_correct_data: uncorrectable ECC error
[67754.369521] __nand_correct_data: uncorrectable ECC error
[67754.375684] Buffer I/O error on dev mtdblock2, logical block 0, async page read
[67754.384674] __nand_correct_data: uncorrectable ECC error
[67754.390221] __nand_correct_data: uncorrectable ECC error
[67754.396888] Buffer I/O error on dev mtdblock3, logical block 752, async page read
[67754.407953] __nand_correct_data: uncorrectable ECC error
[67754.414331] Buffer I/O error on dev mtdblock4, logical block 0, async page read
[67754.568512] __nand_correct_data: uncorrectable ECC error
[67754.574008] __nand_correct_data: uncorrectable ECC error

And on sata port too :
[   34.122103] sd 4:0:0:0: [sde] 4096-byte physical blocks
[   34.130136] sd 4:0:0:0: [sde] Write Protect is off
[   34.136034] sd 4:0:0:0: [sde] Mode Sense: 00 3a 00 00
[   34.136191] sd 4:0:0:0: [sde] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[   34.719673]  sde: sde1 sde2
[   34.725286] sd 4:0:0:0: [sde] Attached SCSI removable disk
[   51.093138] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[   51.100266] ata4.00: failed command: IDENTIFY DEVICE
[   51.106588] ata4.00: cmd ec/00:01:00:00:00/00:00:00:00:00/40 tag 12 pio 512 in
[   51.106588]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[   51.121753] ata4.00: status: { DRDY }
[   51.125873] ata4: hard resetting link
[   51.473116] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   51.480360] ata4.00: configured for UDMA/133
[   51.493612] ata4: EH complete
[   91.079424] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[   91.086549] ata3.00: failed command: IDENTIFY DEVICE
[   91.093423] ata3.00: cmd ec/00:01:00:00:00/00:00:00:00:00/00 tag 7 pio 512 in
[   91.093423]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[   91.108941] ata3.00: status: { DRDY }
[   91.113428] ata3: hard resetting link
[   91.459213] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[   91.466590] ata3.00: configured for UDMA/133
[   91.474828] ata3: EH complete
[  112.068962] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  112.076369] ata4.00: failed command: IDENTIFY DEVICE
[  112.083378] ata4.00: cmd ec/00:01:00:00:00/00:00:00:00:00/00 tag 19 pio 512 in
[  112.083378]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[  112.099080] ata4.00: status: { DRDY }
[  112.102810] ata4: hard resetting link
[  112.448732] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[  112.455994] ata4.00: configured for UDMA/133
[  112.464328] ata4: EH complete
[  209.412877] ata1: sata_mv: attempting PIO w/multiple DRQ: this may fail due to h/w errata
[  210.312406] ata2: sata_mv: attempting PIO w/multiple DRQ: this may fail due to h/w errata
[  231.015605] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  231.022731] ata3.00: failed command: IDENTIFY DEVICE
[  231.029050] ata3.00: cmd ec/00:01:00:00:00/00:00:00:00:00/00 tag 26 pio 512 in
[  231.029050]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[  231.044611] ata3.00: status: { DRDY }
[  231.049048] ata3: hard resetting link
[  231.395579] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[  231.402885] ata3.00: configured for UDMA/133
[  231.408583] ata3: EH complete
[  252.015625] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  252.022758] ata4.00: failed command: SMART
[  252.028216] ata4.00: cmd b0/d0:01:00:4f:c2/00:00:00:00:00/00 tag 9 pio 512 in
[  252.028216]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[  252.043692] ata4.00: status: { DRDY }
[  252.048141] ata4: hard resetting link
[  252.395579] ata4: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[  252.401825] ata4.00: link online but device misclassified
[  252.402904] ata4.00: configured for UDMA/133
[  252.409153] ata4: EH complete
[  273.015604] ata4: limiting SATA link speed to 1.5 Gbps
[  273.020817] ata4.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  273.029319] ata4.00: failed command: READ LOG EXT
[  273.034106] ata4.00: cmd 2f/00:01:07:00:00/00:00:00:00:00/00 tag 25 pio 512 in
[  273.034106]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[  273.050055] ata4.00: status: { DRDY }
[  273.053778] ata4: hard resetting link
[  273.405581] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[  273.412899] ata4.00: configured for UDMA/133
[  273.418758] ata4: EH complete
[  876.526257] ata1: sata_mv: attempting PIO w/multiple DRQ: this may fail due to h/w errata
[  877.998228] ata2: sata_mv: attempting PIO w/multiple DRQ: this may fail due to h/w errata
[  893.598375] ata1: sata_mv: attempting PIO w/multiple DRQ: this may fail due to h/w errata
[  895.338307] ata2: sata_mv: attempting PIO w/multiple DRQ: this may fail due to h/w errata
[  898.975665] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  898.982802] ata3.00: failed command: IDENTIFY DEVICE
[  899.005610] ata3.00: cmd ec/00:01:00:00:00/00:00:00:00:00/00 tag 29 pio 512 in
[  899.005610]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[  899.035618] ata3.00: status: { DRDY }
[  899.039353] ata3: hard resetting link
[  899.385622] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[  899.406218] ata3.00: configured for UDMA/133
[  899.416454] ata3: EH complete
[  902.346638] ata1: sata_mv: attempting PIO w/multiple DRQ: this may fail due to h/w errata
[  903.736326] ata1: sata_mv: attempting PIO w/multiple DRQ: this may fail due to h/w errata
[  904.226277] ata1: sata_mv: attempting PIO w/multiple DRQ: this may fail due to h/w errata
[  906.406281] ata2: sata_mv: attempting PIO w/multiple DRQ: this may fail due to h/w errata
[  919.977889] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  919.985123] ata3.00: failed command: IDENTIFY DEVICE
[  919.991705] ata3.00: cmd ec/00:01:00:00:00/00:00:00:00:00/00 tag 14 pio 512 in
[  919.991705]          res 40/00:01:00:00:00/00:00:00:00:00/40 Emask 0x4 (timeout)
[  920.007493] ata3.00: status: { DRDY }
[  920.011862] ata3: hard resetting link
[  920.365651] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[  925.365607] ata3.00: qc timeout (cmd 0xec)
[  925.369775] ata3.00: failed to IDENTIFY (I/O error, err_mask=0x4)
[  925.385659] ata3.00: revalidation failed (errno=-5)
[  925.390614] ata3: hard resetting link
[  925.735619] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[  925.756214] ata3.00: configured for UDMA/133
[  925.766498] ata3: EH complete
[  945.975618] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  945.982769] ata3.00: failed command: IDENTIFY DEVICE
[  945.989133] ata3.00: cmd ec/00:01:00:00:00/00:00:00:00:00/00 tag 3 pio 512 in
[  945.989133]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[  946.004674] ata3.00: status: { DRDY }
[  946.009150] ata3: hard resetting link
[  946.355619] ata3: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[  946.374109] ata3.00: configured for UDMA/133
[  946.386593] ata3: EH complete
[  966.988608] ata3: limiting SATA link speed to 1.5 Gbps
[  966.993819] ata3.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[  967.015633] ata3.00: failed command: IDENTIFY DEVICE
[  967.030342] ata3.00: cmd ec/00:01:00:00:00/00:00:00:00:00/00 tag 7 pio 512 in
[  967.030342]          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
[  967.061503] ata3.00: status: { DRDY }
[  967.065257] ata3: hard resetting link
[  967.415586] ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
[  967.422915] ata3.00: configured for UDMA/133
[  967.428772] ata3: EH complete
Re: Debian on iomega storcenter ix4-200d: succes!
February 28, 2016 05:38PM
Val532,

It works for damacc in this thread, and Reto here:
http://forum.doozan.com/read.php?3,25120,25670#msg-25670

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on iomega storcenter ix4-200d: succes!
February 28, 2016 06:06PM
bodhi,

I have a curently working setup, with 4.4 kernel and Debian 8.3 rootfs on usb key, and OpenMediaVault on it.

I only point this error on my system, as i see error on sata is for every one. But error on Nand no.

Have you an idea to correct the nand error ? To not spam my log ^^.
Re: Debian on iomega storcenter ix4-200d: succes!
February 28, 2016 06:23PM
Val532,

Does your mtdparts in the kernel command line look like this?
Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:0xa0000@0x0(uboot),0x10000@0xa0000(env),0x228000@0xb0000(zImage),0x300000@0x2d8000(initrd),32m@0x0(flash) root=LABEL=rootfs rootdelay=10

And you could take mtdparts arg out all together, since we don't have those working yet anyway.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on iomega storcenter ix4-200d: succes!
February 28, 2016 06:36PM
Yes :

Kernel command line: console=ttyS0,115200 mtdparts=orion_nand:0xa0000@0x0(uboot),0x10000@0xa0000(env),0x228000@0xb0000(zImage),0x300000@0x2d8000(initrd),32m@0x0(flash) root=LABEL=rootfs
Hi there, newbie here: do I need serial connection to update/replace the ix4-200d OS ?

Is possible to obtain a "firmware update hack" like the official Lenovo one that simply upgrades from USB key ?

Thanks in advice !
Re: Debian on iomega storcenter ix4-200d: succes!
May 21, 2016 02:00AM
You can install the latest LInux kernel and Debian rootfs on USB. Take a look at this thread:
http://forum.doozan.com/read.php?2,12096

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on iomega storcenter ix4-200d: succes!
August 03, 2016 03:22PM
First post here, sorry me if i say some dumb thing. I'm a rather log linux/debian user, but i've a little experience on ARM, mostly OpenWRT.

Someone gift me a ix4-200d. The machine was in decent shape, who land me say that was retired because ''does not work'' (generically).
After receiving id, and googling a bit, i've found a way to reset to default state and enable SSH.
Disks seems in decent shape, probably one is fault, but anyway the system (that reside in disk) works as expected. The system seems a debian 4, rather castrated (eg, there's dpkg, but /var/lib/dpg get removd).

After that, i've turned to a friend that work on embedded world, that find the serial. It took some month to do, and also i've other thing to do. Anyway, i'm here.

Two question:

1) having SSH and serial access to the box, there's something i can do before trying to install debian on it? Please, say me and i will provide that info...

2) it is not clear what i have to do; If i've understood well, i've:
a) get from that post the link to current kernel/initrd, put on a USB thumbdrive
b) via serial get into u-boot prompt, and boot (directly on usb thumbdrive, or via tftp) the kernel and initrd

I'm not clear:
c) if an upgrade of u-boot is mandatory or not
d) if a modification of uboot environment is mandatory, or not
e) if there's some rule to follow on partitioning (i'm used to MBR and UEFI)

Again, sorry. And thanks.
Re: Debian on iomega storcenter ix4-200d: succes!
August 03, 2016 05:11PM
marcogaio Wrote:
-------------------------------------------------------
> First post here, sorry me if i say some dumb
> thing. I'm a rather log linux/debian user, but
> i've a little experience on ARM, mostly OpenWRT.
>
> Someone gift me a ix4-200d. The machine was in
> decent shape, who land me say that was retired
> because ''does not work'' (generically).
> After receiving id, and googling a bit, i've found
> a way to reset to default state and enable SSH.
> Disks seems in decent shape, probably one is
> fault, but anyway the system (that reside in disk)
> works as expected. The system seems a debian 4,
> rather castrated (eg, there's dpkg, but
> /var/lib/dpg get removd).
>
> After that, i've turned to a friend that work on
> embedded world, that find the serial. It took some
> month to do, and also i've other thing to do.
> Anyway, i'm here.
>
> Two question:
>
> 1) having SSH and serial access to the box,
> there's something i can do before trying to
> install debian on it? Please, say me and i will
> provide that info...

entire serial bootlog.

>
> 2) it is not clear what i have to do; If i've
> understood well, i've:
> a) get from that post the link to current
> kernel/initrd, put on a USB thumbdrive
> b) via serial get into u-boot prompt, and boot
> (directly on usb thumbdrive, or via tftp) the
> kernel and initrd
>

Correct.

> I'm not clear:
> c) if an upgrade of u-boot is mandatory or not

Not mandatory.

> d) if a modification of uboot environment is
> mandatory, or not

Yes. See previous posts in this thread.

> e) if there's some rule to follow on partitioning
> (i'm used to MBR and UEFI)

Follow the instruction and create th Debian 4.4 rootfs on a single ext3 partition on USB:
http://forum.doozan.com/read.php?2,12096

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on iomega storcenter ix4-200d: succes!
August 03, 2016 06:12PM
bodhi Wrote:

> entire serial bootlog.

Attached.

> > d) if a modification of uboot environment is
> > mandatory, or not
> Yes. See previous posts in this thread.

OK. There's some way to ''save'' the current uboot environment?


> Follow the instruction and create th Debian 4.4
> rootfs on a single ext3 partition on USB:
> http://forum.doozan.com/read.php?2,12096

OK, i will do some tests. I'm going on holiday, so don't expect quick answers...

After doing the tests with the USB thumbdrive, there's some way to save it ''permanently'' on flash?
Attachments:
open | download - minicom.cap (33.3 KB)
Re: Debian on iomega storcenter ix4-200d: succes!
August 03, 2016 11:30PM
marcogaio Wrote:
-------------------------------------------------------

> OK. There's some way to ''save'' the current uboot
> environment?

In serical console:
printenv
and copy/paste the output to a text file.

>
>
> > Follow the instruction and create th Debian 4.4
> > rootfs on a single ext3 partition on USB:
> > http://forum.doozan.com/read.php?2,12096
>
> OK, i will do some tests. I'm going on holiday, so
> don't expect quick answers...
>
> After doing the tests with the USB thumbdrive,
> there's some way to save it ''permanently'' on
> flash?

No. We are installing Debian on external drive only. Not on NAND.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
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: