All of lore.kernel.org
 help / color / mirror / Atom feed
* Newbiw question on write barriers and ordered write barriers
@ 2003-09-01 20:06 Roger James
  2003-09-02 11:48 ` Alexander Lyamin
  0 siblings, 1 reply; 4+ messages in thread
From: Roger James @ 2003-09-01 20:06 UTC (permalink / raw)
  To: reiserfs-list

[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]

Hi,

 

Ever since I updated my SuSE Linux 8.1 set up with the latest patches
from SuSE I have been seeing the following messages at boot up time
(once only for each drive).

 

<4>hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }

<4>hda: drive_cmd: error=0x04 { DriveStatusError }

<4>hda:saw err in ide_end_drive_cmd, disabling write barriers

<4>hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }

<4>hda: drive_cmd: error=0x04 { DriveStatusError }

<4>hda:saw err in ide_end_drive_cmd, disabling write barriers

<4>reiserfs: using ordered data mode

<4>Using r5 hash to sort names

 

I have struggled to find out whether I should be worried about this. I
guess this is something to do with journaling and ordered writes, but
the messages are somewhat cryptic. Is this the kernel detecting a
problem with the drive based controllers (they are both Maxtor 6Y120L0s)
or the motherboard chipset (Nvidia NForce) and disabling the
functionality? I don't see the message again, but one of the reasons I
did upgrade the kernel was that I was having occasional disk
corruptions. Are there any switches/parameters I should be setting?

 

Can anyone give me a heads up on this.

 

Roger


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

* Re: Newbiw question on write barriers and ordered write barriers
  2003-09-01 20:06 Newbiw question on write barriers and ordered write barriers Roger James
@ 2003-09-02 11:48 ` Alexander Lyamin
  2003-09-02 12:11   ` Chris Mason
  0 siblings, 1 reply; 4+ messages in thread
From: Alexander Lyamin @ 2003-09-02 11:48 UTC (permalink / raw)
  To: Roger James; +Cc: reiserfs-list

Mon, Sep 01, 2003 at 09:06:37PM +0100, Roger James wrote:
> Hi,
> 
>  
> 
> Ever since I updated my SuSE Linux 8.1 set up with the latest patches
> from SuSE I have been seeing the following messages at boot up time
> (once only for each drive).
> 
>  
> 
> <4>hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
> 
> <4>hda: drive_cmd: error=0x04 { DriveStatusError }
> 
> <4>hda:saw err in ide_end_drive_cmd, disabling write barriers
> 
> <4>hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
> 
> <4>hda: drive_cmd: error=0x04 { DriveStatusError }
> 
> <4>hda:saw err in ide_end_drive_cmd, disabling write barriers
> 
> <4>reiserfs: using ordered data mode
> 
> <4>Using r5 hash to sort names
> 

To me and my expirience, it seeems like your hard drive about to fail.
And it seems like its about to fail in area where jdata stored.


do backup (dd_rescue) , then try to run vendor utilities which relocate
bad blocks ( i dont know if they have something like that for MAXTOR,
but for IBM/HITACHI it would be DFT utility, and for most of hard-drives
ONTRACK Tech. does something that matches DFT functionality.

> I have struggled to find out whether I should be worried about this. I
> guess this is something to do with journaling and ordered writes, but
> the messages are somewhat cryptic. Is this the kernel detecting a
> problem with the drive based controllers (they are both Maxtor 6Y120L0s)
> or the motherboard chipset (Nvidia NForce) and disabling the
> functionality? I don't see the message again, but one of the reasons I
> did upgrade the kernel was that I was having occasional disk
> corruptions. Are there any switches/parameters I should be setting?
> 
>  
> 
> Can anyone give me a heads up on this.
> 
>  
> 
> Roger
> 

-- 
"the liberation loophole will make it clear.."
lex lyamin

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

* Re: Newbiw question on write barriers and ordered write barriers
  2003-09-02 11:48 ` Alexander Lyamin
@ 2003-09-02 12:11   ` Chris Mason
  2003-09-04 12:05     ` Alexander Lyamin
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Mason @ 2003-09-02 12:11 UTC (permalink / raw)
  To: flx; +Cc: Roger James, reiserfs-list

