linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Jens Axboe <jaxboe@fusionio.com>
To: Hugh Dickins <hughd@google.com>
Cc: Mikael Pettersson <mikpe@it.uu.se>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	kevin diggs <diggskevin38@gmail.com>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [regression] 2.6.39-rc[1-3] fail to boot on G5 PowerMac
Date: Sun, 17 Apr 2011 09:00:17 +0200	[thread overview]
Message-ID: <4DAA9001.6050203@fusionio.com> (raw)
In-Reply-To: <BANLkTimGLmQjCNFOy5z64Zg=R2FX--LF9A@mail.gmail.com>

On 2011-04-17 05:16, Hugh Dickins wrote:
> On Thu, Apr 14, 2011 at 2:54 PM, Benjamin Herrenschmidt
> <benh@kernel.crashing.org> wrote:
>> On Thu, 2011-04-14 at 14:25 -0700, Hugh Dickins wrote:
>>>
>>> Something worth trying: turn off CONFIG_IDE.  That's what I need to
>>> boot 2.6.39-rc[1-3] on PowerPC G5.
>>>
>>> I know Jens has been fixing problems with IDE versus his plug/unplug
>>> changes, but it's still not fixed for me in rc3.
>>>
>>> In other mail http://lkml.org/lkml/2011/4/14/614
>>> I see Linus recommending his post-rc3 commit 6631e635c65d
>>> but I've not tried that myself yet.
>>
>> Well, the disk is SATA so it's CONFIG_ATA/libata, which works fine here,
>> unless you somewhat replaced your CD-ROM with a legacy IDE disk :-) Or
>> maybe the problem is related to the CD-ROM drive. There's a libata
>> driver for it nowadays, so you can use PATA_MACIO instead of IDE_PMAC
> 
> Thanks for that, Ben: I remember you were brewing up such a driver,
> but I missed when it actually went in.  I can confirm that switching
> off CONFIG_IDE and switching on CONFIG_PATA_MACIO and
> CONFIG_BLK_DEV_SR now gives me a booting system with a working CD-ROM
> (though I've not yet tried burning).
> 
> Whereas CONFIG_IDE=y with current git still does not boot: hangs for a
> minute or three around the windfarm announcements, then an endless
> splurge of hda error messages - sorry, I'm not being helpful, other
> worries...

It's the media event notification that goes crazy. Try and comment out
this line:

	drive->dev_flags |= IDE_DFLAG_MEDIA_CHANGED;

in drivers/ide/ide-cd.c:cdrom_saw_media_change() and see if it boots.

-- 
Jens Axboe

  reply	other threads:[~2011-04-17  7:13 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-12 17:30 [regression] 2.6.39-rc[1-3] fail to boot on G5 PowerMac Mikael Pettersson
2011-04-12 18:59 ` kevin diggs
2011-04-12 22:09 ` Benjamin Herrenschmidt
2011-04-12 23:55   ` Benjamin Herrenschmidt
2011-04-13  8:16     ` Mikael Pettersson
2011-04-13  8:58       ` Benjamin Herrenschmidt
2011-04-13 17:52         ` kevin diggs
2011-04-13 23:21           ` Benjamin Herrenschmidt
2011-04-13 23:43             ` kevin diggs
2011-04-14  9:02               ` Michel Dänzer
2011-04-14 21:25                 ` Hugh Dickins
2011-04-14 21:54                   ` Benjamin Herrenschmidt
2011-04-17  3:16                     ` Hugh Dickins
2011-04-17  7:00                       ` Jens Axboe [this message]
2011-04-17 17:47                         ` Hugh Dickins
2011-04-14 22:14                   ` Mikael Pettersson

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=4DAA9001.6050203@fusionio.com \
    --to=jaxboe@fusionio.com \
    --cc=diggskevin38@gmail.com \
    --cc=hughd@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=mikpe@it.uu.se \
    /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).