Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030257AbWEDRyt (ORCPT ); Thu, 4 May 2006 13:54:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030262AbWEDRyt (ORCPT ); Thu, 4 May 2006 13:54:49 -0400 Received: from mail.gmx.net ([213.165.64.20]:55015 "HELO mail.gmx.net") by vger.kernel.org with SMTP id S1030246AbWEDRys (ORCPT ); Thu, 4 May 2006 13:54:48 -0400 X-Authenticated: #2308221 Date: Thu, 4 May 2006 19:54:41 +0200 From: Christian Trefzer To: Alan Cox Cc: Herbert Rosmanith , linux-kernel@vger.kernel.org Subject: Re: cdrom: a dirty CD can freeze your system Message-ID: <20060504175441.GA2910@hermes.uziel.local> References: <200605041232.k44CWnFn004411@wildsau.enemy.org> <1146750532.20677.38.camel@localhost.localdomain> <20060504141402.GB8348@hermes.uziel.local> <1146756522.22308.6.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <1146756522.22308.6.camel@localhost.localdomain> User-Agent: Mutt/1.5.11 X-Y-GMX-Trusted: 0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4617 Lines: 113 --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 04, 2006 at 04:28:42PM +0100, Alan Cox wrote: >=20 > > Since you've been busy I didn't want to bother you, but now that you > > mention your PATA efforts again, is there a git tree to pull from, > > which contains code similar to that in the latest patches? >=20 > Not for the current code. The core stuff is mostly in the tree now and > I'll try and push a patch some time today or tomorrow thats versus > 2.6.17-rc and should match. >=20 Sounds great! I'll build new kernels for all my boxes as soon as I can get a hold on said patch. At least it "felt" cleaner and I/O was a little less of a handbrake using libata, so I'll go for it once again. Just one more thing, I had to hack a little on Kconfig files to make the "newer" promise driver available - if my memory doesn't fail me I sent a patch, more like a RFC. Are some drivers intentionally left out of Kbuild? I could not trigger any problem so far, using ata_piix on this laptop, and pata_via / pata_pdc2027x on my desktop. The only strangeness I had was some windoze firmware upgrade tool for my ATAPI CDRW drive running in wine, poking on every sg device in existence, thus triggering a freeze as it messed with the disks in some wicked way. But since this was never intended to work in the first place, I was happy with it working after simply deleting all sg devs corresponding with disks. And I guess it is worth mentioning that the SCSI IOCTLs in question are only accepted by the SCSI stack when the process is run as root, so it's not exactly something anybody could try on a machine he cannot already kill. Attempts to run this as an ordinary user would make the firmware tool get stuck with an all-empty progress bar, and the wine processes were easily TERM-able. If there's anything I might want to try out or you'd want to know, like lspci output and such, please let me know. I'm not home right now, but here goes for starters. lspci excerpt: 00:07.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01) (= prog-if 80 [Master]) lspci -vvvxxxn excerpt: 00:07.1 0101: 8086:7111 (rev 01) (prog-if 80) Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Steppi= ng- SERR- FastB2B- Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=3Dmedium >TAbort- SERR-