Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2000 12:50:30 -0500
From:      Vivek Khera <khera@kciLink.com>
To:        Wilko Bulte <wkb@freebie.demon.nl>
Cc:        FreeBSD Stable <stable@freebsd.org>, doc@freebsd.org
Subject:   Re: cdrecord stopped working with 4.2 upgrade
Message-ID:  <14897.8038.103992.759460@onceler.kciLink.com>
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>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
>>>>> "WB" == Wilko Bulte <wkb@freebie.demon.nl> 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-doc" in the body of the message




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?14897.8038.103992.759460>