Date: Thu, 30 Oct 2003 15:35:49 -0500 (EST) From: John Baldwin <jhb@FreeBSD.org> To: Lars Eggert <larse@ISI.EDU> Cc: Soren Schmidt <sos@spider.deepcore.dk> Subject: Re: ATAng regression: cdcontrol close not working Message-ID: <XFMail.20031030153549.jhb@FreeBSD.org> In-Reply-To: <3FA169C9.5070501@isi.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <PHILIPS DVD+RW-D28> at ata1-master UDMA33 > > I also have atapicam in the kernel: > > cd0: <PHILIPS DVD+RW-D28 1.62> 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 <jhb@FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20031030153549.jhb>
