Re: Problems reading CDRW after writing

2006-01-04 Thread Fabian Keil
Marc Evans <[EMAIL PROTECTED]> wrote:

> Thank you for your suggestion. I have managed to get camcontrol to 
> function, which implies to me that the atapicam module is
> functioning. However, I am not succeeding at getting the readcd
> command to work:
> 
> # camcontrol devlist
>at scbus1 target 1 lun 0
> (cd0,pass0) # camcontrol inquiry cd0
> pass0:  Removable CD-ROM SCSI-0 device
> pass0: 33.000MB/s transfers
> # readcd dev=/dev/cd0 -c2scan

Use readcd dev=1,1,0 -c2scan.

> readcd: Invalid argument. Open by 'devname' not supported on this OS. 
> Cannot open SCSI driver.
> readcd: For possible targets try 'readcd -scanbus'.
> readcd: For possible transport specifiers try 'readcd dev=help'.
> # readcd -scanbus
> readcd: Error 0. Cannot open SCSI driver.

I don't know yet if this is a general readcd problem or just a problem
with the ports version, however readcd -scanbus fails here as well.
cdrecord -scanbus still works. 

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Re: Problems reading CDRW after writing

2006-01-03 Thread Malcolm Kay
On Wed, 4 Jan 2006 03:37 am, Marc Evans wrote:
> Hello -
>
> I am running FreeBSD 6.0-STABLE as of Dec-15-2005 on a P4
> system. I have a CDRW drive attached, which identifies as
> follows:
>
>   acd0: CDRW  at ata1-slave UDMA33
>
> I wish to use this device to produce CDRW backup disks
> periodically. I use the following commands to produce the
> backup:
>
>   burncd erase
>   sleep 2 # needed to avoid READY error
>   tar czf - ... | burncd data - fixate
>
> This appears to work fine, from the perspective of the output
> of the commands, e.g. I see output like:
>
> blanking CD - 100 % done
> next writeable LBA 0
> writing from stdin
> written this track 633420 KB total 633420 KB
> fixating CD, please wait..
>
> My problem is that attempts to read the data back, always
> fail:
>
> # tar tzf /dev/acd0
> tar: Error opening archive: Error reading '/dev/acd0':
> Input/output error # ls -l /dev/*cd*
> crw-r-  1 root  operator0,  93 Jan  3 10:33 /dev/acd0
> crw-r-  1 root  operator0, 127 Dec 30 14:26
> /dev/acd0t01
>
> No errors are shown in /var/log/messages.
>
> I have also tried writing an ISO9660 image and mounting it,
> with similar problems at mount time.
>
> The above said, I am able to create CD-R data disks and mount
> them or otherwise use them. I have tried several different
> CD-RW media, and played with -s (the media is rated as 12x),
> but have observed no changes.
>
> Can anyone suggest solutions?
>

This raises a number of questions:-
* Can the RW disks you have written be read in some other drive?
* Can you read RW disks written somewhere else?

A pure shot in the dark -- but I suspect the read on your drive 
may not be sensitive enough to read RW disks.

Of course if it can write them one would expect it is designed to 
be able to read them -- but it may be out of spec. or have 
deteriorated since manufacture.

Malcolm
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Problems reading CDRW after writing

2006-01-03 Thread Fabian Keil
Marc Evans <[EMAIL PROTECTED]> wrote:
 
> I am running FreeBSD 6.0-STABLE as of Dec-15-2005 on a P4 system. I
> have a CDRW drive attached, which identifies as follows:
> 
>   acd0: CDRW  at ata1-slave UDMA33
> 
> I wish to use this device to produce CDRW backup disks periodically.
> I use the following commands to produce the backup:
> 
>   burncd erase
>   sleep 2 # needed to avoid READY error
>   tar czf - ... | burncd data - fixate
> 
> This appears to work fine, from the perspective of the output of the
> commands, e.g. I see output like:
> 
> blanking CD - 100 % done
> next writeable LBA 0
> writing from stdin
> written this track 633420 KB total 633420 KB
> fixating CD, please wait..

> I have also tried writing an ISO9660 image and mounting it, with
> similar problems at mount time.
> 
> The above said, I am able to create CD-R data disks and mount them or
> otherwise use them. I have tried several different CD-RW media, and
> played with -s (the media is rated as 12x), but have observed no
> changes.

You could use readcd's c2scan option to check if your CD-RWs are OK.
readcd is part of (/usr/ports/sysutils/cdrtools/) if you don't have
atapicam in your kernel you have to kldload it.

Fabian
-- 
http://www.fabiankeil.de/


signature.asc
Description: PGP signature


Problems reading CDRW after writing

2006-01-03 Thread Marc Evans

Hello -

I am running FreeBSD 6.0-STABLE as of Dec-15-2005 on a P4 system. I have a CDRW 
drive attached, which identifies as follows:


acd0: CDRW  at ata1-slave UDMA33

I wish to use this device to produce CDRW backup disks periodically. I use the 
following commands to produce the backup:


burncd erase
sleep 2 # needed to avoid READY error
tar czf - ... | burncd data - fixate

This appears to work fine, from the perspective of the output of the commands, 
e.g. I see output like:


blanking CD - 100 % done
next writeable LBA 0
writing from stdin
written this track 633420 KB total 633420 KB
fixating CD, please wait..

My problem is that attempts to read the data back, always fail:

# tar tzf /dev/acd0
tar: Error opening archive: Error reading '/dev/acd0': Input/output error
# ls -l /dev/*cd*
crw-r-  1 root  operator0,  93 Jan  3 10:33 /dev/acd0
crw-r-  1 root  operator0, 127 Dec 30 14:26 /dev/acd0t01

No errors are shown in /var/log/messages.

I have also tried writing an ISO9660 image and mounting it, with similar 
problems at mount time.


The above said, I am able to create CD-R data disks and mount them or otherwise 
use them. I have tried several different CD-RW media, and played with -s (the 
media is rated as 12x), but have observed no changes.


Can anyone suggest solutions?

Thanks in advance - Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Problems reading CDRW after writing

2006-01-03 Thread Marc Evans

Hello -

I am running FreeBSD 6.0-STABLE as of Dec-15-2005 on a P4 system. I have a CDRW 
drive attached, which identifies as follows:


acd0: CDRW  at ata1-slave UDMA33

I wish to use this device to produce CDRW backup disks periodically. I use the 
following commands to produce the backup:


burncd erase
sleep 2 # needed to avoid READY error
tar czf - ... | burncd data - fixate

This appears to work fine, from the perspective of the output of the commands, 
e.g. I see output like:


blanking CD - 100 % done
next writeable LBA 0
writing from stdin
written this track 633420 KB total 633420 KB
fixating CD, please wait..

My problem is that attempts to read the data back, always fail:

# tar tzf /dev/acd0
tar: Error opening archive: Error reading '/dev/acd0': Input/output error
# ls -l /dev/*cd*
crw-r-  1 root  operator0,  93 Jan  3 10:33 /dev/acd0
crw-r-  1 root  operator0, 127 Dec 30 14:26 /dev/acd0t01

No errors are shown in /var/log/messages.

I have also tried writing an ISO9660 image and mounting it, with similar 
problems at mount time.


The above said, I am able to create CD-R data disks and mount them or otherwise 
use them. I have tried several different CD-RW media, and played with -s (the 
media is rated as 12x), but have observed no changes.


Can anyone suggest solutions?

Thanks in advance - Marc
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"