Odroid HC2 - SATA might be failing?

Post Reply
Morlan
Posts: 9
Joined: Sat Jul 03, 2021 8:26 pm
languages_spoken: english
ODROIDs: 3x Odroid HC2
Has thanked: 1 time
Been thanked: 0
Contact:

Odroid HC2 - SATA might be failing?

Post by Morlan »

Hello Forum!

For the last 2 years I've been using 3 Odroid HC2's as my data servers (main server, backup, offsite backup). Every machine has connected hard drives from different vendors (Samsung, Seagate, WD). All of the hard drives are btrfs formatted. In the last 3 weeks 2 of the 3 machines started reporting read/write IO errors and were repeatedly switched into readonly mode. A btrfs scrub on my main machine threw a massive amount of errors. First I thought my drives were failing. But when I took the Samsung SDD from my main server and attached it to a RPi4 via an USB-to-SATA adapter the errors disappears and the btrfs scrub finished without errors.
A memtest on the main server reported no errors. This lead me to the theory that the SATA-bridge of the HC's might be failing. Especially since it's two machines, which were purchased around the same time.

Can anyone has an idea how to confirm or reject my theory? Or has someone a another explanation for the problem?

Thanks in advance!
Morlan

User avatar
odroid
Site Admin
Posts: 38033
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1999 times
Been thanked: 1206 times
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by odroid »

Can you access S.M.A.R.T. data from the HDDs via sudo smartctl -a /dev/sda -d sat command to narrow down root causes?

Morlan
Posts: 9
Joined: Sat Jul 03, 2021 8:26 pm
languages_spoken: english
ODROIDs: 3x Odroid HC2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by Morlan »

This is the ssd from my main server:

Code: Select all

=== START OF INFORMATION SECTION ===
Model Family:     Samsung based SSDs
Device Model:     Samsung SSD 860 EVO 1TB
Serial Number:    S4X6NF0N303147Z
LU WWN Device Id: 5 002538 e903261af
Firmware Version: RVT04B6Q
User Capacity:    1.000.204.886.016 bytes [1,00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Form Factor:      2.5 inches
TRIM Command:     Available, deterministic, zeroed
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-4 T13/BSR INCITS 529 revision 5
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Jul  5 09:36:26 2021 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  9 Power_On_Hours          0x0032   098   098   000    Old_age   Always       -       6899
 12 Power_Cycle_Count       0x0032   099   099   000    Old_age   Always       -       42
177 Wear_Leveling_Count     0x0013   098   098   000    Pre-fail  Always       -       19
179 Used_Rsvd_Blk_Cnt_Tot   0x0013   100   100   010    Pre-fail  Always       -       0
181 Program_Fail_Cnt_Total  0x0032   100   100   010    Old_age   Always       -       0
182 Erase_Fail_Count_Total  0x0032   100   100   010    Old_age   Always       -       0
183 Runtime_Bad_Block       0x0013   100   100   010    Pre-fail  Always       -       0
187 Uncorrectable_Error_Cnt 0x0032   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0032   040   040   000    Old_age   Always       -       60
195 ECC_Error_Rate          0x001a   200   200   000    Old_age   Always       -       0
199 CRC_Error_Count         0x003e   100   100   000    Old_age   Always       -       0
235 POR_Recovery_Count      0x0012   099   099   000    Old_age   Always       -       40
241 Total_LBAs_Written      0x0032   099   099   000    Old_age   Always       -       35951111232
I can't access the SMART values of the 2nd disk right now, because its offsite at my moms place ;)

Morlan
Posts: 9
Joined: Sat Jul 03, 2021 8:26 pm
languages_spoken: english
ODROIDs: 3x Odroid HC2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by Morlan »

An argument against HDD failure was, that it happened to two different drives (ssd and rust) in a time wise close proximity. And also that the ssd is working fine now connected to another device.

User avatar
odroid
Site Admin
Posts: 38033
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1999 times
Been thanked: 1206 times
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by odroid »

Did you run 'smartctl' command on the HC2?

Morlan
Posts: 9
Joined: Sat Jul 03, 2021 8:26 pm
languages_spoken: english
ODROIDs: 3x Odroid HC2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by Morlan »

No on my Pi4 actually, because the disk is now attached to it.

Morlan
Posts: 9
Joined: Sat Jul 03, 2021 8:26 pm
languages_spoken: english
ODROIDs: 3x Odroid HC2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by Morlan »

Does it make a difference if its is run on the Pi4 instead of the HC2? Its about the hdd, right?

User avatar
odroid
Site Admin
Posts: 38033
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1999 times
Been thanked: 1206 times
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by odroid »

I just wanted to know if the SATA interface on the HC2 board was working or not.
"lsusb" and "lsusb -t" outputs will show us some clues too.

Morlan
Posts: 9
Joined: Sat Jul 03, 2021 8:26 pm
languages_spoken: english
ODROIDs: 3x Odroid HC2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by Morlan »

Code: Select all

root@odroidxu4:~# lsusb
Bus 006 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Code: Select all

root@odroidxu4:~# lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
This now without a disk attached.

Morlan
Posts: 9
Joined: Sat Jul 03, 2021 8:26 pm
languages_spoken: english
ODROIDs: 3x Odroid HC2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by Morlan »

Ok, now with a disk attached:

Code: Select all

lsusb
Bus 006 Device 002: ID 0bda:8153 Realtek Semiconductor Corp. RTL8153 Gigabit Ethernet Adapter
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 002: ID 152d:0578 JMicron Technology Corp. / JMicron USA Technology Corp. JMS567 SATA 6Gb/s bridge
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Code: Select all

lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M

User avatar
odroid
Site Admin
Posts: 38033
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1999 times
Been thanked: 1206 times
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by odroid »

The SATA bridge controller seems to be detected well at least.

Code: Select all

/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
Can you see /dev/sda* node?
Also check dmesg output to find a clue.

Morlan
Posts: 9
Joined: Sat Jul 03, 2021 8:26 pm
languages_spoken: english
ODROIDs: 3x Odroid HC2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by Morlan »

Code: Select all

ls -la /dev/ | grep sd
brw-rw----  1 root disk      8,   0 Jul  8 07:00 sda
brw-rw----  1 root disk      8,   1 Jul  8 07:00 sda1
dmesg looks fine to me:

Code: Select all

usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[   17.967902] usb 4-1: New USB device found, idVendor=152d, idProduct=0578
[   17.967917] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   17.967926] usb 4-1: Product: USB to SATA bridge
[   17.967933] usb 4-1: Manufacturer: JMicron
[   17.967940] usb 4-1: SerialNumber: DB00000000013B
...
[   18.308866] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   18.309457] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[   18.309463] sd 0:0:0:0: [sda] 4096-byte physical blocks
[   18.309673] sd 0:0:0:0: [sda] Write Protect is off
[   18.309679] sd 0:0:0:0: [sda] Mode Sense: 53 00 00 08
[   18.310083] sd 0:0:0:0: [sda] Disabling FUA
[   18.310090] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   18.310689] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (4096 bytes)
These are parts of dmesg, when the original drive became remounted readonly and reported massive errors on scrub (which were gone when plugged it into another device):

Code: Select all

[ 1148.717824] sd 0:0:0:0: Device offlined - not ready after error recovery
[ 1148.717829] sd 0:0:0:0: Device offlined - not ready after error recovery
[ 1148.717835] sd 0:0:0:0: Device offlined - not ready after error recovery
[ 1148.757648] blk_update_request: I/O error, dev sda, sector 98030079 op 0x0:(READ) flags 0x4000 phys_seg 128 prio class 0
[ 1148.757714] blk_update_request: I/O error, dev sda, sector 98023679 op 0x0:(READ) flags 0x0 phys_seg 32 prio class 0
[ 1148.757743] blk_update_request: I/O error, dev sda, sector 98024959 op 0x0:(READ) flags 0x0 phys_seg 32 prio class 0
[ 1148.757768] blk_update_request: I/O error, dev sda, sector 98031871 op 0x0:(READ) flags 0x0 phys_seg 32 prio class 0
[ 1148.757794] blk_update_request: I/O error, dev sda, sector 98025215 op 0x0:(READ) flags 0x0 phys_seg 128 prio class 0
[ 1148.757845] blk_update_request: I/O error, dev sda, sector 98031103 op 0x0:(READ) flags 0x0 phys_seg 32 prio class 0
[ 1148.757868] blk_update_request: I/O error, dev sda, sector 98031359 op 0x0:(READ) flags 0x0 phys_seg 64 prio class 0
[ 1148.757896] blk_update_request: I/O error, dev sda, sector 98034175 op 0x0:(READ) flags 0x0 phys_seg 32 prio class 0
[ 1148.757916] blk_update_request: I/O error, dev sda, sector 98033919 op 0x0:(READ) flags 0x0 phys_seg 32 prio class 0
[ 1148.757936] blk_update_request: I/O error, dev sda, sector 98035455 op 0x0:(READ) flags 0x0 phys_seg 96 prio class 0
[ 1148.758025] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 0, rd 1, flush 0, corrupt 0, gen 0
[ 1148.758388] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 1, rd 1, flush 0, corrupt 0, gen 0
[ 1148.758448] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 2, rd 1, flush 0, corrupt 0, gen 0
[ 1148.758481] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 3, rd 1, flush 0, corrupt 0, gen 0
[ 1148.758515] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 4, rd 1, flush 0, corrupt 0, gen 0
[ 1148.758535] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 4, rd 2, flush 0, corrupt 0, gen 0
[ 1148.758612] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 4, rd 3, flush 0, corrupt 0, gen 0
[ 1148.758641] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 5, rd 3, flush 0, corrupt 0, gen 0
[ 1148.758663] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 6, rd 3, flush 0, corrupt 0, gen 0
[ 1148.758683] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 7, rd 3, flush 0, corrupt 0, gen 0
[ 1148.760944] BTRFS error (device sda1): unable to fixup (regular) error at logical 50158764032 on dev /dev/sda1
[ 1148.760948] BTRFS error (device sda1): unable to fixup (regular) error at logical 50158108672 on dev /dev/sda1
[ 1148.760983] BTRFS error (device sda1): unable to fixup (regular) error at logical 50158768128 on dev /dev/sda1
[ 1148.761009] BTRFS error (device sda1): unable to fixup (regular) error at logical 50158772224 on dev /dev/sda1
[ 1148.761037] BTRFS error (device sda1): unable to fixup (regular) error at logical 50158776320 on dev /dev/sda1
[ 1148.761062] BTRFS error (device sda1): unable to fixup (regular) error at logical 50158780416 on dev /dev/sda1
[ 1148.761083] BTRFS error (device sda1): unable to fixup (regular) error at logical 50158784512 on dev /dev/sda1
[ 1148.761106] BTRFS error (device sda1): unable to fixup (regular) error at logical 50158788608 on dev /dev/sda1
[ 1148.761123] BTRFS error (device sda1): unable to fixup (regular) error at logical 50158239744 on dev /dev/sda1
[ 1149.037330] BTRFS: error (device sda1) in btrfs_commit_transaction:2281: errno=-5 IO failure (Error while writing out transaction)
[ 1149.037338] BTRFS info (device sda1): forced readonly
[ 1149.037350] BTRFS warning (device sda1): Skipping commit of aborted transaction.
[ 1149.037356] BTRFS: error (device sda1) in cleanup_transaction:1833: errno=-5 IO failure
[ 1149.037364] BTRFS info (device sda1): delayed_refs has NO entry
[ 1149.058585] BTRFS info (device sda1): scrub: not finished on devid 1 with status: -125
[ 1149.277811] sd 0:0:0:0: [sda] Synchronize Cache(10) failed: Result: hostbyte=0x07 driverbyte=0x00
[ 1149.310438] xhci-hcd xhci-hcd.7.auto: WARN Can't disable streams for endpoint 0x82, streams are being disabled already
[ 1163.920784] btrfs_dev_stat_print_on_error: 38975 callbacks suppressed
[ 1163.920815] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 88, rd 46410, flush 0, corrupt 0, gen 0
[ 1163.920897] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 89, rd 46410, flush 0, corrupt 0, gen 0
[ 1163.920953] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 90, rd 46410, flush 0, corrupt 0, gen 0
[ 1163.920999] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 91, rd 46410, flush 0, corrupt 0, gen 0
[ 1163.921048] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 92, rd 46410, flush 0, corrupt 0, gen 0
[ 1163.921102] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 93, rd 46410, flush 0, corrupt 0, gen 0
[ 1163.921151] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 94, rd 46410, flush 0, corrupt 0, gen 0
[ 1311.762947] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 94, rd 46411, flush 0, corrupt 0, gen 0
[ 1311.763253] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 94, rd 46412, flush 0, corrupt 0, gen 0
[ 1311.785904] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 94, rd 46413, flush 0, corrupt 0, gen 0
[ 1311.786284] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 94, rd 46414, flush 0, corrupt 0, gen 0
[ 1311.789370] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 94, rd 46415, flush 0, corrupt 0, gen 0
[ 1311.789668] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 94, rd 46416, flush 0, corrupt 0, gen 0
[ 1695.688968] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 95, rd 46416, flush 0, corrupt 0, gen 0
[ 1714.474926] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 95, rd 46417, flush 0, corrupt 0, gen 0
[ 1714.475609] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 95, rd 46418, flush 0, corrupt 0, gen 0
[ 1794.600684] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 95, rd 46419, flush 0, corrupt 0, gen 0
[ 1794.600964] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 95, rd 46420, flush 0, corrupt 0, gen 0
[ 1794.601126] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 95, rd 46421, flush 0, corrupt 0, gen 0
[ 1794.641281] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 95, rd 46422, flush 0, corrupt 0, gen 0
[ 1794.641420] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 95, rd 46423, flush 0, corrupt 0, gen 0
[ 1794.645351] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 95, rd 46424, flush 0, corrupt 0, gen 0
[ 1794.645502] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 95, rd 46425, flush 0, corrupt 0, gen 0
[ 1794.645889] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 95, rd 46426, flush 0, corrupt 0, gen 0
[ 1794.646755] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 95, rd 46427, flush 0, corrupt 0, gen 0
[ 1794.652213] BTRFS error (device sda1): bdev /dev/sda1 errs: wr 95, rd 46428, flush 0, corrupt 0, gen 0

