All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stan Hoeppner <stan@hardwarefreak.com>
To: linux-ide@vger.kernel.org
Subject: ata2.00: failed to set xfermode (err_mask=0x100),ata2.00: disabled, CD-ROM drive dead
Date: Mon, 15 Mar 2010 16:01:35 -0500	[thread overview]
Message-ID: <4B9EA02F.2070704@hardwarefreak.com> (raw)

dmesg:
ata2.00: failed to set xfermode (err_mask=0x100)
ata2.00: disabled

hardware:
WD 500GB SATA on PCI Sil 3512 card (boot device)
Pioneer CD-ROM on PIIX4

kernel.org vanilla sources
2.6.31.1
2.6.32.9

Upon upgrading to 2.6.32.9 my CD-ROM is now dead.

With 2.6.31.1 I was using the libata driver along with the old style IDE
driver PIIX4 and both the HD and CD-ROM worked fine.

When I rolled the new 2.6.32.9 kernel, I decided to go all libata, thus
removing all the old IDE stuff in make menuconfig, and adding the PIIX4
support in the libata section along with SCSI CD-ROM support in the SCSI
section, per instructions I'd found.

Relevant .config snippets:
# Protocols
CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_FD=y
CONFIG_HAVE_IDE=y
# CONFIG_IDE is not set

# SCSI device support
CONFIG_SCSI=y
CONFIG_SCSI_DMA=y
CONFIG_SCSI_PROC_FS=y

# SCSI support type (disk, tape, CD-ROM)
CONFIG_BLK_DEV_SD=y
CONFIG_BLK_DEV_SR=y
CONFIG_SCSI_WAIT_SCAN=m

# SCSI Transports
CONFIG_ATA=y
CONFIG_ATA_VERBOSE_ERROR=y
CONFIG_ATA_SFF=y
CONFIG_ATA_PIIX=y
CONFIG_SATA_SIL=y

I always roll my drivers into the kernel.  It's just my preference, so let's
please not debate the merits of kernel modules in this thread.  I only
mention it as menuconfig for some odd reason doesn't give me the option to
roll CONFIG_SCSI_WAIT_SCAN into the kernel, but insists on making it a
module.  The one exception to this, apparently, is if I completely disable
module support, in which case it rolls it into the kernel.  It would be nice
if menuconfig gave an option to force it into the kernel even if module
support is enabled.  Seems silly to have all the SCSI stuff built into the
kernel except this one thing.  I don't think this is related to the current
problem, but I mention it just in case.  I'm not sure if the module is
actually loading.   This probably is not the right name to give modprobe but
I don't know what it would be:

~$ modprobe CONFIG_SCSI_WAIT_SCAN
FATAL: Module CONFIG_SCSI_WAIT_SCAN not found.

Anyway, should I roll another 2.6.32.9 reverting back to the dual IDE/libata
driver setup to get the CD-ROM working again, or is there some neat trick
you fine folks can share that will force libata to start playing nice with
PIIX4 and the CD-ROM?

Thanks.

-- 
Stan

             reply	other threads:[~2010-03-15 21:09 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-15 21:01 Stan Hoeppner [this message]
2010-03-15 23:44 ` ata2.00: failed to set xfermode (err_mask=0x100),ata2.00: disabled, CD-ROM drive dead Robert Hancock
2010-03-16  0:26   ` Stan Hoeppner
2010-03-25  0:38     ` Tejun Heo
2010-03-25  9:19       ` Stan Hoeppner
2010-03-25 21:52         ` David Milburn
2010-03-28 17:48           ` Stan Hoeppner
2010-03-28 20:01             ` Robert Hancock
2010-03-28 23:47               ` Tejun Heo
2010-03-29  0:09                 ` Stan Hoeppner
2010-03-29  0:25                   ` Tejun Heo
2010-03-29 23:20                     ` Stan Hoeppner
2010-03-29  0:26                   ` Stan Hoeppner
2010-03-29  0:31                     ` Tejun Heo

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=4B9EA02F.2070704@hardwarefreak.com \
    --to=stan@hardwarefreak.com \
    --cc=linux-ide@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.