linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: TOMARI Hisanobu <posco.grubb@gmail.com>
To: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [Fwd: Re: IDE cable detection on Apple PowerBook]
Date: Fri, 20 Mar 2009 22:27:05 +0900	[thread overview]
Message-ID: <20090320222705.1974aaeb.posco.grubb@gmail.com> (raw)
In-Reply-To: <200903201240.30383.bzolnier@gmail.com>

On Fri, 20 Mar 2009 12:40:29 +0100
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> wrote:

> Moreover the underlying issue is non-PMAC specific and asks for generic
> resolution, please see:
> 
> 	http://bugzilla.kernel.org/show_bug.cgi?id=12734#c13
> 
> for previous discussion.
> 
> In the very least case it should be a generic kernel parameter, i.e.
> "ide_core.ignore_cables" and iff the current "ide_core.ignore_cable="
> is not enough.  TOMARI, could please look into it?
> 
> Thanks,
> Bart

It works!
As the internal IDE controller is detected as ide0, I passed
"ide_core.ignore_cable=0" to the kernel, and the drive works in
UDMA/100 mode.
This method seems much cleaner way to solve the problem.
Thank you, Bart, Ben and Anton.

% dmesg |grep hda
Kernel command line: root=/dev/hda4 ro ide_core.ignore_cable=0 
hda: CORE_PATA, ATA DISK drive
hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
hda: UDMA/100 mode selected
hda: max request size: 512KiB
hda: 252411904 sectors (129234 MB), CHS=16383/255/63
hda: cache flushes supported
 hda: [mac] hda1 hda2 hda3 hda4 hda5 hda6 hda7
XFS mounting filesystem hda4
Ending clean XFS mount for filesystem: hda4
Adding 846672k swap on /dev/hda5.  Priority:-1 extents:1 across:846672k

-- 
TOMARI Hisanobu <posco.grubb@gmail.com>

           reply	other threads:[~2009-03-20 13:27 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <200903201240.30383.bzolnier@gmail.com>]

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=20090320222705.1974aaeb.posco.grubb@gmail.com \
    --to=posco.grubb@gmail.com \
    --cc=bzolnier@gmail.com \
    --cc=linuxppc-dev@ozlabs.org \
    /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;
as well as URLs for NNTP newsgroup(s).