User avatar
odroid
Site Admin
Posts: 38033
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1999 times
Been thanked: 1206 times
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by odroid »

Thank you for the logs. I think there is no issue with raw SATA interface.

There might be some issues with BTRFS driver probably. But, I have no experience of using the BTRFS.
I hope other experts can help you.
These users thanked the author odroid for the post:
Morlan (Thu Jul 08, 2021 6:10 pm)

Morlan
Posts: 9
Joined: Sat Jul 03, 2021 8:26 pm
languages_spoken: english
ODROIDs: 3x Odroid HC2
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by Morlan »

Thank you for your time and effort. I’ll try digging in the btrfs direction.

buliway
Posts: 4
Joined: Thu Jan 30, 2020 5:14 pm
languages_spoken: english
ODROIDs: Odroid-HC2
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by buliway »

Hi,

I've got a similar problem with my HC2 setup, that is almost 2 years old now. It's running OMV5 with a WD RED 6GB
It started with som high pitch sounds and then after a system reboot, I've got some of the known sounds of HDD failure. I really didn't think more to it than a normal HDD failure.
So I went out and bought a new to replace the old. And after a fresh install of OMV5 I plugged in the new Seagate Ironwolf Pro 6GB.
From the first boot I could hear that the HDD didn't spin up and I started getting wierd sounds. Inside OMV I tried to search for new devices and suddenly I could hear the HDD spin up and the system detected it, but with failures.
Other than some spin sounds from the HDD I also got a message saying 'Spin_retry_count'.

Is there somthing to @Morlan theory about the Sata-bridge failing?

I think that it is too much of a coincidence that I'm sitting here with 2 dead HDD's.

Thanks in advance
Buliway

User avatar
odroid
Site Admin
Posts: 38033
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1999 times
Been thanked: 1206 times
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by odroid »

@buliway,
Can you still access your HC2 via SSH?
Have you used our official 12V/2A PSU?

buliway
Posts: 4
Joined: Thu Jan 30, 2020 5:14 pm
languages_spoken: english
ODROIDs: Odroid-HC2
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by buliway »

@odroid

OMV is installed on a SD card and the 6GB WD is just for storage, so no problem connecting to the HC2 via ip and SSH

It is the official psu I bought with the HC2

User avatar
odroid
Site Admin
Posts: 38033
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1999 times
Been thanked: 1206 times
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by odroid »

In that case, check "lsusb -t" and "dmesg" outputs via SSH to find any possible clues.

buliway
Posts: 4
Joined: Thu Jan 30, 2020 5:14 pm
languages_spoken: english
ODROIDs: Odroid-HC2
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by buliway »

@odroid
I'm not sure what to look for but I can give you the print out of thoes two commands.

Btw, I just tried a third hdd an old one I had laying around, that I know is working. But with same result, It's not spinning up and I can hear a low clicking sound from the hdd.

lsusb -t

Code: Select all

/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
    |__ Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
dmesg

Code: Select all

[    0.000000] Booting Linux on physical CPU 0x100
[    0.000000] Linux version 4.14.222-odroidxu4 (root@runner4) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP PREEMPT Wed Jun 16 08:35:19 UTC 2021
[    0.000000] CPU: ARMv7 Processor [410fc073] revision 3 (ARMv7), cr=50c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: Hardkernel Odroid XU4
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 128 MiB at 0xb6800000
[    0.000000] Samsung CPU ID: 0xe5422001
[    0.000000] On node 0 totalpages: 518656
[    0.000000] free_area_init_node: node 0, pgdat c0c50780, node_mem_map eee25000
[    0.000000]   Normal zone: 1728 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 196608 pages, LIFO batch:31
[    0.000000]   HighMem zone: 322048 pages, LIFO batch:31
[    0.000000] Running under secure firmware.
[    0.000000] percpu: Embedded 15 pages/cpu s32076 r8192 d21172 u61440
[    0.000000] pcpu-alloc: s32076 r8192 d21172 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 516928
[    0.000000] Kernel command line: console=ttySAC2,115200n8 console=tty1 consoleblank=0 loglevel=1 root=UUID=f8066619-df93-41e3-a208-b1309bb64d20 rootfstype=ext4 rootwait rw  smsc95xx.macaddr=00:1e:06:61:7a:55 governor=performance hdmi_tx_amp_lvl=31 hdmi_tx_lvl_ch0=3 hdmi_tx_lvl_ch1=3 hdmi_tx_lvl_ch2=3 hdmi_tx_emp_lvl=6 hdmi_clk_amp_lvl=31 hdmi_tx_res=0 HPD=true vout=hdmi usb-storage.quirks=  s5p_mfc.mem=16M
[    0.000000] hdmi: using HDMI mode
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1902492K/2074624K available (7168K kernel code, 325K rwdata, 2324K rodata, 1024K init, 338K bss, 41060K reserved, 131072K cma-reserved, 1157120K highmem)
[    0.000000] Virtual kernel memory layout:
                   vector  : 0xffff0000 - 0xffff1000   (   4 kB)
                   fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
                   vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
                   lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
                   pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
                   modules : 0xbf800000 - 0xbfe00000   (   6 MB)
                     .text : 0xc0008000 - 0xc0800000   (8160 kB)
                     .init : 0xc0b00000 - 0xc0c00000   (1024 kB)
                     .data : 0xc0c00000 - 0xc0c517e0   ( 326 kB)
                      .bss : 0xc0c5afd4 - 0xc0cafa60   ( 339 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=8, Nodes=1
[    0.000000] hperf_hmp: fast CPUs mask: 000000F0
[    0.000000] hperf_hmp: slow CPUs mask: 0000000F
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Tasks RCU enabled.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] GIC: Using split EOI/Deactivate mode
[    0.000000] Switching to timer-based delay loop, resolution 41ns
[    0.000000] clocksource: mct-frc: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000007] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000024] genirq: irq_chip COMBINER did not update eff. affinity mask of irq 49
[    0.001551] Console: colour dummy device 80x30
[    0.001569] console [tty1] enabled
[    0.001597] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001612] pid_max: default: 32768 minimum: 301
[    0.001749] Security Framework initialized
[    0.001761] AppArmor: AppArmor disabled by boot time parameter
[    0.001816] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001834] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002577] CPU: Testing write buffer coherency: ok
[    0.003367] CPU0: thread -1, cpu 0, socket 1, mpidr 80000100
[    0.016044] Setting up static identity map for 0x40100000 - 0x40100054
[    0.016655] ARM CCI driver probed
[    0.016876] Exynos MCPM support installed
[    0.023991] Hierarchical SRCU implementation.
[    0.039990] smp: Bringing up secondary CPUs ...
[    0.068324] CPU1: thread -1, cpu 1, socket 1, mpidr 80000101
[    0.092297] CPU2: thread -1, cpu 2, socket 1, mpidr 80000102
[    0.120291] CPU3: thread -1, cpu 3, socket 1, mpidr 80000103
[    0.148257] CPU4: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.148265] CPU4: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[    0.168270] CPU5: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.168276] CPU5: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[    0.176538] CPU6: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.176544] CPU6: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[    0.184541] CPU7: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.184548] CPU7: Spectre v2: firmware did not set auxiliary control register IBE bit, system vulnerable
[    0.184743] smp: Brought up 1 node, 8 CPUs
[    0.184755] SMP: Total of 8 processors activated (384.00 BogoMIPS).
[    0.184760] CPU: All CPU(s) started in HYP mode.
[    0.184764] CPU: Virtualization extensions available.
[    0.186455] devtmpfs: initialized
[    0.203487] random: get_random_u32 called from bucket_table_alloc+0xa7/0x17c with crng_init=0
[    0.204010] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.204137] hperf_hmp: registered cpufreq transition notifier
[    0.204192] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.204207] futex hash table entries: 2048 (order: 5, 131072 bytes)
[    0.206529] xor: measuring software checksum speed
[    0.243973]    arm4regs  :  1539.000 MB/sec
[    0.283970]    8regs     :  1248.000 MB/sec
[    0.323969]    32regs    :  1357.000 MB/sec
[    0.363970]    neon      :  2247.000 MB/sec
[    0.363978] xor: using function: neon (2247.000 MB/sec)
[    0.363990] pinctrl core: initialized pinctrl subsystem
[    0.366039] NET: Registered protocol family 16
[    0.370343] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[    0.376304] random: fast init done
[    0.376356] cpuidle: using governor menu
[    0.385291] exynos-audss-clk 3810000.audss-clock-controller: epll 180633609
[    0.406595] EXYNOS5420 PMU initialized
[    0.524297] raid6: int32x1  gen()   180 MB/s
[    0.592039] raid6: int32x1  xor()   184 MB/s
[    0.660171] raid6: int32x2  gen()   264 MB/s
[    0.728098] raid6: int32x2  xor()   228 MB/s
[    0.795980] raid6: int32x4  gen()   372 MB/s
[    0.864016] raid6: int32x4  xor()   256 MB/s
[    0.932089] raid6: int32x8  gen()   370 MB/s
[    1.000071] raid6: int32x8  xor()   256 MB/s
[    1.068000] raid6: neonx1   gen()   750 MB/s
[    1.136011] raid6: neonx1   xor()  1020 MB/s
[    1.204028] raid6: neonx2   gen()  1031 MB/s
[    1.271994] raid6: neonx2   xor()  1360 MB/s
[    1.339990] raid6: neonx4   gen()  1331 MB/s
[    1.407998] raid6: neonx4   xor()  1154 MB/s
[    1.476003] raid6: neonx8   gen()  1441 MB/s
[    1.543996] raid6: neonx8   xor()  1164 MB/s
[    1.544004] raid6: using algorithm neonx8 gen() 1441 MB/s
[    1.544012] raid6: .... xor() 1164 MB/s, rmw enabled
[    1.544019] raid6: using neon recovery algorithm
[    1.545869] SCSI subsystem initialized
[    1.546053] usbcore: registered new interface driver usbfs
[    1.546101] usbcore: registered new interface driver hub
[    1.546154] usbcore: registered new device driver usb
[    1.546607] i2c-gpio soc:i2c-hdmi: using pins 177 (SDA) and 178 (SCL)
[    1.547147] s3c-i2c 12c70000.i2c: slave address 0x00
[    1.547160] s3c-i2c 12c70000.i2c: bus frequency set to 378 KHz
[    1.547385] s3c-i2c 12c70000.i2c: i2c-1: S3C I2C adapter
[    1.547891] media: Linux media interface: v0.10
[    1.547927] Linux video capture interface: v2.00
[    1.548213] s3c2410-wdt 101d0000.watchdog: watchdog inactive, reset disabled, irq disabled
[    1.549030] Advanced Linux Sound Architecture Driver Initialized.
[    1.550309] clocksource: Switched to clocksource mct-frc
[    1.550440] VFS: Disk quotas dquot_6.6.0
[    1.550505] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.562400] NET: Registered protocol family 2
[    1.562936] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    1.563012] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    1.563166] TCP: Hash tables configured (established 8192 bind 8192)
[    1.563264] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    1.563306] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    1.563586] NET: Registered protocol family 1
[    1.564037] RPC: Registered named UNIX socket transport module.
[    1.564045] RPC: Registered udp transport module.
[    1.564053] RPC: Registered tcp transport module.
[    1.564060] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.564245] Trying to unpack rootfs image as initramfs...
[    2.088655] Freeing initrd memory: 9240K
[    2.090218] audit: initializing netlink subsys (disabled)
[    2.090448] audit: type=2000 audit(2.088:1): state=initialized audit_enabled=0 res=1
[    2.090608] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    2.098606] NFS: Registering the id_resolver key type
[    2.098628] Key type id_resolver registered
[    2.098636] Key type id_legacy registered
[    2.098653] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    2.098667] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    2.099356] romfs: ROMFS MTD (C) 2007 Red Hat, Inc.
[    2.099965] aufs 4.14.73+-20190902
[    2.105571] bounce: pool size: 64 pages
[    2.105618] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    2.105745] io scheduler noop registered
[    2.105753] io scheduler deadline registered
[    2.105905] io scheduler cfq registered (default)
[    2.105914] io scheduler mq-deadline registered
[    2.105922] io scheduler kyber registered
[    2.108361] samsung-usb2-phy 12130000.phy: 12130000.phy supply vbus not found, using dummy regulator
[    2.109285] exynos5_usb3drd_phy 12100000.phy: 12100000.phy supply vbus not found, using dummy regulator
[    2.109350] exynos5_usb3drd_phy 12100000.phy: 12100000.phy supply vbus-boost not found, using dummy regulator
[    2.109688] exynos5_usb3drd_phy 12500000.phy: 12500000.phy supply vbus not found, using dummy regulator
[    2.109751] exynos5_usb3drd_phy 12500000.phy: 12500000.phy supply vbus-boost not found, using dummy regulator
[    2.114836] dma-pl330 3880000.adma: Loaded driver for PL330 DMAC-241330
[    2.114847] dma-pl330 3880000.adma:  DBUFF-4x8bytes Num_Chans-6 Num_Peri-16 Num_Events-6
[    2.117056] dma-pl330 121a0000.pdma: Loaded driver for PL330 DMAC-241330
[    2.117068] dma-pl330 121a0000.pdma:         DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    2.119299] dma-pl330 121b0000.pdma: Loaded driver for PL330 DMAC-241330
[    2.119311] dma-pl330 121b0000.pdma:         DBUFF-32x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    2.120041] dma-pl330 10800000.mdma: Loaded driver for PL330 DMAC-241330
[    2.120052] dma-pl330 10800000.mdma:         DBUFF-64x8bytes Num_Chans-8 Num_Peri-1 Num_Events-32
[    2.120636] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    2.122843] 12c00000.serial: ttySAC0 at MMIO 0x12c00000 (irq = 58, base_baud = 0) is a S3C6400/10
[    2.123175] 12c10000.serial: ttySAC1 at MMIO 0x12c10000 (irq = 59, base_baud = 0) is a S3C6400/10
[    2.123495] 12c20000.serial: ttySAC2 at MMIO 0x12c20000 (irq = 60, base_baud = 0) is a S3C6400/10
[    2.123577] console [ttySAC2] enabled
[    2.123892] 12c30000.serial: ttySAC3 at MMIO 0x12c30000 (irq = 61, base_baud = 0) is a S3C6400/10
[    2.125916] exynos-mixer 14450000.mixer: Linked as a consumer to 14650000.sysmmu
[    2.125969] iommu: Adding device 14450000.mixer to group 0
[    2.127583] exynos-hdmi 14530000.hdmi: Failed to get supply 'vdd': -517
[    2.128282] exynos-drm-g2d 10850000.g2d: Linked as a consumer to 10a60000.sysmmu
[    2.128399] exynos-drm-g2d 10850000.g2d: Linked as a consumer to 10a70000.sysmmu
[    2.128457] iommu: Adding device 10850000.g2d to group 1
[    2.128775] exynos-drm-g2d 10850000.g2d: The Exynos G2D (ver 4.1) successfully probed.
[    2.129888] exynos-rot 11c00000.rotator: Linked as a consumer to 11d40000.sysmmu
[    2.129939] iommu: Adding device 11c00000.rotator to group 2
[    2.130268] exynos-rot 11c00000.rotator: The exynos rotator is probed successfully
[    2.130994] exynos-drm-ipp exynos-drm-ipp: drm ipp registered successfully.
[    2.135314] mali 11800000.mali: Continuing without Mali regulator control
[    2.136066] mali 11800000.mali: GPU identified as 0x0620 r0p1 status 0
[    2.136172] mali 11800000.mali: Protected mode not available
[    2.136502] devfreq 11800000.mali: Couldn't update frequency transition information.
[    2.136944] mali 11800000.mali: Probed as mali0
[    2.146113] brd: module loaded
[    2.155698] loop: module loaded
[    2.156442] libphy: Fixed MDIO Bus: probed
[    2.156806] usbcore: registered new interface driver r8152
[    2.156852] usbcore: registered new interface driver cdc_ether
[    2.156899] usbcore: registered new interface driver cdc_subset
[    2.159215] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.159224] ehci-exynos: EHCI EXYNOS driver
[    2.159580] exynos-ehci 12110000.usb: EHCI Host Controller
[    2.159784] exynos-ehci 12110000.usb: new USB bus registered, assigned bus number 1
[    2.160069] exynos-ehci 12110000.usb: irq 80, io mem 0x12110000
[    2.174354] exynos-ehci 12110000.usb: USB 2.0 started, EHCI 1.00
[    2.174568] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.174579] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.174589] usb usb1: Product: EHCI Host Controller
[    2.174599] usb usb1: Manufacturer: Linux 4.14.222-odroidxu4 ehci_hcd
[    2.174608] usb usb1: SerialNumber: 12110000.usb
[    2.175152] hub 1-0:1.0: USB hub found
[    2.175193] hub 1-0:1.0: 3 ports detected
[    2.176069] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.176089] ohci-exynos: OHCI EXYNOS driver
[    2.176304] exynos-ohci 12120000.usb: USB Host Controller
[    2.176495] exynos-ohci 12120000.usb: new USB bus registered, assigned bus number 2
[    2.176623] exynos-ohci 12120000.usb: irq 80, io mem 0x12120000
[    2.238563] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    2.238574] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.238584] usb usb2: Product: USB Host Controller
[    2.238593] usb usb2: Manufacturer: Linux 4.14.222-odroidxu4 ohci_hcd
[    2.238601] usb usb2: SerialNumber: 12120000.usb
[    2.239102] hub 2-0:1.0: USB hub found
[    2.239142] hub 2-0:1.0: 3 ports detected
[    2.240700] usbcore: registered new interface driver usb-storage
[    2.241397] mousedev: PS/2 mouse device common for all mice
[    2.243272] i2c /dev entries driver
[    2.258438] vdd_ldo9: Bringing 3300000uV into 3000000-3000000uV
[    2.275732] vdd_sd: Bringing 3300000uV into 2800000-2800000uV
[    2.293793] vdd_ldo30: Bringing 1800000uV into 3300000-3300000uV
[    2.320853] vdd_1.8v_ldo: Bringing 1850000uV into 1500000-1500000uV
[    3.351636] s5m-rtc s2mps14-rtc: rtc core: registered s5m-rtc as rtc0
[    3.354510] IR NEC protocol handler initialized
[    3.354518] IR RC5(x/sz) protocol handler initialized
[    3.354525] IR RC6 protocol handler initialized
[    3.354532] IR JVC protocol handler initialized
[    3.354539] IR Sony protocol handler initialized
[    3.354546] IR SANYO protocol handler initialized
[    3.354553] IR Sharp protocol handler initialized
[    3.354561] IR MCE Keyboard/mouse protocol handler initialized
[    3.354567] IR XMP protocol handler initialized
[    3.355318] s5p-jpeg 11f50000.jpeg: Linked as a consumer to 11f10000.sysmmu
[    3.355369] iommu: Adding device 11f50000.jpeg to group 3
[    3.355726] s5p-jpeg 11f50000.jpeg: encoder device registered as /dev/video30
[    3.355882] s5p-jpeg 11f50000.jpeg: decoder device registered as /dev/video31
[    3.355890] s5p-jpeg 11f50000.jpeg: Samsung S5P JPEG codec
[    3.356106] s5p-jpeg 11f60000.jpeg: Linked as a consumer to 11f20000.sysmmu
[    3.356156] iommu: Adding device 11f60000.jpeg to group 4
[    3.356487] s5p-jpeg 11f60000.jpeg: encoder device registered as /dev/video32
[    3.356646] s5p-jpeg 11f60000.jpeg: decoder device registered as /dev/video33
[    3.356654] s5p-jpeg 11f60000.jpeg: Samsung S5P JPEG codec
[    3.357767] s5p-mfc 11000000.codec: Linked as a consumer to 11200000.sysmmu
[    3.357904] s5p-mfc 11000000.codec: Linked as a consumer to 11210000.sysmmu
[    3.357964] iommu: Adding device 11000000.codec to group 5
[    3.375902] s5p-mfc 11000000.codec: preallocated 16 MiB buffer for the firmware and context buffers
[    3.376031] (NULL device *): Direct firmware load for s5p-mfc-v8.fw failed with error -2
[    3.376043] s5p_mfc_load_firmware:73: Firmware is not present in the /lib/firmware directory nor compiled in kernel
[    3.376221] s5p-mfc 11000000.codec: decoder registered as /dev/video10
[    3.376365] s5p-mfc 11000000.codec: encoder registered as /dev/video11
[    3.377738] exynos-gsc 13e00000.video-scaler: Linked as a consumer to 13e80000.sysmmu
[    3.377790] iommu: Adding device 13e00000.video-scaler to group 6
[    3.378967] exynos-gsc 13e10000.video-scaler: Linked as a consumer to 13e90000.sysmmu
[    3.379019] iommu: Adding device 13e10000.video-scaler to group 7
[   15.028990] thermal thermal_zone0: failed to read out thermal zone (-22)
[   15.029879] thermal thermal_zone1: failed to read out thermal zone (-22)
[   15.030796] thermal thermal_zone2: failed to read out thermal zone (-22)
[   15.031716] thermal thermal_zone3: failed to read out thermal zone (-22)
[   15.032647] thermal thermal_zone4: failed to read out thermal zone (-22)
[   15.033314] device-mapper: uevent: version 1.0.3
[   15.033627] device-mapper: ioctl: 4.37.0-ioctl (2017-09-20) initialised: dm-devel@redhat.com
[   15.043442] sdhci: Secure Digital Host Controller Interface driver
[   15.043449] sdhci: Copyright(c) Pierre Ossman
[   15.043931] Synopsys Designware Multimedia Card Interface Driver
[   15.045146] dwmmc_exynos 12200000.mmc: IDMAC supports 32-bit address mode.
[   15.045216] dwmmc_exynos 12200000.mmc: Using internal DMA controller.
[   15.045226] dwmmc_exynos 12200000.mmc: Version ID is 250a
[   15.045255] dwmmc_exynos 12200000.mmc: DW MMC controller at irq 83,64 bit host data width,64 deep fifo
[   15.045404] dwmmc_exynos 12200000.mmc: allocated mmc-pwrseq
[   15.045410] mmc_host mmc0: card is non-removable.
[   15.067096] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
[   15.087984] dwmmc_exynos 12220000.mmc: IDMAC supports 32-bit address mode.
[   15.088100] dwmmc_exynos 12220000.mmc: Using internal DMA controller.
[   15.088132] dwmmc_exynos 12220000.mmc: Version ID is 250a
[   15.088259] dwmmc_exynos 12220000.mmc: DW MMC controller at irq 84,64 bit host data width,64 deep fifo
[   15.118849] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 400000Hz, actual 396825HZ div = 63)
[   15.127810] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 300000Hz, actual 297619HZ div = 84)
[   15.146929] s5p-secss 10830000.sss: s5p-sss driver registered
[   15.147985] hidraw: raw HID events driver (C) Jiri Kosina
[   15.151239] usbcore: registered new interface driver usbhid
[   15.151273] usbhid: USB HID core driver
[   15.165000] exynos-nocp: new NoC Probe device registered: 10ca1000.nocp
[   15.165128] exynos-nocp: new NoC Probe device registered: 10ca1400.nocp
[   15.165239] exynos-nocp: new NoC Probe device registered: 10ca1800.nocp
[   15.165353] exynos-nocp: new NoC Probe device registered: 10ca1c00.nocp
[   15.171812] NET: Registered protocol family 17
[   15.171835] NET: Registered protocol family 15
[   15.171899] Key type dns_resolver registered
[   15.172440] Registering SWP/SWPB emulation handler
[   15.172801] registered taskstats version 1
[   15.173457] Btrfs loaded, crc32c=crc32c-generic
[   15.188903] Key type encrypted registered
[   15.195586] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 200000Hz, actual 200000HZ div = 125)
[   15.211356] OF: graph: no port node found in /soc/hdmi@14530000
[   15.212288] [drm] Exynos DRM: using 14450000.mixer device for DMA mapping operations
[   15.212427] exynos-drm exynos-drm: bound 14450000.mixer (ops 0xc0872c40)
[   15.212443] exynos-drm exynos-drm: bound 14530000.hdmi (ops 0xc08732e0)
[   15.212448] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   15.212452] [drm] No driver support for vblank timestamp query.
[   15.212580] [drm] Cannot find any crtc or sizes
[   15.212936] [drm] Initialized exynos 1.0.0 20110530 for exynos-drm on minor 0
[   15.217100] [drm] Cannot find any crtc or sizes
[   15.221867] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[   15.222017] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 3
[   15.222331] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010
[   15.222378] xhci-hcd xhci-hcd.3.auto: irq 150, io mem 0x12000000
[   15.222583] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002
[   15.222590] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   15.222597] usb usb3: Product: xHCI Host Controller
[   15.222603] usb usb3: Manufacturer: Linux 4.14.222-odroidxu4 xhci-hcd
[   15.222609] usb usb3: SerialNumber: xhci-hcd.3.auto
[   15.222982] hub 3-0:1.0: USB hub found
[   15.223019] hub 3-0:1.0: 1 port detected
[   15.223277] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
[   15.223394] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 4
[   15.223405] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0  SuperSpeed
[   15.223489] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[   15.223636] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003
[   15.223643] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   15.223650] usb usb4: Product: xHCI Host Controller
[   15.223656] usb usb4: Manufacturer: Linux 4.14.222-odroidxu4 xhci-hcd
[   15.223662] usb usb4: SerialNumber: xhci-hcd.3.auto
[   15.224031] hub 4-0:1.0: USB hub found
[   15.224065] hub 4-0:1.0: 1 port detected
[   15.226535] xhci-hcd xhci-hcd.6.auto: xHCI Host Controller
[   15.226664] xhci-hcd xhci-hcd.6.auto: new USB bus registered, assigned bus number 5
[   15.226920] xhci-hcd xhci-hcd.6.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010
[   15.226958] xhci-hcd xhci-hcd.6.auto: irq 151, io mem 0x12400000
[   15.227108] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002
[   15.227115] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   15.227122] usb usb5: Product: xHCI Host Controller
[   15.227128] usb usb5: Manufacturer: Linux 4.14.222-odroidxu4 xhci-hcd
[   15.227134] usb usb5: SerialNumber: xhci-hcd.6.auto
[   15.227537] hub 5-0:1.0: USB hub found
[   15.227573] hub 5-0:1.0: 1 port detected
[   15.227856] xhci-hcd xhci-hcd.6.auto: xHCI Host Controller
[   15.228033] xhci-hcd xhci-hcd.6.auto: new USB bus registered, assigned bus number 6
[   15.228047] xhci-hcd xhci-hcd.6.auto: Host supports USB 3.0  SuperSpeed
[   15.228125] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[   15.228267] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003
[   15.228276] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   15.228284] usb usb6: Product: xHCI Host Controller
[   15.228292] usb usb6: Manufacturer: Linux 4.14.222-odroidxu4 xhci-hcd
[   15.228300] usb usb6: SerialNumber: xhci-hcd.6.auto
[   15.228738] hub 6-0:1.0: USB hub found
[   15.228772] hub 6-0:1.0: 1 port detected
[   15.229985] s3c-rtc 101e0000.rtc: rtc disabled, re-enabling
[   15.230044] s3c-rtc 101e0000.rtc: warning: invalid RTC value so initializing it
[   15.230109] rtc rtc1: invalid alarm value: 1900-1-1 0:0:0
[   15.230270] s3c-rtc 101e0000.rtc: rtc core: registered s3c as rtc1
[   15.232124] exynos-bus: new bus device registered: soc:bus_wcore ( 84000 KHz ~ 400000 KHz)
[   15.232794] exynos-bus: new bus device registered: soc:bus_noc ( 67000 KHz ~ 100000 KHz)
[   15.233281] exynos-bus: new bus device registered: soc:bus_fsys_apb (200000 KHz ~ 200000 KHz)
[   15.233690] exynos-bus: new bus device registered: soc:bus_fsys (200000 KHz ~ 200000 KHz)
[   15.234287] exynos-bus: new bus device registered: soc:bus_fsys2 ( 75000 KHz ~ 150000 KHz)
[   15.235040] exynos-bus: new bus device registered: soc:bus_mfc ( 96000 KHz ~ 333000 KHz)
[   15.235706] exynos-bus: new bus device registered: soc:bus_gen ( 89000 KHz ~ 267000 KHz)
[   15.236183] exynos-bus: new bus device registered: soc:bus_peri ( 67000 KHz ~  67000 KHz)
[   15.236909] exynos-bus: new bus device registered: soc:bus_g2d ( 84000 KHz ~ 333000 KHz)
[   15.237564] exynos-bus: new bus device registered: soc:bus_g2d_acp ( 67000 KHz ~ 267000 KHz)
[   15.238236] exynos-bus: new bus device registered: soc:bus_jpeg ( 75000 KHz ~ 300000 KHz)
[   15.238952] exynos-bus: new bus device registered: soc:bus_jpeg_apb ( 84000 KHz ~ 167000 KHz)
[   15.240009] exynos-bus: new bus device registered: soc:bus_disp1_fimd (120000 KHz ~ 200000 KHz)
[   15.240760] exynos-bus: new bus device registered: soc:bus_disp1 (120000 KHz ~ 300000 KHz)
[   15.241363] exynos-bus: new bus device registered: soc:bus_gscl_scaler (150000 KHz ~ 300000 KHz)
[   15.242090] exynos-bus: new bus device registered: soc:bus_mscl ( 84000 KHz ~ 400000 KHz)
[   15.242709] samsung-i2s 3830000.i2s: ASoC: Failed to create component debugfs directory
[   15.242747] samsung-i2s 3830000.i2s: ASoC: Failed to create component debugfs directory
[   15.243542] odroid-audio sound: multicodec <-> 3830000.i2s mapping ok
[   15.245559] input: gpio_keys as /devices/platform/gpio_keys/input/input0
[   15.248690] s5m-rtc s2mps14-rtc: setting system clock to 2000-01-01 00:00:26 UTC (946684826)
[   15.252826] ALSA device list:
[   15.252831]   #0: Odroid-XU4
[   15.253711] Freeing unused kernel memory: 1024K
[   15.263603] mmc_host mmc0: Bus speed (slot 0) = 50000000Hz (slot req 100000Hz, actual 100000HZ div = 250)
[   15.363203] mmc_host mmc1: Bus speed (slot 0) = 200000000Hz (slot req 200000000Hz, actual 200000000HZ div = 0)
[   15.465373] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[   15.465873] mmcblk1: mmc1:aaaa SC16G 14.8 GiB
[   15.468391]  mmcblk1: p1
[   16.322793] usb 6-1: new SuperSpeed USB device number 2 using xhci-hcd
[   16.322877] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[   16.345361] usb 4-1: New USB device found, idVendor=152d, idProduct=0578
[   16.345403] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   16.345434] usb 4-1: Product: USB to ATA/ATAPI Bridge
[   16.345463] usb 4-1: Manufacturer: JMicron
[   16.345491] usb 4-1: SerialNumber: 0123456789ABCDEF
[   16.346197] usb 6-1: New USB device found, idVendor=0bda, idProduct=8153
[   16.346236] usb 6-1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[   16.346290] usb 6-1: Product: USB 10/100/1000 LAN
[   16.346429] usb 6-1: Manufacturer: Realtek
[   16.346459] usb 6-1: SerialNumber: 000001000000
[   16.360645] scsi host0: uas
[   16.361128] usbcore: registered new interface driver uas
[   16.361463] scsi 0:0:0:0: Direct-Access     JMicron  Generic          3102 PQ: 0 ANSI: 6
[   16.362489] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   16.524480] usb 6-1: reset SuperSpeed USB device number 2 using xhci-hcd
[   16.595360] r8152 6-1:1.0 eth0: v1.09.9
[   16.796400] usb 6-1: reset SuperSpeed USB device number 2 using xhci-hcd
[   16.867177] r8152 6-1:1.0 eth0: v1.09.9
[   16.884550] r8152 6-1:1.0 enx001e0636f592: renamed from eth0
[   16.974848] async_tx: api initialized (async)
[   17.264609] EXT4-fs (mmcblk1p1): mounted filesystem with writeback data mode. Opts: (null)
[   17.738149] systemd[1]: System time before build time, advancing clock.
[   17.743521] random: crng init done
[   17.769903] NET: Registered protocol family 10
[   17.770509] Segment Routing with IPv6
[   17.776102] ip_tables: (C) 2000-2006 Netfilter Core Team
[   17.794788] systemd[1]: systemd 241 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN -PCRE2 default-hierarchy=hybrid)
[   17.795295] systemd[1]: Detected architecture arm.
[   17.815737] systemd[1]: Set hostname to <OMV>.
[   18.354176] systemd[1]: File /lib/systemd/system/systemd-journald.service:12 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[   18.354188] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[   18.604799] systemd[1]: /lib/systemd/system/rpc-statd.service:13: PIDFile= references path below legacy directory /var/run/, updating /var/run/rpc.statd.pid → /run/rpc.statd.pid; please update the unit file accordingly.
[   18.691925] systemd[1]: Listening on LVM2 poll daemon socket.
[   18.692540] systemd[1]: Listening on udev Control Socket.
[   18.693081] systemd[1]: Listening on Journal Socket.
[   18.699225] systemd[1]: Starting Nameserver information manager...
[   18.817847] EXT4-fs (mmcblk1p1): re-mounted. Opts: commit=600,errors=remount-ro
[   19.165237] systemd-journald[292]: Received request to flush runtime journal from PID 1
[   19.185451] gpiomem-exynos 13400000.gpiomem: Initialised: GPIO register area is 2
[   19.185573] gpiomem-exynos 13400000.gpiomem: Initialised: Registers at 0x13400000
[   19.185578] gpiomem-exynos 13400000.gpiomem: Initialised: Registers at 0x14010000
[   19.212179] Driver for 1-wire Dallas network protocol.
[   19.253766] IPv6: ADDRCONF(NETDEV_UP): enx001e0636f592: link is not ready
[   19.319706] ads7846 spi1.1: touchscreen, irq 153
[   19.320333] input: ADS7846 Touchscreen as /devices/platform/soc/12d30000.spi/spi_master/spi1/spi1.1/input/input1
[   19.405227] r8152 6-1:1.0 enx001e0636f592: carrier on
[   19.405291] IPv6: ADDRCONF(NETDEV_CHANGE): enx001e0636f592: link becomes ready
[   19.740293] usb 6-1: reset SuperSpeed USB device number 2 using xhci-hcd
[   19.807749] r8152 6-1:1.0 eth0: v1.09.9
[   19.966210] r8152 6-1:1.0 enx001e0636f592: renamed from eth0
[   20.056377] IPv6: ADDRCONF(NETDEV_UP): enx001e0636f592: link is not ready
[   20.590682] nr_pdflush_threads exported in /proc is scheduled for removal
[   22.233590] NFSD: starting 90-second grace period (net c0c4a500)
[   22.316989] r8152 6-1:1.0 enx001e0636f592: carrier on
[   22.317031] IPv6: ADDRCONF(NETDEV_CHANGE): enx001e0636f592: link becomes ready
[   22.319705] sd 0:0:0:0: [sda] Unit Not Ready
[   22.319716] sd 0:0:0:0: [sda] Sense Key : 0x4 [current]
[   22.319724] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81
[   22.320373] sd 0:0:0:0: [sda] Read Capacity(16) failed: Result: hostbyte=0x00 driverbyte=0x08
[   22.320380] sd 0:0:0:0: [sda] Sense Key : 0x4 [current]
[   22.320388] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81
[   22.320981] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x00 driverbyte=0x08
[   22.320987] sd 0:0:0:0: [sda] Sense Key : 0x4 [current]
[   22.320993] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81
[   22.321547] sd 0:0:0:0: [sda] 0 512-byte logical blocks: (0 B/0 B)
[   22.321553] sd 0:0:0:0: [sda] 0-byte physical blocks
[   22.322147] sd 0:0:0:0: [sda] Test WP failed, assume Write Enabled
[   22.322409] sd 0:0:0:0: [sda] Asking for cache data failed
[   22.322417] sd 0:0:0:0: [sda] Assuming drive cache: write through
[   22.323007] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of physical block size (0 bytes)
[   22.323982] sd 0:0:0:0: [sda] Unit Not Ready
[   22.323990] sd 0:0:0:0: [sda] Sense Key : 0x4 [current]
[   22.323997] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81
[   22.324611] sd 0:0:0:0: [sda] Read Capacity(16) failed: Result: hostbyte=0x00 driverbyte=0x08
[   22.324620] sd 0:0:0:0: [sda] Sense Key : 0x4 [current]
[   22.324627] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81
[   22.326595] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x00 driverbyte=0x08
[   22.326607] sd 0:0:0:0: [sda] Sense Key : 0x4 [current]
[   22.326614] sd 0:0:0:0: [sda] ASC=0x44 <<vendor>>ASCQ=0x81
[   22.339264] sd 0:0:0:0: [sda] Attached SCSI disk
[  109.399450] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)

