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] [thread-next>] [day] [month] [year] [list]
Message-ID: <4996D443.4060103@rtr.ca>
Date:	Sat, 14 Feb 2009 09:25:07 -0500
From:	Mark Lord <liml@....ca>
To:	Sergei Shtylyov <sshtylyov@...mvista.com>
Cc:	Hanno Böck <hanno@...eck.de>,
	Robert Hancock <hancockrwd@...il.com>,
	linux-kernel@...r.kernel.org, ide <linux-ide@...r.kernel.org>
Subject: Re: Very old IDE hard drive (240 MB) detected as 1.1 TB

Sergei Shtylyov wrote:
> Hello.
> 
> Hanno Böck wrote:
> 
>>> That would be worth investigating, yes.. If you can provide the dmesg
>>> output from bootup, as well as the output of hdparm --Istdout on the
>>> disk device, that would be useful..
>>>     
>>
>> That (and a bit more, normal hdparm output, smartctl output) here:
>> http://files.hboeck.de/conner/
>>   
> 
>   It has the current capacity in words 57-58 swapped:
> 
> /dev/sdb:
> 0c5a 037f 0000 000a 8723 0275 0037 0030
> 000a 0000 2020 2020 2020 2020 2020 424d
> 3948 4d31 5020 2020 0003 0040 0004 302e
> 3336 2020 2020 436f 6e6e 6572 2050 6572
> 6970 6865 7261 6c73 2032 3430 4d42 202d
> 2043 5033 3032 3534 2020 2020 2020 8010
> 0000 0001 0000 0200 0202 0001 037f 000a
> 0037 0007 82da 0000 0000 0000 0000 0000
> 
> 
>   It must be 82da 0007, not 0007 82da.
>   IIRC, the IDE core doesn't trust the value reported in these words 
..

That's right.  I wrote the IDE code that way
*specifically* due to a (different) Conner drive
I had here at the time.

Cheers
--
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