Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watchdog timeouts when in initiator mode causing bus reset and invalid state. #230

Open
me0262 opened this issue Jan 26, 2025 · 1 comment

Comments

@me0262
Copy link

me0262 commented Jan 26, 2025

I'm attempting to use BlueSCSI in initiator mode to image a failing hard drive.
The drive appears to reset itself quite often when attempting to read from it, causing long delays when receiving information.

Logfile attached. Pertinent information is at line 1095 where the bus reset causes the device to go into an invalid state and will no longer attempt to read anything.

HD0_imaged-004.log.txt

Here are a few things that could also be implemented in Initiator mode:

  • configurable watchdog timer
  • configurable number of retries before giving up
  • options to skip certain sectors (known bad and potentially problematic)
  • log file as image name (HD0_imaged-001.log.txt to match with HD0_imaged-001.hda)
@erichelgeson
Copy link
Contributor

Thanks for the report - defiantly looks like we could relax some timings for older, tired drives that can't keep up or have lots of bad sectors.

Skip known bad sectors - how would you know about this ahead of time? We have thought about logging bad sectors to a separate file and then allow only retries of bad sectors, but not to skip - expand on this a bit more please.

Are these Items you'd like to take a stab at?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants