linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* v2.6.29-rc2 gets HSM violations for CD drive
@ 2009-01-23 23:52 Larry Finger
  2009-01-24  0:28 ` Mikael Pettersson
  0 siblings, 1 reply; 3+ messages in thread
From: Larry Finger @ 2009-01-23 23:52 UTC (permalink / raw)
  To: LKML; +Cc: linux-ide

Sometime since v2.6.28, one of my systems started getting libata
errors for my CD drive.

I have started bisecting this problem, but that system is very slow so
it will likely take a while.

The ide/ata parts of the dmesg output:

=============================

SCSI subsystem initialized
libata version 3.00 loaded.
pata_ali 0000:00:0f.0: can't derive routing for PCI INT A
pata_ali 0000:00:0f.0: setting latency timer to 64
scsi0 : pata_ali
scsi1 : pata_ali
ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xfc90 irq 14
ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xfc98 irq 15
ata1.00: ATA-6: HTS541010G9AT00, MBZOA60A, max UDMA/100
ata1.00: 195371568 sectors, multi 16: LBA48
ata1.00: configured for MWDMA2
scsi 0:0:0:0: Direct-Access     ATA      HTS541010G9AT00  MBZO PQ: 0
ANSI: 5
ata2.00: ATAPI: SR242S, z03, max MWDMA2
ata2.00: WARNING: ATAPI DMA disabled for reliablity issues.  It can be
enabled
ata2.00: WARNING: via pata_ali.atapi_dma modparam or corresponding
sysfs node.
ata2.00: configured for PIO4
scsi 1:0:0:0: CD-ROM            MITSUMI  CD-ROM SR242S !A z03  PQ: 0
ANSI: 5
Uniform Multi-Platform E-IDE driver
BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
udevd version 128 started
ACPI: EC: missing confirmations, switch off interrupt mode.
Driver 'sd' needs updating - please use bus_type methods
sd 0:0:0:0: [sda] 195371568 512-byte hardware sectors: (100 GB/93.1 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
sd 0:0:0:0: [sda] 195371568 512-byte hardware sectors: (100 GB/93.1 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
support DPO or FUA
 sda1 sda2 sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI disk
ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 9
PCI: setting IRQ 9 as level-triggered
kjournald starting.  Commit interval 5 seconds
EXT3 FS on sda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
EXT3 (no)acl options not supported
EXT3 (no)user_xattr options not supported
udevd version 128 started
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
sd 0:0:0:0: Attached scsi generic sg0 type 0
scsi 1:0:0:0: Attached scsi generic sg1 type 5
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
Driver 'sr' needs updating - please use bus_type methods
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
         cdb 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
         res 51/20:03:00:00:00/00:00:00:00:00/a0 Emask 0x3 (HSM violation)
ata2.00: status: { DRDY ERR }
ata2: soft resetting link
ata2.00: configured for PIO4
ata2: EH complete
sr0: scsi3-mmc drive: 24x/24x cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
ata2.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
         cdb 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
         res 51/20:03:00:00:00/00:00:00:00:00/a0 Emask 0x3 (HSM violation)
ata2.00: status: { DRDY ERR }
ata2: soft resetting link


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

* Re: v2.6.29-rc2 gets HSM violations for CD drive
  2009-01-23 23:52 v2.6.29-rc2 gets HSM violations for CD drive Larry Finger
@ 2009-01-24  0:28 ` Mikael Pettersson
  2009-01-24  4:42   ` Larry Finger
  0 siblings, 1 reply; 3+ messages in thread
From: Mikael Pettersson @ 2009-01-24  0:28 UTC (permalink / raw)
  To: Larry Finger; +Cc: LKML, linux-ide

Larry Finger writes:
 > Sometime since v2.6.28, one of my systems started getting libata
 > errors for my CD drive.
 > 
 > I have started bisecting this problem, but that system is very slow so
 > it will likely take a while.
 > 
 > The ide/ata parts of the dmesg output:
 > 
 > =============================
 > 
 > SCSI subsystem initialized
 > libata version 3.00 loaded.
 > pata_ali 0000:00:0f.0: can't derive routing for PCI INT A
 > pata_ali 0000:00:0f.0: setting latency timer to 64
 > scsi0 : pata_ali
 > scsi1 : pata_ali
 > ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xfc90 irq 14
 > ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xfc98 irq 15
 > ata1.00: ATA-6: HTS541010G9AT00, MBZOA60A, max UDMA/100
 > ata1.00: 195371568 sectors, multi 16: LBA48
 > ata1.00: configured for MWDMA2
 > scsi 0:0:0:0: Direct-Access     ATA      HTS541010G9AT00  MBZO PQ: 0
 > ANSI: 5
 > ata2.00: ATAPI: SR242S, z03, max MWDMA2
 > ata2.00: WARNING: ATAPI DMA disabled for reliablity issues.  It can be
 > enabled
 > ata2.00: WARNING: via pata_ali.atapi_dma modparam or corresponding
 > sysfs node.
 > ata2.00: configured for PIO4
 > scsi 1:0:0:0: CD-ROM            MITSUMI  CD-ROM SR242S !A z03  PQ: 0
 > ANSI: 5
 > Uniform Multi-Platform E-IDE driver
 > BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
 > udevd version 128 started
 > ACPI: EC: missing confirmations, switch off interrupt mode.
 > Driver 'sd' needs updating - please use bus_type methods
 > sd 0:0:0:0: [sda] 195371568 512-byte hardware sectors: (100 GB/93.1 GiB)
 > sd 0:0:0:0: [sda] Write Protect is off
 > sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
 > sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
 > support DPO or FUA
 > sd 0:0:0:0: [sda] 195371568 512-byte hardware sectors: (100 GB/93.1 GiB)
 > sd 0:0:0:0: [sda] Write Protect is off
 > sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
 > sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't
 > support DPO or FUA
 >  sda1 sda2 sda3 sda4
 > sd 0:0:0:0: [sda] Attached SCSI disk
 > ACPI: PCI Interrupt Link [LNK5] enabled at IRQ 9
 > PCI: setting IRQ 9 as level-triggered
 > kjournald starting.  Commit interval 5 seconds
 > EXT3 FS on sda3, internal journal
 > EXT3-fs: mounted filesystem with ordered data mode.
 > EXT3 (no)acl options not supported
 > EXT3 (no)user_xattr options not supported
 > udevd version 128 started
 > pci_hotplug: PCI Hot Plug PCI Core version: 0.5
 > sd 0:0:0:0: Attached scsi generic sg0 type 0
 > scsi 1:0:0:0: Attached scsi generic sg1 type 5
 > shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
 > Driver 'sr' needs updating - please use bus_type methods
 > ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
 > ata2.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
 >          cdb 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 >          res 51/20:03:00:00:00/00:00:00:00:00/a0 Emask 0x3 (HSM violation)
 > ata2.00: status: { DRDY ERR }
 > ata2: soft resetting link
 > ata2.00: configured for PIO4
 > ata2: EH complete
 > sr0: scsi3-mmc drive: 24x/24x cd/rw xa/form2 cdda tray
 > Uniform CD-ROM driver Revision: 3.20
 > sr 1:0:0:0: Attached scsi CD-ROM sr0
 > ata2.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
 > ata2.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
 >          cdb 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
 >          res 51/20:03:00:00:00/00:00:00:00:00/a0 Emask 0x3 (HSM violation)
 > ata2.00: status: { DRDY ERR }
 > ata2: soft resetting link

pata_ali is one of the drivers that got converted to doing 32-bit PIO.
Please try this <http://marc.info/?l=linux-kernel&m=123254501314058&w=2>
patch. It's known to fix similar problems seen with ata_piix.

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

* Re: v2.6.29-rc2 gets HSM violations for CD drive
  2009-01-24  0:28 ` Mikael Pettersson
@ 2009-01-24  4:42   ` Larry Finger
  0 siblings, 0 replies; 3+ messages in thread
From: Larry Finger @ 2009-01-24  4:42 UTC (permalink / raw)
  To: Mikael Pettersson; +Cc: LKML, linux-ide

Mikael Pettersson wrote:
> 
> pata_ali is one of the drivers that got converted to doing 32-bit PIO.
> Please try this <http://marc.info/?l=linux-kernel&m=123254501314058&w=2>
> patch. It's known to fix similar problems seen with ata_piix.
> 

The patch fixed my problem.  Thanks,

Larry


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

end of thread, other threads:[~2009-01-24  4:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-23 23:52 v2.6.29-rc2 gets HSM violations for CD drive Larry Finger
2009-01-24  0:28 ` Mikael Pettersson
2009-01-24  4:42   ` Larry Finger

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