From owner-freebsd-hackers Mon Aug 21 03:52:16 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id DAA11528 for hackers-outgoing; Mon, 21 Aug 1995 03:52:16 -0700 Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id DAA11488 for ; Mon, 21 Aug 1995 03:52:07 -0700 Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.8/8.6.6) with SMTP id EAA19189 for ; Mon, 21 Aug 1995 04:51:58 -0600 Message-Id: <199508211051.EAA19189@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol From: Steve Passe To: hackers@freebsd.org Subject: xmcd port doesn't work Date: Mon, 21 Aug 1995 04:51:56 -0600 Sender: hackers-owner@freebsd.org Precedence: bulk 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