Quantcast
Channel: Debian on iomega storcenter ix4-200d: succes!
Viewing all 179 articles
Browse latest View live

Re: Serial: Debian on iomega storcenter ix4-200d: succes!


Re: Serial: Debian on iomega storcenter ix4-200d: succes!

$
0
0
Hi Bodhi,

Thank you for your help, it's been so useful. I did see the image and have attached my board in the previous post. It is really hard to work out which pins are for what. If we look at the board, with the pin are at the top right with the I/O on the right (NICs). which it which?

Simplified

x x x x -> Rear (NICs)
x x x x
<- front of unit

1 2 3 4 5
6 7 8 9 10


As there are no pins on the board I shall solder some on.
Many thanks

Re: Serial: Debian on iomega storcenter ix4-200d: succes!

$
0
0
reformedfan,

I'm not sure either (I don't have this box). Hopefully damacc will come by and answer the question.

Anybody who has this box, please help!

Re: Serial: Debian on iomega storcenter ix4-200d: succes!

$
0
0
This should be the pinout, I also marked it on the picture of the board :)

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

Re: Serial: Debian on iomega storcenter ix4-200d: succes!

Re: Serial: Debian on iomega storcenter ix4-200d: succes!

$
0
0
Thanks to you both, i'll crack on! serial now connected

Re: Serial: Debian on iomega storcenter ix4-200d: succes!

$
0
0
All, good, now can ssh.
1) how do you install samba - see error below - ignore - apt-get update !!!!! all fixed
2) how do you commit the env, so when you reboot it uses rootfs?
3) to create the raid do you use fdisk?
4)how do you stop nfs as I dont need it

Apt install samba...
Do you want to continue? [Y/n] Y
Err:1 http://ftp.us.debian.org/debian buster/main armel libpython2.7-minimal armel 2.7.16-2
404 Not Found [IP: 64.50.236.52 80]
Err:2 http://ftp.us.debian.org/debian buster/main armel python2.7-minimal armel 2.7.16-2


Cheers
Matthew

Re: Serial: Debian on iomega storcenter ix4-200d: succes!

$
0
0
Matthew,

Quote

2) how do you commit the env, so when you reboot it uses rootfs?

First, make sure that serial log to console does not show any error during boot. Interrupt serial console, and

Repeat the setenvs like you did:
setenv usb_set_bootargs 'setenv bootargs console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 earlyprintk=serial'
setenv load_uimage 'ext2load usb 0:1 0x800000 /boot/uImage'
setenv load_uinitrd 'ext2load usb 0:1 0x2100000 /boot/uInitrd'
setenv usb_boot 'mw 0x800000 0 1; run load_uimage; if run load_uinitrd; then bootm 0x800000 0x2100000; else bootm 0x800000; fi'
setenv usb_bootcmd 'run usb_set_bootargs; run usb_boot'
setenv bootcmd 'usb start; run usb_bootcmd; usb stop; reset'

And then, save it before booting,

saveenv

Print out the envs for keepsake,
printenv
boot

Quote

3) to create the raid do you use fdisk?

Use mdadm to create the array.

Quote

4)how do you stop nfs as I dont need it

It does not hurt to run it always and without export any shared folder (its memory footprint is very small during idle).

However, to disable it so it will not run during boot, install and run rcconf in Debian:

apt-get install rcconf
rcconf

Re: Serial: Debian on iomega storcenter ix4-200d: succes!

$
0
0
Cheers again, all going well.

1) rootfs is running off the USB, why would you commit this to the hardware (NAND?)
2) When I create the RAID, and then the filesystems, what is the best practise for partitions and what should I do around SWAP?
3) Is there no Hardware RAID in the iOmega ix4-200d?

I will read now read up on mdadm .

Thanks again, progress
Matthew

Re: Serial: Debian on iomega storcenter ix4-200d: succes!

$
0
0
reformedfan,

> 2) rootfs is running off the USB,. I guess this
> has to as the OEM boot is inside the RAID LVM.

Make sure to take precaution. Back up regularly

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

and do some set up to prolong the life of your USB rootfs:

https://forum.doozan.com/read.php?2,13702,13704#msg-13704

> 4) How would I monitor for RAID/disk failuire?
> e.g when disk dies or SMART sends a warning.

IMO, for home usage, RAID is not needed. Just have a daily backup job that back up your rootfs and files to another box in the network, or to an attached USB HDD.

I don't have a setup to notify disk failure. But it should be simple. smartcl daemon can be set up in /etc/smartd.conf to send mail.

Re: Debian on iomega storcenter ix4-200d: succes!

$
0
0
Made progress with the backup but load of errors trying /sys...

rsync: read errors mapping "/sys/devices/platform/mbus@f1000000/mbus@f1000000:pcie@82000000/pci0000:00/0000:00:01.0/0000:01:00.0/ata4/host4/target4:0:0/4:0:0:0/unload_heads": Operation not supported (95)
rsync: read errors mapping "/sys/devices/platform/mbus@f1000000/mbus@f1000000:pcie@82000000/pci0000:00/0000:00:01.0/0000:01:00.0/ata4/host4/target4:0:0/4:0:0:0/vendor": No data available (61)
rsync: read errors mapping "/sys/devices/platform/mbus@f1000000/mbus@f1000000:pcie@82000000/pci0000:00/0000:00:01.0/0000:01:00.0/ata4/host4/target4:0:0/4:0:0:0/wwid": No data available (61)
rsync: read errors mapping "/sys/devices/platform/Fixed MDIO bus.0/power/autosuspend_delay_ms": Input/output error (5)
rsync: read errors mapping "/sys/devices/platform/Fixed MDIO bus.0/power/control": No data available (61)
rsync: read errors mapping "/sys/devices/platform/Fixed MDIO bus.0/power/runtime_active_time": No data available (61)
rsync: read errors mapping "/sys/devices/platform/Fixed MDIO bus.0/power/runtime_status": No data available (61)
rsync: read errors mapping "/sys/devices/platform/Fixed MDIO bus.0/power/runtime_suspended_time": No data available (61)
rsync: read errors mapping "/sys/devices/platform/alarmtimer/driver_override": No data available (61)
rsync: read errors mapping "/sys/devices/platform/alarmtimer/modalias": No data available (61)
rsync: read errors mapping "/sys/devices/platform/alarmtimer/uevent": No data available (61)
rsync: read errors mapping "/sys/devices/platform/alarmtimer/power/autosuspend_delay_ms": Input/output error (5)
rsync: read errors mapping "/sys/devices/platform/alarmtimer/power/control": No data available (61)
rsync: read errors mapping "/sys/devices/platform/alarmtimer/power/runtime_active_time": No data available (61)
rsync: read errors mapping "/sys/devices/platform/alarmtimer/power/runtime_status": No data available (61)
rsync: read errors mapping "/sys/devices/platform/alarmtimer/power/runtime_suspended_time": No data available (61)
rsync: read errors mapping "/sys/devices/platform/kirkwood-cpufreq/driver_override": No data available (61)
rsync: read errors mapping "/sys/devices/platform/kirkwood-cpufreq/modalias": No data available (61)
rsync: read errors mapping "/sys/devices/platform/kirkwood-cpufreq/uevent": No data available (61)
rsync: read errors mapping "/sys/devices/platform/kirkwood-cpufreq/power/autosuspend_delay_ms": Input/output error (5)
rsync: read errors mapping "/sys/devices/platform/kirkwood-cpufreq/power/control": No data available (61)
rsync: read errors mapping "/sys/devices/platform/kirkwood-cpufreq/power/runtime_active_time": No data available (61)
rsync: read errors mapping "/sys/devices/platform/kirkwood-cpufreq/power/runtime_status": No data available (61)
rsync: read errors mapping "/sys/devices/platform/kirkwood-cpufreq/power/runtime_suspended_time": No data available (61)
rsync: read errors mapping "/sys/devices/platform/kirkwood_cpuidle/driver_override": No data available (61)
WARNING: sys/devices/platform/kirkwood_cpuidle/modalias failed verification -- update discarded (will try again).
WARNING: sys/devices/platform/kirkwood_cpuidle/uevent failed verification -- update discarded (will try again).
WARNING: sys/devices/platform/kirkwood_cpuidle/power/autosuspend_delay_ms failed verification -- update discarded (will try again).
WARNING: sys/devices/platform/kirkwood_cpuidle/power/control failed verification -- update discarded (will try again).
WARNING: sys/devices/platform/kirkwood_cpuidle/power/runtime_active_time failed verification -- update discarded (will try again).
WARNING: sys/devices/platform/kirkwood_cpuidle/power/runtime_status failed verification -- update discarded (will try again).
WARNING: sys/devices/platform/kirkwood_cpuidle/power/runtime_suspended_time failed verification -- update discarded (will try again).
rsync: read errors mapping "/sys/devices/platform/kirkwood_cpuidle/modalias": No data available (61)
rsync: read errors mapping "/sys/devices/platform/kirkwood_cpuidle/uevent": No data available (61)
rsync: read errors mapping "/sys/devices/platform/kirkwood_cpuidle/power/autosuspend_delay_ms": Input/output error (5)
rsync: read errors mapping "/sys/devices/platform/kirkwood_cpuidle/power/control": No data available (61)
rsync: read errors mapping "/sys/devices/platform/kirkwood_cpuidle/power/runtime_active_time": No data available (61)
rsync: read errors mapping "/sys/devices/platform/kirkwood_cpuidle/power/runtime_status": No data available (61)
rsync: read errors mapping "/sys/devices/platform/kirkwood_cpuidle/power/runtime_suspended_time": No data available (61)
WARNING: sys/devices/platform/mbus@f1000000/driver_override failed verification -- update discarded (will try again).
rsync: read errors mapping "/sys/devices/platform/mbus@f1000000/driver_override": No data available (61)
WARNING: sys/devices/platform/mbus@f1000000/modalias failed verification -- update discarded (will try again).
WARNING: sys/devices/platform/mbus@f1000000/uevent failed verification -- update discarded (will try again).
WARNING: sys/devices/platform/mbus@f1000000/f4000000.nand/driver_override failed verification -- update discarded (will try again).
WARNING: sys/devices/platform/mbus@f1000000/f4000000.nand/modalias failed verification -- update discarded (will try again).
WARNING: sys/devices/platform/mbus@f1000000/f4000000.nand/uevent failed verification -- update discarded (will try again).
WARNING: sys/devices/platform/mbus@f1000000/f4000000.nand/mtd/mtd0/bad_blocks failed verification -- update discarded (will try again).
WARNING: sys/devices/platform/mbus@f1000000/f4000000.nand/mtd/mtd0/bbt_blocks failed verification -- update discarded (will try again).
rsync: read errors mapping "/sys/devices/platform/mbus@f1000000/modalias": No data available (61)
rsync: read errors mapping "/sys/devices/platform/mbus@f1000000/uevent": No data available (61)

