linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ata2.00: failed to set xfermode (err_mask=0x100),ata2.00: disabled, CD-ROM drive dead
@ 2010-03-15 21:01 Stan Hoeppner
  2010-03-15 23:44 ` Robert Hancock
  0 siblings, 1 reply; 14+ messages in thread
From: Stan Hoeppner @ 2010-03-15 21:01 UTC (permalink / raw)
  To: linux-ide

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2010-03-29 23:20 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15 21:01 ata2.00: failed to set xfermode (err_mask=0x100),ata2.00: disabled, CD-ROM drive dead Stan Hoeppner
2010-03-15 23:44 ` 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

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).