hddsuperclone
hddsuperclone copied to clipboard
Freezing/Stuck in "Initializing memory" when changing to Direct AHCI
Hello again,
I'm currently cloning a project from my 2TB HDD (ST2000DM006) to another 2TB drive (WD20EZBX-00AYRA0) and attempting to access Direct AHCI mode. However, when I click on that mode, the terminal displays "Initializing memory" and becomes stuck. The program's GUI freezes as well.
For more information, i'm currently running the program from Parrot OS Live USB with an AMD Ryzen 5 1600 PC
This is probably related to #22
If you compiled from source, remove the -fsanitize=memory option from the Makefile. hddsuperclone does some weird memory trickery in direct ahci mode and using a malloc/free checker will cause an infinite loop.
PS. Direct AHCI mode required linux kernel version 5.17 or lower and your kernel needs to have unrestricted dev mem access CONFIG_STRICT_DEVMEM="n"
Okay, here's my progress:
- I have already compiled this repository (after removing "-fsanitize=address,undefined" from the makefile before compiling).
- I am using Ubuntu 22.04 with my custom Kernel 5.15, which I compiled by changing the CONFIG_STRICT_DEVMEM to "n."
- I have also disabled the SATA ports.
- I opened hddsuperclone, opened my previous project file, started the Virtual Disk Driver, chose the source drive, but then it crashed and displayed "Identity failed after hard reset."
Do you have any ideas on how to solve this? Should i use the web-downloaded version of hddsuperclone?
According to the manual, I need to enable "Do not perform identify when listing source devices" in the Advanced Settings. However, when I searched for it, it doesn't seem to be visible in the menu.
does it have any errors in the terminal? if you launch hddsuperclone from a terminal it will print out debug info and error messages.
There's no 'special' error code displayed in the terminal. After I select the 'Source Drive', the terminal prints out several messages like this:
Soft Reset Hard Reset Identity failed after hard reset. Soft Reset Hard Reset Identity failed after hard reset.
Then the entire OS becomes locked up, and I can't do anything. I have to reset it using the 'Reset Button' on my PC case.
I wanted to clone from a Seagate ST2000DM006-2ZDM164 (2TB) to a new WDC WD20EZBX-00AYRA0.
Could this indicate a head/drive failure? I suspect that Hddsuperclone was unable to access the 'Identity' command/information on my hard disk.
Please try it against an old hddsuperclone livecd, to see whether we have a regression here. I have tried to fix a lot of bugs, but perhaps this broke the Direct-AHCI functionality
I would recommend testing with a known good hard drive to make sure your cloning system is set up correctly.