Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S269277AbUINLPU (ORCPT ); Tue, 14 Sep 2004 07:15:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S269276AbUINLNO (ORCPT ); Tue, 14 Sep 2004 07:13:14 -0400 Received: from clock-tower.bc.nu ([81.2.110.250]:46524 "EHLO localhost.localdomain") by vger.kernel.org with ESMTP id S269277AbUINLMO (ORCPT ); Tue, 14 Sep 2004 07:12:14 -0400 Subject: Re: Changes to ide-probe.c in 2.6.9-rc2 causing improper detection From: Alan Cox To: Jens Axboe Cc: "C.Y.M." , Linux Kernel Mailing List In-Reply-To: <20040914071555.GJ2336@suse.de> References: <20040914060628.GC2336@suse.de> <20040914070649.GI2336@suse.de> <20040914071555.GJ2336@suse.de> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1095156542.16570.7.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 14 Sep 2004 11:09:02 +0100 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 731 Lines: 20 On Maw, 2004-09-14 at 08:15, Jens Axboe wrote: > printf("issuing FLUSH_CACHE: "); > if (ioctl(fd, HDIO_DRIVE_TASK, args) == -1) > printf("failed 0x%x/0x%x!\n", args[0], args[1]); > else > printf("worked\n"); Drive acked the command is all that proves. Maybe its a nop, maybe it does it, maybe like the last time someone engaged in this kind of "lets not check" approach it erases your firmware and leaves your CD-ROM drive defunct as the Mandrake error of the same form did. - 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/