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>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070201204224.44d80bcc@localhost.localdomain>
Date:	Thu, 1 Feb 2007 20:42:24 +0000
From:	Alan <alan@...rguk.ukuu.org.uk>
To:	Phillip Susi <psusi@....rr.com>
Cc:	TJ <linux@...orld.net>, Robert Hancock <hancockr@...w.ca>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
Subject: Re: [PATCH 1/1] filesystem: Disk Errors at boot-time caused by
 probe of partitions

On Thu, 01 Feb 2007 14:12:42 -0500
Phillip Susi <psusi@....rr.com> wrote:

> I think you may be barking up the wrong tree because IIRC, these 
> requests for data beyond the end of the disk never make it to the drive; 
> the kernel fails them in the block layer.  There was a patch a while 
> back to fix the partition detection code to NOT request sectors beyond 
> the end of the disk, but I don't think it was ever merged.

ide-scsi and libata support this correctly. Ingo Molnar also ported the
recent CD changes related to size handling. None of these are relevant to
hard disks

> In any case, if you are sure the requests are making it to the drive and 
> causing damage, I hope you give Maxtor and IBM a sound thrashing for 
> using retarded firmware.

All the IBM and Maxtor drives I've played with correctly error when a
sector isn't available. It's pretty implausible they would do otherwise
as the "sector" is a logically mapping onto the drives internal file
system these days.

Fed a wrong sector any drive I know of will report that the sector cannot
be found.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