Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752545Ab1DQRr3 (ORCPT ); Sun, 17 Apr 2011 13:47:29 -0400 Received: from smtp-out.google.com ([74.125.121.67]:58995 "EHLO smtp-out.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751567Ab1DQRrW convert rfc822-to-8bit (ORCPT ); Sun, 17 Apr 2011 13:47:22 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=kX8kSVGdZHGVsQPSmsi+xuXVLsCCzwwuETJKv9qPgRD2juaEWi/QXTrTSI9th3bp4s kLPWfgR7Et3JYmMnBvNw== MIME-Version: 1.0 In-Reply-To: <4DAA9001.6050203@fusionio.com> References: <19876.35918.322649.256455@pilspetsen.it.uu.se> <1302646173.28876.53.camel@pasglop> <1302652502.28876.76.camel@pasglop> <19877.23529.745123.819112@pilspetsen.it.uu.se> <1302685102.28876.81.camel@pasglop> <1302736869.28876.91.camel@pasglop> <1302771756.15520.100.camel@thor.local> <1302818089.28876.134.camel@pasglop> <4DAA9001.6050203@fusionio.com> Date: Sun, 17 Apr 2011 10:47:16 -0700 Message-ID: Subject: Re: [regression] 2.6.39-rc[1-3] fail to boot on G5 PowerMac From: Hugh Dickins To: Jens Axboe Cc: Benjamin Herrenschmidt , Mikael Pettersson , kevin diggs , Michel Daenzer , "linuxppc-dev@lists.ozlabs.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-System-Of-Record: true Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2064 Lines: 47 On Sun, Apr 17, 2011 at 12:00 AM, Jens Axboe wrote: > On 2011-04-17 05:16, Hugh Dickins wrote: >> On Thu, Apr 14, 2011 at 2:54 PM, Benjamin Herrenschmidt >> 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. Yes, that also boots, with a working CD-ROM: thanks. Hugh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/