Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault November 08, 2014 07:59PM |
Registered: 10 years ago Posts: 162 |
echo "deb http://packages.openmediavault.org/public kralizec main" > /etc/apt/sources.list.d/openmediavault.list apt-get update apt-get --yes --force-yes install openmediavault-keyring postfix apt-get update apt-get install openmediavault omv-initsystem shutdown -r nowThat's it, your OpenMediaVault is installed. After restart you should be able to start OMV in your browser.
echo "deb http://packages.omv-extras.org/debian/ kralizec main" >> /etc/apt/sources.list.d/omv-extras-org-kralizec.list apt-get update apt-get --yes --force-yes install openmediavault-omvextrasorg apt-get update
leo
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault December 04, 2014 10:53AM |
GoFlexNet> ide reset Reset IDE: Bus 0: not available Bus 1: OK Device 1: Model: Hitachi HTS543225L9SA00 Firm: FBEOC40C Ser#: 080819FB0D20LJG19L9D Type: Hard Disk Supports 48-bit addressing Capacity: 238475.1 MB = 232.8 GB (488397168 x 512) GoFlexNet>
GoFlexNet> printenv arcNumber=2097 baudrate=115200 bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset bootdelay=3 console=ttyS0,115200 ethact=egiga0 ethaddr=00:10:75:26:0F:29 force_rescue=0 force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi led_error=orange blinking led_exit=green off led_init=green blinking mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) partition=nand0,2 pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi rescue_installed=0 rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params stderr=serial stdin=serial stdout=serial ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi ubifs_mtd=3 ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_bootcmd=run usb_init; setenv usb_root LABEL=rootfs; run usb_set_bootargs; run usb_boot usb_device=0:1 usb_init=run usb_scan usb_root=/dev/sda1 usb_rootdelay=10 usb_rootfstype=ext2 usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done usb_scan_1=usb=0:1 dev=sda1 usb_scan_2=usb=1:1 dev=sdb1 usb_scan_3=usb=2:1 dev=sdc1 usb_scan_4=usb=3:1 dev=sdd1 usb_scan_list=1 2 3 4 usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params Environment size: 2372/131068 bytes
root@flexnet:~# dmesg [ 0.000000] Booting Linux on physical CPU 0 [ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 3.3.2-kirkwood-dg (davygravy@bitbaker64) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-70) ) #1 Mon Apr 23 17:09:27 CDT 2012 [ 0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977 [ 0.000000] CPU: VIVT data cache, VIVT instruction cache [ 0.000000] Machine: Marvell SheevaPlug Reference Board [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] free_area_init_node: node 0, pgdat c043cd24, node_mem_map c04a4000 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32512 pages, LIFO batch:7 [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 rootfstype=ext2 mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] allocated 262144 bytes of page_cgroup [ 0.000000] please try 'cgroup_disable=memory' option if you don't want memory cgroups [ 0.000000] Memory: 128MB = 128MB total [ 0.000000] Memory: 118056k/118056k available, 13016k reserved, 0K highmem [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) [ 0.000000] vmalloc : 0xc8800000 - 0xff000000 ( 872 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc8000000 ( 128 MB) [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB) [ 0.000000] .text : 0xc0008000 - 0xc03e07fc (3938 kB) [ 0.000000] .init : 0xc03e1000 - 0xc0404000 ( 140 kB) [ 0.000000] .data : 0xc0404000 - 0xc043f1a0 ( 237 kB) [ 0.000000] .bss : 0xc043f1c4 - 0xc04a3228 ( 401 kB) [ 0.000000] NR_IRQS:114 [ 0.000000] gpiochip_add: registered GPIOs 0 to 31 on device: orion_gpio0 [ 0.000000] gpiochip_add: registered GPIOs 32 to 49 on device: orion_gpio1 [ 0.000000] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 21474ms [ 0.000000] Console: colour dummy device 80x30 [ 13.405517] Calibrating delay loop... 1191.11 BogoMIPS (lpj=5955584) [ 13.495401] pid_max: default: 32768 minimum: 301 [ 13.495528] Security Framework initialized [ 13.495606] Mount-cache hash table entries: 512 [ 13.495954] Initializing cgroup subsys cpuacct [ 13.495970] Initializing cgroup subsys memory [ 13.496007] Initializing cgroup subsys devices [ 13.496020] Initializing cgroup subsys freezer [ 13.496029] Initializing cgroup subsys net_cls [ 13.496038] Initializing cgroup subsys blkio [ 13.496064] Initializing cgroup subsys perf_event [ 13.496154] CPU: Testing write buffer coherency: ok [ 13.496433] Setting up static identity map for 0x2c9590 - 0x2c95cc [ 13.497554] devtmpfs: initialized [ 13.499344] print_constraints: dummy: [ 13.499597] NET: Registered protocol family 16 [ 13.500261] Kirkwood: MV88F6281-A0, TCLK=200000000. [ 13.500276] Feroceon L2: Enabling L2 [ 13.500313] Feroceon L2: Cache support initialised. [ 13.500841] initial MPP regs: 01111111 11113322 00001111 00100000 00000000 00000000 00000000 [ 13.500864] final MPP regs: 01111111 11113322 00001111 00000000 00000000 00000000 00000000 [ 13.502901] bio: create slab <bio-0> at 0 [ 13.503264] vgaarb: loaded [ 13.503759] Switching to clocksource orion_clocksource [ 13.517803] NET: Registered protocol family 2 [ 13.518037] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 13.518715] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 13.518815] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 13.518874] TCP: Hash tables configured (established 4096 bind 4096) [ 13.518883] TCP reno registered [ 13.518893] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 13.518916] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 13.519133] NET: Registered protocol family 1 [ 13.519166] PCI: CLS 0 bytes, default 32 [ 13.519325] Unpacking initramfs... [ 14.085142] Freeing initrd memory: 6840K [ 14.085155] NetWinder Floating Point Emulator V0.97 (double precision) [ 14.085840] audit: initializing netlink socket (disabled) [ 14.085881] type=2000 audit(0.670:1): initialized [ 14.087296] VFS: Disk quotas dquot_6.5.2 [ 14.087394] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 14.087499] JFFS2 version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. [ 14.087841] msgmni has been set to 243 [ 14.089397] alg: No test for stdrng (krng) [ 14.089501] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253) [ 14.089515] io scheduler noop registered [ 14.089522] io scheduler deadline registered [ 14.089571] io scheduler cfq registered (default) [ 14.089658] mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver [ 14.089692] mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver [ 14.123830] mv_xor mv_xor.0: Marvell XOR: ( xor cpy ) [ 14.163827] mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy ) [ 14.203826] mv_xor mv_xor.2: Marvell XOR: ( xor cpy ) [ 14.243825] mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy ) [ 14.244180] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 14.264678] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A [ 14.730686] console [ttyS0] enabled [ 14.735051] ONFI flash detected [ 14.738291] ONFI param page 0 valid [ 14.741802] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08AAD) [ 14.749512] Scanning device for bad blocks [ 14.905757] 4 cmdlinepart partitions found on MTD device orion_nand [ 14.912055] Creating 4 MTD partitions on "orion_nand": [ 14.917232] 0x000000000000-0x000000100000 : "u-boot" [ 14.923019] 0x000000100000-0x000000500000 : "uImage" [ 14.928783] 0x000000500000-0x000002500000 : "rootfs" [ 14.934587] 0x000002500000-0x000010000000 : "data" [ 14.941009] mousedev: PS/2 mouse device common for all mice [ 15.953809] rtc-mv rtc-mv: internal RTC not ticking [ 15.958789] i2c /dev entries driver [ 15.962414] cpuidle: using governor ladder [ 15.966670] cpuidle: using governor menu [ 15.970750] Registered led device: plug:red:misc [ 15.970845] Registered led device: plug:green:health [ 15.971732] TCP cubic registered [ 15.974993] NET: Registered protocol family 17 [ 15.979467] Registering the dns_resolver key type [ 15.984248] Gating clock of unused units [ 15.984257] before: 0x00dfc3fd [ 15.984265] after: 0x00c701d9 [ 15.984691] registered taskstats version 1 [ 15.989244] drivers/rtc/hctosys.c: unable to open rtc device (rtc0) [ 15.995602] Initializing network drop monitor service [ 16.001264] Freeing init memory: 140K [ 16.054174] udev[47]: starting version 164 [ 16.110787] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4 [ 16.180727] usbcore: registered new interface driver usbfs [ 16.249447] mv643xx_eth smi: probed [ 16.254209] mmc0: mvsdio driver initialized, lacking card detect (fall back to polling) [ 16.293911] usbcore: registered new interface driver hub [ 16.314017] mv643xx_eth_port mv643xx_eth_port.0: eth0: port 0 with MAC address 00:10:75:26:0f:29 [ 16.329600] usbcore: registered new device driver usb [ 16.337848] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 16.350535] orion-ehci orion-ehci.0: Marvell Orion EHCI [ 16.355894] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1 [ 16.383847] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000 [ 16.403814] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00 [ 16.409846] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 16.416692] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 16.423959] usb usb1: Product: Marvell Orion EHCI [ 16.428682] usb usb1: Manufacturer: Linux 3.3.2-kirkwood-dg ehci_hcd [ 16.435076] usb usb1: SerialNumber: orion-ehci.0 [ 16.442046] hub 1-0:1.0: USB hub found [ 16.445858] hub 1-0:1.0: 1 port detected [ 16.763807] usb 1-1: new high-speed USB device number 2 using orion-ehci [ 16.914622] usb 1-1: New USB device found, idVendor=0781, idProduct=5567 [ 16.921355] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 16.928534] usb 1-1: Product: Cruzer Blade [ 16.932645] usb 1-1: Manufacturer: SanDisk [ 16.936776] usb 1-1: SerialNumber: 4C532000060411115413 [ 16.963997] SCSI subsystem initialized [ 16.970414] usbcore: registered new interface driver uas [ 16.980319] Initializing USB Mass Storage driver... [ 16.985535] scsi0 : usb-storage 1-1:1.0 [ 16.990732] usbcore: registered new interface driver usb-storage [ 16.996796] USB Mass Storage support registered. [ 17.985091] scsi 0:0:0:0: Direct-Access SanDisk Cruzer Blade 1.26 PQ: 0 ANSI: 5 [ 18.007299] sd 0:0:0:0: [sda] 31266816 512-byte logical blocks: (16.0 GB/14.9 GiB) [ 18.016770] sd 0:0:0:0: [sda] Write Protect is off [ 18.021584] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00 [ 18.022269] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 18.040027] sda: sda1 sda2 [ 18.046520] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 27.162901] udev[146]: starting version 164 [ 28.014494] mdadm: sending ioctl 1261 to a partition! [ 28.019570] mdadm: sending ioctl 1261 to a partition! [ 28.025596] mdadm: sending ioctl 1261 to a partition! [ 28.030670] mdadm: sending ioctl 1261 to a partition! [ 28.036304] mdadm: sending ioctl 1261 to a partition! [ 28.041378] mdadm: sending ioctl 1261 to a partition! [ 28.047548] mdadm: sending ioctl 1261 to a partition! [ 28.052627] mdadm: sending ioctl 1261 to a partition! [ 28.058580] mdadm: sending ioctl 800c0910 to a partition! [ 28.064026] mdadm: sending ioctl 800c0910 to a partition! [ 28.354182] device-mapper: uevent: version 1.0.3 [ 28.374479] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com [ 31.402555] Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout= 0) [ 31.502958] wd_keepalive (700): /proc/700/oom_adj is deprecated, please use /proc/700/oom_score_adj instead. [ 33.228026] mv643xx_eth_port mv643xx_eth_port.0: eth0: link up, 1000 Mb/s, full duplex, flow control disabled [ 33.926363] NET: Registered protocol family 10 [ 44.063819] eth0: no IPv6 routers present
root@flexnet:~# fdisk -l Disk /dev/mtdblock0: 1 MB, 1048576 bytes 255 heads, 63 sectors/track, 0 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/mtdblock0 doesn't contain a valid partition table Disk /dev/mtdblock1: 4 MB, 4194304 bytes 255 heads, 63 sectors/track, 0 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xee020f10 Disk /dev/mtdblock1 doesn't contain a valid partition table Disk /dev/mtdblock2: 33 MB, 33554432 bytes 255 heads, 63 sectors/track, 4 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/mtdblock2 doesn't contain a valid partition table Disk /dev/mtdblock3: 229 MB, 229638144 bytes 255 heads, 63 sectors/track, 27 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/mtdblock3 doesn't contain a valid partition table Disk /dev/sda: 16.0 GB, 16008609792 bytes 64 heads, 32 sectors/track, 15267 cylinders Units = cylinders of 2048 * 512 = 1048576 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0031ea30 Device Boot Start End Blocks Id System /dev/sda1 2 4097 4194304 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 4098 4353 262144 82 Linux swap / Solaris Partition 2 does not end on cylinder boundary.
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault December 05, 2014 07:20AM |
Registered: 11 years ago Posts: 168 |
leo
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault December 05, 2014 11:43AM |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault January 11, 2015 01:22PM |
Registered: 11 years ago Posts: 168 |
hollari
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault March 02, 2015 07:40AM |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault March 04, 2015 10:42PM |
Registered: 11 years ago Posts: 168 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault March 04, 2015 10:50PM |
Registered: 11 years ago Posts: 168 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault April 24, 2015 07:45AM |
Registered: 9 years ago Posts: 429 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault April 26, 2015 05:06PM |
Registered: 9 years ago Posts: 1,516 |
Saverio
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault July 20, 2015 06:57AM |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault September 28, 2015 04:35PM |
Registered: 11 years ago Posts: 168 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault November 29, 2015 04:04AM |
Registered: 11 years ago Posts: 168 |
Quote
rmleonard
Do you have an updated openmediavault install posting?
(Your original spoke of version 0.4 and iirc 2.xx is the current)
The current version seems to be in the apt sources...
(But will that work correctly?)
I've been gifted a goflex net (not sure if it works)...
So I need to find out why it doesn't have a web page, and then.. omv seems to be where i'd like its destiny to lie...(or maybe Amahi, or Tonido, or the like)
In the past 2 years, any new thoughts on the workings of the little pogoplug?
Luigi
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault March 23, 2016 10:13AM |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault October 08, 2017 03:13PM |
Registered: 7 years ago Posts: 11 |
root@debian:~# apt-get install openmediavault Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: openmediavault : Depends: php5-fpm but it is not installable Depends: php5-cgi but it is not installable Depends: php5-cli but it is not installable Depends: php5-pam but it is not going to be installed Depends: openssh-blacklist-extra but it is not installable Depends: php5-proctitle but it is not going to be installed E: Unable to correct problems, you have held broken packages.
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault October 08, 2017 03:19PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault October 09, 2017 01:42PM |
Registered: 7 years ago Posts: 11 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault October 11, 2017 12:26PM |
Registered: 7 years ago Posts: 11 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault October 11, 2017 04:16PM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault October 15, 2017 11:27AM |
Registered: 7 years ago Posts: 11 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault October 15, 2017 01:09PM |
Registered: 7 years ago Posts: 11 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault October 15, 2017 03:44PM |
Admin Registered: 13 years ago Posts: 18,997 |
Oscar
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault April 06, 2018 05:11AM |
Oscar
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault April 06, 2018 05:58AM |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault April 07, 2018 04:14PM |
Admin Registered: 13 years ago Posts: 18,997 |
Oscar
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault April 08, 2018 02:39AM |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault April 08, 2018 03:07AM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault April 08, 2018 11:06AM |
Registered: 11 years ago Posts: 1,303 |
Oscar
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault April 09, 2018 08:58AM |
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:17:19 -0700) Seagate GoFlex Net SoC: Kirkwood 88F6281_A1 DRAM: 128 MiB WARNING: Caches not enabled NAND: 256 MiB In: serial Out: serial Err: serial Net: egiga0 88E1116 Initialized on egiga0 Hit any key to stop autoboot: 3 2 1 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 1 Storage Device(s) found ** File not found /rescueme ** ** Unrecognized filesystem type ** ubi0: attaching mtd1 ubi0: scanning is finished ubi0: attached mtd1 (name "mtd=3", size 219 MiB) ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512 ubi0: VID header offset: 512 (aligned 512), data offset: 2048 ubi0: good PEBs: 1743, bad PEBs: 9, corrupted PEBs: 0 ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128 ubi0: max/mean erase counter: 1/1, WL threshold: 4096, image sequence number: 0 ubi0: available PEBs: 1708, total reserved PEBs: 35, PEBs reserved for bad PEB handling: 31 Error reading superblock on volume 'rootfs' errno=-22! ubifsmount - mount UBIFS volume Usage: ubifsmount <volume-name> - mount 'volume-name' volume 1 bytes read in 691 ms (0 Bytes/s) Found bootable drive on usb 0:1 3821592 bytes read in 941 ms (3.9 MiB/s) 7245696 bytes read in 969 ms (7.1 MiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-4.12.1-kirkwood-tld-1 Created: 2017-07-20 8:11:24 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 3821528 Bytes = 3.6 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-4.12.1-kirkwood-tld-1 Created: 2017-07-24 0:18:23 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7245632 Bytes = 6.9 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Loading Kernel Image ... OK Loading Ramdisk to 07424000, end 07b0cf40 ... OK Starting kernel ... Uncompressing Linux... done, booting the kernel. Error: unrecognized/unsupported machine ID (r1 = 0x00000c11). Available machine support: ID (hex) NAME ffffffff Generic DT based system ffffffff Marvell Kirkwood (Flattened Device Tree) Please check your kernel config and/or bootloader.
GoFlexNet> printenv arcNumber=3089 baudrate=115200 bootcmd=usb start; run force_rescue_bootcmd; run ubifs_bootcmd; run usb_bootcmd; usb stop; run rescue_bootcmd; run pogo_bootcmd; reset bootdelay=3 console=ttyS0,115200 ethact=egiga0 ethaddr=00:10:75:26:73:39 force_rescue=0 force_rescue_bootcmd=if test $force_rescue -eq 1 || ext2load usb 0:1 0x1700000 /rescueme 1 || fatload usb 0:1 0x1700000 /rescueme.txt 1; then run rescue_bootcmd; fi led_error=orange blinking led_exit=green off led_init=green blinking mainlineLinux=yes mtdids=nand0=orion_nand mtdparts=mtdparts=orion_nand:1M(u-boot),4M(uImage),32M(rootfs),-(data) partition=nand0,2 pogo_bootcmd=if fsload uboot-original-mtd0.kwb; then go 0x800200; fi rescue_bootcmd=if test $rescue_installed -eq 1; then run rescue_set_bootargs; nand read.e 0x800000 0x100000 0x400000; bootm 0x800000; else run pogo_bootcmd; fi rescue_installed=1 rescue_set_bootargs=setenv bootargs console=$console ubi.mtd=2 root=ubi0:rootfs ro rootfstype=ubifs $mtdparts $rescue_custom_params stderr=serial stdin=serial stdout=serial ubifs_bootcmd=run ubifs_set_bootargs; if ubi part data && ubifsmount rootfs && ubifsload 0x800000 /boot/uImage && ubifsload 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; fi ubifs_mtd=3 ubifs_set_bootargs=setenv bootargs console=$console ubi.mtd=$ubifs_mtd root=ubi0:rootfs rootfstype=ubifs $mtdparts $ubifs_custom_params usb_boot=mw 0x800000 0 1; ext2load usb $usb_device 0x800000 /boot/uImage; if ext2load usb $usb_device 0x1100000 /boot/uInitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi usb_bootcmd=run usb_init; run usb_set_bootargs; run usb_boot usb_device=0:1 usb_init=run usb_scan usb_root=/dev/sda1 usb_rootdelay=10 usb_rootfstype=ext2 usb_scan=usb_scan_done=0;for scan in $usb_scan_list; do run usb_scan_$scan; if test $usb_scan_done -eq 0 && ext2load usb $usb 0x800000 /boot/uImage 1; then usb_scan_done=1; echo "Found bootable drive on usb $usb"; setenv usb_device $usb; setenv usb_root /dev/$dev; fi; done usb_scan_1=usb=0:1 dev=sda1 usb_scan_2=usb=1:1 dev=sdb1 usb_scan_3=usb=2:1 dev=sdc1 usb_scan_4=usb=3:1 dev=sdd1 usb_scan_list=1 2 3 4 usb_set_bootargs=setenv bootargs console=$console root=$usb_root rootdelay=$usb_rootdelay rootfstype=$usb_rootfstype $mtdparts $usb_custom_params Environment size: 2342/131068 bytes GoFlexNet>
Re: Build your own Pro NAS – Seagate Goflex Net with Debian Linux, RAID1 and OpenMediaVault April 09, 2018 03:34PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
8. Flashing default u-boot envs image (if you are upgrading from 2016.05-tld-1 u-boot, you can skip this step 8).
As described in step 1, u-boot envs must be defined in /etc/fw_env.config as
# MTD device name Device offset Env. size Flash sector size Number of sectors
/dev/mtd0 0xc0000 0x20000 0x20000
This default envs image supports booting with multiple disk drives (and hubs) attached. The disk drives could be any type (usb, sata, sd card). The scanning logic and default envs were set to automatically boot the box with the following required configuration:
For whatever reason, if you can't set up your configuration to satisfy the following 4 requirements, then don't flash this defaut envs image. It might not boot properly. In this case, section C below can be used to tailor the envs to your specific configuration.
r1. There must be only one partition among all partitions from all drives that contains the kernel files. The 2 kernel files are /boot/uImage and /boot/uInitrd.
r2. The partition that contains the 2 kernel files must be partition 1 in a disk drive
r3. The partition that contains the rootfs must be labeled rootfs
r4. The rootfs partition is recommended to be type Ext3 (this is not a hard requirement, ext4 should boot OK, but Ext3 will ensure no problem).
So the bottom line is if you have only one rootfs in a single Ext3 partition, which is labeled as rootfs, then you're all set.
a. Download the default u-boot envs at Dropbox:
uboot.2016.05-tld-1.environment.bodhi.tar
md5:
3823eef10011b864859d31a76470e0e3
sha256:
c8db95a4225e8d78bdaaaa372bd5a87e4b98f3448dd9c62fc96c72b2df1a997c
.....
devices=usb ide dtb_file=/boot/dts/kirkwood-goflexnet.dtb