[Hardware] [Fwd: Re: [ck] OT: Unusual IDE messages on boot.]

Konstantin A. Lepikhov lakostis на anti-leasure.ru
Пн Июн 13 13:10:48 MSD 2005



------------------ Исходное сообщение -------------------
Тема:   Re: [ck] OT: Unusual IDE messages on boot.
От:       "Jens Axboe" <axboe@>
Дата:   Пнд, Июнь 13, 2005 10:35
Кому:   "iphitus" <iphitus@>
Копия: ck@
--------------------------------------------------------------------------

On Mon, Jun 13 2005, iphitus wrote:
>
> Probing IDE interface ide1...
> hda: max request size: 128KiB
> hda: Host Protected Area detected.
>         current capacity is 71810550 sectors (36767 MB)
>         native  capacity is 78140160 sectors (40007 MB)
> hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
hda: task_no_data_intr: error=0x04 { DriveStatusError }
> ide: failed opcode was: 0x37

Nothing to worry about, what is happening here is that your drive has a
host protected area and the drive fails to switch to that size (so you
only get the 36GB, not 40). You just lose a little capacity, that is all.

It could be a Linux error, actually. The above command is the 48-bit lba
variant of the SET_MAX command that can be used for this purpose, it
probably wanted to use 0xf9 instead. Maybe your drive advertises lba48
support but doesn't have it. It is a small drive, so it doesn't
necessarily support it. You can try changing
drivers/ide/ide-disk.c:idedisk_check_hpa() ala this pseudo patch:

-       int lba48 = idedisk_supports_lba48(drive->id);
+       int lba48 = 0;

and compile + reboot that kernel.

-- 
Jens Axboe

_______________________________________________
ck@
ck mailing list. Please reply-to-all when posting.
If replying to an email please reply below the original message.
http://bhhdoa.org.au/mailman/listinfo/ck




-- 
WBR et al.



Подробная информация о списке рассылки Hardware