===
moderator edit: please use code tags

Re: Debian on iomega storcenter ix4-200d: succes!

Re: Debian on iomega storcenter ix4-200d: succes!

$
0
0
I'll check the config for rsync, I used the "on demand" one. Anyhow, once validated, I can --exclude /sys/ if needed. All in all, all working now. Env has been committed to NAND, used MDADM to fix the RAID as it was degraded, Samba configured. so far so good and almost ready to help the next person :)

Next steps (views welcome)

1)DNLA/UPNP media service, iOmega used Twonky Media server,
2)way to alert on Disk / Raid issues - thinking email service (postfix?)
3) Apple time machine
4)any other cool tools with low footprint?

Re: Debian on iomega storcenter ix4-200d: succes!

$
0
0
reformedfan,

> I'll check the config for rsync, I used the "on
> demand" one. Anyhow, once validated, I can
> --exclude /sys/ if needed. All in all, all
> working now. Env has been committed to NAND,
> used MDADM to fix the RAID as it was degraded,
> Samba configured. so far so good and almost ready
> to help the next person :)

Cool!

> 1)DNLA/UPNP media service, iOmega used Twonky
> Media server,

Install minidlna from Debian repo.

apt-get install minidlna

> 2)way to alert on Disk / Raid issues - thinking
> email service (postfix?)

