From owner-freebsd-hackers Sat Sep 16 11:49:32 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id LAA27503 for hackers-outgoing; Sat, 16 Sep 1995 11:49:32 -0700 Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id LAA27452 for ; Sat, 16 Sep 1995 11:49:21 -0700 Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.8/8.6.6) with SMTP id MAA09932 for ; Sat, 16 Sep 1995 12:48:29 -0600 Message-Id: <199509161848.MAA09932@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol From: Steve Passe To: hackers@freebsd.org Subject: Re: xcdplayer and SCSI CD-ROM In-reply-to: Your message of "Fri, 15 Sep 1995 20:05:16 EDT." <199509160005.UAA18716@snoopy.mv.com> Date: Sat, 16 Sep 1995 12:48:29 -0600 Sender: owner-hackers@freebsd.org Precedence: bulk Hi, > Hmm, well maybe, however I have just recently tried getting > xmcd running on this 2.0.5 system. What worked fine on 2.0 > now can't seem to find any disk in the player. This with > 1542cf/NEC 4xi. I hope to have some time this weekend to > figure out what is going on. > > Can anyone report that any scsi based audio cd works these days? -------- this sounds like the 'open' problem: Peter Dufault said: >The xmcd program is opening the CD-ROM device read-only. The >SCIOCCOMMAND ioctl requires read/write privileges since it it can't >tell what the commands being submitted to the device do. Here is >a contrived example: an application where as root you lock a CD in >place using PREVENT REMOVAL and then someone with read access uses >ALLOW REMOVAL and EJECT. > >This was fixed soon after the driver change to require this but >the fix doesn't seem to have made it into the standard xmcd >distribution. If you can find out where the open in the source >is you can just add write permissions. -------- Gennady Sorokopud said: >Xmcd-1.4 has a bug in FreeBSD module, that prevents it from working >on 2.0.5 (it works on 2.0 so..). > >You can get and updated FreeBSD version from: .ftp://burka.netvision.net.il/pub/misc/xmcd/xmcd-1.4-fb2.0.5R.tar.gz. >In addition to the bug fix this version has support for ioctl >playing method. So if SCSI interface does not work you can try it out. > >It also contains static and shared binaries. > >I'm now trying to figure out why this version refuses to work on -current. -------- I said: >I also have problems with SCSI audio on 950726-SNAP. > >my machine: > 486/dx2-66, 16MB > adaptec 2842 VLBus SCSI controller > NEC cdr-74 CD-ROM drive > >trying to run xmcd causes panic. i rebuilt kernel with DDB, KTRACE, >and SCSIDEBUG. > >i ran (as root) the command-line tool that comes with xmcd, cda, >to eliminate X11R6 from the equation: > ># export XMCD_LIBDIR=/usr/X11R6/lib/X11/xmcd ># cda -debug -dev /dev/rcd0c on >[ whole bunch of cda config messages ] > >SCSI CDB bytes: >0000 00 00 00 00 00 00 -- -- -- -- -- -- -- -- -- -- ................ >panic: biodone: buffer not busy >Debugger("panic") >Stopped at _Debugger+0x2b: movb $0,_in_Debugger.110 >db> > >what can i do next to help??? never heard from anyone. still willing to help. when will next 2.1 SNAP be available? I have a new disk ready to install latest -stable. because of flaky network access it is much easier to use a snap than 'sup' everything new since 950726-SNAP. -- Steve Passe | powered by smp@csn.net | FreeBSD