Albert Lee wrote:
Could you please apply the attached debugging patch for clue about what caused the HSM violation, thanks.
I had to edit the patch to get it to apply on 2.6.21-rc3-git9, but here (attached) is the output from syslog. zip_insert.txt :: response to inserting a disc into the drive. zip_button.txt :: response to pressing the eject button. zip_eject.txt :: response to using "eject /dev/sdc". Enjoy!
11:08:57: sdc: Spinning up disk...<3>ata port 1: protocol 6 task_state 4 11:08:57: res 00/00:03:00:00:20/00:00:00:00:00/a0 Emask 0x2 (HSM violation) 11:08:57: ata4: soft resetting port 11:08:57: ATA: abnormal status 0x7F on port 0x00010177 11:08:57: ATA: abnormal status 0x7F on port 0x00010177 11:08:58: ata4.00: configured for PIO2 11:08:58: ata4: EH complete 11:08:58: .<3>ata port 1: protocol 6 task_state 4
11:09:55: sdc: Spinning up disk...<3>ata port 1: protocol 6 task_state 4 11:09:55: res 00/00:03:00:00:20/00:00:00:00:00/a0 Emask 0x2 (HSM violation) 11:09:55: ata4: soft resetting port 11:09:55: ATA: abnormal status 0x7F on port 0x00010177 11:09:55: ATA: abnormal status 0x7F on port 0x00010177 11:09:56: ata4.00: configured for PIO2 11:09:56: ata4: EH complete 11:09:56: sdc: Spinning up disk...<3>ata port 1: protocol 6 task_state 4 11:09:57: .<3>ata port 1: protocol 6 task_state 4
11:07:19: sdc: Spinning up disk...<3>ata port 1: protocol 6 task_state 4 11:07:19: res 00/00:03:00:00:20/00:00:00:00:00/a0 Emask 0x2 (HSM violation) 11:07:19: ata4: soft resetting port 11:07:19: ATA: abnormal status 0x7F on port 0x00010177 11:07:19: ATA: abnormal status 0x7F on port 0x00010177 11:07:19: ata4.00: configured for PIO2 11:07:19: ata4: EH complete 11:07:20: sdc: Spinning up disk...<3>ata port 1: protocol 6 task_state 4 11:07:20: res 00/00:03:00:00:20/00:00:00:00:00/a0 Emask 0x2 (HSM violation) 11:07:20: ata4: soft resetting port 11:07:20: ATA: abnormal status 0x7F on port 0x00010177 11:07:20: ATA: abnormal status 0x7F on port 0x00010177 11:07:21: .<6>ata4.00: configured for PIO2 11:07:21: ata4: EH complete 11:07:21: ready 11:07:21: SCSI device sdc: 196608 512-byte hdwr sectors (101 MB) 11:07:21: sdc: Write Protect is off 11:07:21: sdc: cache data unavailable 11:07:21: SCSI device sdc: 196608 512-byte hdwr sectors (101 MB) 11:07:21: sdc: Write Protect is off 11:07:21: sdc: cache data unavailable 11:07:21: sdc:<3>ata port 1: protocol 5 task_state 4 11:07:21: sdc4 11:07:22: .<3>ata port 1: protocol 6 task_state 4 11:07:22: ready 11:07:22: SCSI device sdc: 196608 512-byte hdwr sectors (101 MB) 11:07:22: sdc: Write Protect is off 11:07:22: sdc: cache data unavailable 11:07:22: SCSI device sdc: 196608 512-byte hdwr sectors (101 MB) 11:07:22: sdc: Write Protect is off 11:07:22: sdc: cache data unavailable