lampra Posted December 9, 2015 Posted December 9, 2015 Hi, I used Armbian_4.5_Cubietruck_Ubuntu_trusty_4.2.3 as sd card image. Later I moved it to a sata connected ssd and upgraded to 4.2.6 kernel. As I needed a second drive I bought a : StarTech.com USB 3.0 to 2.5†SATA III Hard Drive Adapter Cable w/ UASP – SATA to USB 3.0 Converter for SSD / HDD This usb to sata works fine with the ssd. The second drive is a 5v 2.5†SATA and the usb current is not enough so it is connected to the sata on cubietruck. On the second usb i have connected a usb to ethernet adapter. Trying to boot results to kernel panic (& something about no init) and cubietruck reboots. I am wondering if I need to change anything eg boot.cmd arguments to get the system running at this setup. Thank you
Igor Posted December 10, 2015 Posted December 10, 2015 Try to set desired root by it's UUID. It should work. https://help.ubuntu.com/community/UsingUUID edit /boot/boot.cmd and change parameter root= , save, recompile, reboot.
lampra Posted December 11, 2015 Author Posted December 11, 2015 Hi, I tried UUID and PARTUUID but none of them works. Maybe this is a U-BOOT issue. root@cubietruck:/home/lampra# grep -a --null-data U-Boot /dev/mmcblk0 U-Boot U-Boot SPL 2015.07-armbian-sun7i (Oct 11 2015 - 15:34:22) I will post a question at the sunxi irc
Igor Posted December 11, 2015 Posted December 11, 2015 Have you try this way: root=UUID=e139ce78-9841-40fe-8823-96a304a09859 I'll recreate similar scenario later just to make sure.
lampra Posted December 11, 2015 Author Posted December 11, 2015 Update: It seems to me that it is a hardware/kernel issue. I see that the chip of the StarTech.com USB 3.0 to 2.5†SATA is ASMedia ASM1051. As described here http://linux-sunxi.org/USB/UAS, ASM1051 is blacklisted on the mainline kernel. Booting legacy kernel works fine. 1
Recommended Posts