All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcin Dalecki <dalecki@evision.ag>
To: Andrew Morton <akpm@zip.com.au>
Cc: Petr Vandrovec <VANDROVE@vc.cvut.cz>,
	dalecki@evision-ventures.com, linux-kernel@vger.kernel.org
Subject: Re: IDE hang, partition strangeness
Date: Sun, 04 Aug 2002 01:35:28 +0200	[thread overview]
Message-ID: <3D4C68C0.2090205@evision.ag> (raw)
In-Reply-To: 3D4AC83A.5A0E37C0@zip.com.au

Uz.ytkownik Andrew Morton napisa?:
> Petr Vandrovec wrote:
> 
> 
> Hi, Petr.  We're able to reproduce the ntpd thing btw.  It is
> caused by cset 1.403.142.43 "avoid allocating pte_chains for unshared
> pages" - Rik is looking into it.
> 
> 
>>On  1 Aug 02 at 23:56, Andrew Morton wrote:
>>
>>>>Seems that the partitioning code in 2.5.30 is sending illegal LBAs
>>>>to the IDE driver, which responds by hanging the box:
>>>
>>>I misread this backtrace:
>>>
>>>_this_ is the lba. 160086527.  It is the very last sector on the disk.
>>
>>Did not it issued an error on the console before that? Something
>>like 'hda: xxxx: status=YY' ?
> 
> 
> There are no error messages.
> 
> 
>>If it did, just open
>>drivers/ide/ide.c in your favorite editor, locate function ata_error,
>>in this function locate 'if (rq->errors >= ERROR_MAX)' and replace
>>it with 'if (1)'...
> 
> 
> Tried that - it made no difference.
> 
> It'd be convenient to get my IDE disks back.  I'll try the 2.4
> forward-port drivers.

I thnik the sector calculation patch intriduced by the
recent gendisk handling patches (in esp. not me) should fix this.
I suppose that we are simply asking the drive to return more data
then it contains.

I can of course try to introduce a band aid guard against such
*pysical* mismatches in ide-disk.c. At least it should
be possible to confirm the above hypothesis.




  reply	other threads:[~2002-08-06 12:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-02 10:15 IDE hang, partition strangeness Petr Vandrovec
2002-08-02 17:58 ` Andrew Morton
2002-08-03 23:35   ` Marcin Dalecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-08-02  6:02 Andrew Morton
2002-08-02  6:56 ` Andrew Morton

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=3D4C68C0.2090205@evision.ag \
    --to=dalecki@evision.ag \
    --cc=VANDROVE@vc.cvut.cz \
    --cc=akpm@zip.com.au \
    --cc=dalecki@evision-ventures.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=martin@dalecki.de \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.