Mark,

What's your opinion about this?  I can in fact reproduce it, and I
basically understand why it's happening, but what to do?

It seems to me that during the hdparm query, the kernel notices a seek
error (I'm guessing - haven't looked up what 0xec is) and reports the
seek error.  hdparm is correct for doing the tests, and the kernel isn't
wrong for reporting it, I don't think, but getting scary messages in
syslog every time you look at drive parameters isn't right either.

Hmm.
-- 
 --------------------------------------------------------------------------
|  Stephen Gran                  | You can't push on a string.             |
|  [EMAIL PROTECTED]             |                                         |
|  http://www.lobefin.net/~steve |                                         |
 --------------------------------------------------------------------------
--- Begin Message ---
Package: hdparm
Version: 6.1-5
Severity: normal

When I run 'hdparm -I /dev/cdrom', the following appears in the system
log:

Sep 16 11:56:57 localhost kernel: hdc: drive_cmd: status=0x51 { DriveReady 
SeekComplete Error }
Sep 16 11:56:57 localhost kernel: hdc: drive_cmd: error=0x04 { AbortedCommand }
Sep 16 11:56:57 localhost kernel: ide: failed opcode was: 0xec

The output seems correct though:

/dev/cdrom:

ATAPI CD-ROM, with removable media
        Model Number:       _NEC DVD+/-RW ND-6500A
        Serial Number:
        Firmware Revision:  2.58
Standards:
        Likely used CD-ROM ATAPI-1
Configuration:
        DRQ response: 3ms.
        Packet size: 12 bytes
Capabilities:
        LBA, IORDY(cannot be disabled)
        DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=120ns  IORDY flow control=120ns

I am using original Linux Kernel 2.6.13.1, patched with ACPI 20050902,
but the problem appeared also with Debian kernel pakage 2.6.12

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'proposed-updates'), (400, 'unstable'), 
(200, 'stable'), (1, 'sarge-unsupported')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13.1-amd64
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages hdparm depends on:
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  lsb-base                      3.0-5      Linux Standard Base 3.0 init scrip

hdparm recommends no packages.

-- no debconf information



--- End Message ---

Attachment: signature.asc
Description: Digital signature

Reply via email to