public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Martin Dalecki <dalecki@evision-ventures.com>
To: Mark Orr <markorr@intersurf.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.12-dj1:  IDE trouble - RZ1000 still won't finish booting
Date: Thu, 02 May 2002 22:15:01 +0200	[thread overview]
Message-ID: <3CD19E45.6030807@evision-ventures.com> (raw)
In-Reply-To: <20020502154425.45437b42.markorr@intersurf.com>

Uz.ytkownik Mark Orr napisa?:
> I posted a log about this about a week ago regarding
> Linux 2.5.10 not completing boot on an older system with a
> RZ1000 IDE interface.   (and that RZ1000 by itself, w/ CMD640
> and generic PCI IDE disabled in make config, wouldnt even
> compile  -- it still doesnt with 2.5.12-dj1)
> 
> 
> It still crashes at the same place - when the root
> filesystem is remounted with R/W.   The messages look different,
> i.e. the "unexpected interrupt <x> <y>" is gone, but it looks
> like it's still complaining about the same thing:
> 
> hda: task_mulout_intr: error=0x04  { DriveStatusError }
> 
> then several of these:
> 
>    { task_mulout_intr }
> hda:  ide_set_handler: handler not null  old=<some hex> new=<some other hex>
> bug: kernel timer added twice
> 
> finally:
> 
> end_request: I/O error, dev 03:00, sector 456628
> end_buffer_io_sync: I/O error
> hda: ata_irq_request: hwgroup was not busy!?
> Unable to hand kernel NULL pointer dereference...
> 
> ...and the usual dumpage.    (which isnt logged, naturally)

There where no reaction becouse problems with the multi sector
IO code path in the driver are well known... and unfortunately still
not resolved becouse there are expected changes in the whole
handling of them. However to confirm this you could for the time
beeing please just try to displabe multi sector writes
on this driver by editing the following code in ide-disk.c

#ifdef CONFIG_IDEDISK_MULTI_MODE
		id->multsect = ((id->max_multsect/2) > 1) ? id->max_multsect : 0;
		id->multsect_valid = id->multsect ? 1 : 0;
		drive->mult_req = id->multsect_valid ? id->max_multsect : INITIAL_MULT_COUNT;
		if (drive->mult_req)
			drive->special_cmd |= ATA_SPECIAL_MMODE;
#else
		/* original, pre IDE-NFG, per request of AC */
		drive->mult_req = INITIAL_MULT_COUNT;
		if (drive->mult_req > id->max_multsect)
			drive->mult_req = id->max_multsect;
		if (drive->mult_req || ((id->multsect_valid & 1) && id->multsect))
			drive->special_cmd |= ATA_SPECIAL_MMODE;
#endif

to always set mult_req to 0.

Peerhaps you could of course check bfore hand first
if CONFIG_IDEDISK_MULTI_MODE is set and
INITIAL_MULT_COUNT allways equal to 0.

Thank you in advance.



  reply	other threads:[~2002-05-02 21:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-02 20:44 2.5.12-dj1: IDE trouble - RZ1000 still won't finish booting Mark Orr
2002-05-02 20:15 ` Martin Dalecki [this message]
2002-05-02 21:00 ` Dave Jones

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=3CD19E45.6030807@evision-ventures.com \
    --to=dalecki@evision-ventures.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=markorr@intersurf.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox