linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Albert Lee <albertcc@tw.ibm.com>
To: YUP <yupadmin@gmail.com>
Cc: linux-ide@vger.kernel.org
Subject: Re: libata: CD and dvd devices not recognized
Date: Thu, 15 Mar 2007 11:56:17 +0800	[thread overview]
Message-ID: <45F8C3E1.3080805@tw.ibm.com> (raw)
In-Reply-To: <45F873AC.6010204@gmail.com>

YUP wrote:
> Hello,
> 
> I have the folowing problem. I'm running kubuntu box with
> 2.6.20-10 kernel with ubuntu patches and my cdrom as well as dvd drive
> doesn't recognized at all. I've already reported this on kubuntu forum,
> but nobody can answer me. The link is here:
> http://kubuntuforums.net/forums/index.php?topic=3080227.0
> I also tried to compile generic kernels from kernel.org with the same
> result. Can anybody say what is going on with my hardware or kernel?
> Before 2.6.20 everything ran smoothly.
> 
> 
> My latest dmesg output:
> 
<snip>
> [   33.707293] SCSI subsystem initialized
> [   33.715511] libata version 2.00 loaded.
...
> [   33.926133] ata_piix 0000:00:1f.1: version 2.00ac7
> [   33.926178] PCI: Setting latency timer of device 0000:00:1f.1 to 64
> [   33.926324] ata1: PATA max UDMA/100 cmd 0x1F0 ctl 0x3F6 bmdma 0xF000
> irq 14
> [   33.926388] ata2: PATA max UDMA/100 cmd 0x170 ctl 0x376 bmdma 0xF008
> irq 15
> [   33.926412] scsi0 : ata_piix
> [   33.993985] FDC 0 is a post-1991 82077
> [   34.245729] ata1.00: ATAPI, max UDMA/33
> [   34.409478] ata1.01: ATAPI, max MWDMA2
> [   34.573238] ata1.00: configured for UDMA/33
> [   34.736993] ata1.01: configured for MWDMA2
> [   34.737023] scsi1 : ata_piix
> [   34.894993] scsi 0:0:0:0: CD-ROM            HP       DVD Writer 200j
>  1.36 PQ: 0 ANSI: 5
> [   34.896276] scsi 0:0:1:0: CD-ROM            E-IDE    CD-ROM 56X/AKH
>  A80  PQ: 0 ANSI: 5
> [   34.909780] tulip0:  MII transceiver #1 config 1000 status 786d
> advertising 05e1.
> [   34.917561] eth0: ADMtek Comet rev 17 at Port 0xb400,
> 00:04:5A:8A:55:7B, IRQ 21.
> [   34.917761] pata_pdc2027x 0000:02:01.0: version 0.74-ac5
> [   35.016968] pata_pdc2027x 0000:02:01.0: PLL input clock 16550 kHz
> [   35.051596] ata3: PATA max UDMA/133 cmd 0xE08297C0 ctl 0xE0829FDA
> bmdma 0xE0829000 irq 21
> [   35.051661] ata4: PATA max UDMA/133 cmd 0xE08295C0 ctl 0xE0829DDA
> bmdma 0xE0829008 irq 21
> [   35.051681] scsi2 : pata_pdc2027x
> [   35.082740] sr0: scsi3-mmc drive: 32x/32x writer cd/rw xa/form2 cdda
> tray
> [   35.082749] Uniform CD-ROM driver Revision: 3.20
> [   35.083141] sr 0:0:0:0: Attached scsi CD-ROM sr0
> [   35.092019] sr1: scsi3-mmc drive: 231x/52x cd/rw xa/form2 cdda tray
> [   35.092385] sr 0:0:1:0: Attached scsi CD-ROM sr1
> [   35.099265] sr 0:0:0:0: Attached scsi generic sg0 type 5
> [   35.099296] sr 0:0:1:0: Attached scsi generic sg1 type 5

Both your HP DVD Writer 200j and AOpen 56X/AKH are detected correctly
as sr0 and sr1. (It might be /dev/scd0 and /dev/scd1 on your distro.)

However, there are problems with the AOpen "E-IDE    CD-ROM 56X/AKH"
drive. It reports the strange "231x" speed and later timeout on INQUIRY.

<snip>

