public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.7-mm7 ide errors
@ 2004-07-10 12:48 Ed Tomlinson
  2004-07-10 16:20 ` Eric D. Mudama
  0 siblings, 1 reply; 3+ messages in thread
From: Ed Tomlinson @ 2004-07-10 12:48 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andrew Morton, Jens Axboe

Hi,

The ide error introduced with the barrier patches are still happening here with mm7. 

Jul 10 08:06:04 bert usb.agent[1705]:      usbhid: loaded successfully
Jul 10 08:06:04 bert input.agent[1738]:      joydev: loaded successfully
Jul 10 08:06:06 bert kernel: lp: driver loaded but no devices found
Jul 10 08:06:16 bert kernel: hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
Jul 10 08:06:16 bert kernel: hda: drive_cmd: error=0x04 { DriveStatusError }
Jul 10 08:06:16 bert kernel: ide: failed opcode was: 0xe7
Jul 10 08:06:18 bert kernel: hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
Jul 10 08:06:18 bert kernel: hda: drive_cmd: error=0x04 { DriveStatusError }
Jul 10 08:06:18 bert kernel: ide: failed opcode was: 0xe7

Typically  I get one of the above every couple of minutes and have since the barrier changes
when into mm.

What can I do to help get to the bottom of this problem?

Ed Tomlinson

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

* Re: 2.6.7-mm7 ide errors
  2004-07-10 12:48 2.6.7-mm7 ide errors Ed Tomlinson
@ 2004-07-10 16:20 ` Eric D. Mudama
  2004-07-10 18:12   ` Ed Tomlinson
  0 siblings, 1 reply; 3+ messages in thread
From: Eric D. Mudama @ 2004-07-10 16:20 UTC (permalink / raw)
  To: Ed Tomlinson; +Cc: linux-kernel, Andrew Morton, Jens Axboe

On Sat, Jul 10 at  8:48, Ed Tomlinson wrote:
>Hi,
>
>The ide error introduced with the barrier patches are still happening here with mm7. 
>
>Jul 10 08:06:04 bert usb.agent[1705]:      usbhid: loaded successfully
>Jul 10 08:06:04 bert input.agent[1738]:      joydev: loaded successfully
>Jul 10 08:06:06 bert kernel: lp: driver loaded but no devices found
>Jul 10 08:06:16 bert kernel: hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
>Jul 10 08:06:16 bert kernel: hda: drive_cmd: error=0x04 { DriveStatusError }
>Jul 10 08:06:16 bert kernel: ide: failed opcode was: 0xe7
>Jul 10 08:06:18 bert kernel: hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
>Jul 10 08:06:18 bert kernel: hda: drive_cmd: error=0x04 { DriveStatusError }
>Jul 10 08:06:18 bert kernel: ide: failed opcode was: 0xe7
>
>Typically  I get one of the above every couple of minutes and have since the barrier changes
>when into mm.
>
>What can I do to help get to the bottom of this problem?

0xE7 is the 'FLUSH CACHE' command for use on drives <= 137GB.

What model of drive do you have, and how big is it?


-- 
Eric D. Mudama
edmudama@mail.bounceswoosh.org


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

* Re: 2.6.7-mm7 ide errors
  2004-07-10 16:20 ` Eric D. Mudama
@ 2004-07-10 18:12   ` Ed Tomlinson
  0 siblings, 0 replies; 3+ messages in thread
From: Ed Tomlinson @ 2004-07-10 18:12 UTC (permalink / raw)
  To: linux-kernel; +Cc: Eric D. Mudama, Andrew Morton, Jens Axboe

On Saturday 10 July 2004 12:20, Eric D. Mudama wrote:
> On Sat, Jul 10 at  8:48, Ed Tomlinson wrote:
> >Hi,
> >
> >The ide error introduced with the barrier patches are still happening here with mm7. 
> >
> >Jul 10 08:06:04 bert usb.agent[1705]:      usbhid: loaded successfully
> >Jul 10 08:06:04 bert input.agent[1738]:      joydev: loaded successfully
> >Jul 10 08:06:06 bert kernel: lp: driver loaded but no devices found
> >Jul 10 08:06:16 bert kernel: hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
> >Jul 10 08:06:16 bert kernel: hda: drive_cmd: error=0x04 { DriveStatusError }
> >Jul 10 08:06:16 bert kernel: ide: failed opcode was: 0xe7
> >Jul 10 08:06:18 bert kernel: hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
> >Jul 10 08:06:18 bert kernel: hda: drive_cmd: error=0x04 { DriveStatusError }
> >Jul 10 08:06:18 bert kernel: ide: failed opcode was: 0xe7
> >
> >Typically  I get one of the above every couple of minutes and have since the barrier changes
> >when into mm.
> >
> >What can I do to help get to the bottom of this problem?
> 
> 0xE7 is the 'FLUSH CACHE' command for use on drives <= 137GB.
> 
> What model of drive do you have, and how big is it?

Here is the drive info posted again.  Note that a second drive on hdb does not
exhibit the problem.  If I had to guess I would say that the logic to only try 0xe7
once and remember not to use it again if there was a problem is buggy.

Ed

root@bert:/home/knoppix# hdparm -iI /dev/hda

/dev/hda:

 Model=WDC AC26400R, FwRev=15.01J15, SerialNo=WD-WM6271600165
 Config={ HardSect NotMFM HdSw>15uSec SpinMotCtl Fixed DTR>5Mbs FmtGapReq }
 RawCHS=13328/15/63, TrkSize=57600, SectSize=600, ECCbytes=40
 BuffType=DualPortCache, BuffSize=512kB, MaxMultSect=16, MultSect=16
 CurCHS=13328/15/63, CurSects=12594960, LBA=yes, LBAsects=12594960
 IORDY=on/off, tPIO={min:160,w/IORDY:120}, tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4
 DMA modes:  mdma0 mdma1 mdma2
 UDMA modes: udma0 udma1 *udma2 udma3 udma4
 AdvancedPM=no WriteCache=enabled
 Drive conforms to: device does not report version:  1 2 3 4

 * signifies the current active mode


ATA device, with non-removable media
        Model Number:       WDC AC26400R
        Serial Number:      WD-WM6271600165
        Firmware Revision:  15.01J15
Standards:
        Supported: 4 3 2 1
        Likely used: 4
Configuration:
        Logical         max     current
        cylinders       13328   13328
        heads           15      15
        sectors/track   63      63
        --
        bytes/track: 57600      bytes/sector: 600
        CHS current addressable sectors:   12594960
        LBA    user addressable sectors:   12594960
        device size with M = 1024*1024:        6149 MBytes
        device size with M = 1000*1000:        6448 MBytes (6 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        Buffer size: 512.0kB    bytes avail on r/w long: 40     Queue depth: 1
        Standby timer values: spec'd by Standard, no device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 16
        DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4
             Cycle time: no flow control=160ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    READ BUFFER cmd
           *    WRITE BUFFER cmd
           *    Look-ahead
           *    Write cache
           *    Power Management feature set
           *    SMART feature set



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

end of thread, other threads:[~2004-07-10 18:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-10 12:48 2.6.7-mm7 ide errors Ed Tomlinson
2004-07-10 16:20 ` Eric D. Mudama
2004-07-10 18:12   ` Ed Tomlinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox