ALT Linux hardware support
 help / color / mirror / Atom feed
From: "Konstantin A. Lepikhov" <lakostis@anti-leasure.ru>
To: hardware@altlinux.ru
Subject: [Hardware] [Fwd: Re: [ck] OT: Unusual IDE messages on boot.]
Date: Mon, 13 Jun 2005 13:10:48 +0400 (MSD)
Message-ID: <1087.217.70.26.29.1118653848.squirrel@mojo.myroom.ru> (raw)



------------------ Исходное сообщение -------------------
Тема:   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.



                 reply	other threads:[~2005-06-13  9:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1087.217.70.26.29.1118653848.squirrel@mojo.myroom.ru \
    --to=lakostis@anti-leasure.ru \
    --cc=hardware@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux hardware support

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/hardware/0 hardware/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 hardware hardware/ http://lore.altlinux.org/hardware \
		hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
	public-inbox-index hardware

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.hardware


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git