> [   65.095382] ata1.01: qc timeout (cmd 0xa0)
> [   65.095404] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2
> frozen
> [   65.095409] ata1.01: (BMDMA stat 0x65)
> [   65.095417] ata1.01: cmd a0/01:00:00:00:00/00:00:00:00:00/b0 tag 0
> cdb 0x12 data 254 in
> [   65.095419]          res 51/51:03:00:12:00/00:00:00:00:00/b0 Emask
> 0x5 (timeout)
> [   72.084934] ata1: port is slow to respond, please be patient (Status
> 0xd8)
> [   95.066527] ata1: port failed to respond (30 secs, Status 0xd8)
> [   95.066538] ata1: soft resetting port
> [   95.549849] ata1.01: failed to IDENTIFY (I/O error, err_mask=0x1)
> [   95.549856] ata1.01: revalidation failed (errno=-5)
> [   95.549865] ata1: failed to recover some devices, retrying in 5 secs
> [  100.546369] ata1: soft resetting port
> [  101.193580] ata1.00: configured for UDMA/33
> [  101.357350] ata1.01: configured for MWDMA2
> [  101.357399] ata1: EH complete
> [  131.348286] ata1.01: qc timeout (cmd 0xa0)
> [  131.348308] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2

Could you please replace the cable and/or connect the AOpen drive to
another PATA port and see if it makes the "qc timeout" go away, thanks.

--
Albert


  reply	other threads:[~2007-03-15  3:56 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-14 22:14 libata: CD and dvd devices not recognized YUP
2007-03-15  3:56 ` Albert Lee [this message]
2007-03-15 13:11   ` YUP
2007-03-15 17:32     ` Albert Lee
2007-03-16 10:16       ` YUP
2007-03-16 15:06         ` Albert Lee
2007-03-16 15:50           ` YUP
2007-03-17 13:29             ` Bartlomiej Zolnierkiewicz
2007-03-17 14:39               ` Albert Lee
2007-03-17 15:00                 ` Bartlomiej Zolnierkiewicz
2007-03-17 18:38                   ` YUP
2007-03-17 18:47                   ` YUP
2007-03-17 19:12                     ` Bartlomiej Zolnierkiewicz
2007-03-17 19:22                       ` YUP
2007-03-17 20:07                         ` Bartlomiej Zolnierkiewicz
2007-03-18 10:07                           ` YUP
2007-03-18 15:10                             ` Bartlomiej Zolnierkiewicz
2007-03-18 15:22                               ` YUP
2007-03-18 15:54                                 ` Bartlomiej Zolnierkiewicz
2007-03-18 15:49                                   ` YUP
2007-03-18 22:48                                   ` YUP
2007-03-19  3:31                                   ` Albert Lee
2007-03-19  8:22                                     ` YUP
2007-03-19  8:29                                       ` Albert Lee
2007-03-19 12:10                               ` Sergei Shtylyov
2007-03-19 19:35                                 ` YUP
2007-03-20  7:27                                   ` Albert Lee
2007-03-20  9:07                                     ` Albert Lee
2007-03-21  4:52                                   ` Albert Lee
2007-03-21  9:01                                     ` YUP
2007-03-22  6:06                                       ` Albert Lee
2007-03-22  7:09                                         ` Tejun Heo
2007-03-22 12:37                                         ` Alan Cox
2007-03-23  3:40                                           ` Albert Lee
2007-03-23 15:19                                             ` Douglas Gilbert
2007-03-26  5:50                                               ` Albert Lee
2007-03-22 14:50                                         ` Sergei Shtylyov
2007-03-23  3:21                                           ` Albert Lee
2007-03-19 23:02                                 ` YUP
2007-03-20 15:23                                   ` Sergei Shtylyov
2007-03-23 22:13                                 ` Bartlomiej Zolnierkiewicz
2007-03-26  5:53                                   ` Albert Lee
2007-03-18  6:42                   ` YUP
2007-03-16 22:37           ` YUP
2007-03-17  3:24             ` Albert Lee
2007-03-17  9:09               ` YUP
2007-03-17 10:51                 ` Albert Lee

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=45F8C3E1.3080805@tw.ibm.com \
    --to=albertcc@tw.ibm.com \
    --cc=albertl@mail.com \
    --cc=linux-ide@vger.kernel.org \
    --cc=yupadmin@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).