From nick@specialix.com  Mon Jul 21 10:55:20 1997
Received: from relay1.UU.NET (relay1.UU.NET [192.48.96.5])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA28933
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 21 Jul 1997 10:55:18 -0700 (PDT)
Received: from slxinc.specialix.com by relay1.UU.NET with SMTP 
	(peer crosschecked as: slxinc.specialix.com [192.65.145.1])
	id QQczel14163; Mon, 21 Jul 1997 13:55:12 -0400 (EDT)
Received: from zephyr.specialix.com by specialix.com id aa08468;
          21 Jul 97 10:54 PDT
Received: by zephyr.specialix.com 
        (8.8.5//ident-1.0) id KAA00362; Mon, 21 Jul 1997 10:55:12 -0700 (PDT) 
Message-Id: <199707211755.KAA00362@zephyr.specialix.com>
Date: Mon, 21 Jul 1997 10:55:12 -0700 (PDT)
From: nsayer@quack.kfu.com
Reply-To: nsayer@quack.kfu.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: worm fails with 'write append error'
X-Send-Pr-Version: 3.2

>Number:         4136
>Category:       kern
>Synopsis:       worm fails with 'write append error'
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 21 11:00:06 PDT 1997
>Closed-Date:    Thu Jul 31 23:22:22 MEST 1997
>Last-Modified:  Thu Jul 31 23:22:54 MEST 1997
>Originator:     Nick Sayer
>Release:        FreeBSD 2.2.2-RELEASE i386
>Organization:
Just me
>Environment:

Copyright (c) 1992-1997 FreeBSD Inc.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California.  All rights reserved.

FreeBSD 2.2.2-RELEASE #4: Tue Jul  8 11:30:17 PDT 1997
    nick@zephyr.specialix.com:/usr/src/sys/compile/ZEPHYR
CPU: i486 DX2 (486-class CPU)
  Origin = "GenuineIntel"  Id = 0x435  Stepping=5
  Features=0x3<FPU,VME>
real memory  = 16777216 (16384K bytes)
avail memory = 14721024 (14376K bytes)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x300-0x31f irq 10 maddr 0xcc000 msize 16384 on isa
ed0: address 00:00:c0:e1:4e:57, type WD8013WC (16 bit) 
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
psm0 at 0x60-0x64 irq 12 on motherboard
psm0: device ID 0
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 not found at 0x1f0
aha0 at 0x330-0x333 irq 11 drq 5 on isa
(aha0:0:0): "QUANTUM FIREBALL1080S 630C" type 0 fixed SCSI 2
sd0(aha0:0:0): Direct-Access 1042MB (2134305 512 byte sectors)
(aha0:4:0): "HP CD-Writer 6020 1.07" type 5 removable SCSI 2
worm0(aha0:4:0): Write-Once 
npx0 flags 0x1 on motherboard
npx0: INT 16 interface
changing root device to sd0a
IP packet filtering initialized, divert enabled, logging limited to 100 packets/entry

aha0 is a 1542CP. Burning was done in single user mode to insure the
burner had the CPU's full attention.

>Description:

Dummy burn works perfectly. Real burn fails miserably after a couple
hundred K with

Jul 21 10:33:57 zephyr /kernel: worm0(aha0:4:0): ABORTED COMMAND asc:50,0 Write append error
Jul 21 10:33:58 zephyr /kernel: worm0(aha0:4:0): ABORTED COMMAND info:80005783 asc:50,0 Write append error

>How-To-Repeat:

wormcontrol select HP 4020i
wormcontrol prepdisk double dummy
wormcontrol track data
rtprio 5 team -v 1m 5 < cdr | rtprio 5 dd of=/dev/rworm0 obs=20k
wormcontrol fixate 1

works just fine. The same sequence without 'dummy' fails.

>Fix:
>Release-Note:
>Audit-Trail:

From: Nick Sayer <nick@specialix.com>
To: freebsd-gnats-submit@freebsd.org, nsayer@quack.kfu.com
Cc:  Subject: Re: kern/4136: worm fails with 'write append error'
Date: Fri, 25 Jul 1997 14:35:53 -0700

 This likely was media errors. I am able to burn just fine using
 other blank CD-Rs.
State-Changed-From-To: open->closed 
State-Changed-By: joerg 
State-Changed-When: Thu Jul 31 23:22:22 MEST 1997 
State-Changed-Why:  
Closed at Nick's request, see audit-trail. 
>Unformatted:
