Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262074AbTI0DdD (ORCPT ); Fri, 26 Sep 2003 23:33:03 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262105AbTI0DdD (ORCPT ); Fri, 26 Sep 2003 23:33:03 -0400 Received: from [24.76.142.122] ([24.76.142.122]:43781 "HELO signalmarketing.com") by vger.kernel.org with SMTP id S262074AbTI0DdB (ORCPT ); Fri, 26 Sep 2003 23:33:01 -0400 Date: Fri, 26 Sep 2003 22:33:00 -0500 (CDT) From: Derek Foreman To: linux-kernel@vger.kernel.org Subject: CDROM_SEND_PACKET oddity Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org The example code from http://www.ussg.iu.edu/hypermail/linux/kernel/0202.0/att-0603/01-cd_poll.c Does not behave as expected on my 2.6.0-test5 system. While the command seems to be successfully sent - 2 of my drives report it as an invalid opcode - for the other 2 drives, the buffer comes back all zeros. (actually, the buffer's contents will remain in whatever state they're in before the ioctl is called) Sending the same command to those 2 drives with SG_IO results in the expected behaviour. - 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/