# hda: packet command error: in SLES 10SP4

**URL:** <https://forums.suse.com/t/hda-packet-command-error-in-sles-10sp4/23322>\
**Category:** SLES Configure-Administer\
**Created:** [November 21, 2012, 8:24am UTC](https://forums.suse.com/t/hda-packet-command-error-in-sles-10sp4/23322 "2012-11-21T08:24:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tpro](https://avatars.discourse-cdn.com/v4/letter/t/77aa72/32.png) [@tpro](https://forums.suse.com/u/tpro)\
**Post date:** [November 21, 2012, 8:24am UTC](https://forums.suse.com/t/hda-packet-command-error-in-sles-10sp4/23322/1 "2012-11-21T08:24:49Z")

</div>

Hi all

I am finding the below error message daily in “dmesg” output of SLES 10 SP4 server

hda: packet command error: status=0x51 { DriveReady SeekComplete Error }  
hda: packet command error: error=0x50 { LastFailedSense=0x05 }  
ide: failed opcode was: unknown

# hdparm /dev/hda

/dev/hda:  
IO\_support = 1 (32-bit)  
unmaskirq = 1 (on)  
using\_dma = 0 (off)  
keepsettings = 0 (off)  
readonly = 0 (off)  
readahead = 1024 (on)  
HDIO\_GETGEO failed: Inappropriate ioctl for device

# smartctl -a /dev/hda

smartctl version 5.38 [x86\_64-suse-linux-gnu] Copyright (C) 2002-7 Bruce Allen  
Home page is smartmontools

=== START OF INFORMATION SECTION ===  
Device Model: DW-224E-V  
Serial Number: [No Information Found]  
Firmware Version: C.CC  
Device is: Not in smartctl database [for details use: -P showall]  
ATA Version is: 7  
ATA Standard is: Exact ATA specification draft version not indicated  
Local Time is: Tue Nov 20 20:53:48 2012 EST  
SMART support is: Unavailable - Packet Interface Devices [this device: CD/DVD] don’t support ATA SMART  
A mandatory SMART command failed: exiting. To continue, add one or more ‘-T permissive’ options.

My Suse Linux version running on ProLiant DL585 G5 is  
SUSE Linux Enterprise Server 10 (x86\_64)  
VERSION = 10  
PATCHLEVEL = 4

This error message started coming after updating kernel version from 2.6.16.60-0.97.1-smp to 2.6.16.60-0.99.1-smp.  
Is this some serious error? Please give a solution to solve this error.

Thanks in advance…

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [November 22, 2012, 6:06pm UTC](https://forums.suse.com/t/hda-packet-command-error-in-sles-10sp4/23322/2 "2012-11-22T18:06:13Z")

</div>

> [@](#):
>
> On Wed 21 Nov 2012 06:34:03 AM CST, tpro wrote:
> 
> Hi all
> 
> I am finding the below error message daily in “dmesg” output of SLES 10  
> SP4 server
> 
> HDA: PACKET COMMAND ERROR: STATUS=0X51 { DRIVEREADY SEEKCOMPLETE ERROR  
> }  
> HDA: PACKET COMMAND ERROR: ERROR=0X50 { LASTFAILEDSENSE=0X05 }  
> IDE: FAILED OPCODE WAS: UNKNOWN
> 
> # hdparm /dev/hda
> 
> /dev/hda:  
> IO\_support = 1 (32-bit)  
> unmaskirq = 1 (on)  
> using\_dma = 0 (off)  
> keepsettings = 0 (off)  
> readonly = 0 (off)  
> readahead = 1024 (on)  
> HDIO\_GETGEO failed: Inappropriate ioctl for device
> 
> # smartctl -a /dev/hda
> 
> smartctl version 5.38 [x86\_64-suse-linux-gnu] Copyright (C) 2002-7  
> Bruce Allen  
> Home page is smartmontools
> 
> === START OF INFORMATION SECTION ===  
> Device Model: DW-224E-V  
> Serial Number: [No Information Found]  
> Firmware Version: C.CC  
> Device is: Not in smartctl database [for details use: -P showall]  
> ATA Version is: 7  
> ATA Standard is: Exact ATA specification draft version not indicated  
> Local Time is: Tue Nov 20 20:53:48 2012 EST  
> SMART support is: Unavailable - Packet Interface Devices [this device:  
> CD/DVD] don’t support ATA SMART  
> A mandatory SMART command failed: exiting. To continue, add one or more  
> ‘-T permissive’ options.
> 
> MY SUSE LINUX VERSION RUNNING ON PROLIANT DL585 G5 IS  
> SUSE LINUX ENTERPRISE SERVER 10 (X86\_64)  
> VERSION = 10  
> PATCHLEVEL = 4
> 
> THIS ERROR MESSAGE STARTED COMING AFTER UPDATING KERNEL VERSION FROM  
> 2.6.16.60-0.97.1-SMP TO 2.6.16.60-0.99.1-SMP.  
> IS THIS SOME SERIOUS ERROR? PLEASE GIVE A SOLUTION TO SOLVE THIS ERROR.
> 
> Thanks in advance…

Hi  
That’s coming from a DVD drive, is there a cd or dvd in the device?

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
openSUSE 12.2 (x86\_64) Kernel 3.4.11-2.16-desktop  
up 4 days 16:25, 3 users, load average: 0.27, 0.22, 0.21  
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

---

<div class="post-metadata">

**Author:** ![tpro](https://avatars.discourse-cdn.com/v4/letter/t/77aa72/32.png) [@tpro](https://forums.suse.com/u/tpro)\
**Post date:** [November 23, 2012, 5:05am UTC](https://forums.suse.com/t/hda-packet-command-error-in-sles-10sp4/23322/3 "2012-11-23T05:05:42Z")

</div>

[QUOTE=malcolmlewis;10260]Hi  
That’s coming from a DVD drive, is there a cd or dvd in the device?

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
openSUSE 12.2 (x86\_64) Kernel 3.4.11-2.16-desktop  
up 4 days 16:25, 3 users, load average: 0.27, 0.22, 0.21  
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU[/QUOTE]

At present there is no cd/DVD inside the drive. I checked the status after inserting a cd in it. After that also same message appears in dmesg.

---

<div class="post-metadata">

**Author:** ![malcolmlewis](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/malcolmlewis/32/11375_2.png) [@malcolmlewis](https://forums.suse.com/u/malcolmlewis)\
**Post date:** [November 25, 2012, 4:04am UTC](https://forums.suse.com/t/hda-packet-command-error-in-sles-10sp4/23322/4 "2012-11-25T04:04:59Z")

</div>

> [@](#):
>
> On Fri 23 Nov 2012 03:14:01 AM CST, tpro wrote:
> 
> malcolmlewis;10260 Wrote:[color=blue]
> 
> > Hi  
> > That’s coming from a DVD drive, is there a cd or dvd in the device?  
> > [/color]  
> > At present there is no cd/DVD inside the drive. I checked the status  
> > after inserting a cd in it. After that also same message appears in  
> > dmesg.

Hi  
A google on the error shows it may be a kernel bug, can you raise an SR  
or bug on the error?

–  
Cheers Malcolm Â°Â¿Â° (Linux Counter #276890)  
openSUSE 12.2 (x86\_64) Kernel 3.4.11-2.16-desktop  
up 1 day 2:15, 5 users, load average: 0.08, 0.14, 0.44  
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU
