Marc Howard Zuckman wrote:
> On Sat, 12 Jan 2008, Bartlomiej Zolnierkiewicz wrote:
>
>>
>> In "smart mode" controller takes care of mode programming.
>>
>>> Cc'ing Alan and Bartlomiej. Guys, is this the smart mode problem? Do
>>> ide and libata have this fixed in 2.6.24-rc?
>>
>> [ added Alan and myself ;) to cc: ]
>>
>> Marc, please also send output of 'hdparm --Istdout /dev/hde' command.
>>
> This is the output from hdparm with my non-working vanilla 2.6.23.12.
>
>
> /dev/hde:
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 2008 1301 0501 ****4721**** 0101 0005
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 496e 7465 6772 6174 6564
> 2054 6563 686e 6f6c 6f67 7920 4578 7072
> 6573 7320 496e 6320 2020 2020 2020 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 ffff 0fff 0000 0007
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 003f 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 9eae 12a1 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0001 0003 3133 2121 9111 0091 3266
> 0021 0021 0001 0505 0005 0500 0000 0005
> 0005 0005 0040 0000 0000 0000 0000 0000
> 0000 0000 0001 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
> 0000 0000 0000 0000 0000 0000 0000 0000
Hmm... this is horrifying.
$ hdparm --Istdin < hdparm.out
ATA device, with non-removable media
Model Number: Integrated Technology Express Inc
Serial Number: G!
Standards:
Likely used: 1
Configuration:
Logical max current
cylinders 0 0
heads 0 0
sectors/track 0 0
--
device size with M = 1024*1024: 0 MBytes
device size with M = 1000*1000: 0 MBytes
Capabilities:
IORDY not likely
Cannot perform double-word IO
R/W multiple sector transfer: not supported
DMA: not supported
PIO: pio0
The only thing which matches the number of sectors is at word 100 which
is in reserved area. What's going on here?
--
tejun
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html