From owner-freebsd-stable Fri Dec 8 9:50:36 2000 From owner-freebsd-stable@FreeBSD.ORG Fri Dec 8 09:50:32 2000 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from kci.kciLink.com (kci.kciLink.com [204.117.82.1]) by hub.freebsd.org (Postfix) with ESMTP id A8E1D37B401; Fri, 8 Dec 2000 09:50:31 -0800 (PST) Received: from yertle.kciLink.com (yertle.kciLink.com [208.184.13.195]) by kci.kciLink.com (Postfix) with ESMTP id 1735DC9B0; Fri, 8 Dec 2000 12:50:31 -0500 (EST) Received: from onceler.kciLink.com (onceler.kciLink.com [208.184.13.196]) by yertle.kciLink.com (Postfix) with ESMTP id 79BAC2E443; Fri, 8 Dec 2000 12:50:30 -0500 (EST) Received: (from khera@localhost) by onceler.kciLink.com (8.11.1/8.11.1) id eB8HoUu57556; Fri, 8 Dec 2000 12:50:30 -0500 (EST) (envelope-from khera) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14897.8038.103992.759460@onceler.kciLink.com> Date: Fri, 8 Dec 2000 12:50:30 -0500 To: Wilko Bulte Cc: FreeBSD Stable , doc@freebsd.org Subject: Re: cdrecord stopped working with 4.2 upgrade In-Reply-To: <20001208180206.B6118@freebie.demon.nl> References: <14896.5343.898448.860704@onceler.kciLink.com> <200012080017.eB80HY900511@mass.osd.bsdi.com> <14897.2068.343234.801201@onceler.kciLink.com> <20001208180206.B6118@freebie.demon.nl> X-Mailer: VM 6.86 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>> "WB" == Wilko Bulte writes: >> Ok... can we have this requirement documented somewhere? Perhaps the >> pkg-descr file for the port? That would have been a timesaver! WB> 'man ktrace' for a way to debug this sort of things. The ktrace output was not so helpful yesterday. The error was reported when trying to open /dev/xpt0 like this: 60742 cdrecord CALL open(0x8067a2b,0x2,0xbfbfdf54) 60742 cdrecord NAMI "/dev/xpt0" 60742 cdrecord RET open 3 60742 cdrecord CALL break(0x8081000) 60742 cdrecord RET break 0 60742 cdrecord CALL ioctl(0x3,CAMIOCOMMAND,0xbfbfdf38) 60742 cdrecord RET ioctl 0 60742 cdrecord CALL close(0x3) 60742 cdrecord RET close 0 60742 cdrecord CALL write(0x2,0xbfbfe170,0x3e) 60742 cdrecord GIO fd 2 wrote 62 bytes "cdrecord: No such file or directory. Cannot open SCSI driver. Reading the man page for xpt we see: There is no kernel configuration required for the xpt driver. It is en- abled when SCSI support is enabled in the kernel. There is one instance I guess it requires "device pass" in the configuration to be useful. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message