Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jan 1999 18:58:07 +0100 (MET)
From:      Peter Brevik <pb@ludd.luth.se>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Atapi underrun, too tight wait ?
Message-ID:  <199901281758.SAA08205@father.ludd.luth.se>

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

    Hi,

I'm trying to read sectors from a atapi cdrom but it seems I get buffer
under run problems. Any ideas on how to solve this ?
I have a suspicion that the CPU is so fast (350 MHz) that it will loop some
delay somewhere. So that it timeout to early..

   /pb

Equipment:

CPU: Pentium II (quarter-micron) (348.49-MHz 686-class CPU)
Origin = "GenuineIntel"  Id = 0x651  Stepping=1
Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,
<b16>,<b17>,MMX,<b24>>


wdc1 at 0x170-0x177 irq 15 on isa
wdc1: unit 0 (atapi): <COMPAQ  CDR-8335/0008>, removable, accel, dma, iordy
wcd0: 1779/4134Kb/sec, 128Kb cache, audio play, 255 volume levels,
      ejectable tray
wcd0: no disc inside, unlocked
wcd0:  mode 2 form 1(XA) 2, multisession, CD-DA read stream, C2, ISRC, UPC

Problem:

Trying to read sectors from Atapi CD-Rom which results in errors like:
ar.result.code = 6 (data underrun)
ar.result.status = 88 <ready,opdone,drq,>

ar.result.code = 1 (i/o finished with error)
ar.result.status = 81 <ready,opdone,check,>
ar.result.error = 180 <ili,>

ar.result.code = 6 (data underrun)
ar.result.status = 88 <ready,opdone,drq,>

ar.result.code = 1 (i/o finished with error)
ar.result.status = 81 <ready,opdone,check,>
ar.result.error = 180 <ili,>

and so on..
(syslog:  wcd0: i/o error, status=51<ready,opdone,check>, error=b4<abort>)

Kernel:
  2.2.7


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



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