Pogoplug Pro: Two drive bootup issue May 28, 2016 01:08PM |
Registered: 10 years ago Posts: 18 |
Request timed out. Reply from 192.168.1.35: Destination host unreachable.
Reply from 192.168.1.35: Destination host unreachable.
Re: Pogoplug Pro: Two drive bootup issue May 28, 2016 04:12PM |
Admin Registered: 13 years ago Posts: 18,898 |
e2label /dev/sda1 mount fw_printenv
Re: Pogoplug Pro: Two drive bootup issue May 28, 2016 07:01PM |
Registered: 10 years ago Posts: 18 |
e2label /dev/sda1 : ROOTFS
mount : sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=14958,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=12180k,mode=755) /dev/sda1 on / type ext3 (rw,noatime,errors=continue,barrier=1,data=ordered) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=24340k) tmpfs on /tmp type tmpfs (rw,relatime) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
fw_printenv : autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootdelay=10 console=console=ttyS0,115200n8 ethact=mii0 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) stderr=serial stdin=serial stdout=serial usb_device=0:1 if_netconsole=ping $serverip preboot_nc=run if_netconsole start_netconsole start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 uinitrd_addr=0x60e00000 uimage_addr=0x60500000 dtb_addr=0x62c00000 dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset bootcmd=run dt_bootcmd_usb ethaddr=00:25:31:01:c6:2a dt_load_dtb=ext2load usb 0:1 $dtb_addr $fdt_file preboot=run preboot_nc ipaddr=192.168.1.12 serverip=192.168.1.11 fdt_file=/boot/dts/ox820-pogoplug-pro.dtb usb_init=run usb_scan ; setenv usb_root LABEL=ROOTFS
Re: Pogoplug Pro: Two drive bootup issue May 28, 2016 08:02PM |
Admin Registered: 13 years ago Posts: 18,898 |
> e2label /dev/sda1 : > > ROOTFS >>
> mount : > > sysfs on /sys type sysfs > (rw,nosuid,nodev,noexec,relatime) > proc on /proc type proc > (rw,nosuid,nodev,noexec,relatime) > udev on /dev type devtmpfs > (rw,relatime,size=10240k,nr_inodes=14958,mode=755) > > devpts on /dev/pts type devpts > (rw,nosuid,noexec,relatime,gid=5,mode=620) > tmpfs on /run type tmpfs > (rw,nosuid,noexec,relatime,size=12180k,mode=755) > /dev/sda1 on / type ext3 > (rw,noatime,errors=continue,barrier=1,data=ordered > ) > tmpfs on /run/lock type tmpfs > (rw,nosuid,nodev,noexec,relatime,size=5120k) > tmpfs on /run/shm type tmpfs > (rw,nosuid,nodev,noexec,relatime,size=24340k) > tmpfs on /tmp type tmpfs (rw,relatime) > rpc_pipefs on /var/lib/nfs/rpc_pipefs type > rpc_pipefs (rw,relatime) >>
> fw_printenv : > > autoload=no > baudrate=115200 > bootargs=console=ttyS0,115200n8 > bootdelay=10 > console=console=ttyS0,115200n8 > ethact=mii0 > mtdids=nand0=41000000.nand > mtdparts=mtdparts=41000000.nand:14m(boot),-(data) > stderr=serial > stdin=serial > stdout=serial > usb_device=0:1 > if_netconsole=ping $serverip > preboot_nc=run if_netconsole start_netconsole > start_netconsole=setenv ncip $serverip; setenv > bootdelay 10; setenv stdin nc; setenv stdout nc; > setenv stderr nc; version > usb_set_bootargs=setenv bootargs > console=ttyS0,115200 root=/dev/sda1 rootdelay=10 > uinitrd_addr=0x60e00000 > uimage_addr=0x60500000 > dtb_addr=0x62c00000 > dt_load_initrd=ext2load usb 0:1 $uinitrd_addr > /boot/uInitrd > dt_load_uimage=ext2load usb 0:1 $uimage_addr > /boot/uImage > dt_bootm=bootm $uimage_addr $uinitrd_addr > $dtb_addr > dt_usb_boot=run dt_load_uimage; run > dt_load_initrd; run dt_load_dtb; run dt_bootm > dt_usb_bootcmd=run usb_set_bootargs; run > dt_usb_boot > dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb > stop; reset > bootcmd=run dt_bootcmd_usb > ethaddr=00:25:31:01:c6:2a > dt_load_dtb=ext2load usb 0:1 $dtb_addr $fdt_file > preboot=run preboot_nc > ipaddr=192.168.1.12 > serverip=192.168.1.11 > fdt_file=/boot/dts/ox820-pogoplug-pro.dtb > usb_init=run usb_scan ; setenv usb_root > LABEL=ROOTFS >>
Re: Pogoplug Pro: Two drive bootup issue May 29, 2016 08:20AM |
Registered: 10 years ago Posts: 18 |
fw_setenv devices 'usb ide mmc' fw_setenv device '0:1' fw_setenv disks '0 1 2 3' fw_setenv bootdev usb
fw_setenv bootcmd 'run scan_disk; run set_bootargs_xxx; run bootcmd_xxx, reset'
Re: Pogoplug Pro: Two drive bootup issue May 29, 2016 03:48PM |
Admin Registered: 13 years ago Posts: 18,898 |
> fw_setenv devices 'usb ide mmc' > fw_setenv device '0:1' > fw_setenv disks '0 1 2 3' > fw_setenv bootdev usb >>
fw_setenv devices 'usb'
fw_setenv disks '0 1 2 3 4 5'
> fw_setenv bootcmd 'run scan_disk; run > set_bootargs_xxx; run bootcmd_xxx, reset' >>
bootcmd=run dt_bootcmd_usbso you modified bootcmd should be
fw_setenv bootcmd 'run scan_disk; run dt_bootcmd_usb; reset'
Re: Pogoplug Pro: Two drive bootup issue May 29, 2016 06:14PM |
Registered: 10 years ago Posts: 18 |
Re: Pogoplug Pro: Two drive bootup issue May 29, 2016 06:29PM |
Admin Registered: 13 years ago Posts: 18,898 |
fw_setenv bootcmd 'run scan_disk; run dt_bootcmd_usb; reset'
setenv bootcmd 'run scan_disk; run dt_bootcmd_usb; reset'
fw_printenv bootcmdAnd at u-boot prompt
printenv bootcmd
bootcmd=run scan_disk; run dt_bootcmd_usb; reset
Re: Pogoplug Pro: Two drive bootup issue June 03, 2016 02:16PM |
Registered: 10 years ago Posts: 18 |
autoload=no baudrate=115200 bootargs=console=ttyS0,115200n8 bootdelay=10 console=console=ttyS0,115200n8 ethact=mii0 mtdids=nand0=41000000.nand mtdparts=mtdparts=41000000.nand:14m(boot),-(data) stderr=serial stdin=serial stdout=serial if_netconsole=ping $serverip preboot_nc=run if_netconsole start_netconsole start_netconsole=setenv ncip $serverip; setenv bootdelay 10; setenv stdin nc; setenv stdout nc; setenv stderr nc; version usb_set_bootargs=setenv bootargs console=ttyS0,115200 root=/dev/sda1 rootdelay=10 uinitrd_addr=0x60e00000 uimage_addr=0x60500000 dtb_addr=0x62c00000 dt_load_initrd=ext2load usb 0:1 $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load usb 0:1 $uimage_addr /boot/uImage dt_bootm=bootm $uimage_addr $uinitrd_addr $dtb_addr dt_usb_boot=run dt_load_uimage; run dt_load_initrd; run dt_load_dtb; run dt_bootm dt_usb_bootcmd=run usb_set_bootargs; run dt_usb_boot dt_bootcmd_usb=usb start; run dt_usb_bootcmd; usb stop; reset ethaddr=00:25:31:01:c6:2a dt_load_dtb=ext2load usb 0:1 $dtb_addr $fdt_file preboot=run preboot_nc ipaddr=192.168.1.12 serverip=192.168.1.11 fdt_file=/boot/dts/ox820-pogoplug-pro.dtb bootcmd=run scan_disk; run dt_bootcmd_usb; reset 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_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 devices=usb device=0:1 disks=0 1 2 3 bootdev=usb scan_disk=scan_done=0; setenv scan_usb "usb start"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if ext2load $dev $disknum:1 0x800000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; done usb_root=/dev/sda1 usb_init=usb start; setenv usb_root LABEL=rootfs
disks=0 1 2 3
usb_scan_list=1 2 3 4
Re: Pogoplug Pro: Two drive bootup issue June 03, 2016 04:01PM |
Admin Registered: 13 years ago Posts: 18,898 |
ipaddr=192.168.1.12 serverip=192.168.1.11
scan_disk=scan_done=0; setenv scan_usb "usb start"; for dev in $devices; do if test $scan_done -eq 0; then echo Scan device $dev; run scan_$dev; for disknum in $disks; do if test $scan_done -eq 0; then echo device $dev $disknum:1; if ext2load $dev $disknum:1 0x800000 /boot/uImage 1; then scan_done=1; echo Found bootable drive on $dev $disknum; setenv device $disknum:1; setenv bootdev $dev; fi; fi; done; fi; doneThe scandisk detects bootdev and disknum. So the code below msut be changed to use that.
dt_load_initrd=ext2load $bootdev $device $uinitrd_addr /boot/uInitrd dt_load_uimage=ext2load $bootdev $device $uimage_addr /boot/uImage dt_load_dtb=ext2load $bootdev $device $dtb_addr $fdt_file
Re: Pogoplug Pro: Two drive bootup issue June 04, 2016 05:51PM |
Registered: 10 years ago Posts: 18 |
> ipaddr=192.168.1.12 > serverip=192.168.1.11 >
U-Boot 2013.10-tld-4 (Sep 08 2014 - 19:43:38) for OXNAS 0 Scan device usb (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... ERROR: Invalid USB EP length (9) ERROR: Invalid USB EP length (9) 5 USB Device(s) found scanning usb for storage devices... 2 Storage Device(s) found device usb 0:1 ** No partition table - usb 0 ** device usb 1:1 1 bytes read in 177 ms (0 Bytes/s) Found bootable drive on usb 1 (Re)start USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... ERROR: Invalid USB EP length (9) ERROR: Invalid USB EP length (9) 5 USB Device(s) found scanning usb for storage devices... 2 Storage Device(s) found 4170064 bytes read in 301 ms (13.2 MiB/s) 1973699 bytes read in 298 ms (6.3 MiB/s) 7029 bytes read in 204 ms (33.2 KiB/s) ## Booting kernel from Legacy Image at 60500000 ... Image Name: Linux-3.18.5-oxnas-tld-1 Created: 2015-08-29 22:20:00 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 4170000 Bytes = 4 MiB Load Address: 60008000 Entry Point: 60008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 60e00000 ... Image Name: initramfs-3.18.5-oxnas-tld-1 Created: 2015-08-29 22:20:14 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 1973635 Bytes = 1.9 MiB Load Address: 60000000 Entry Point: 60000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 62c00000 Booting using the fdt blob at 0x62c00000 Starting kernel ...
Reply from 192.168.1.35: Destination host unreachable.
Re: Pogoplug Pro: Two drive bootup issue June 04, 2016 07:27PM |
Admin Registered: 13 years ago Posts: 18,898 |
dmesg | tail -30 fdisk -l mount e2label /dev/sdb1
mount df -h
Quote
Updated 22 Nov 2015
Re: Pogoplug Pro: Two drive bootup issue June 05, 2016 09:27AM |
Registered: 10 years ago Posts: 18 |
dmesg | tail -30 [ 4.171783] sd 1:0:0:0: [sda] 15630336 512-byte logical blocks: (8.00 GB/7.45 GiB) [ 4.181071] sd 1:0:0:0: [sda] Write Protect is off [ 4.186109] sd 1:0:0:0: [sda] Mode Sense: 43 00 00 00 [ 4.187164] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 4.205611] sda: sda1 [ 4.213166] sd 1:0:0:0: [sda] Attached SCSI removable disk [ 12.760663] EXT3-fs (sda1): mounted filesystem with ordered data mode [ 12.769815] kjournald starting. Commit interval 5 seconds [ 14.506833] udevd[270]: starting version 175 [ 15.663795] usbcore: registered new interface driver snd-usb-audio [ 17.049625] random: nonblocking pool is initialized [ 17.897400] EXT3-fs (sda1): using internal journal [ 30.560734] stmmaceth 40400000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx [ 718.080568] usb 1-1.1: new high-speed USB device number 5 using oxnas-ehci [ 718.271941] usb 1-1.1: New USB device found, idVendor=152d, idProduct=1561 [ 718.278794] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 718.286484] usb 1-1.1: Product: JMicron [ 718.290360] usb 1-1.1: Manufacturer: JMicron [ 718.294615] usb 1-1.1: SerialNumber: DB987654321EF [ 718.303536] scsi host2: uas [ 718.308354] scsi 2:0:0:0: Direct-Access JMicron 0223 PQ: 0 ANSI: 6 [ 718.320826] sd 2:0:0:0: [sdb] Spinning up disk... [ 719.340720] ..ready [ 720.352104] sd 2:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 GB/465 GiB) [ 720.359557] sd 2:0:0:0: [sdb] 4096-byte physical blocks [ 720.366837] sd 2:0:0:0: [sdb] Write Protect is off [ 720.371655] sd 2:0:0:0: [sdb] Mode Sense: 53 00 00 08 [ 720.372459] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 720.403010] sdb: unknown partition table [ 720.416596] sd 2:0:0:0: [sdb] Attached SCSI disk
fdisk -l Disk /dev/mtdblock0: 14 MB, 14680064 bytes 171 heads, 42 sectors/track, 3 cylinders, total 28672 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xaaaaaaaa This doesn't look like a partition table Probably you selected the wrong device. Device Boot Start End Blocks Id System /dev/mtdblock0p1 ? 2863311530 1431655763 1431655765 aa Unknown /dev/mtdblock0p2 ? 2863311530 1431655763 1431655765 aa Unknown /dev/mtdblock0p3 ? 2863311530 21843 715838805 aa Unknown /dev/mtdblock0p4 ? 2863311530 1426085203 1428870485 aa Unknown Disk /dev/mtdblock1: 119 MB, 119537664 bytes 255 heads, 63 sectors/track, 14 cylinders, total 233472 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/mtdblock1 doesn't contain a valid partition table Disk /dev/sda: 8002 MB, 8002732032 bytes 241 heads, 36 sectors/track, 1801 cylinders, total 15630336 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sda1 36 15625475 7812720 83 Linux Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 33553920 bytes Disk identifier: 0x00000000 Disk /dev/sdb doesn't contain a valid partition table
mount sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime) proc on /proc type proc (rw,nosuid,nodev,noexec,relatime) udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=14958,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620) tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=12180k,mode=755) /dev/sda1 on / type ext3 (rw,noatime,errors=continue,barrier=1,data=ordered) tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k) tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=24340k) tmpfs on /tmp type tmpfs (rw,relatime) rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
e2label /dev/sdb1 e2label: No such file or directory while trying to open /dev/sdb1 Couldn't find valid filesystem superblock.
df -h Filesystem Size Used Avail Use% Mounted on rootfs 7.3G 1.4G 5.6G 20% / udev 10M 0 10M 0% /dev tmpfs 12M 296K 12M 3% /run /dev/sda1 7.3G 1.4G 5.6G 20% / tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 24M 0 24M 0% /run/shm tmpfs 60M 0 60M 0% /tmp
>Quote
Updated 22 Nov 2015
Re: Pogoplug Pro: Two drive bootup issue June 05, 2016 04:00PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Pogoplug Pro: Two drive bootup issue June 05, 2016 07:39PM |
Registered: 10 years ago Posts: 18 |
Re: Pogoplug Pro: Two drive bootup issue June 05, 2016 08:08PM |
Admin Registered: 13 years ago Posts: 18,898 |
Re: Pogoplug Pro: Two drive bootup issue June 05, 2016 08:44PM |
Registered: 10 years ago Posts: 18 |
Re: Pogoplug Pro: Two drive bootup issue June 26, 2016 12:42PM |
Registered: 10 years ago Posts: 18 |