There are many examples on the Internet for settings up Gmail with smartctl daemon.

> 3) Apple time machine

I'll have to look for my notes. I've done this quite a long time ago, but never actually used it daily (my wifi was too slow back in the days). But using it with Ethernet connection is decent.

Re: Debian on iomega storcenter ix4-200d: succes!

$
0
0
Quick one as I am being thick. Trying to set up the device so you can ping by hostname (FQDN). eg. hostname.local

>Interface is DHCP - and the file has a basic entry [iface eth0 inet dhcp}
>resolve.conf is the local router (DHCP/DNS) [nameserver 192.168.1.1]
>Hosts file only has the loopback and local hostname. I dont want to start adding to this file

Do I need a DNS forwarding service or something, or have I just missed something out?

Thanks
Matthew

Re: Debian on iomega storcenter ix4-200d: succes!

$
0
0
Matthew,

Quote

Quick one as I am being thick.

Not at all :) good question.

This hostname capability is provided by avahi. And it is already installed in the basic rootfs.

Quote

Updated 25 Aug 2019:

Basic Debian buster Kirkwood rootfs for most Kirwood plugs:

- tarball size: 209M
- install size: 536M
- The init system used in this rootfs is sysvinit . To boot with systemd, see note 2 below.
- Installed packages: nano, avahi, ntp, busybox-syslogd (log to RAM), htop, isc-dhcp-client, dialog, bzip2, nfs server/client, iperf, ethtool, sysvinit-core, sysvinit, sysvinit-utils, u-boot-tools, and mtd-utils.
- see LED controls in /etc/rc.local, and /etc/init.d/halt
- see some useful aliases in /root/.profile
- root password: root


In your local network environment the host name is broadcasted by avahi. Your MacOS boxes would see it as nameofhost.local (it is debian.local if you have not changed hostname after installation).

So go ahead and ping it, or ssh in.

ping nameofhost.local

or
ssh root@nameofhost.local

See if you get response in either cases.

Re: Debian on iomega storcenter ix4-200d: succes!

$
0
0
Hi,

It really wierd,

This Debian, rootfs host doesn't resolve names. I have a few raspberry pi's (raspbian) and these work. I have crossed checked the following files and nothing seems majorly different.

/etc/nsswitch.conf
   /etc/resolv.conf
   /etc/hosts
   /etc/network/interfaces
   /etc/avahi/avahi-daemon.conf


The Pis resolve hostname.local (ping) for all of my 100 + hosts on my home network (haha) but this one doesn't:

uname -a
Linux iomega 5.2.9-kirkwood-tld-1 #1 PREEMPT Sat Aug 17 15:00:56 PDT 2019 armv5tel GNU/Linux

Re: Debian on iomega storcenter ix4-200d: succes!

$
0
0
Matthew,


Reboot the Store Center. Sometime a reboot will help. Check the syslog, there should be avahi activities toward the end of the log.

Or filter out avahi log:
logread | grep avahi

And ping or ssh the hostname after the system is up about 2 minutes or later.

Re: Debian on iomega storcenter ix4-200d: succes!

$
0
0
Matthew,

Is this box behind a wireless bridge?

For reference, I alsway log in to these NAS boxes from my MacBook laptop with hostname.local. Once in a long while, some of the boxes behind a wireless bridge did not advertise their host names through, for whatever reason (dmesg or syslog did show anything strange). A wireless bridge reboot cleared it up.

Re: Debian on iomega storcenter ix4-200d: succes!

$
0
0
Hi,

The plot thickens. The host (ix4-200d), can ping IPs and resolve external host names like www.google.com. it can't resolve internal hostnames if you append .local.

e.g ping hostname.local

My other linux devices work ok (raspberry pi's).

I have done an "apt update on avahi"

It is not the end of the work, just frustrating
Viewing all 179 articles
Browse latest View live