Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* DS20 Assorted Difficulties
@ 1999-04-15  5:52 Simon Shapiro
  1999-04-15 13:52 ` Greg Lindahl
  1999-04-15 14:18 ` Jay.Estabrook
  0 siblings, 2 replies; 13+ messages in thread
From: Simon Shapiro @ 1999-04-15  5:52 UTC (permalink / raw)
  To: axp-list

Hi Y'll

Been struggling with these all day. Metrox Millennium II with 4/8MB
of RAM:

X11:

*  The SVGA driver blacks out the screen and goes south on just about
   any setup.  Very same card, very same code work fine in an LX164.

*  Tried the Metrolink one.  $39.00 later - Same result;  the config
   works, the server hangs.

*  Tried to compile the XFBdev driver;  No luck.  Way too broken for my
   ultra-tight schedule.

*  Found a server from Suse;  Has bizzare shlib links.  most are
   resolvable, but one:  What the hack is libgz?  Can find neither hair
   nor hind of it anywhere.

*  Configuring the kernel for the frame buffer is all but simple. the
   working combination here is everything is compiled into the kernel
   except for the matroxfb driver.  This one must be a module, or else
   your kernel will hang/freeze real good at boot time.  First thing
   after it tells you how it was compiled.  I can nicely have the
   display at 1600x1200x32, but the type is on the small side :-) Anyone
   with giant fonts that work?

Shutdown:

*  Seems like the PCI subsystem preserves some states that it tries to
   be nice to the SRM and restore.  Problem is it is too eager and pulls
   the rug from under the drivers' feet.  The result is that either the
   drivers (typically SCSI) complain bitterly, or the kernel blows its
   top with illegal instructions and whathaveyou.

*  If that is survived (typically it leaves the shutdown scripts
   hanging), the SRM is not at all happy with the results.  Me thinks
   be better resetting the darn machine.

*  MD is a bit fragile;  It tends to rebuild the arrays too much. 
   Especially after a crash.  Eventually it gets confused and causes
   mount & co. to oops the kernel.  It should probably learn to
   distinguish abrupt shutdown from a crash and handle writing through
   its buffers more intelligently.  Just a thought.

*  Building a kernel from clean is about 2-3 minutes with -j 8. Much
   more than 8 and gmake looses it, emitting nonsense errors, etc.

Any help on these matters (including re-directs :-) will be much
appreciated.

Sincerely Yours,                 Shimon@Simon-Shapiro.ORG
                                             770.265.7340
Simon Shapiro

Unwritten code has no bugs and executes at twice the speed of mouth


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

* Re: DS20 Assorted Difficulties
  1999-04-15  5:52 DS20 Assorted Difficulties Simon Shapiro
@ 1999-04-15 13:52 ` Greg Lindahl
  1999-04-16  4:46   ` Simon Shapiro
  1999-04-15 14:18 ` Jay.Estabrook
  1 sibling, 1 reply; 13+ messages in thread
From: Greg Lindahl @ 1999-04-15 13:52 UTC (permalink / raw)
  To: shimon; +Cc: axp-list

There have been a fair # of 21264-related postings to this list, which
should be in the archive.

> Been struggling with these all day. Metrox Millennium II with 4/8MB
> of RAM:

Do you have the updated XFree86? I thought Jay said that the usual one
had bugs that made it break on the 21264.

> *  Building a kernel from clean is about 2-3 minutes with -j 8. Much
>    more than 8 and gmake looses it, emitting nonsense errors, etc.

Do you have Jay's 21264 kernel patch in your kernel? He posted it on
this list.

-- g


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

* Re: DS20 Assorted Difficulties
  1999-04-15  5:52 DS20 Assorted Difficulties Simon Shapiro
  1999-04-15 13:52 ` Greg Lindahl
@ 1999-04-15 14:18 ` Jay.Estabrook
  1999-04-15 14:21   ` Greg Lindahl
  1999-04-18  5:18   ` Simon Shapiro
  1 sibling, 2 replies; 13+ messages in thread
From: Jay.Estabrook @ 1999-04-15 14:18 UTC (permalink / raw)
  To: axp-list


>>> Simon Shapiro said:
> 
> Been struggling with these all day. Metrox Millennium II with 4/8MB
> of RAM:
> 
> X11:
> 
> *  The SVGA driver blacks out the screen and goes south on just about
>    any setup.  Very same card, very same code work fine in an LX164.

I believe RH 5.2 contained an SVGA that would work on EV6 machines, but
you could certainly try downloading the 3.3.3.1 update RPMs to get the
very latest.

In addition, there are a couple of tweaks that are recommended, esp. for Mill
II, in the Device Section of XF86Config:

	VideoRam 40896		# explicit prevents probing, fill in yours
	Option   "sw_cursor"	# HW cursor is suspect

> Shutdown:
> 
> *  Seems like the PCI subsystem preserves some states that it tries to
>    be nice to the SRM and restore.  Problem is it is too eager and pulls
>    the rug from under the drivers' feet.  The result is that either the
>    drivers (typically SCSI) complain bitterly, or the kernel blows its
>    top with illegal instructions and whathaveyou.
> 
> *  If that is survived (typically it leaves the shutdown scripts
>    hanging), the SRM is not at all happy with the results.  Me thinks
>    be better resetting the darn machine.

Yes, SRM shutdown/reboot is quite problematic at this time, and is high on
my TODO list.

> *  Building a kernel from clean is about 2-3 minutes with -j 8. Much
>    more than 8 and gmake looses it, emitting nonsense errors, etc.

I also would like to understand why the 2.2 kernels changed the way parallel
makes work, as the 2.0 kernels are very happy with just -j. Anyone know the
history behind this?

--Jay++

-------------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                            Alpha Motherboards - LINUX Project
Compaq Computer Corporation                (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545     Jay.Estabrook@digital.com
-------------------------------------------------------------------------------


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

* Re: DS20 Assorted Difficulties
  1999-04-15 14:18 ` Jay.Estabrook
@ 1999-04-15 14:21   ` Greg Lindahl
  1999-04-15 17:15     ` Jay.Estabrook
  1999-04-18  5:18   ` Simon Shapiro
  1 sibling, 1 reply; 13+ messages in thread
From: Greg Lindahl @ 1999-04-15 14:21 UTC (permalink / raw)
  To: axp-list

> > *  Building a kernel from clean is about 2-3 minutes with -j 8. Much
> >    more than 8 and gmake looses it, emitting nonsense errors, etc.
> 
> I also would like to understand why the 2.2 kernels changed the way parallel
> makes work, as the 2.0 kernels are very happy with just -j. Anyone know the
> history behind this?

Um, is this still broken after your patch? I would think that high
load would bring out the bug you zapped.

-- g


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

* Re: DS20 Assorted Difficulties
  1999-04-15 14:21   ` Greg Lindahl
@ 1999-04-15 17:15     ` Jay.Estabrook
  1999-04-15 17:58       ` Greg Lindahl
                         ` (2 more replies)
  0 siblings, 3 replies; 13+ messages in thread
From: Jay.Estabrook @ 1999-04-15 17:15 UTC (permalink / raw)
  To: axp-list


>>> Greg Lindahl said:
> > > *  Building a kernel from clean is about 2-3 minutes with -j 8. Much
> > >    more than 8 and gmake looses it, emitting nonsense errors, etc.
> > 
> > I also would like to understand why the 2.2 kernels changed the way parallel
> > makes work, as the 2.0 kernels are very happy with just -j. Anyone know the
> > history behind this?
> 
> Um, is this still broken after your patch? I would think that high
> load would bring out the bug you zapped.

No, no, that's not what I meant...

The 2.0 kernels did "parallel make" via breadth-then-depth; when dropping
into a subdirectory, compile jobs would be spawned for all the files in that
directory, and then wait for those to finish before going on to
subdirectories or popping back up to do any siblings, etc, etc. So
essentially the number of parallel compiles was limited to how many compiles
were at a certain directory level, ie drivers/scsi would spawn off compiles
for all the drivers configured plus the "generic" SCSI subsystem sources
(like scsi.c and hosts.c).  This never got so big to cause problems; I like
to run a pair of parallel makes in infinite loops to put a test load on a
system.

Now, the 2.2 kernels changed to a depth-then-breadth technique (at least
that's what it looks like to me), in which all directory levels are
activated at the same time (unless limited by a max number of processes to
spawn, ie -j 8), with one compile at each level. This results, with just -j
and no max limit, in a veritable flood of processes/compiles starting up,
and it seems to overwhelm some part of the system.

So, I ask again, anyone know why this was done, and does it adversely affect
the INTELs as much as it does the ALPHAs, if just done with -j?

--Jay++

-----------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                            Alpha Motherboards - LINUX Project
Compaq Computer Corp.                      (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545     Jay.Estabrook@digital.com
-----------------------------------------------------------------------------



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

* Re: DS20 Assorted Difficulties
  1999-04-15 17:15     ` Jay.Estabrook
@ 1999-04-15 17:58       ` Greg Lindahl
  1999-04-15 20:48       ` geerten kuiper
  1999-04-16  7:20       ` Richard Henderson
  2 siblings, 0 replies; 13+ messages in thread
From: Greg Lindahl @ 1999-04-15 17:58 UTC (permalink / raw)
  To: axp-list

> Now, the 2.2 kernels changed to a depth-then-breadth technique (at least
> that's what it looks like to me), in which all directory levels are
> activated at the same time (unless limited by a max number of processes to
> spawn, ie -j 8), with one compile at each level. This results, with just -j
> and no max limit, in a veritable flood of processes/compiles starting up,
> and it seems to overwhelm some part of the system.

OIC. I have hit a perhaps identical bug: I have some gizmos which do
things in parallel on all the machines in my cluster, which means 290
forks in a row. At times this is not reliable on AlphaLinux ("resource
temporarily unavailable"). But my test program didn't succeed in
breaking things, so I gave up trying to characterize it. Apparently
the process you fork has to actually do something, and then the
planets have to be in alignment. I've never seen that problem in Intel
Linux.

-- g


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

* Re: DS20 Assorted Difficulties
  1999-04-15 17:15     ` Jay.Estabrook
  1999-04-15 17:58       ` Greg Lindahl
@ 1999-04-15 20:48       ` geerten kuiper
  1999-04-16  4:43         ` Simon Shapiro
  1999-04-16 19:22         ` Jay.Estabrook
  1999-04-16  7:20       ` Richard Henderson
  2 siblings, 2 replies; 13+ messages in thread
From: geerten kuiper @ 1999-04-15 20:48 UTC (permalink / raw)
  To: axp-list

Jay

At 13:15 15/04/99 -0400, you wrote:
>
>The 2.0 kernels did "parallel make" via breadth-then-depth; when dropping
>into a subdirectory, compile jobs would be spawned for all the files in that
>directory, and then wait for those to finish before going on to
>subdirectories or popping back up to do any siblings, etc, etc. So
>essentially the number of parallel compiles was limited to how many compiles
>were at a certain directory level, ie drivers/scsi would spawn off compiles
>for all the drivers configured plus the "generic" SCSI subsystem sources
>(like scsi.c and hosts.c).  This never got so big to cause problems; I like
>to run a pair of parallel makes in infinite loops to put a test load on a
>system.
>
>Now, the 2.2 kernels changed to a depth-then-breadth technique (at least
>that's what it looks like to me), in which all directory levels are
>activated at the same time (unless limited by a max number of processes to
>spawn, ie -j 8), with one compile at each level. This results, with just -j
>and no max limit, in a veritable flood of processes/compiles starting up,
>and it seems to overwhelm some part of the system.
>
>So, I ask again, anyone know why this was done, and does it adversely affect
>the INTELs as much as it does the ALPHAs, if just done with -j?
>
Here's what I seem to remember:

-j<n> does not inherit from toplevel make to subdirectory make: you start
<n> of them, but each is executed sequentially.

-j does inherit, so you start all makes and sub-makes and sub-sub-makes and
all tasks at once: this may get you into problems.

in the older kernels the "structure of the toplevel makefile would prevent
paralellism" at that level. -j would work one subdirectory at a time: a
system with a reasonable amount of RAM would handle that.

-j<n> would have no effect at all with these kernels: you had to change the
MAKE= line in the makefile to get a -j<n> to the sub-makes.


the "..." above is a quote-by-heart from a posting on smp-list. I think it
was from Linus himself, so at least the original (which may differ from my
memory) must have been correct.

Groeten,
Geerten.

Geerten Kuiper            |  "It is customary to append a signature or 
Corn. Houtmanstraat 113   |   .sig to a mail message, usually containing 
2593 RG   Den Haag        |   information on the author, along with a 
Nederland                 |   joke or a motto."
                          |                                Olaf Kirch
                          |        LINUX Network Administrators Guide


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

* Re: DS20 Assorted Difficulties
  1999-04-15 20:48       ` geerten kuiper
@ 1999-04-16  4:43         ` Simon Shapiro
  1999-04-16 19:22         ` Jay.Estabrook
  1 sibling, 0 replies; 13+ messages in thread
From: Simon Shapiro @ 1999-04-16  4:43 UTC (permalink / raw)
  To: axp-list


On 15-Apr-99 geerten kuiper wrote:

...

Just to make sure;

What I see is not a system blowing up, but the compile, or link
failing.  To mee it looks like some dependencies get confused with a
plain -j.  It does not with a -j8, but it does again with a -j 20.

BTW, it takes less than three minutes to compile from make clean, so is
this whole thing moot? :-)
 

Sincerely Yours,                 Shimon@Simon-Shapiro.ORG
                                             770.265.7340
Simon Shapiro

Unwritten code has no bugs and executes at twice the speed of mouth


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

* Re: DS20 Assorted Difficulties
  1999-04-15 13:52 ` Greg Lindahl
@ 1999-04-16  4:46   ` Simon Shapiro
  0 siblings, 0 replies; 13+ messages in thread
From: Simon Shapiro @ 1999-04-16  4:46 UTC (permalink / raw)
  To: Greg Lindahl; +Cc: axp-list


On 15-Apr-99 Greg Lindahl wrote:
> There have been a fair # of 21264-related postings to this list,
> which
> should be in the archive.
> 
>> Been struggling with these all day. Metrox Millennium II with 4/8MB
>> of RAM:
> 
> Do you have the updated XFree86? I thought Jay said that the usual
> one
> had bugs that made it break on the 21264.

3.3.3.1  Is this new enough?

I also said that MetroLink fails in the same manner.  Are they of the
same breed?

>> *  Building a kernel from clean is about 2-3 minutes with -j 8. Much
>>    more than 8 and gmake looses it, emitting nonsense errors, etc.
> 
> Do you have Jay's 21264 kernel patch in your kernel? He posted it on
> this list.

Yup.  A few days ago.


Sincerely Yours,                 Shimon@Simon-Shapiro.ORG
                                             770.265.7340
Simon Shapiro

Unwritten code has no bugs and executes at twice the speed of mouth


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

* Re: DS20 Assorted Difficulties
  1999-04-15 17:15     ` Jay.Estabrook
  1999-04-15 17:58       ` Greg Lindahl
  1999-04-15 20:48       ` geerten kuiper
@ 1999-04-16  7:20       ` Richard Henderson
  2 siblings, 0 replies; 13+ messages in thread
From: Richard Henderson @ 1999-04-16  7:20 UTC (permalink / raw)
  To: axp-list

On Thu, Apr 15, 1999 at 01:15:03PM -0400, Jay.Estabrook@digital.com wrote:
> So, I ask again, anyone know why this was done, and does it adversely affect
> the INTELs as much as it does the ALPHAs, if just done with -j?

Linus changed it for his own inscrutible reasons.  It breaks everywhere.

`make -jn' from the top level functions, but not well.


r~


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

* Re: DS20 Assorted Difficulties
  1999-04-15 20:48       ` geerten kuiper
  1999-04-16  4:43         ` Simon Shapiro
@ 1999-04-16 19:22         ` Jay.Estabrook
  1999-04-16 20:15           ` Quant-X Alpha Linux Support
  1 sibling, 1 reply; 13+ messages in thread
From: Jay.Estabrook @ 1999-04-16 19:22 UTC (permalink / raw)
  To: axp-list


>>> geerten kuiper said:
> 
> -j<n> does not inherit from toplevel make to subdirectory make: you start
> <n> of them, but each is executed sequentially.
> 
> -j does inherit, so you start all makes and sub-makes and sub-sub-makes and
> all tasks at once: this may get you into problems.
> 
> in the older kernels the "structure of the toplevel makefile would prevent
> paralellism" at that level. -j would work one subdirectory at a time: a
> system with a reasonable amount of RAM would handle that.
> 
> -j<n> would have no effect at all with these kernels: you had to change the
> MAKE= line in the makefile to get a -j<n> to the sub-makes.

Ah, I forgot to say, I typically do this like so:

	export MAKEFLAGS=-j
	while true; do make clean; make boot; done

This, I believe, makes sure that the -j is inherited by all; right?

And this what I've done when the 2.2 kernel builds fail...

--Jay++

-----------------------------------------------------------------------------
  American Non Sequitur Society: we don't make sense, but we do like pizza...

Jay A Estabrook                            Alpha Motherboards - LINUX Project
Compaq Computer Corp.                      (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545     Jay.Estabrook@digital.com
-----------------------------------------------------------------------------



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

* Re: DS20 Assorted Difficulties
  1999-04-16 19:22         ` Jay.Estabrook
@ 1999-04-16 20:15           ` Quant-X Alpha Linux Support
  0 siblings, 0 replies; 13+ messages in thread
From: Quant-X Alpha Linux Support @ 1999-04-16 20:15 UTC (permalink / raw)
  To: axp-list

Hi Jay !

On Fri, Apr 16, 1999 at 03:22:11PM -0400, Jay.Estabrook@digital.com wrote:

> Ah, I forgot to say, I typically do this like so:
> 
> 	export MAKEFLAGS=-j
> 	while true; do make clean; make boot; done
> 
> This, I believe, makes sure that the -j is inherited by all; right?

Yes. Hmm, are you building the kernel in an endless loop util it gets
stable ? ;-}

-- 
  ciao -
    Stefan Traby
    Quant-X Alpha Linux Support

   Quant-X Service &                         Ph:  (+43) 4212 90555-0
   Consulting Ges.m.b.H.                     Fax: (+43) 4212 90555-555
   http://www.quant-x.com                    Email: support@quant-x.com


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

* Re: DS20 Assorted Difficulties
  1999-04-15 14:18 ` Jay.Estabrook
  1999-04-15 14:21   ` Greg Lindahl
@ 1999-04-18  5:18   ` Simon Shapiro
  1 sibling, 0 replies; 13+ messages in thread
From: Simon Shapiro @ 1999-04-18  5:18 UTC (permalink / raw)
  To: axp-list


On 15-Apr-99 Jay.Estabrook@digital.com wrote:
> 
>>>> Simon Shapiro said:
>> 
>> Been struggling with these all day. Metrox Millennium II with 4/8MB
>> of RAM:
>> 
>> X11:
>> 
>> *  The SVGA driver blacks out the screen and goes south on just
>> about
>>    any setup.  Very same card, very same code work fine in an LX164.
> 
> I believe RH 5.2 contained an SVGA that would work on EV6 machines,
> but
> you could certainly try downloading the 3.3.3.1 update RPMs to get
> the
> very latest.

RH 5.2 contains very old XF86 drivers.  Definitely not working on the
DS20.

Unless RH does something spetacularly different with the Xfree code, I
do not see the difference between them and the xfree direct binaries.

Either way, both still have the very same problem.  As it stands, Linux
on DS20 has no X servers that work :-(

> In addition, there are a couple of tweaks that are recommended, esp.
> for Mill
> II, in the Device Section of XF86Config:
> 
>       VideoRam 40896          # explicit prevents probing, fill in
yours
>       Option   "sw_cursor"    # HW cursor is suspect

Now, these seem to have helped on the LX164.  Thanx.

>> Shutdown:
>> 
>> *  Seems like the PCI subsystem preserves some states that it tries
>> to
>>    be nice to the SRM and restore.  Problem is it is too eager and
>>    pulls
>>    the rug from under the drivers' feet.  The result is that either
>>    the
>>    drivers (typically SCSI) complain bitterly, or the kernel blows
>>    its
>>    top with illegal instructions and whathaveyou.
>> 
>> *  If that is survived (typically it leaves the shutdown scripts
>>    hanging), the SRM is not at all happy with the results.  Me
>>    thinks
>>    be better resetting the darn machine.
> 
> Yes, SRM shutdown/reboot is quite problematic at this time, and is
> high on
> my TODO list.
> 
>> *  Building a kernel from clean is about 2-3 minutes with -j 8. Much
>>    more than 8 and gmake looses it, emitting nonsense errors, etc.
> 
> I also would like to understand why the 2.2 kernels changed the way
> parallel
> makes work, as the 2.0 kernels are very happy with just -j. Anyone
> know the
> history behind this?
> 
> --Jay++
> 
> ----------------------------------------------------------------------
> ---------
>   American Non Sequitur Society: we don't make sense, but we do like
> pizza...
> 
> Jay A Estabrook                            Alpha Motherboards - LINUX
> Project
> Compaq Computer Corporation                (508) 841-3241 or (DTN)
> 237-3241
> 334 South Street, Shrewsbury, MA 01545     Jay.Estabrook@digital.com
> ----------------------------------------------------------------------
> ---------
> 
> -- 
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 



Sincerely Yours,                 Shimon@Simon-Shapiro.ORG
                                             770.265.7340
Simon Shapiro

Unwritten code has no bugs and executes at twice the speed of mouth


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

end of thread, other threads:[~1999-04-18  5:39 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-15  5:52 DS20 Assorted Difficulties Simon Shapiro
1999-04-15 13:52 ` Greg Lindahl
1999-04-16  4:46   ` Simon Shapiro
1999-04-15 14:18 ` Jay.Estabrook
1999-04-15 14:21   ` Greg Lindahl
1999-04-15 17:15     ` Jay.Estabrook
1999-04-15 17:58       ` Greg Lindahl
1999-04-15 20:48       ` geerten kuiper
1999-04-16  4:43         ` Simon Shapiro
1999-04-16 19:22         ` Jay.Estabrook
1999-04-16 20:15           ` Quant-X Alpha Linux Support
1999-04-16  7:20       ` Richard Henderson
1999-04-18  5:18   ` Simon Shapiro

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