On Tue, 2003-09-02 at 07:48, Alexander Lyamin wrote:
> Mon, Sep 01, 2003 at 09:06:37PM +0100, Roger James wrote:
> > Hi,
> > 
> >  
> > 
> > Ever since I updated my SuSE Linux 8.1 set up with the latest patches
> > from SuSE I have been seeing the following messages at boot up time
> > (once only for each drive).
> > 

Which kernel are you running now?

> > <4>hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
> > 
> > <4>hda: drive_cmd: error=0x04 { DriveStatusError }
> > 
> > <4>hda:saw err in ide_end_drive_cmd, disabling write barriers
> > 
> > <4>hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
> > 
> > <4>hda: drive_cmd: error=0x04 { DriveStatusError }
> > 
> > <4>hda:saw err in ide_end_drive_cmd, disabling write barriers
> > 
> > <4>reiserfs: using ordered data mode
> > 
> > <4>Using r5 hash to sort names
> > 
> 
> To me and my expirience, it seeems like your hard drive about to fail.
> And it seems like its about to fail in area where jdata stored.
> 

The barrier patches try a write cache flush command on the drive, and if
it fails they turn barrier mode off.  These messages mean your drives
don't support the barrier mode, you can ignore them.  Some drives print
the failures if you've already got write cache disabled.  Try hdparm -W
1 /dev/xxx before mounting an FS on the drive.

-chris



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

* Re:  Newbiw question on write barriers and ordered write barriers
  2003-09-02 12:11   ` Chris Mason
@ 2003-09-04 12:05     ` Alexander Lyamin
  0 siblings, 0 replies; 4+ messages in thread
From: Alexander Lyamin @ 2003-09-04 12:05 UTC (permalink / raw)
  To: Chris Mason; +Cc: flx, Roger James, reiserfs-list

Tue, Sep 02, 2003 at 08:11:15AM -0400, Chris Mason wrote:
> On Tue, 2003-09-02 at 07:48, Alexander Lyamin wrote:
> > Mon, Sep 01, 2003 at 09:06:37PM +0100, Roger James wrote:
> > > Hi,
> > > 
> > >  
> > > 
> > > Ever since I updated my SuSE Linux 8.1 set up with the latest patches
> > > from SuSE I have been seeing the following messages at boot up time
> > > (once only for each drive).
> > > 
> 
> Which kernel are you running now?
> 
> > > <4>hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
> > > 
> > > <4>hda: drive_cmd: error=0x04 { DriveStatusError }
> > > 
> > > <4>hda:saw err in ide_end_drive_cmd, disabling write barriers
> > > 
> > > <4>hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
> > > 
> > > <4>hda: drive_cmd: error=0x04 { DriveStatusError }
> > > 
> > > <4>hda:saw err in ide_end_drive_cmd, disabling write barriers
> > > 
> > > <4>reiserfs: using ordered data mode
> > > 
> > > <4>Using r5 hash to sort names
> > > 
> > 
> > To me and my expirience, it seeems like your hard drive about to fail.
> > And it seems like its about to fail in area where jdata stored.
> > 
> 
> The barrier patches try a write cache flush command on the drive, and if
> it fails they turn barrier mode off.  These messages mean your drives
> don't support the barrier mode, you can ignore them.  Some drives print
> the failures if you've already got write cache disabled.  Try hdparm -W
> 1 /dev/xxx before mounting an FS on the drive.

<4>hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
<4>hda: drive_cmd: error=0x04 { DriveStatusError }

also appear when ide code access bad blocks on drive...
it would be nice if you could suppress thouse lines when probing for 
cache flush functionality on disks, otherwise some people out there
would be upset, and thats why its sprung my WRONG comment. sorry ;)


-- 
"the liberation loophole will make it clear.."
lex lyamin

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

end of thread, other threads:[~2003-09-04 12:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-01 20:06 Newbiw question on write barriers and ordered write barriers Roger James
2003-09-02 11:48 ` Alexander Lyamin
2003-09-02 12:11   ` Chris Mason
2003-09-04 12:05     ` Alexander Lyamin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.