The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Meelis Roos <mroos@linux.ee>
To: Linux Kernel list <linux-kernel@vger.kernel.org>
Cc: Jens Axboe <axboe@suse.de>
Subject: ide-cd problem in 2.6.12-rc5 + todays snapshot
Date: Thu, 26 May 2005 18:31:39 +0300 (EEST)	[thread overview]
Message-ID: <Pine.SOC.4.61.0505261816190.28439@math.ut.ee> (raw)

Background: I have a Sony CDU5211 CD drive with Intel D815EEA2 mainboard 
(ICH2 IDE in 815 chipset). Since 2.4.21 timeframe IDE DMA for this CD 
drive is broken (see my post 
http://www.ussg.iu.edu/hypermail/linux/kernel/0410.3/0480.html). This 
happens on at least 2 identical machines. This is the first problem 
(that I have learned to live with).

Now, since ide-cd dma is broken, the first access to cd always gets DMA 
timeout and turns off DMA, then it works. I have hddtemp installed and 
it probes for drives on boot. In 2.6.12 (and I think I tested pristine 
2.6.12-rc5 too) the cd works as before - dma timeout+disable on first 
access (by hddtemp).

Now, in 2.6.12-rc5 + todays git snapshot, it does not work any more. I 
suspect the DMA alignment change.

In 2.6.12-rc2 the dmesg from hddtemp was

hdc: DMA disabled
hdc: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hdc: drive_cmd: error=0x04 { AbortedCommand }
ide: failed opcode was: 0xb0

In todays snapshot, the dmesg is

hdc: DMA interrupt recovery
hdc: lost interrupt
hdc: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hdc: DMA disabled
hdc: drive not ready for command
hdc: ATAPI reset complete
cdrom_pc_intr, write: dev hdc: flags = REQ_STARTED REQ_PC REQ_QUIET
sector 0, nr/cnr 0/0
bio 00000000, biotail 00000000, buffer 00000000, data 00000000, len 0
cdb: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
hdc: cdrom_pc_intr: The drive appears confused (ireason = 0x02)
hdc: lost interrupt
cdrom_pc_intr, write: dev hdc: flags = REQ_STARTED REQ_PC REQ_FAILED REQ_QUIET
sector 0, nr/cnr 0/0
bio 00000000, biotail 00000000, buffer 00000000, data 00000000, len 0
cdb: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
hdc: cdrom_pc_intr: The drive appears confused (ireason = 0x02)
hdc: lost interrupt
cdrom_pc_intr, write: dev hdc: flags = REQ_STARTED REQ_PC REQ_FAILED REQ_QUIET
sector 0, nr/cnr 0/0
bio 00000000, biotail 00000000, buffer 00000000, data 00000000, len 0
cdb: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
hdc: cdrom_pc_intr: The drive appears confused (ireason = 0x02)
hdc: lost interrupt
cdrom_pc_intr, write: dev hdc: flags = REQ_STARTED REQ_PC REQ_FAILED REQ_QUIET
sector 0, nr/cnr 0/0
bio 00000000, biotail 00000000, buffer 00000000, data 00000000, len 0
cdb: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
hdc: cdrom_pc_intr: The drive appears confused (ireason = 0x02)

and so on ad infimum.

The messages are very similar to my earlier reported problems that were 
fixed:
http://www.ussg.iu.edu/hypermail/linux/kernel/0312.3/1003.html
http://www.ussg.iu.edu/hypermail/linux/kernel/0402.1/0459.html


-- 
Meelis Roos (mroos@linux.ee)

             reply	other threads:[~2005-05-26 15:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26 15:31 Meelis Roos [this message]
2005-05-26 16:00 ` ide-cd problem in 2.6.12-rc5 + todays snapshot Alan Cox
2005-05-26 17:14 ` Jens Axboe
2005-05-27  6:21   ` Jens Axboe
2005-05-27  7:01     ` Meelis Roos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.SOC.4.61.0505261816190.28439@math.ut.ee \
    --to=mroos@linux.ee \
    --cc=axboe@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox