Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

kernel/3127: Sony CD-RW CRX140E missing interrupt errors

From: Alex Cichowski <e12(at)tfz.net>
Date: Sun Mar 02 2003 - 00:01:32 EST


>Number: 3127
>Category: kernel
>Synopsis: Sony CD-RW CRX140E causes missing interrupt errors
>Confidential: no
net
>Environment:

	System      : OpenBSD-current (Feb 16 snapshot)
	Architecture: OpenBSD.i386
	Machine     : i386

>Description:

The problem occurs with a CD-RW drive OpenBSD detects as a "SONY CD-RW CRX140E". After reading some amount of data from the drive (it can work normally for 5 to 10 minutes), I get an I/O error with the kernel messages "timeout" and "bus-master DMA error: missing interrupt".

I have included full output below. The output is from a February 16 snapshot bsd.rd. The same problem occurs with a normal 3.2 release installation. The drive works normally under other OSes.

>How-To-Repeat:

booting wd0d:/bsd.rd.feb16: 2211840+1884160+696564+[85716+105036]=0x5c0a1c start=0xd0100020 entry point at 0x100020

Copyright (c) 1982, 1986, 1989, 1991, 1993

        The Regents of the University of California. All rights reserved. Copyright (c) 1995-2003 OpenBSD. All rights reserved. http://www.OpenBSD.org

OpenBSD 3.3-beta (RAMDISK_CD) #543: Sat Feb 15 10:59:27 MST 2003

    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/RAMDISK_CD cpu0: Intel Pentium III (Coppermine) ("GenuineIntel" 686-class) 648 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SYS,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SIMD real mem = 133541888 (130412K)
avail mem = 118779904 (115996K)
using 1655 buffers containing 6778880 bytes (6620K) of memory mainbus0 (root)
bios0 at mainbus0: AT/286+(00) BIOS, date 04/19/01, BIOS32 rev. 0 @ 0xfda74 apm0 at bios0: Power Management spec V1.2 pcibios0 at bios0: rev. 2.1 @ 0xf0000/0x10000

pcibios0: PCI IRQ Routing Table rev. 1.0 @ 0xf2f60/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB PCI-ISA" rev 0x00)
pcibios0: PCI bus #2 is the last bus

bios0: ROM list: 0xc0000/0x9c00
pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82820 MCH" rev 0x03: rng active, 7Kb/sec ppb0 at pci0 dev 1 function 0 "Intel 82820 AGP" rev 0x03 pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "Nvidia Riva TNT2" rev 0x11 wsdisplay0 at vga1: console (80x25, vt100 emulation) ppb1 at pci0 dev 30 function 0 "Intel 82801AA Hub-to-PCI" rev 0x02 pci2 at ppb1 bus 2
"Ensoniq AudioPCI97" rev 0x06 at pci2 dev 7 function 0 not configured
"Creative Labs SoundBlaster Audigy" rev 0x03 at pci2 dev 9 function 0 not configured
"Creative Labs SoundBlaster Audigy Digital Input" rev 0x03 at pci2 dev 9 function 1 not configured
"Creative Labs Firewire" rev 0x00 at pci2 dev 9 function 2 not configured
"Brooktree BT878" rev 0x11 at pci2 dev 11 function 0 not configured
"Brooktree BT878 Audio" rev 0x11 at pci2 dev 11 function 1 not configured
dc0 at pci2 dev 12 function 0 "Lite-On PNIC" rev 0x20: irq 11 address 00:a0:cc:50:c5:c2 bmtphy0 at dc0 phy 1: BCM5201 10/100 media interface, rev. 2 pcib0 at pci0 dev 31 function 0 "Intel 82801AA LPC" rev 0x02 pciide0 at pci0 dev 31 function 1 "Intel 82801AA IDE" rev 0x02: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <WDC WD600BB-00CAA1> wd0: 16-sector PIO, LBA, 57241MB, 16383 cyl, 16 head, 63 sec, 117231408 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <E-IDE, CD-ROM 48X/AKU, T30> SCSI0 5/cdrom removable atapiscsi1 at pciide0 channel 1 drive 1
scsibus1 at atapiscsi1: 2 targets
cd1 at scsibus1 targ 0 lun 0: <SONY, CD-RW CRX140E, 1.0n> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 cd1(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 31 function 2 "Intel 82801AA USB" rev 0x02: irq 10 usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: vendor 0x0000 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered "Intel 82801AA SMBus" rev 0x02 at pci0 dev 31 function 3 not configured isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask c440 netmask cc40 ttymask cc42
rd0: fixed, 3560 blocks
root on rd0a
rootdev=0x1100 rrootdev=0x2f00 rawdev=0x2f02 erase ^?, werase ^W, kill ^U, intr ^C, status ^T (I)nstall, (U)pgrade or (S)hell? s
# cd /dev
# sh MAKEDEV cd1
# cat /dev/cd1c >/dev/null
cd1(pciide0:1:1): timeout
	type: atapi
	c_bcount: 2048
	c_skip: 0

pciide0:1:1: bus-master DMA error: missing interrupt, status=0x61 pciide0:1:1: soft reset failed
cat: /dev/cd1c: Input/output error
# cat /dev/cd1c >/dev/null
cd1(pciide0:1:1): timeout
	type: atapi
	c_bcount: 2048
	c_skip: 0

pciide0:1:1: bus-master DMA error: missing interrupt, status=0x61 pciide0:1:1: soft reset failed
cat: /dev/cd1c: Input/output error

Note: the same problem still occurs with the other CD drive removed. The only difference in the output is that the "bus-master DMA error" line has status=0x21 instead of 0x61.

Do you need help?X

>Fix:

Unknown

>Release-Note:
Received on Sun Mar 2 14:11:03 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 13:29:51 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library