List Info

Thread: cdrecord error




cdrecord error
country flaguser name
United Kingdom
2007-05-22 14:47:53
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://crashre
covery.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.

Re: cdrecord error
user name
2007-05-23 16: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://crashre
covery.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 <bouyerantioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la
difference
--

Re: cdrecord error
country flaguser name
United Kingdom
2007-05-23 20:13:06
On Wed, 23 May 2007 23:23:28 +0200
Manuel Bouyer <bouyerantioche.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...
> > 
> > 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://crashre
covery.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 <bouyerantioche.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=0x21
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)



Re: cdrecord error
country flaguser name
France
2007-05-24 03:14:07
On Thu, May 24, 2007 at 02:13:06AM +0100, Raymond Meyer
wrote:
> 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=0x21
> 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)

I'm not sure which one you got while using /dev/cd0c, but
it's possible that
/dev/cd0c can't be opened with no media or a blank media in
the drive.
/dev/rcd0c should always work.

-- 
Manuel Bouyer, LIP6, Universite Paris VI.          
Manuel.Bouyerlip6.fr
     NetBSD: 26 ans d'experience feront toujours la
difference
--

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )