Subject: Re: cdrecord error
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Raymond Meyer <raymond.meyer@rambler.ru>
List: netbsd-users
Date: 05/24/2007 02:13:06
On Wed, 23 May 2007 23:23:28 +0200
Manuel Bouyer <bouyer@antioche.eu.org> wrote:

> 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...
> >=20
> > 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 resta=
rted
> > mountd.
> >=20
> > After the install, I ran 'umount /cdrom', ejected DVD and inserted a CD=
-RW.
> > But now running the following command fails:
> >=20
> > ultra10# cdrecord -v dev=3D/dev/cd0c blank=3Dfast
> > Cdrecord-Clone 2.01.01a04 (sparc64-unknown-netbsd4.99.16) Copyright (C)
> > 1995-2006 J=F6rg Schilling NOTE: this is OSS DVD extensions for cdrtool=
s 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 sho=
uld
> > not be bothered with problems in this version. TOC Type: 1 =3D 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=3Dhelp'.
> >=20
> > However the following command succeeds when I substitue device name with
> > number:
> >=20
> > ultra10# cdrecord -v dev=3D15,0,0 blank=3Dfast
> >=20
> > Anyone knows what's going on here? This is sparc64 so /dev/cd0c is the
> > entire disk.
>=20
> Anything in dmesg ?
>=20
> --=20
> Manuel Bouyer <bouyer@antioche.eu.org>
>      NetBSD: 26 ans d'experience feront toujours la difference
> --

The following error messages got logged, I'm not sure what they mean:

May 22 17:19:39 ultra10 /netbsd: SENSE KEY:  Illegal Request
May 22 17:19:39 ultra10 /netbsd: ASC/ASCQ:  Illegal Field in CDB
May 22 17:19:39 ultra10 /netbsd: SKSV:  Error in CDB, Offset 9
May 22 17:19:39 ultra10 /netbsd:
May 22 17:19:39 ultra10 /netbsd: cd0(cmdide0:1:0):  Check Condition on CDB:=
 0x28
 00 00 00 00 00 00 00 01 00
May 22 17:19:39 ultra10 /netbsd: SENSE KEY:  Illegal Request
May 22 17:19:39 ultra10 /netbsd: ASC/ASCQ:  Illegal Mode For This Track
May 22 17:19:39 ultra10 /netbsd:
May 22 17:19:39 ultra10 /netbsd: cd0: disk label read error
May 22 17:19:39 ultra10 /netbsd: cd0(cmdide0:1:0):  Check Condition on CDB:=
 0x43
 00 00 00 00 00 00 00 0c 40
May 22 17:19:39 ultra10 /netbsd: SENSE KEY:  Illegal Request
May 22 17:19:39 ultra10 /netbsd: ASC/ASCQ:  Illegal Field in CDB
May 22 17:19:39 ultra10 /netbsd: SKSV:  Error in CDB, Offset 9
May 22 17:19:39 ultra10 /netbsd:
May 22 18:36:17 ultra10 /netbsd: cmdide0:1:0: lost interrupt
May 22 18:36:17 ultra10 /netbsd: type: atapi tc_bcount: 65536 tc_skip: 0
May 22 18:36:17 ultra10 /netbsd: cmdide0:1:0: bus-master DMA error: missing=
 inte
rrupt, status=3D0x21
May 22 20:24:33 ultra10 /netbsd: cd0(cmdide0:1:0):  Check Condition on CDB:=
 0x28
 00 00 00 06 98 00 00 01 00
May 22 20:24:33 ultra10 /netbsd: SENSE KEY:  Unit Attention
May 22 20:24:33 ultra10 /netbsd: ASC/ASCQ:  Not Ready To Ready Transition (=
Mediu
m May Have Changed)