From nobody@FreeBSD.org  Mon Mar 13 23:42:05 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id ADD1716A400
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Mar 2006 23:42:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 642B443D49
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Mar 2006 23:42:05 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2DNg4BG044514
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 13 Mar 2006 23:42:05 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k2DNg4MS044496;
	Mon, 13 Mar 2006 23:42:04 GMT
	(envelope-from nobody)
Message-Id: <200603132342.k2DNg4MS044496@www.freebsd.org>
Date: Mon, 13 Mar 2006 23:42:04 GMT
From: Arno Klaassen <arno@heho.snv.jussieu.fr>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Cannot blank CDs with Samsung TS-L532A
X-Send-Pr-Version: www-2.3

>Number:         94426
>Category:       kern
>Synopsis:       [ata] [burncd]: Cannot blank CDs with Samsung TS-L532A
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 13 23:50:15 GMT 2006
>Closed-Date:    Mon Dec 25 15:19:57 GMT 2006
>Last-Modified:  Mon Dec 25 15:20:09 GMT 2006
>Originator:     Arno Klaassen
>Release:        6.1-PRERELEASE
>Organization:
INSERM U572
>Environment:
FreeBSD demo 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Mon Mar 13 21:11:02 CET 2006     toor@demo:/files/amd64/obj/files/bsd/src6/sys/D470K  amd64
>Description:
When blanking a CDRW, progress gets to about 2%, than nothing happens but the
IDE-LED remains 100% on, and eventually the systems panics (on a
detach-atipi-cd)

Relevant part of dmesg :

######

atapci0: <VIA 8235 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1c60-0x1c6f at device 17.1 on pci0
atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x1c60
ata0: <ATA channel 0> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
ata0: reset tp1 mask=03 ostat0=50 ostat1=00
ata0: stat0=0x50 err=0x01 lsb=0x00 msb=0x00
ata0: stat1=0x00 err=0x01 lsb=0x00 msb=0x00
ata0: reset tp2 stat0=50 stat1=00 devices=0x1<ATA_MASTER>
ioapic0: routing intpin 14 (ISA IRQ 14) to vector 53
ata0: [MPSAFE]
ata1: <ATA channel 1> on atapci0
atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
ata1: reset tp1 mask=03 ostat0=50 ostat1=00
ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
ata1: stat1=0x00 err=0x04 lsb=0x00 msb=0x00
ata1: reset tp2 stat0=00 stat1=00 devices=0x4<ATAPI_MASTER>
ioapic0: routing intpin 15 (ISA IRQ 15) to vector 54
ata1: [MPSAFE]
ata0-master: pio=PIO4 wdma=WDMA2 udma=UDMA100 cable=80 wire
ad0: setting PIO4 on 8235 chip
ad0: setting UDMA100 on 8235 chip
ad0: 76351MB <SAMSUNG MP0804H YS200-04> at ata0-master UDMA100
ad0: 156368016 sectors [155127C/16H/63S] 16 sectors/interrupt 1 depth queue
GEOM: new disk ad0
ad0: VIA check1 failed
ad0: Adaptec check1 failed
ad0: LSI (v3) check1 failed
ad0: LSI (v2) check1 failed
ad0: FreeBSD check1 failed
ata1-master: pio=PIO4 wdma=WDMA2 udma=UDMA33 cable=80 wire
acd0: setting PIO4 on 8235 chip
acd0: setting UDMA33 on 8235 chip
acd0: <TSSTcorpCD/DVDW TS-L532A/TI50> DVDR drive at ata1 as master
acd0: read 4134KB/s (4134KB/s) write 4134KB/s (4134KB/s), 2048KB buffer, UDMA33
acd0: Reads: CDR, CDRW, CDDA stream, DVDROM, DVDR, DVDRAM, packet
acd0: Writes: CDR, CDRW, DVDR, test write, burnproof
acd0: Audio: play, 16 volume levels
acd0: Mechanism: ejectable tray, unlocked
acd0: Medium: no/blank disc

#####

standard kernel-config with following additions :

device cpufreq
device tap
#device atapicam
device sound
device smbus
device iicbus
device iicsmb

options NTFS
options TCP_DROP_SYNFIN

Adding or leaving out atipicam has no influence,
nor does forcing PIO behaviour by hw.ata.atapi_dma=0



>How-To-Repeat:
burncd -f /dev/acd0 blank
>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: bms 
State-Changed-When: Mon Sep 25 18:46:30 UTC 2006 
State-Changed-Why:  
Are you able to blank CDs OK using dvd+rw-tools and this drive? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94426 
State-Changed-From-To: feedback->closed 
State-Changed-By: remko 
State-Changed-When: Mon Dec 25 15:19:55 UTC 2006 
State-Changed-Why:  
Feedback timeout! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94426 
>Unformatted:
