[Fwd: Re: IDE cable detection on Apple PowerBook]

TOMARI Hisanobu posco.grubb at gmail.com
Sat Mar 21 00:27:05 EST 2009


On Fri, 20 Mar 2009 12:40:29 +0100
Bartlomiej Zolnierkiewicz <bzolnier at 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 at gmail.com>



More information about the Linuxppc-dev mailing list