Skip site navigation (1)Skip section navigation (2)
Date:      6 Feb 2001 18:51:48 -0000
From:      Jeff <jeff@drunkenchipmunk.com>
To:        freebsd-scsi@freebsd.org
Subject:   SCSI errors with adv0 adapter and SAF CD-R8020
Message-ID:  <20010206185148.67754.qmail@adsl-63-193-27-229.dsl.snfc21.pacbell.net>

next in thread | raw e-mail | index | archive | help

I'm hoping someone can help shed some light on this problem.

I am running FreeBSD 4.2-RELEASE and trying to use cdrecord 1.9 (from
a freshly cvsup'd ports collection). The problems occur below with the
stock generic kernel, and also with custom kernel with "options
_KPOSIX_VERSION=199309L" line added in for priority scheduling (some
discussions suggest this is helpful for cdrecord to work properly)

The CD burner is a Smart And Friendly 8020 8x's writer. Relevant
output from dmesg:
----------
adv0: <AdvanSys ASC3030/50 SCSI controller> port 0xa800-0xa8ff mem 0xe1000000-0x10000ff irq 10 at device 10.0 on pci0
adv0: Warning EEPROM Checksum mismatch. Using default device parameters
adv0: AdvanySys SCSI Host Adapter, SCSI ID 7, queue depth 16
...
cd0 at adv0 bus 0 target 6 lun 0
cd0: <SAF CD-R8020 1.24> Removable CD-ROM SCSI-2 device
cd0: 10.000MB/s transfers (10.000MHz, offset 8)
----------

I have a 429142016 byte (~429M) .iso file (created with mkisofs) I'm
trying to burn, so I run the following as root:

cdrecord device=0,6,0 speed=4 mybackup.iso

I have also tried with speed values of 1 and 8, with the same results.
cdrecord starts up, the 'write' light on the cd burner comes on, the
'read' light flashes; a minute or two thereafter, I get the following
output:

(pass0:adv0:0:6:0): Timed out
(pass0:adv0:0:6:0): Attempting abort
(pass0:adv0:0:6:0): Timed out
(pass0:adv0:0:6:0): Resetting bus
adv0: No longer in timeout
cdrecord: Input/output error. write_g1: scsi sendcmd: cmd timeout after 42.200 (40) s
CDB: 2A 00 00 00 5E 36 00 00 1F 00
write track data: error after 49393664 bytes
Sense Bytes: 70 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 00
cdrecord: Input/output error. flush cache: scsi sendcmd: retryable error
CDB: 35 00 00 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 06 00 00 00 00 0A 00 00 00 00 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)
resid: 14
cmd finished after 0.001s timeout 120s
Trouble flushing the cache
cdrecord: Input/output error. close track/session: scsi sencmd: retryable error
CDB: 5B 00 02 00 00 00 00 00 00 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 72 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x72 Qual 0x04 (empty or partially written reserved track) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.001s timeout 480s

In the error output above, it seems to have written about 49M before
dying. Sometimes it gets to about 100M, it seems to vary a great deal.

Has anyone seen errors like this? I'm assuming the
"(pass0:adv0:0:6:0): Timed out" messages are kernel-level output: does
this suggest SCSI driver or subsystem issues? The device works
properly under Windows NT. If these are timeouts, are there values I
can tune somewhere to fix/prevent them? I have a small stack of failed
cd-r's lying uselessly in the trash, it's been frustrating.

Thanks for any help,
Jeff


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010206185148.67754.qmail>