DDRescue stuck on "Getting New Disk Information..."

Asked by Kevin Tran on 2019-02-15

When opening DDRescue-gui the program is stuck on "getting new disk information..." After checking getdevinfo the below output is shown from running sudo python3 -m getdevinfo.getdevinfo:

Traceback (most recent call last):
  File "/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/usr/lib/python3/dist-packages/getdevinfo/getdevinfo.py", line 112, in <module>
    diskinfo = get_info()
  File "/usr/lib/python3/dist-packages/getdevinfo/getdevinfo.py", line 97, in get_info
    linux.get_info()
  File "/usr/lib/python3/dist-packages/getdevinfo/linux.py", line 147, in get_info
    raise RuntimeError("No Disks found!")
RuntimeError: No Disks found!

On an Nvidia Jetson TX1 running Ubuntu 16.04. Just trying to make image copies of SD cards.

Question information

Language:
English Edit question
Status:
Answered
For:
DDRescue-GUI Edit question
Assignee:
Hamish McIntyre-Bhatty Edit question
Last query:
2019-02-15
Last reply:
2019-03-01

Hello,

Thanks for letting me know about this.

What versions of DDRescue-GUI and GetDevInfo are you using?

Could you also open a terminal (CTRL + ALT + T) and post the output of the following command:

"sudo lshw -class volume -class disk -sanitize"

Without the quotes?

Thanks,
Hamish

Kevin Tran (ktranusda) said : #2

Hi,

I am using DDRescue-GUI 2.0.1 and GetDevInfo version 1.0.5

The output of that command shows the following:
PCI (sysfs)
USB

The "PCI (sysfs)" only shows for a brief second and "USB" stays for a few seconds before disappearing.

Thanks

Thanks for letting me know.

This is really interesting - I've never seen that before! It looks like lshw (the tool used to collect the disk information), isn't finding any disks at all. Presumably your SD cards are connected through USB? They should show up in the list.

I think maybe the best thing to do is report this bug to the lshw developers, but I don't really know anything about that hardware, so I'm not sure I can do it justice. Would you be able to do this? If not, I could report it and just ask you for lots and lots of information about the hardware and your setup, which would be more difficult but would probably work.

There is a bug I accidentally reintroduced in v2.0.1 where if GetDevInfo crashes for some reason it can crash DDRescue-GUI, so I will fix that. In the meantime, you could try downgrading DDRescue-GUI to v2.0.0 or v1.7.2. There are other issues that were fixed in those releases, but it would may you manually specify disks, even if the disk information collection fails.

Sorry about this,
Hamish

Okay, if you're still experiencing this issue, it should be partially fixed with DDRescue-GUI v2.0.2.

No disks will show up in the list, but it won't freeze and you will be able to manually specify disks by navigating to /dev.

Hamish

Can you help with this problem?

Provide an answer of your own, or ask Kevin Tran for more information if necessary.

To post a message you must log in.