Subject: Re: CDRecord problem
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Pat Wendorf <beholder@unios.dhs.org>
List: port-alpha
Date: 02/25/2001 21:06:43
Hey Manuel,

Thanks for the quick reply.  Unfortunatly even the direct device name
you suggest (and cd0a and cd0c) seemed to result in an mmap /dev/zero
error.  The ulimit seemed to have the same result.  I recompiled my
kernel and upgraded my cdrecord as suggested by Bernd, however still no
luck.  I can mount CD's with the drive hopefully ruling out bad
hardware.CDRecord no longer gives the /dev/zero error however the new
error is as such now:

# cdrecord -dev /dev/cd0d:0,6,0 -multi -audio audio.raw
Cdrecord 1.9 (alpha-unknown-netbsd1.5) Copyright (C) 1995-2000 Jörg
Schilling
scsidev: '/dev/cd0d:0,6,0'
devname: '/dev/cd0d'
scsibus: 0 target: 6 lun: 0
cdrecord: Device not configured. Cannot open '/dev/cd0d'. Cannot open
SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
are root.

and I get the following log messages:

cd0(siop0:6:0):  Check Condition on CDB: 0x25 00 00 00 00 00 00 00 00 00
    SENSE KEY:  Illegal Request
     ASC/ASCQ:  ASC 0x89 ASCQ 0x00

Thanks again for any help :)

- Pat

Manuel Bouyer wrote:
> 
> On Sat, Feb 24, 2001 at 04:39:20PM -0500, Pat Wendorf wrote:
> > I'm having some difficulty getting a Sony 926S 2x CD-R working with my
> > AXPpci33 machine. I'm not sure if this is a problem with the drive or
> > the SCSI controller.
> >
> > When I run 'cdrecord -dev 0,6,0 -multi -audio audio.raw' (cd-r is scsi
> > id 6) it says:
> 
> you need to use '-dev /dev/cd0d' (assuming your CD-R is probed as cd0).
> 
> >
> > Cdrecord 1.9 (alpha-unknown-netbsd1.5) Copyright (C) 1995-2000 Jörg
> > Schilling
> > cdrecord: Resource temporarily unavailable. Cannot get mmap for 4202496
> > Bytes on /dev/zero.
> 
> Did you try 'unlimit' before running cdrecord ?
> 
> >
> > When I run 'cdrecord -scanbus' it says:
> >
> > Cdrecord 1.9 (alpha-unknown-netbsd1.5) Copyright (C) 1995-2000 Jörg
> > Schilling
> > cdrecord: No such file or directory. Cannot open SCSI driver.
> > cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you
> > are root.
> >
> > Is this a drive or controller, or kernel config problem?
> 
> -scanbus isn't supported under NetBSD; you have to specify the device name
> anyway (instead of SCSI id).
> 
> --
> Manuel Bouyer <bouyer@antioche.eu.org>
> --

-- 

Pat Wendorf