From owner-freebsd-current@FreeBSD.ORG Thu Oct 30 12:35:54 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D6B6916A4CE for ; Thu, 30 Oct 2003 12:35:54 -0800 (PST) Received: from mail.speakeasy.net (mail8.speakeasy.net [216.254.0.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 111C943F3F for ; Thu, 30 Oct 2003 12:35:54 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 7412 invoked from network); 30 Oct 2003 20:35:53 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 30 Oct 2003 20:35:53 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id h9UKZoce039788; Thu, 30 Oct 2003 15:35:50 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <3FA169C9.5070501@isi.edu> Date: Thu, 30 Oct 2003 15:35:49 -0500 (EST) From: John Baldwin To: Lars Eggert X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: freebsd-current@FreeBSD.ORG cc: Soren Schmidt Subject: Re: ATAng regression: cdcontrol close not working X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2003 20:35:55 -0000 On 30-Oct-2003 Lars Eggert wrote: > Soren Schmidt wrote: >> It seems Lars Eggert wrote: >> >>>FYI, the issue is still present with yesterday's -current. Will Pav >>>Lucistnik's patch be committed soon? >> >> I've already committed a solution that works on all the drives I >> could test on (some of which failed before), if this still >> fails for you I'd like a more detailed description of what >> exactly goes wrong... > > I must have missed that commit message, sorry. This is the drive I am > having the issues with: > > acd0: CDRW at ata1-master UDMA33 > > I also have atapicam in the kernel: > > cd0: Removable CD-ROM SCSI-0 device > > I have the same issue as the original poster: > > "cdcontrol -f /dev/acd0 eject" -> ejects tray > "cdcontrol -f /dev/acd0 close" -> does nothing > > "cdcontrol -f /dev/cd0 eject" -> ejects tray > "cdcontrol -f /dev/cd0 close" -> retracts tray > > cdcontrol does not show any messages, even with -v. > > Sending CDIOCCLOSE from a short C snippet shows that the ioctl yields EBUSY. > > (I also tried to get a ktrace, but that just shows "Events dropped" > where the trace becomes interesting. Issue with -current?) You ran out of ktrace objects (check your dmesg). You can resize the pool via the kern.ktrace.request_pool sysctl. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/