Subject: Re: cdrecord error
To: Raymond Meyer <raymond.meyer@rambler.ru>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 05/23/2007 23:23:28
On Tue, May 22, 2007 at 08:47:53PM +0100, Raymond Meyer wrote:
> I'm not sure if this is a bug or expected behaviour...
> 
> I was installing Solaris over network, so on my NetBSD-current I mounted
> Solaris DVD on /cdrom then put this directory in /etc/exports and restarted
> mountd.
> 
> After the install, I ran 'umount /cdrom', ejected DVD and inserted a CD-RW. But
> now running the following command fails:
> 
> ultra10# cdrecord -v dev=/dev/cd0c blank=fast
> Cdrecord-Clone 2.01.01a04 (sparc64-unknown-netbsd4.99.16) Copyright (C) 1995-2006 Jörg Schilling
> NOTE: this is OSS DVD extensions for cdrtools and thus may have bugs
>    related to DVD issues that are not present in the original cdrtools. For
>    more information see http://crashrecovery.org/oss-dvd.html. The original
>    cdrtools author should not be bothered with problems in this version.
> TOC Type: 1 = CD-ROM
> scsidev: '/dev/cd0c'
> devname: '/dev/cd0c'
> scsibus: -2 target: -2 lun: -2
> cdrecord: Input/output error. Cannot open '/dev/cd0c'. Cannot open SCSI driver.
> cdrecord: For possible targets try 'cdrecord -scanbus'.
> cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
> 
> However the following command succeeds when I substitue device name with number:
> 
> ultra10# cdrecord -v dev=15,0,0 blank=fast
> 
> Anyone knows what's going on here? This is sparc64 so /dev/cd0c is the entire
> disk.

Anything in dmesg ?

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--