From owner-freebsd-hackers Sun Dec 10 18:59:40 2000 From owner-freebsd-hackers@FreeBSD.ORG Sun Dec 10 18:59:38 2000 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from sj-msg-core-4.cisco.com (sj-msg-core-4.cisco.com [171.71.163.10]) by hub.freebsd.org (Postfix) with ESMTP id AE50637B400 for ; Sun, 10 Dec 2000 18:59:38 -0800 (PST) Received: from esoha-nt.cisco.com (esoha-nt.cisco.com [171.69.38.13]) by sj-msg-core-4.cisco.com (8.9.3/8.9.1) with ESMTP id SAA03978 for ; Sun, 10 Dec 2000 18:59:39 -0800 (PST) Received: (from esoha@localhost) by esoha-nt.cisco.com (8.9.3/8.9.3) id SAA00633; Sun, 10 Dec 2000 18:59:37 -0800 (PST) (envelope-from esoha@cisco.com) From: Eyal Soha MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14900.17177.554270.834023@esoha-nt.cisco.com> Date: Sun, 10 Dec 2000 18:59:37 -0800 To: freebsd-hackers@freebsd.org Subject: kern/23409, atapi_queue_cmd error codes? X-Mailer: VM 6.76 under Emacs 20.7.1 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I submitted and started debugging kern/23409: CD-RW driver fails unless CD in drive at boot up. I seem to be getting error code 0x5 and 0x10 from acd_mode_sense() when I'm booting up. What do those error codes mean? Do they correspond to the error register bits listed in atapi-all.h? #define ATAPI_E_ILI 0x01 /* illegal length indication */ #define ATAPI_E_ABRT 0x04 /* command aborted */ #define ATAPI_SK_RECOVERED_ERROR 0x10 /* command OK, data recovered */ I ask because in the failure case of kern/23409, I see error 0x10 many times. In the success case, error 0x5 appears twice and then goes away before reaching a maximum retry count. Much more detailed information is available in the bug report. I'm not on the mailing list so please include me on replies. If I've sent this to the wrong mailing list, please forward it appropriately. Thanks for the help! Eyal -- Eyal Soha Work: (408) 527-9276 Software Engineer Page: (800) 365-4578 Cisco Systems Epage: esoha@epage.cisco.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message