* hdparm and disc errors
@ 2001-09-21 13:43 Jiri Masik
2001-09-21 14:22 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 3+ messages in thread
From: Jiri Masik @ 2001-09-21 13:43 UTC (permalink / raw)
To: linuxppc-dev
Hi,
I've been using hdparm -a16 -u1 /dev/hda (internal disc, Pismo) in
attempt to speed up my jobs analyzing large amounts of data (~1GB).
The jobs were utilizing just small fraction of CPU (20%) while
spending most of the time in disc-wait state. I thought this might
improve the performance a bit and for a long time there were no
problems with older kernels (2.2 series and first versions of 2.4).
However I'm getting disc errors nowadays.
I've been running version 2.4.8-ben0 (root@pbuk) (gcc version 2.95.4
20010721 (Debian prerelease)) #2 Wed Aug 15 13:23:41 CEST 2001 for the
last month mostly without touching the disc with hdparm and haven't
noticed any malfunction of the disc (I have also run badblocks many
times). When hdparm -a16 -u1 is invoked high disc load leads to the
following disc errors quite often
Sep 18 22:42:06 localhost kernel: hda: dma_intr: status=0x51 { DriveReady SeekComplete Error }
Sep 18 22:42:06 localhost kernel: hda: dma_intr: error=0x40 { UncorrectableError }, CHS=45642/0/88, sector=99376
Sep 18 22:42:06 localhost kernel: end_request: I/O error, dev 03:0d (hda), sector 99376
with about 10 faulty sectors reported.
Also moving back to 2.2 kernel there are no disc problems either (even
with hdparm).
Do you think it is a real disc failure or is anything wrong with the
hdparm setting? Is the unmasking dangerous for Pismo?
Thanks,
Jiri
/dev/hda:
multcount = 0 (off)
I/O support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
nowerr = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 12416/15/63, sectors = 11733120, start = 0
Model=BI-MADAR2-6000 0 , FwRev=RAA25AA1, SerialNo= A 0FFAA02909
Config={ SoftSect DTR>5Mbs RotSpdTol>.5% dStbOff FmtGapReq }
RawCHS=32816/3840/16128, TrkSize=0, SectSize=0, ECCbytes=1024
BuffType=768, BuffSize=8705kB, MaxMultSect=16, MultSect=off
(maybe): CurCHS=32816/3840/16128, CurSects=-2146913536, LBA=yes, LBAsects=-2146913536
IORDY=on/off
PIO modes: pio0 pio1 pio2
DMA modes: ***
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: hdparm and disc errors
2001-09-21 13:43 hdparm and disc errors Jiri Masik
@ 2001-09-21 14:22 ` Benjamin Herrenschmidt
2001-09-24 9:40 ` Jiri Masik
0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Herrenschmidt @ 2001-09-21 14:22 UTC (permalink / raw)
To: Jiri Masik, linuxppc-dev
>Do you think it is a real disc failure or is anything wrong with the
>hdparm setting? Is the unmasking dangerous for Pismo?
That's weird. Note that there are chances that 2.2 lockup on such IDE errors.
The driver did evolve slightly, but not in a way that explains your problem.
Ben.
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: hdparm and disc errors
2001-09-21 14:22 ` Benjamin Herrenschmidt
@ 2001-09-24 9:40 ` Jiri Masik
0 siblings, 0 replies; 3+ messages in thread
From: Jiri Masik @ 2001-09-24 9:40 UTC (permalink / raw)
To: Benjamin Herrenschmidt; +Cc: linuxppc-dev
Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:
> >Do you think it is a real disc failure or is anything wrong with the
> >hdparm setting? Is the unmasking dangerous for Pismo?
>
> That's weird. Note that there are chances that 2.2 lockup on such IDE errors.
>
> The driver did evolve slightly, but not in a way that explains your problem.
>
> Ben.
Hi Ben,
it does not happen with 2.2 at all. I think there was a change in the
driver before 2.4.8-ben0. This is the first kernel I tried which
actually reports the error. Before that I had 2.4.7-ben0 and
2.4.6-pre8 which were crashing without anything reported. I guess it
was caused by the disc as well as the crash was accompanied by the
sound of repeated access to a faulty floppy disc.
Jiri
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-09-24 9:40 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-21 13:43 hdparm and disc errors Jiri Masik
2001-09-21 14:22 ` Benjamin Herrenschmidt
2001-09-24 9:40 ` Jiri Masik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).