Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs October 31, 2017 04:04PM |
Admin Registered: 14 years ago Posts: 19,317 |
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs October 31, 2017 08:50PM |
Admin Registered: 14 years ago Posts: 19,317 |
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs November 03, 2017 03:45AM |
Registered: 12 years ago Posts: 214 |
btrfs 1003190 0 raid6_pq 87146 1 btrfs xor 4097 1 btrfs libcrc32c 845 0What could be the reason? Where should I look at? It is running on my productive Squeeze system.
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs November 03, 2017 04:17AM |
Admin Registered: 14 years ago Posts: 19,317 |
btrfs 1003190 0 raid6_pq 87146 1 btrfs xor 4097 1 btrfs libcrc32c 845 0
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs November 03, 2017 05:31AM |
Registered: 12 years ago Posts: 214 |
update-initramfs -ukallfollowed by an update of uInitrd.
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs November 03, 2017 06:47AM |
Admin Registered: 14 years ago Posts: 19,317 |
> update-initramfs -ukall >followed by an update of uInitrd.
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs November 25, 2017 06:15PM |
Admin Registered: 14 years ago Posts: 19,317 |
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs December 17, 2017 08:51PM |
Admin Registered: 14 years ago Posts: 19,317 |
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs January 05, 2018 04:01AM |
Registered: 7 years ago Posts: 32 |
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs January 05, 2018 04:42AM |
Admin Registered: 14 years ago Posts: 19,317 |
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs January 05, 2018 05:11AM |
Registered: 7 years ago Posts: 32 |
lsusb Bus 001 Device 007: ID 07d1:3c0a D-Link System DWA-140 RangeBooster N Adapter(rev.B2) [Ralink RT3072] - D-Link DWA-140 rev.B2 Bus 001 Device 008: ID 148f:2870 Ralink Technology, Corp. RT2870 Wireless Adapter - TRENDnet TEW-664UB Bus 001 Device 009: ID 07d1:3303 D-Link System DWA-131 802.11n Wireless N Nano Adapter(rev.A1) [Realtek RTL8192SU] - D-Link DWA-131 Bus 001 Device 010: ID 148f:3573 Ralink Technology, Corp. RT3573 Wireless Adapter - TRENDnet TEW-684UB
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs January 05, 2018 02:33PM |
Admin Registered: 14 years ago Posts: 19,317 |
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs January 31, 2018 05:44PM |
Admin Registered: 14 years ago Posts: 19,317 |
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs February 15, 2018 09:10PM |
Registered: 7 years ago Posts: 32 |
root@debian:~# dmesg | grep "rtc" [ 1.452633] hctosys: unable to open rtc device (rtc0) [ 6.231418] rtc-ds1307 0-0068: rtc core: registered ds1307 as rtc0 [ 6.237619] rtc-ds1307 0-0068: 56 bytes nvram
root@debian:~# hwclock -r 2018-02-15 18:59:55.672925-0800 root@debian:~#
root@debian:~# mount -t debugfs none /sys/kernel/debug root@debian:~# cat /sys/kernel/debug/gpio GPIOs 0-31, platform/44000000.gpio, 44000000.gpio: [?] GPIO44000000.gpio11: [gpio] clear [?] GPIO44000000.gpio29: [gpio] clear GPIOs 32-49, platform/44100000.gpio, 44100000.gpio: [?] GPIO44100000.gpio6: [gpio] clear [sda] GPIO44100000.gpio9: [gpio] clear [scl] GPIO44100000.gpio10: [gpio] clear [?] GPIO44100000.gpio13: [gpio] clear root@debian:~# i2cdetect 0 WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-0. I will probe address range 0x03-0x77. Continue? [Y/n] y 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- root@debian:~#
"random: systemd-udevd: uninitialized urandom read" "random: udevadm: uninitialized urandom read"
6.118259] rtc-ds1307: probe of 0-0068 failed with error -5 6.139243] i2c-gpio i2c-gpio: using pins 41 (SDA) and 42 (SCL)If I do a reboot after this, then everything will start normally again RTC
root@debian:~# dmesg | grep ata [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/sda2 rootfstype=ext4 ubi.mtd=data,512 [ 0.000000] Memory: 121768K/131072K available (5676K kernel code, 285K rwdata, 1572K rodata, 228K init, 243K bss, 9304K reserved, 0K cma-reserved) .data : 0xc0756000 - 0xc079d718 ( 286 kB) [ 0.280798] libata version 3.00 loaded. [ 0.941416] scsi host0: sata_oxnas [ 0.945635] scsi host1: sata_oxnas [ 0.949521] ata1: SATA max UDMA/133 irq 7 [ 0.953571] ata2: SATA max UDMA/133 irq 7 [ 0.957672] sata_oxnas: resetting SATA core [ 1.432427] UBI error: cannot open mtd data, error -2 [ 1.510164] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) [ 1.559864] ata1.00: HPA detected: current 156299375, native 156301488 [ 1.566410] ata1.00: ATA-7: ST380815AS, 3.AAC, max UDMA/133 [ 1.571980] ata1.00: 156299375 sectors, multi 0: LBA48 NCQ (depth 0/32) [ 1.618193] ata1.00: configured for UDMA/133 [ 1.658398] sata_oxnas: resetting SATA core [ 1.700067] sata_oxnas: resetting SATA core [ 2.460019] ata1: exception Emask 0x10 SAct 0x0 SErr 0x0 action 0xe frozen [ 2.466885] ata1: hard resetting link [ 2.939985] ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300) [ 2.974671] ata2.00: HPA detected: current 312579695, native 312581808 [ 2.981253] ata2.00: ATA-8: ST3160813AS, CC2J, max UDMA/133 [ 2.986803] ata2.00: 312579695 sectors, multi 0: LBA48 NCQ (depth 0/32) [ 3.035130] ata2.00: configured for UDMA/133 [ 3.390005] ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310) [ 3.484075] ata1.00: configured for UDMA/133 [ 3.488348] ata1: EH complete [ 3.591311] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null) [ 11.171427] FAT-fs (sda1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck. root@debian:~#
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs February 16, 2018 03:17PM |
Admin Registered: 14 years ago Posts: 19,317 |
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs February 16, 2018 04:47PM |
Admin Registered: 14 years ago Posts: 19,317 |
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs February 16, 2018 07:19PM |
Registered: 7 years ago Posts: 32 |
Quote
That's the RTC for this NAS I-STOR IS608 box?
Quote
then we should make a new DTS (i.e. call it nas-i-stor-is608.dts or something like that)
Quote
So does it work OK after this warning?
root@debian:df Filesystem 1K-blocks Used Available Use% Mounted on /dev/root 3997376 1154840 2616440 31% / devtmpfs 60884 0 60884 0% /dev tmpfs 12200 148 12052 2% /run tmpfs 5120 0 5120 0% /run/lock tmpfs 24380 0 24380 0% /run/shm tmpfs 60996 0 60996 0% /tmp /dev/sda3 72776020 6179936 62899188 9% /home /dev/sda1 16334 518 15816 4% /mnt root@debian:/etc# ls /mnt . .. u-boot.env u-boot.img root@debian:/etc# cp fstab /mnt root@debian:/etc# ls /mnt . .. fstab u-boot.env u-boot.img root@debian:/etc#
OX820 # saveenv Saving Environment to FAT... writing u-boot.env done OX820 #
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs February 17, 2018 04:19AM |
Admin Registered: 14 years ago Posts: 19,317 |
16c16 < bootargs = "console=ttyS0,115200n8 earlyprintk=serial"; --- > bootargs = "console=ttyS0,115200n8 root=/dev/sda2 rootfstype=ext4 ubi.mtd=data,512";
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs February 17, 2018 08:11AM |
Registered: 7 years ago Posts: 32 |
Quote
The u-boot env bootargs should be modified to your specific needs. It will override whatever defintion in the DTS
OX820 # setenv bootargs "console=ttyS0,115200 root=/dev/sda2 rootfstype=ext4 ubi.mtd=data,512" OX820 # setenv ext4_dtb ext4load ide 0:2 61000000 /boot/dts/ox820-akitio.dtb OX820 # saveenv Saving Environment to FAT... writing u-boot.env done OX820 # printenv SET_dtb=fdt addr ${fdtaddr} ; fdt header autoload=no baudrate=115200 bootargs=console=ttyS0,115200 root=/dev/sda2 rootfstype=ext4 ubi.mtd=data,512 bootcmd=run ideboot bootdelay=3 bootnew=bootm 60000000 - 61000000 bootold=bootm 60000000 console=console=ttyS0,115200n8 ethact=mii0 ethaddr=74:F0:6D:6A:1D:17 ext2_dtb=ext2load ide 0:2 61000000 /boot/dts/ox820-pogoplug-classic.dtb ext2_ideboot=run ext2_uimage ; run ext2_dtb ; run SET_dtb ; run bootnew ext2_uimage=ext2load ide 0:2 60000000 /boot/uImage ext4_dtb=ext4load ide 0:2 61000000 /boot/dts/ox820-akitio.dtb ext4_ideboot=run ext4_uimage ; run ext4_dtb ; run SET_dtb ; run bootnew ext4_uimage=ext4load ide 0:2 60000000 /boot/uImage fdtaddr=61000000 filesize=3eb330 ideboot=run ext4_ideboot idebootold=${loadold} ;${bootold} imgaddr=60000000 ipaddr=10.0.0.71 keypressed=1 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) netcon=echo switch to net console;setenv stderr nc;setenv stdin nc;setenv stdout nc;echo switch to net console preboot=run safeboot serialcon=echo switch to serial console;setenv stderr serial;setenv stdin serial;setenv stdout serial;echo switch to serial console stderr=serial stdin=serial stdout=serial updboot=bootp;tftp 60000000 u-boot.img;ide write 60000000 400 400 Environment size: 1339/16380 bytes OX820 #
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs February 18, 2018 04:30AM |
Admin Registered: 14 years ago Posts: 19,317 |
Quote
These clones are AKiTiO MyCloud Duo - Iconbit I-STOR IS608, FANTEC CL-35B2, Eminent EM4172.
They are all externally and internally one to one.(The screen was appended)
Quote
then we should make a new DTS (i.e. call it nas-i-stor-is608.dts or something like that)
Quote
Yes, it will be better, I'll try to define Gpio Led and Key.
It's more logical to call ox820-akitio-duo.dts or ox820-akitio-mycloud-duo.dts, the rest were copied from it
Quote
ox820-i-stor-is608.dts
Quote
model = "Iconbit I-STOR IS608";
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs February 18, 2018 05:58AM |
Registered: 7 years ago Posts: 32 |
poweroffThe turnoff turns off and then you can turn on the Power OFF / On button.
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs February 23, 2018 05:45AM |
Registered: 10 years ago Posts: 68 |
Re: Linux Kernel 4.4.89 Oxnas (OX820) Pogo V3 package and Debian rootfs February 23, 2018 03:46PM |
Admin Registered: 14 years ago Posts: 19,317 |
Re: Linux Kernel 4.4.117 Oxnas (OX820) Pogo V3 package and Debian rootfs February 26, 2018 04:53AM |
Admin Registered: 14 years ago Posts: 19,317 |
Re: Linux Kernel 4.4.117 Oxnas (OX820) Pogo V3 package and Debian rootfs March 09, 2018 07:43AM |
Registered: 12 years ago Posts: 28 |
Re: Linux Kernel 4.4.117 Oxnas (OX820) Pogo V3 package and Debian rootfs March 19, 2018 10:20AM |
Registered: 11 years ago Posts: 19 |
Re: Linux Kernel 4.4.117 Oxnas (OX820) Pogo V3 package and Debian rootfs March 19, 2018 03:58PM |
Admin Registered: 14 years ago Posts: 19,317 |
Re: Linux Kernel 4.4.117 Oxnas (OX820) Pogo V3 package and Debian rootfs March 22, 2018 12:56PM |
Registered: 11 years ago Posts: 19 |
Re: Linux Kernel 4.4.117 Oxnas (OX820) Pogo V3 package and Debian rootfs March 22, 2018 03:48PM |
Admin Registered: 14 years ago Posts: 19,317 |
Re: Linux Kernel 4.4.117 Oxnas (OX820) Pogo V3 package and Debian rootfs March 23, 2018 03:47AM |
Admin Registered: 14 years ago Posts: 19,317 |