Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2001 17:24:05 -0800 (PST)
From:      jeff@drunkenchipmunk.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/24916: SCSI timeout errors with adv0 driver (Advansys) and SAF CD-R8020 cd writer
Message-ID:  <200102070124.f171O5H24320@freefall.freebsd.org>

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


>Number:         24916
>Category:       i386
>Synopsis:       SCSI timeout errors with adv0 driver (Advansys) and SAF CD-R8020 cd writer
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 06 17:30:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Jeffrey Chiu
>Release:        4.2-RELEASE
>Organization:
>Environment:
FreeBSD pinto.dhs.org 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Tue Feb  6 00:58:21 GMT 2001     root@pinto.dhs.org:/usr/src/sys/compile/PINTO  i386
>Description:
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.
The motherboard is an Asus P2B, Award BIOS rev 1006.
Complete dmesg output:

----------
Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.2-RELEASE #0: Tue Feb  6 00:58:21 GMT 2001
    root@pinto.dhs.org:/usr/src/sys/compile/PINTO
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (350.80-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 134205440 (131060K bytes)
avail memory = 126111744 (123156K bytes)
Preloaded elf kernel "kernel" at 0xc0477000.
Pentium Pro MTRR support enabled
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <ATI Mach64-GB graphics accelerator> at 0.0 irq 11
isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xb800-0xb80f at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xb400-0xb41f irq 5 at device 4.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
chip1: <Intel 82371AB Power management controller> port 0xe800-0xe80f at device 4.3 on pci0
pcm0: <AudioPCI ES1371> port 0xb000-0xb03f irq 5 at device 9.0 on pci0
adv0: <AdvanSys ASC3030/50 SCSI controller> port 0xa800-0xa8ff mem 0xe1000000-0xe10000ff irq 10 at device 10.0 on pci0
adv0: Warning EEPROM Checksum mismatch. Using default device parameters
adv0: AdvanSys SCSI Host Adapter, SCSI ID 7, queue depth 16
dc0: <Intel 21143 10/100BaseTX> port 0xa400-0xa47f mem 0xe0800000-0xe08003ff irq 11 at device 12.0 on pci0
dc0: Ethernet address: 00:c0:f0:3c:40:1a
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model MouseMan+, device ID 0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: IEEE1284 device found /NIBBLE
Probing for PnP devices on ppbus0:
ppbus0: <Hewlett-Packard HP LaserJet 5L/0101.03> HP ENHANCED PCL5,PJL
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 10300MB <Maxtor 91080D5> [20928/16/63] at ata0-master UDMA33
ad2: 4112MB <WDC AC24300L> [8912/15/63] at ata1-master UDMA33
acd0: CDROM <ATAPI CDROM> at ata1-slave using PIO4
Waiting 15 seconds for SCSI devices to settle
Mounting root from ufs:/dev/ad0s1a
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)
cd0: cd present [150 x 2048 byte records]
----------

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

>How-To-Repeat:
Problem occurs consistently, although sometimes cdrecord writes more
or less data than shown in the example output, before failure.


>Fix:
No fix known to me. I have tried various "speed" option values for
cdrecord with no success.

>Release-Note:
>Audit-Trail:
>Unformatted:


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




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