lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Sat, 3 Sep 2016 21:20:36 +0200
From:   David Balažic <xerces9@...il.com>
To:     linux-kernel@...r.kernel.org
Subject: Preventing the kernel to perform i/o on plugged in HDD

Hi!

I'm trying to rescue some data from a damaged HDD (attached over USB)
and run into the problem that when reading from a damaged part of the
drive, it goes into "panic mode" and refusing access even to good
parts (happened before with other drive).

As the kernel reads the partitioning related sectors at plugin time,
it can trigger this "panic mode" if those sectors are damaged.

I patched my kernel to not read the partitions (a new sysctl that
makes check_partition() just return when set), but it (or something)
still tries to access a few sectors (apparently at the end of the
disk) that again fail.

Question: What access besides partition related is done by the kernel?

Info: Userspace is sysrescd 4.8.1 (I just changed the kernel)

Regards,
David

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