Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762810AbZATUqn (ORCPT ); Tue, 20 Jan 2009 15:46:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1761615AbZATUqW (ORCPT ); Tue, 20 Jan 2009 15:46:22 -0500 Received: from ogre.sisk.pl ([217.79.144.158]:47848 "EHLO ogre.sisk.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760376AbZATUqU (ORCPT ); Tue, 20 Jan 2009 15:46:20 -0500 From: "Rafael J. Wysocki" To: Sergei Shtylyov Subject: Re: 2.6.29-rc2: thinkpad dock -- cdrom vs. s2ram Date: Tue, 20 Jan 2009 21:45:41 +0100 User-Agent: KMail/1.10.3 (Linux/2.6.29-rc2-tst; KDE/4.1.3; x86_64; ; ) Cc: Pavel Machek , kernel list , teheo@novell.com, trenn@suse.de, Bartlomiej Zolnierkiewicz , linux-ide@vger.kernel.org References: <20090119202423.GA7070@ucw.cz> <200901200036.14640.rjw@sisk.pl> <49759D0E.804@ru.mvista.com> In-Reply-To: <49759D0E.804@ru.mvista.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901202145.41923.rjw@sisk.pl> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1885 Lines: 57 On Tuesday 20 January 2009, Sergei Shtylyov wrote: > Hello. > > Rafael J. Wysocki wrote: > > >>>> In 2.6.29 (and probably earlier) kernels, booting in docking station > >>>> results in undocked s2ram failing. > >>>> > >>>> Problem seems to be that hda (cdrom in dock) is not deregistered > >>>> during undock, and that hda driver loops spitting error messages at > >>>> 'too-fast-to-read' rate when suspend with missing hda is attempted. > >>>> > >>> What driver do you mean exactly? Old-IDE I would guess. > >>> > >>> Does this also happen with a PATA/libata driver? > >>> > >> I guess I'm confused. I tried: > >> > >> --- config.ok 2009-01-19 11:40:42.000000000 +0100 > >> +++ ../b-linux/.config 2009-01-19 22:45:03.000000000 +0100 > >> @@ -1022,7 +1022,7 @@ > >> # CONFIG_SATA_SIL24 is not set > >> CONFIG_ATA_SFF=y > >> CONFIG_SATA_SVW=y > >> -CONFIG_ATA_PIIX=y > >> +# CONFIG_ATA_PIIX is not set > >> # CONFIG_SATA_MV is not set > >> # CONFIG_SATA_NV is not set > >> # CONFIG_PDC_ADMA is not set > >> @@ -1058,8 +1058,8 @@ > >> # CONFIG_PATA_JMICRON is not set > >> # CONFIG_PATA_TRIFLEX is not set > >> # CONFIG_PATA_MARVELL is not set > >> -# CONFIG_PATA_MPIIX is not set > >> -# CONFIG_PATA_OLDPIIX is not set > >> +CONFIG_PATA_MPIIX=y > >> +CONFIG_PATA_OLDPIIX=y > >> # CONFIG_PATA_NETCELL is not set > >> # CONFIG_PATA_NINJA32 is not set > >> # CONFIG_PATA_NS87410 is not set > >> > >> ...but cdrom is still detected as hda. > >> > > > > Er, CONFIG_ATA_PIIX is a SATA driver. > > Not really, it drives both SATA and PATA controllers. What I wanted to say it's not old-IDE. Thanks, Rafael -- 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/