alex996 Posted March 14, 2018 Posted March 14, 2018 Hi, just bought a HC1 and tryin to setup Armbian. I installed Armbian_5.37_Odroidxu4_Ubuntu_xenial_next_4.9.71, works with SDHC. Now I put in my ADATA SP550 (480GB) SSD, but something fails, see dmesg: Spoiler [ 5.096332] r8152 6-1:1.0 eth0: v1.08.8 [ 5.118014] r8152 6-1:1.0 enx001e06326386: renamed from eth0 [ 5.207225] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd [ 5.228766] usb 4-1: New USB device found, idVendor=152d, idProduct=0578 [ 5.228786] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 5.228802] usb 4-1: Product: USB to SATA bridge [ 5.228817] usb 4-1: Manufacturer: JMicron [ 5.228831] usb 4-1: SerialNumber: DB00000000013B [ 5.273348] scsi host0: uas [ 5.275764] scsi 0:0:0:0: Direct-Access JMicron 3101 PQ: 0 ANSI: 6 [ 5.322900] sd 0:0:0:0: Attached scsi generic sg0 type 0 [ 5.323056] sd 0:0:0:0: [sda] 937703088 512-byte logical blocks: (480 GB/447 GiB) [ 5.323064] sd 0:0:0:0: [sda] 4096-byte physical blocks [ 5.323514] usbcore: registered new interface driver uas [ 5.324347] sd 0:0:0:0: [sda] Write Protect is off [ 5.324357] sd 0:0:0:0: [sda] Mode Sense: 53 00 00 08 [ 5.324785] sd 0:0:0:0: [sda] Disabling FUA [ 5.324793] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5.331160] sda: sda1 [ 5.334111] sd 0:0:0:0: [sda] Attached SCSI disk [ 5.758357] random: crng init done [ 7.360460] EXT4-fs (mmcblk1p1): mounted filesystem with writeback data mode. Opts: (null) [ 7.610620] systemd[1]: System time before build time, advancing clock. ... [ 11.742404] r8152 6-1:1.0 enx001e06326386: carrier on [ 11.742490] IPv6: ADDRCONF(NETDEV_CHANGE): enx001e06326386: link becomes ready [ 27.691905] sd 0:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN [ 27.691914] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 08 0e 00 00 00 01 00 00 00 00 00 00 40 ec 00 [ 49.115485] sd 0:0:0:0: tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD [ 49.115495] sd 0:0:0:0: tag#1 CDB: opcode=0x0 00 00 00 00 00 00 [ 49.115510] scsi host0: uas_eh_bus_reset_handler start [ 49.235138] usb 4-1: reset SuperSpeed USB device number 2 using xhci-hcd [ 49.257848] scsi host0: uas_eh_bus_reset_handler success [ 64.488972] sd 0:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN [ 64.488981] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x85 85 08 0e 00 00 00 01 00 00 00 00 00 00 40 a1 00 [ 64.489068] scsi host0: uas_eh_bus_reset_handler start [ 66.078913] usb usb4-port1: Cannot enable. Maybe the USB cable is bad? [ 66.078923] xhci-hcd xhci-hcd.2.auto: Cannot set link state. [ 66.078949] usb usb4-port1: cannot disable (err = -32) [ 67.878822] usb usb4-port1: Cannot enable. Maybe the USB cable is bad? [ 67.878831] xhci-hcd xhci-hcd.2.auto: Cannot set link state. [ 67.878856] usb usb4-port1: cannot disable (err = -32) [ 69.888724] usb usb4-port1: Cannot enable. Maybe the USB cable is bad? [ 69.888735] xhci-hcd xhci-hcd.2.auto: Cannot set link state. [ 69.888762] usb usb4-port1: cannot disable (err = -32) [ 71.693639] usb usb4-port1: Cannot enable. Maybe the USB cable is bad? [ 71.693653] xhci-hcd xhci-hcd.2.auto: Cannot set link state. [ 71.693686] usb usb4-port1: cannot disable (err = -32) [ 71.693699] xhci-hcd xhci-hcd.2.auto: Cannot set link state. [ 71.693722] usb usb4-port1: cannot disable (err = -32) [ 71.693737] scsi host0: uas_post_reset: alloc streams error -19 after reset [ 71.693853] usb 4-1: USB disconnect, device number 2 [ 71.695774] sd 0:0:0:0: [sda] Synchronizing SCSI cache There is no device for the SSD, therefor no installation to SATA possible. Any suggestions?? Power is ok (5V, 4A), SSD works fine on my desktop, without any hassles.
alex996 Posted March 14, 2018 Author Posted March 14, 2018 UPDATE: I've tried another SSD (WD Green, 120GB) which seems to work without problems. Only a little bit too small... Are there any known issues with HC1+Armbian+ADATA? I did the FW-update mentioned at https://wiki.odroid.com/odroid-xu4/software/jms578_fw_update (with WD-Green attached), but after switching back to the ADATA SP550 dmesg shows this two messages over and over again: [ 559.347071] scsi 0:0:0:1: tag#0 sense submit err -19 uas-tag 1 inflight: s-st a-in s-in a-cmd s-cmd [ 559.347077] scsi 0:0:0:1: tag#0 CDB: opcode=0x12 12 00 00 00 24 00 ... And CPU-Load is ~12%, wtih nothing running. Replacing the ADATA with the WD-Green and everything is ok again.
tkaiser Posted March 14, 2018 Posted March 14, 2018 28 minutes ago, alex996 said: Replacing the ADATA with the WD-Green and everything is ok again. In case you can measure/monitor voltage available to HC1/SSD you should do this. Most probably just the usual 'powered with 5V' sh*t show almost all SBC are affected with. Just in case you want to waste your time reading a rant: https://forum.odroid.com/viewtopic.php?f=149&t=30125&p=217733#p217733
alex996 Posted March 14, 2018 Author Posted March 14, 2018 25 minutes ago, tkaiser said: In case you can measure/monitor voltage available to HC1/SSD you should do this. Most probably just the usual 'powered with 5V' sh*t show almost all SBC are affected with. I did, 5.14V directly at SATA-Connector. Just installed original Odroid Ubuntu 16.04.3 LTS with 4.14 kernel and my ADATA works! Kernel issue?
tkaiser Posted March 14, 2018 Posted March 14, 2018 7 minutes ago, alex996 said: Just installed original Odroid Ubuntu 16.04.3 LTS with 4.14 kernel and my ADATA works! Kernel issue? Maybe. There's one change wrt UAS between 4.9 and 4.14 but shouldn't apply here. Can you provide debug output please? sudo armbianmonitor -u
alex996 Posted March 14, 2018 Author Posted March 14, 2018 debug output: http://ix.io/X7A (hope it's verbose enough, dont know how to set verbosity_level, there seems to be no armbianEnv.txt in /boot ).
alex996 Posted March 14, 2018 Author Posted March 14, 2018 Whats about the "wrongf" branch in https://dl.armbian.com/odroidxu4/archive/ ? I'll give it a try. So ganz nebenbei: Danke für deine Hilfe. Ich nehme an auf Deutsch unterhalten ist hier nicht gern gesehen?
alex996 Posted March 14, 2018 Author Posted March 14, 2018 OK, tried Armbian_5.38_Odroidxu4_Ubuntu_xenial_next_4.14.15 from archive/wrongf, gave me same errors as Armbian 5.37 with Kernel 4.9: with ADATA SP550 no device found. debug: http://ix.io/Xae
chwe Posted March 19, 2018 Posted March 19, 2018 On 14.3.2018 at 11:16 PM, alex996 said: So ganz nebenbei: Danke für deine Hilfe. Ich nehme an auf Deutsch unterhalten ist hier nicht gern gesehen? IMO depends on topic, for off-topic stuff, german is fine (even @TonyMac32 understands now what a 'Eierlegende Wollmilchsau' is... )... It doesn't make sense for stuff related to the topic cause not everyone will understand it and the information is probably lost for those not able to understand 'ze germans'...
TonyMac32 Posted March 19, 2018 Posted March 19, 2018 ;-) A joke of course. I do not mind some German, of course I can read it, so that makes it less distracting. Sent from my Pixel using Tapatalk 1
Recommended Posts