can't use cdrecord on -current - lots of warnigs,
possible ATA_CAM issue?
Alexander Motin
mav at FreeBSD.org
Sat Jul 21 16:15:11 UTC 2012
On 17.07.2012 18:13, Anton Shterenlikht wrote:
> I thought this was a sparc64 issue,
> but marius@ advised to ask for help
> in this list.
>
> I've rebuild sysutils/cdrecord (I also tried sysutils/cdrecord-devel)
> multiple times.
>
> Thanks
>
> ----- Forwarded message from Anton Shterenlikht <mexas at bristol.ac.uk> -----
>
>
> # uname -a
> FreeBSD mech-anton240.men.bris.ac.uk 10.0-CURRENT FreeBSD 10.0-CURRENT #6 r235474: Tue Jul 17 13:52:07 BST 2012 root at mech-anton240.men.bris.ac.uk:/usr/obj/usr/src/sys/QOF sparc64
> #
>
> After updating to ATA_CAM framework
> I cannot use cdrecord:
>
> # cdrecord -dev=1,0,0 -sao /home/mexas/FreeBSD-8.1-RELEASE-ia64-livefs.iso
> Cdrecord-ProDVD-ProBD-Clone 3.01a07 (sparc64-unknown-freebsd10.0) Copyright (C)
> 1995-2012 Joerg Schilling
> scsidev: '1,0,0'
> scsibus: 1 target: 0 lun: 0
> Using libscg version 'schily-0.9'.
> Device type : Removable CD-ROM
> Version : 0
> Response Format: 2
> Capabilities :
> Vendor_info : 'TSSTcorp'
> Identifikation : 'CDW/DVD TS-H492C'
> Revision : 'SI00'
> Device seems to be: Generic mmc2 DVD-ROM.
> cdrecord: Warning: controller returns zero sized CD write parameter page.
> cdrecord: Warning: controller returns wrong size for CD write parameter page.
> cdrecord: Warning: controller returns wrong page 0 for CD write parameter page (
> 5).
> Using generic SCSI-3/mmc CD-R/CD-RW driver (mmc_cdr).
> Driver flags : MMC-3 SWABAUDIO BURNFREE
> Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R16 RAW/R96P RAW/R96R
> cdrecord: Warning: Cannot read drive buffer.
> cdrecord: Warning: The DMA speed test has been skipped.
> resid: 2
> resid: 24
> DMA overrun, resid: -24
> resid: 30
> cdrecord: Warning: controller returns zero sized CD write parameter page.
> cdrecord: Warning: controller returns wrong size for CD write parameter page.
> cdrecord: Warning: controller returns wrong page 0 for CD write parameter page (
> 5).
> cdrecord: Warning: controller returns zero sized CD write parameter page.
> cdrecord: Warning: controller returns wrong size for CD write parameter page.
> cdrecord: Warning: controller returns wrong page 0 for CD write parameter page (
> 5).
> cdrecord: Cannot init drive.
> #
>
>
> while on the console:
>
>
> ata3: unknown transfer phase
> ata3: WARNING - MODE_SENSE_BIG read data overrun 2>0
> ata3: WARNING - MODE_SENSE_BIG read data overrun 2>0
> ata3: WARNING - MODE_SENSE_BIG read data overrun 2>0
> ata3: WARNING - MODE_SENSE_BIG read data overrun 2>0
> ata3: WARNING - MODE_SENSE_BIG read data overrun 2>0
> ata3: WARNING - MODE_SENSE_BIG read data overrun 2>0
> ata3: WARNING - MODE_SENSE_BIG read data overrun 2>0
> ata3: WARNING - MODE_SENSE_BIG read data overrun 2>0
> ata3: WARNING - TEST_UNIT_READY read data overrun 2>0
> ata3: WARNING - TEST_UNIT_READY read data overrun 60>0
> ata3: WARNING - TEST_UNIT_READY read data overrun 10>0
> ata3: WARNING - READ_BUFFER read data overrun 4>0
> ata3: WARNING - START_STOP read data overrun 18>0
> ata3: WARNING - TEST_UNIT_READY read data overrun 16>0
> ata3: WARNING - READ_CAPACITY read data overrun 8>0
> ata3: WARNING - READ_TOC read data overrun 4>0
> ata3: WARNING - READ_TOC read data overrun 2>0
> ata3: WARNING - READ_DISK_INFO read data overrun 4>0
> ata3: WARNING - READ_DISK_INFO read data overrun 4>0
> ata3: WARNING - READ_DISK_INFO read data overrun 4>0
> ata3: WARNING - READ_DISK_INFO read data overrun 4>0
> ata3: WARNING - READ_DISK_INFO read data overrun 4>0
> ata3: WARNING - READ_DISK_INFO read data overrun 4>0
> ata3: WARNING - TEST_UNIT_READY read data overrun 34>0
> ata3: WARNING - TEST_UNIT_READY read data overrun 2>0
> ata3: WARNING - TEST_UNIT_READY read data overrun 2>0
> ata3: WARNING - TEST_UNIT_READY read data overrun 10>0
> ata3: WARNING - TEST_UNIT_READY read data overrun 2>0
> ata3: WARNING - TEST_UNIT_READY read data overrun 2>0
> ata3: WARNING - TEST_UNIT_READY read data overrun 2>0
> ata3: WARNING - TEST_UNIT_READY read data overrun 10>0
> ata3: WARNING - SYNCHRONIZE_CACHE read data overrun 2>0
>
>
> # dmesg|grep cd0
> cd0 at ata3 bus 0 scbus1 target 0 lun 0
> cd0: <TSSTcorp CDW/DVD TS-H492C SI00> Removable CD-ROM SCSI-0 device
> cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes)
> cd0: Attempt to query device size failed: NOT READY, Medium not present - tray c
> losed
> #
I can't reproduce your problem on my Sun Blade 100. I've fixed two other
problems in ata(4) I've found in process (r238666 and r238673) and now I
can successfully record CD with both cdrtools and cdrtools-devel.
Try to update your system and retest. If not, the only other idea - make
sure your world and kernel are consistent.
--
Alexander Motin
More information about the freebsd-scsi
mailing list