Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Solved: LX hangs under high SCSI load
@ 1999-03-02 17:06 furio ercolessi
  1999-03-03  3:03 ` Greg Lindahl
  0 siblings, 1 reply; 13+ messages in thread
From: furio ercolessi @ 1999-03-02 17:06 UTC (permalink / raw)
  To: axp-list; +Cc: tomh, stefan

This problem, that I reported to the list on 20 Jan 1999, is now
solved - which doesn't mean understood.  We simply replaced the
Adaptec 2940 with an Intraserver 3140 controller, changed the driver
in the kernel to ncr53c8xx, and the machine has happily passed a busy
night of tests.  We are now proceeding to do that also on our other
three alphaservers.  The Adaptec boards will go into intel boxes.

Happiness is a stable AlphaLinux! :-)

furio ercolessi
Spin - Trieste (Italy)

> 
> We are experiencing hangs of LX boxes under high SCSI disk load.
> This is the same problem that I previously reported as an
> rsync-induced crash:
> http://www.lib.uaa.alaska.edu/axp-list/archive/1998-11/0658.html
> I have now seen that occurring also with rdist, so the application
> is not responsible.  In both cases I was trying to replicate
> a directory tree of about 2GB from one disk to another.
> The hangs occur randomly, usually after several minutes of intense
> disk activity.  I have seen it on two similar boxes,
> so a h/w failure is unlikely.  Under "normal" disk load the
> machines are doing fine and stay up for (at least) weeks.
> 
> There are no kernel messages, and a very substantial file system corruption.  
> By pressing Ctrl-ScrLock, Shift-ScrLock after the hangs (the only action
> that triggers some response from the box..) , I see that the program 
> counter points either to do_sd_request or requeue_sd_request (within 
> drivers/scsi/sd.c). Other addresses that I see in registers refer to 
> blk_dev , random_pool, all_requests.
> 
> Machine is LX 533MHz/2Mb, Adaptec AHA-294X Ultra SCSI, one
> Seagate ST39102LW (9GB) and one Fujitsu MAB3045SC (4.5GB),
> SCSI setting: Synchronous at 40.0 Mbyte/sec.
> RH 5.2, kernel 2.0.36 (from RH updates), SCSI driver AIC7XXX 5.1.4/3.2.4
> I have tried running with option aic7xxx=panic_on_abort, but the
> aic7xxx_panic_abort function is never called.
> 


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

* Re: Solved: LX hangs under high SCSI load
  1999-03-02 17:06 Solved: LX hangs under high SCSI load furio ercolessi
@ 1999-03-03  3:03 ` Greg Lindahl
  1999-03-03  3:43   ` Tom Holroyd
  1999-03-03  9:57   ` furio ercolessi
  0 siblings, 2 replies; 13+ messages in thread
From: Greg Lindahl @ 1999-03-03  3:03 UTC (permalink / raw)
  To: axp-list

> This problem, that I reported to the list on 20 Jan 1999, is now
> solved - which doesn't mean understood.

Did you try the new Adaptec driver with the 2.2.X kernel series?
I have the same problem (times 67 machines).

-- g


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

* Re: Solved: LX hangs under high SCSI load
  1999-03-03  3:03 ` Greg Lindahl
@ 1999-03-03  3:43   ` Tom Holroyd
  1999-03-03  9:57   ` furio ercolessi
  1 sibling, 0 replies; 13+ messages in thread
From: Tom Holroyd @ 1999-03-03  3:43 UTC (permalink / raw)
  To: axp-list; +Cc: Greg Lindahl

On Tue, 2 Mar 1999, Greg Lindahl wrote:

>> This problem, that I reported to the list on 20 Jan 1999, is now
>> solved - which doesn't mean understood.
>
>Did you try the new Adaptec driver with the 2.2.X kernel series?
>I have the same problem (times 67 machines).

I'm running 2.2.2-ac4, AlphaPC164LX, Adaptec AHA-294X, and I've been
getting random lockups under load.  In fact, this morning the first thing
I did when I came in was (masochistic)
	time dd if=/dev/zero of=/tmp/moo bs=10240 count=10000
and the system froze right after it finished.

I've been seeing this for some time, since 2.1.13x or so.  It never
happened under 2.0.32.  I don't know if it's really the 2940.  It could be
something in the driver.  I saw a note on linux-kernel this morning about
the latest changes in the aic7xxx having problems, so things are still in
flux.

Dr. Tom Holroyd
I would dance and be merry,
Life would be a ding-a-derry,
If I only had a brain.
	-- The Scarecrow



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

* Re: Solved: LX hangs under high SCSI load
@ 1999-03-03  8:58 Robert Harley
  1999-03-03  9:20 ` Tom Holroyd
  1999-03-03 14:21 ` Greg Lindahl
  0 siblings, 2 replies; 13+ messages in thread
From: Robert Harley @ 1999-03-03  8:58 UTC (permalink / raw)
  To: axp-list

Tom Holroyd (tomh@nibh.go.jp) wrote:
>I'm running 2.2.2-ac4, AlphaPC164LX, Adaptec AHA-294X, and I've been
>getting random lockups under load. In fact, this morning the first thing
>I did when I came in was (masochistic)
>time dd if=/dev/zero of=/tmp/moo bs=10240 count=10000
>and the system froze right after it finished.

I've never seen any problem like that (2.0.35, Miata, Adaptec AHA-294X).
I just ran your "time dd ..." command a few times in a row.  No problem.

Rob.


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

* Re: Solved: LX hangs under high SCSI load
  1999-03-03  8:58 Robert Harley
@ 1999-03-03  9:20 ` Tom Holroyd
  1999-03-03 14:21 ` Greg Lindahl
  1 sibling, 0 replies; 13+ messages in thread
From: Tom Holroyd @ 1999-03-03  9:20 UTC (permalink / raw)
  To: Robert Harley; +Cc: axp-list

On Wed, 3 Mar 1999, Robert Harley wrote:

>Tom Holroyd (tomh@nibh.go.jp) wrote:
>>I'm running 2.2.2-ac4, AlphaPC164LX, Adaptec AHA-294X, and I've been
>>getting random lockups under load. In fact, this morning the first thing
>>I did when I came in was (masochistic)
>>time dd if=/dev/zero of=/tmp/moo bs=10240 count=10000
>>and the system froze right after it finished.
>
>I've never seen any problem like that (2.0.35, Miata, Adaptec AHA-294X).
>I just ran your "time dd ..." command a few times in a row.  No problem.

Care to try it with 2.2.2-ac4?  (or 2.2.1 -- stock 2.2.2 doesn't compile
on alpha)

Dr. Tom Holroyd
I would dance and be merry,
Life would be a ding-a-derry,
If I only had a brain.
	-- The Scarecrow


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

* Re: Solved: LX hangs under high SCSI load
  1999-03-03  3:03 ` Greg Lindahl
  1999-03-03  3:43   ` Tom Holroyd
@ 1999-03-03  9:57   ` furio ercolessi
  1 sibling, 0 replies; 13+ messages in thread
From: furio ercolessi @ 1999-03-03  9:57 UTC (permalink / raw)
  To: axp-list

> > This problem, that I reported to the list on 20 Jan 1999, is now
> > solved - which doesn't mean understood.
> 
> Did you try the new Adaptec driver with the 2.2.X kernel series?
> I have the same problem (times 67 machines).

No, we are on 2.0.36 because of lack of human time to do experiments
on servers at present, and because crashes are expensive for us.
This is also why we tried changing the h/w first, and since
it worked we are happy.
Of course if we had 67 servers instead of 4 the strategy could
have been different..

good luck

furio ercolessi
Spin - Trieste (Italy)


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

* Re: Solved: LX hangs under high SCSI load
  1999-03-03  8:58 Robert Harley
  1999-03-03  9:20 ` Tom Holroyd
@ 1999-03-03 14:21 ` Greg Lindahl
  1999-03-04 10:05   ` Tom Holroyd
  1 sibling, 1 reply; 13+ messages in thread
From: Greg Lindahl @ 1999-03-03 14:21 UTC (permalink / raw)
  To: axp-list

> >I'm running 2.2.2-ac4, AlphaPC164LX, Adaptec AHA-294X, and I've been
> >getting random lockups under load. In fact, this morning the first thing
> >I did when I came in was (masochistic)
> >time dd if=/dev/zero of=/tmp/moo bs=10240 count=10000
> >and the system froze right after it finished.
> 
> I've never seen any problem like that (2.0.35, Miata, Adaptec AHA-294X).
> I just ran your "time dd ..." command a few times in a row.  No problem.

The problem seems to be with multiple disks. The tester was talking
about having 2 disks, and during his dd tests, he may have had enough
disk access on the other disk to trigger the bug.

I have the buggy driver on 67 machines, and it's never crashed a
system with only one disk in use.

-- g




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

* Re: Solved: LX hangs under high SCSI load
  1999-03-03 14:21 ` Greg Lindahl
@ 1999-03-04 10:05   ` Tom Holroyd
  1999-03-04 12:31     ` furio ercolessi
  1999-03-04 15:45     ` mlarocque
  0 siblings, 2 replies; 13+ messages in thread
From: Tom Holroyd @ 1999-03-04 10:05 UTC (permalink / raw)
  To: axp-list

On Wed, 3 Mar 1999, Greg Lindahl wrote:

>> >I'm running 2.2.2-ac4, AlphaPC164LX, Adaptec AHA-294X...
>> >dd if=/dev/zero of=/tmp/moo bs=10240 count=10000
>> >and the system froze right after it finished.
>
>The problem seems to be with multiple disks. The tester was talking
>about having 2 disks, and during his dd tests, he may have had enough
>disk access on the other disk to trigger the bug.
>
>I have the buggy driver on 67 machines, and it's never crashed a
>system with only one disk in use.

I disconnected all the external disks and it still happened.  I tried
going back to aic7xxx driver version 5.1.10, but that didn't help either. 


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

* Re: Solved: LX hangs under high SCSI load
  1999-03-04 10:05   ` Tom Holroyd
@ 1999-03-04 12:31     ` furio ercolessi
  1999-03-04 14:02       ` Greg Lindahl
  1999-03-04 15:45     ` mlarocque
  1 sibling, 1 reply; 13+ messages in thread
From: furio ercolessi @ 1999-03-04 12:31 UTC (permalink / raw)
  To: axp-list

> On Wed, 3 Mar 1999, Greg Lindahl wrote:
> 
> >> >I'm running 2.2.2-ac4, AlphaPC164LX, Adaptec AHA-294X...
> >> >dd if=/dev/zero of=/tmp/moo bs=10240 count=10000
> >> >and the system froze right after it finished.
> >
> >The problem seems to be with multiple disks. The tester was talking
> >about having 2 disks, and during his dd tests, he may have had enough
> >disk access on the other disk to trigger the bug.
> >
> >I have the buggy driver on 67 machines, and it's never crashed a
> >system with only one disk in use.
> 
> I disconnected all the external disks and it still happened.  I tried
> going back to aic7xxx driver version 5.1.10, but that didn't help either. 

Most of the times I was using two disks simultaneously (in fact,
copying one onto the other). However, I observed an event where
the crash involved only one disk (there were incoming data from
Ethernet written on disk), so multiple disks is not a crucial ingredient.
In my experience, _writing_ on disk is a crucial ingredient.

furio ercolessi
Spin - Trieste (Italy)


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

* Re: Solved: LX hangs under high SCSI load
  1999-03-04 12:31     ` furio ercolessi
@ 1999-03-04 14:02       ` Greg Lindahl
  1999-03-04 14:34         ` furio ercolessi
  1999-03-04 17:19         ` Michal Jaegermann
  0 siblings, 2 replies; 13+ messages in thread
From: Greg Lindahl @ 1999-03-04 14:02 UTC (permalink / raw)
  To: axp-list

> Most of the times I was using two disks simultaneously (in fact,
> copying one onto the other). However, I observed an event where
> the crash involved only one disk (there were incoming data from
> Ethernet written on disk), so multiple disks is not a crucial ingredient.
> In my experience, _writing_ on disk is a crucial ingredient.

I have 67 systems that write on their one disk all the time. Their
uptime is much longer than the frequency with which I reboot to
upgrade their kernels. In your example above, was there a second disk?

The other dd report is interesting, but I reported a bug a long time
ago only on Alphas which has to do with kernel memory management and
dd from /dev/zero. Perhaps this is the problem? I'd like to hear about
experiences with 2.2 other than this dd example.

-- g


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

* Re: Solved: LX hangs under high SCSI load
  1999-03-04 14:02       ` Greg Lindahl
@ 1999-03-04 14:34         ` furio ercolessi
  1999-03-04 17:19         ` Michal Jaegermann
  1 sibling, 0 replies; 13+ messages in thread
From: furio ercolessi @ 1999-03-04 14:34 UTC (permalink / raw)
  To: axp-list

> 
> > Most of the times I was using two disks simultaneously (in fact,
> > copying one onto the other). However, I observed an event where
> > the crash involved only one disk (there were incoming data from
> > Ethernet written on disk), so multiple disks is not a crucial ingredient.
> > In my experience, _writing_ on disk is a crucial ingredient.
> 
> I have 67 systems that write on their one disk all the time. Their
> uptime is much longer than the frequency with which I reboot to
> upgrade their kernels. In your example above, was there a second disk?

Yes, there was a second disk; it's just that the activity on it
was - presumably - very moderate, if any.
So perhaps the crucial ingredient is more than one disk
AND writing activity on one of them :-)

furio ercolessi
Spin - Trieste (Italy)


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

* Re: Solved: LX hangs under high SCSI load
  1999-03-04 10:05   ` Tom Holroyd
  1999-03-04 12:31     ` furio ercolessi
@ 1999-03-04 15:45     ` mlarocque
  1 sibling, 0 replies; 13+ messages in thread
From: mlarocque @ 1999-03-04 15:45 UTC (permalink / raw)
  To: axp-list

On Thu, 4 Mar 1999, Tom Holroyd wrote:

> On Wed, 3 Mar 1999, Greg Lindahl wrote:
> 
> >> >I'm running 2.2.2-ac4, AlphaPC164LX, Adaptec AHA-294X...
> >> >dd if=/dev/zero of=/tmp/moo bs=10240 count=10000
> >> >and the system froze right after it finished.
> >
> >The problem seems to be with multiple disks. The tester was talking
> >about having 2 disks, and during his dd tests, he may have had enough
> >disk access on the other disk to trigger the bug.
> >
> >I have the buggy driver on 67 machines, and it's never crashed a
> >system with only one disk in use.
> 
> I disconnected all the external disks and it still happened.  I tried
> going back to aic7xxx driver version 5.1.10, but that didn't help either. 

There's one thing I haven't seen mentioned in this thread. I don't
know if this is still the case with Adaptec, but a few years ago, they
were putting out a new revision of the firmware on a _very_ frequent
basis, (read: fixing bugs and inserting new ones) and they didn't
always update the firmware version numbers. It wouldn't surprise me in
the least that this may, in some way, be the cause of many people's
problems - it's not trivial to write drivers for `N' (where N is very
large) different versions of the `same' card/firmware.

Just my $0.02

Carpe viam,
Mike

<*> Michael Larocque - mlarocque@home.com <*>
      http://members.home.net/mlarocque
An idle CPU is a terrible thing to waste - www.distributed.net


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

* Re: Solved: LX hangs under high SCSI load
  1999-03-04 14:02       ` Greg Lindahl
  1999-03-04 14:34         ` furio ercolessi
@ 1999-03-04 17:19         ` Michal Jaegermann
  1 sibling, 0 replies; 13+ messages in thread
From: Michal Jaegermann @ 1999-03-04 17:19 UTC (permalink / raw)
  To: axp-list

Greg Lindahl wrote:
> 
> The other dd report is interesting, but I reported a bug a long time
> ago only on Alphas which has to do with kernel memory management and
> dd from /dev/zero. Perhaps this is the problem? I'd like to hear about
> experiences with 2.2 other than this dd example.

I tried that example on EB64+ with 2.2.2-ac5 writing multiple times
both to /dev/null and to a disk file and could not make anything bad
to happen.  I do not have an Adaptec controller, though, but NCR 53c875.

  Michal


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

end of thread, other threads:[~1999-03-04 17:23 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-02 17:06 Solved: LX hangs under high SCSI load furio ercolessi
1999-03-03  3:03 ` Greg Lindahl
1999-03-03  3:43   ` Tom Holroyd
1999-03-03  9:57   ` furio ercolessi
  -- strict thread matches above, loose matches on Subject: below --
1999-03-03  8:58 Robert Harley
1999-03-03  9:20 ` Tom Holroyd
1999-03-03 14:21 ` Greg Lindahl
1999-03-04 10:05   ` Tom Holroyd
1999-03-04 12:31     ` furio ercolessi
1999-03-04 14:02       ` Greg Lindahl
1999-03-04 14:34         ` furio ercolessi
1999-03-04 17:19         ` Michal Jaegermann
1999-03-04 15:45     ` mlarocque

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