Date: Mon, 21 Aug 1995 04:51:56 -0600 From: Steve Passe <smp@csn.net> To: hackers@freebsd.org Subject: xmcd port doesn't work Message-ID: <199508211051.EAA19189@clem.systemsix.com>
next in thread | raw e-mail | index | archive | help
Hello,
I made the port of audio/xmcd on 950726-SNAP and found that it
got stuck in a loop of:
SCIOCCOMMAND: permission denied
so I looked at sys/scsi/scsi_ioctl.c:
errval  scsi_do_ioctl(dev_t dev, int cmd, caddr_t addr, int flags,
struct proc *p, struct scsi_link *sc_link)
{
        errval ret = 0;
>       /* If we can't write the device we can't permit much:
>        */
>
>       if (cmd != SCIOCIDENTIFY && !(flags & FWRITE))
>               return EACCES;
        SC_DEBUG(sc_link,SDEV_DB2,("scsi_do_ioctl(0x%x)\n",cmd));
        switch(cmd)
        {
                case SCIOCCOMMAND:
                {
so I removed:
>       if (cmd != SCIOCIDENTIFY && !(flags & FWRITE))
>               return EACCES;
and rebuilt the kernel.  It panics when xmcd starts.  can anyone enlighten
me about this?
(i believe it was: 'biodone: buffer busy')
--
Steve Passe	| powered by
smp@csn.net	|            FreeBSD
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199508211051.EAA19189>
