From: Tejun Heo <htejun@gmail.com>
To: "Nelson A. de Oliveira" <naoliv@gmail.com>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>,
Jeff Garzik <jgarzik@pobox.com>,
"linux-ide@vger.kernel.org" <linux-ide@vger.kernel.org>
Subject: Re: PROBLEM: (libata) cdrom drive not detected in -mm series
Date: Tue, 12 Sep 2006 09:41:59 +0200 [thread overview]
Message-ID: <450664C7.3000105@gmail.com> (raw)
In-Reply-To: <9bfa9ae0609111802o9131e8bg6c5d394ad87b16ea@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 661 bytes --]
Nelson A. de Oliveira wrote:
> Hi!
>
> My USB CD-ROM drive (that is detected as a SCSI drive) is not being
> detected on the -mm series of the Kernel.
s/USB/SATA/, I presume.
[--snip--]
-ata2.00: ATAPI, max UDMA/33
-ata2.00: configured for UDMA/33
- Vendor: HL-DT-ST Model: CDRW/DVD GCC4244 Rev: B101
- Type: CD-ROM ANSI SCSI revision: 05
Argh... yet another PCS problem. With whole -mm applied, does adding
kernel parameter 'ata_piix.force_pcs=1' make any difference?
Please provide the following info.
* the result of 'lspci -nvvv'
* dmesg output with the attached patch applied (on top of -mm).
Thanks.
--
tejun
[-- Attachment #2: patch --]
[-- Type: text/plain, Size: 737 bytes --]
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c
index 22b2dba..53a19fd 100644
--- a/drivers/ata/ata_piix.c
+++ b/drivers/ata/ata_piix.c
@@ -560,7 +560,7 @@ static unsigned int piix_sata_present_ma
u16 pcs;
pci_read_config_word(pdev, ICH5_PCS, &pcs);
- DPRINTK("ata%u: ENTER, pcs=0x%x base=%d\n", ap->id, pcs, base);
+ printk(KERN_INFO "ata%u: ENTER, pcs=0x%x base=%d\n", ap->id, pcs, base);
for (i = 0; i < 2; i++) {
port = map[base + i];
@@ -571,7 +571,7 @@ static unsigned int piix_sata_present_ma
present_mask |= 1 << i;
}
- DPRINTK("ata%u: LEAVE, pcs=0x%x present_mask=0x%x\n",
+ printk(KERN_INFO "ata%u: LEAVE, pcs=0x%x present_mask=0x%x\n",
ap->id, pcs, present_mask);
return present_mask;
next parent reply other threads:[~2006-09-12 7:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <9bfa9ae0609111802o9131e8bg6c5d394ad87b16ea@mail.gmail.com>
2006-09-12 7:41 ` Tejun Heo [this message]
2006-09-12 11:30 ` PROBLEM: (libata) cdrom drive not detected in -mm series Nelson A. de Oliveira
2006-09-13 13:37 ` Tejun Heo
2006-09-13 14:45 ` Alan Cox
2006-09-14 0:41 ` Nelson A. de Oliveira
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=450664C7.3000105@gmail.com \
--to=htejun@gmail.com \
--cc=akpm@osdl.org \
--cc=jgarzik@pobox.com \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=naoliv@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).