User avatar
odroid
Site Admin
Posts: 38033
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1999 times
Been thanked: 1206 times
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by odroid »

According to lsusb -t output, the HC2 SATA interface works at least.
Port 1: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M

But, the storage device(HDD) doesn't response against the kernel storage driver initialization process according to your dmesg output.
I think there could be a 12Volt power rail or related issue on the HC2 board probably.
If you have a 2.5inch HDD or SSD, please try it since 2.5" storage devices uses only 5Volt power rail.

buliway
Posts: 4
Joined: Thu Jan 30, 2020 5:14 pm
languages_spoken: english
ODROIDs: Odroid-HC2
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by buliway »

odroid wrote:
Thu Aug 26, 2021 5:27 pm
I think there could be a 12Volt power rail or related issue on the HC2 board probably.
If you have a 2.5inch HDD or SSD, please try it since 2.5" storage devices uses only 5Volt power rail.
The board won't even boot up with a 2.5" hdd.
It's not even two years old yet, but guess my HC2 is done :(

User avatar
odroid
Site Admin
Posts: 38033
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1999 times
Been thanked: 1206 times
Contact:

Re: Odroid HC2 - SATA might be failing?

Post by odroid »

I think there could be uncertain hardware problem too.
Sorry about that. :(

Post Reply

Return to “Issues”

Who is online

Users browsing this forum: No registered users and 1 guest