ata(4) problem (unable to burn CDs)
Conrad J. Sabatier
conrads at cox.net
Tue Jan 8 21:19:38 PST 2008
On Sat, 5 Jan 2008 10:59:02 +0200 (EET)
Mario Pavlov <freebsd at abv.bg> wrote:
> Hi guys,
> I'm experiencing problems with my DVD burner. I can't burn CDs.
> When I start k3b and load some data and start the burning it just
> never starts writing and I'm getting the fallowing errors in the
> messages log
>
>
> Jan 5 09:59:15 e-soul kernel: acd0: FAILURE - READ_DVD_STRUCTURE
> ILLEGAL REQUEST asc=0x30 ascq=0x02 Jan 5 09:59:15 e-soul kernel:
> acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00
> sks=0x40 0x00 0x02 Jan 5 09:59:17 e-soul last message repeated 3
> times Jan 5 09:59:19 e-soul kernel: acd0: FAILURE - READ_TOC ILLEGAL
> REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x02 Jan 5 09:59:19 e-soul
> kernel: acd0: FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24
> ascq=0x00 sks=0x40 0x00 0x02 Jan 5 09:59:19 e-soul kernel: acd0:
> FAILURE - MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40
> 0x00 0x02 Jan 5 10:02:45 e-soul kernel: acd0: FAILURE - WRITE_BIG
> timed out Jan 5 10:06:17 e-soul kernel: acd0: FAILURE - WRITE_BIG
> timed out Jan 5 10:06:25 e-soul kernel: acd0: FAILURE -
> MODE_SENSE_BIG ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x02
> Jan 5 10:06:25 e-soul kernel: acd0: FAILURE - MODE_SENSE_BIG ILLEGAL
> REQUEST asc=0x24 ascq=0x00 sks=0x40 0x00 0x02
>
>
>
> and this is the k3b debug output after I hit cancel
>
>
>
> System
> -----------------------
> K3b Version: 1.0.4
>
> KDE Version: 3.5.8
> QT Version: 3.3.8
> Kernel: 7.0-PRERELEASE
> Devices
> -----------------------
> HL-DT-ST DVDRAM GSA-H62N CL00 (/dev/cd0, ) [CD-R, CD-RW, CD-ROM,
> DVD-ROM, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL] [DVD-ROM,
> DVD-R Sequential, DVD-R Dual Layer Sequential, DVD-R Dual Layer Jump,
> DVD-RAM, DVD-RW Restricted Overwrite, DVD-RW Sequential, DVD+RW,
> DVD+R, DVD+R Dual Layer, CD-ROM, CD-R, CD-RW] [SAO, TAO, RAW,
> SAO/R96P, SAO/R96R, RAW/R16, RAW/R96P, RAW/R96R, Restricted
> Overwrite, Layer Jump]
>
> Used versions
> -----------------------
> cdrecord: 2.1
>
> cdrecord
> -----------------------
> /usr/local/bin/cdrecord: Operation not permitted. WARNING: Cannot set
> RR-scheduler /usr/local/bin/cdrecord: Permission denied. WARNING:
> Cannot set priority using setpriority(). /usr/local/bin/cdrecord:
> WARNING: This causes a high risk for buffer underruns. scsidev:
> '4,0,0' scsibus: 4 target: 0 lun: 0
> SCSI buffer size: 64512
> /usr/local/bin/cdrecord: This version of cdrecord does not include
> DVD-R/DVD-RW support code. /usr/local/bin/cdrecord: If you need
> DVD-R/DVD-RW support, ask the Author for
> cdrecord-ProDVD. /usr/local/bin/cdrecord: Free test versions and free
> keys for personal use are at
> ftp://ftp.berlios.de/pub/cdrecord/ProDVD/ Cdrecord-Clone 2.01
> (amd64-unknown-freebsd7.0) Copyright (C) 1995-2004 Jörg
> Schilling TOC Type: 1 = CD-ROM Using libscg version 'schily-0.8'.
> Driveropts: 'burnfree' atapi: 0 Device type : Removable CD-ROM
> Version : 0
> Response Format: 2
> Capabilities :
> Vendor_info : 'HL-DT-ST'
> Identifikation : 'DVDRAM GSA-H62N '
> Revision : 'CL00'
> Device seems to be: Generic mmc2 DVD-R/DVD-RW.
> Current: 0x0009
> Profile: 0x0012
> Profile: 0x0011
> Profile: 0x0015
> Profile: 0x0016
> Profile: 0x0014
> Profile: 0x0013
> Profile: 0x001A
> Profile: 0x001B
> Profile: 0x002B
> Profile: 0x0010
> Profile: 0x0009 (current)
> Profile: 0x000A
> Profile: 0x0008
> Profile: 0x0002
> 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 Drive buf size : 1053696 = 1029 KB
> Drive DMA Speed: 5634 kB/s 32x CD 4x DVD
> FIFO size : 4194304 = 4096 KB
> /usr/local/bin/cdrecord: Operation not permitted. WARNING: Cannot set
> RR-scheduler /usr/local/bin/cdrecord: Permission denied. WARNING:
> Cannot set priority using setpriority(). /usr/local/bin/cdrecord:
> WARNING: This causes a high risk for buffer
> underruns. /usr/local/bin/cdrecord: DMA speed too slow (OK for 26x).
> Cannot write at speed 48x. Track 01: data 671 MB Total size:
> 770 MB (76:22.93) = 343720 sectors Lout start: 771 MB (76:24/70)
> = 343720 sectors Current Secsize: 2048
> ATIP info from disk:
> Indicated writing power: 4
> Is not unrestricted
> Is not erasable
> Disk sub type: Medium Type A, low Beta category (A-) (2)
> ATIP start of lead in: -12508 (97:15/17)
> ATIP start of lead out: 359845 (79:59/70)
> Disk type: Short strategy type (Phthalocyanine or similar)
> Manuf. index: 22
> Manufacturer: Ritek Co.
> Blocks total: 359845 Blocks current: 359845 Blocks remaining: 16125
> Starting to write CD/DVD at speed 48 in real SAO mode for single
> session. Last chance to quit, starting real write in 2 seconds.
> 1 seconds.
> 0 seconds. Operation starts.
> Waiting for reader process to fill input buffer ... input buffer
> ready. BURN-Free is ON.
> Performing OPC...
> Sending CUE sheet...
> /usr/local/bin/cdrecord: WARNING: Drive returns wrong startsec (0)
> using -150 /usr/local/bin/cdrecord: Input/output error. write_g1:
> scsi sendcmd: cmd timeout after 206.695 (200) s CDB: 2A 00 FF FF FF
> 6A 00 00 1F 00 cmd finished after 206.695s timeout 200s
> /usr/local/bin/cdrecord: Input/output error. read buffer cap: scsi
> sendcmd: retryable error CDB: 5C 00 00 00 00 00 00 00 0C 00
> status: 0x2 (CHECK CONDITION)
> Sense Bytes: 70 00 06 00 00 00 00 0A 00 00 00 80 29 00 00 00 00 00 00
> 00 00 00 00 00 00 00 00 00 00 00 00 00 Sense Key: 0x6 Unit Attention,
> Segment 0 Sense Code: 0x29 Qual 0x00 (power on, reset, or bus device
> reset occurred) Fru 0x0 Sense flags: Blk 0 (not valid)
> cmd finished after 5.095s timeout 200s
> Writing pregap for track 1 at -150
> write track pad data: error after 0 bytes
> Starting new track at sector: 0
> Track 01: 0 of 671 MB written.
> /usr/local/bin/cdrecord: faio_wait_on_buffer for writer timed out.
> /usr/local/bin/cdrecord: Caught interrupt.
> Track 01: data 671 MB
> Total size: 770 MB (76:22.93) = 343720 sectors
> Lout start: 771 MB (76:24/70) = 343720 sectors
> Current Secsize: 2048
> ATIP info from disk:
> Indicated writing power: 4
> Is not unrestricted
> Is not erasable
> Disk sub type: Medium Type A, low Beta category (A-) (2)
> ATIP start of lead in: -12508 (97:15/17)
> ATIP start of lead out: 359845 (79:59/70)
> Disk type: Short strategy type (Phthalocyanine or similar)
> Manuf. index: 22
> Manufacturer: Ritek Co.
> Blocks total: 359845 Blocks current: 359845 Blocks remaining: 16125
> Writing time: 426.405s
> /usr/local/bin/cdrecord: fifo had 64 puts and 1 gets.
> /usr/local/bin/cdrecord: fifo was 0 times empty and 0 times full, min
> fill was 100%.
>
> cdrecord command:
> -----------------------
> /usr/local/bin/cdrecord -v gracetime=2 dev=4,0,0 speed=48 -dao
> driveropts=burnfree -eject -data -tsize=343720s -
>
> cdrecord is complaining about permissions but I have this
> in /etc/devfs.conf
>
> perm cdrom 0666
> own cdrom root:operator
> link cd0 cdwriter
> perm cdwriter 0666
> own cdwriter root:operator
> perm pass0 0666
> own pass0 root:operator
> perm xpt0 0666
> own xpt0 root:operator
Not sure why you're changing ownerships on some of those devices.
Here's my own /etc/devfs.conf:
# Commonly used by many ports
link acd0 dvd
link acd1 cdrom
# Enable R/W for owner/group
perm acd0 0660
perm acd1 0660
own acd0 root:wheel
own acd1 root:wheel
# Allow a user in the wheel group to query the smb0 device
perm smb0 0660
# For sysutils/k3b
perm pass6 0660
perm pass7 0660
perm xpt0 0660
perm cd0 0660
perm cd1 0660
own cd0 root:wheel
own cd1 root:wheel
# The following are for using dd to read raw tracks from CD
perm acd0t01 0660
perm acd0t02 0660
perm acd0t03 0660
perm acd0t04 0660
perm acd0t05 0660
perm acd0t06 0660
perm acd0t07 0660
perm acd0t08 0660
perm acd0t09 0660
perm acd0t10 0660
perm acd0t11 0660
perm acd0t12 0660
perm acd0t13 0660
perm acd0t14 0660
perm acd0t15 0660
perm acd0t16 0660
perm acd0t17 0660
perm acd0t18 0660
perm acd0t19 0660
perm acd0t20 0660
perm acd0t21 0660
perm acd0t22 0660
perm acd0t23 0660
perm acd0t24 0660
perm acd0t25 0660
perm acd0t26 0660
perm acd0t27 0660
perm acd0t28 0660
perm acd0t29 0660
perm acd0t30 0660
perm acd0t31 0660
perm acd0t32 0660
perm acd0t33 0660
perm acd0t34 0660
perm acd0t35 0660
perm acd0t36 0660
perm acd0t37 0660
perm acd0t38 0660
perm acd0t39 0660
perm acd0t40 0660
perm acd0t41 0660
perm acd0t42 0660
perm acd0t43 0660
perm acd0t44 0660
perm acd0t45 0660
perm acd0t46 0660
perm acd0t47 0660
perm acd0t48 0660
perm acd0t49 0660
perm acd0t50 0660
perm acd0t51 0660
perm acd0t52 0660
perm acd0t53 0660
perm acd0t54 0660
perm acd0t55 0660
perm acd0t56 0660
perm acd0t57 0660
perm acd0t58 0660
perm acd0t59 0660
perm acd0t60 0660
perm acd0t61 0660
perm acd0t62 0660
perm acd0t63 0660
perm acd0t64 0660
perm acd0t65 0660
perm acd0t66 0660
perm acd0t67 0660
perm acd0t68 0660
perm acd0t69 0660
perm acd0t70 0660
perm acd0t71 0660
perm acd0t72 0660
perm acd0t73 0660
perm acd0t74 0660
perm acd0t75 0660
perm acd0t76 0660
perm acd0t77 0660
perm acd0t78 0660
perm acd0t79 0660
perm acd0t80 0660
perm acd0t81 0660
perm acd0t82 0660
perm acd0t83 0660
perm acd0t84 0660
perm acd0t85 0660
perm acd0t86 0660
perm acd0t87 0660
perm acd0t88 0660
perm acd0t89 0660
perm acd0t90 0660
perm acd0t91 0660
perm acd0t92 0660
perm acd0t93 0660
perm acd0t94 0660
perm acd0t95 0660
perm acd0t96 0660
perm acd0t97 0660
perm acd0t98 0660
perm acd0t99 0660
perm acd1t01 0660
perm acd1t02 0660
perm acd1t03 0660
perm acd1t04 0660
perm acd1t05 0660
perm acd1t06 0660
perm acd1t07 0660
perm acd1t08 0660
perm acd1t09 0660
perm acd1t10 0660
perm acd1t11 0660
perm acd1t12 0660
perm acd1t13 0660
perm acd1t14 0660
perm acd1t15 0660
perm acd1t16 0660
perm acd1t17 0660
perm acd1t18 0660
perm acd1t19 0660
perm acd1t20 0660
perm acd1t21 0660
perm acd1t22 0660
perm acd1t23 0660
perm acd1t24 0660
perm acd1t25 0660
perm acd1t26 0660
perm acd1t27 0660
perm acd1t28 0660
perm acd1t29 0660
perm acd1t30 0660
perm acd1t31 0660
perm acd1t32 0660
perm acd1t33 0660
perm acd1t34 0660
perm acd1t35 0660
perm acd1t36 0660
perm acd1t37 0660
perm acd1t38 0660
perm acd1t39 0660
perm acd1t40 0660
perm acd1t41 0660
perm acd1t42 0660
perm acd1t43 0660
perm acd1t44 0660
perm acd1t45 0660
perm acd1t46 0660
perm acd1t47 0660
perm acd1t48 0660
perm acd1t49 0660
perm acd1t50 0660
perm acd1t51 0660
perm acd1t52 0660
perm acd1t53 0660
perm acd1t54 0660
perm acd1t55 0660
perm acd1t56 0660
perm acd1t57 0660
perm acd1t58 0660
perm acd1t59 0660
perm acd1t60 0660
perm acd1t61 0660
perm acd1t62 0660
perm acd1t63 0660
perm acd1t64 0660
perm acd1t65 0660
perm acd1t66 0660
perm acd1t67 0660
perm acd1t68 0660
perm acd1t69 0660
perm acd1t70 0660
perm acd1t71 0660
perm acd1t72 0660
perm acd1t73 0660
perm acd1t74 0660
perm acd1t75 0660
perm acd1t76 0660
perm acd1t77 0660
perm acd1t78 0660
perm acd1t79 0660
perm acd1t80 0660
perm acd1t81 0660
perm acd1t82 0660
perm acd1t83 0660
perm acd1t84 0660
perm acd1t85 0660
perm acd1t86 0660
perm acd1t87 0660
perm acd1t88 0660
perm acd1t89 0660
perm acd1t90 0660
perm acd1t91 0660
perm acd1t92 0660
perm acd1t93 0660
perm acd1t94 0660
perm acd1t95 0660
perm acd1t96 0660
perm acd1t97 0660
perm acd1t98 0660
perm acd1t99 0660
[snip]
>
> this was all working on my previous machine running 7.0 BETA-3 for
> i386
>
> I've tested this DVD burner on windows and it's working
>
> anyone having the same problem ?
I'm thinking that some of this may be due to improper permissions on
some of the executables used by k3b. The pkg-message for k3b mentions
a number of things you should do to ensure proper functioning, such as
setting some programs suid root.
Try doing the following and make sure you haven't overlooked any of the
suggestions it mentions:
$ cd /usr/ports/sysutils/k3b && make showinfo
Hope this helps.
--
Conrad J. Sabatier <conrads at cox.net>
"Procrastinate now; don't put it off." -- Ellen Degeneres
More information about the freebsd-amd64
mailing list