Subject: devel-digest V2 #240
From: [email-masked] (devel-digest)
To: [email-masked]

devel-digest         Friday, December 17 1999         Volume 02 : Number 240

In this issue:

    sendmail & virthosts
    Re: sendmail & virthosts
    Distributed.net client for Netwinder (Progess Report)
    Re: Distributed.net -- NW Temperature?
    Re: Distributed.net -- NW Temperature?
    Re: Distributed.net -- NW Temperature? 
    Re: Distributed.net -- NW Temperature?
    Re: Distributed.net -- NW Temperature? 
    Re: Distributed.net -- NW Temperature?
    NW freezing before winter
    Re: NW freezing before winter
    Re: HELP! Hosed again...

See the end of this digest for information about devel-digest.

----------------------------------------------------------------------

Date: Mon, 6 Dec 1999 13:47:10 -0800
From: "Nate 'Dr. Octagon' Gelbard" <[email-masked]>
Subject: sendmail & virthosts

My usual config for sendmail on BSD & Solaris boxes is as follows:

divert(0)dnl
VERSIONID(`@(#)generic-solaris2.mc	8.8 (Berkeley) 5/19/1998')
OSTYPE(solaris2)dnl
DOMAIN(generic)dnl
FEATURE(`virtusertable',`dbm /etc/mail/virtusertable')dnl
FEATURE(`use_cw_file')dnl
FEATURE(`genericstable',`dbm /etc/mail/genericstable')dnl
MAILER(local)dnl
MAILER(smtp)dnl

The sendmail distributed with build15 does not have -DNBM support.
I've installed sleepycat's db, changed the Makefile (in the src rpm),
but have not been able to resolve compile-time errors (that have to do
with the db).

How can I do virthosting and use only NEWDB? The sendmail HowTo on
virthosting seems to only mention DBM.

thanx
	natez

Nate Gelbard		      	       office: 503.284.0369
Straylight Research		       fax   : 516.828.8533

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe devel" as the body of your message.

------------------------------

Date: Mon, 06 Dec 1999 17:26:20 -0500
From: Douglas Paul <[email-masked]>
Subject: Re: sendmail & virthosts

"Nate 'Dr. Octagon' Gelbard" wrote:

> FEATURE(`virtusertable',`dbm /etc/mail/virtusertable')dnl

> How can I do virthosting and use only NEWDB? The sendmail HowTo on

> virthosting seems to only mention DBM.

I've been able to use the virtusertable using 'hash' instead of 'dbm.'
Then, you can use 'makemap hash virtusertable < virtusertable' to create
the database. I haven't tried the genericstable, but I expect it would
work as well.

- --
Douglas Paul

[email-masked]
[email-masked]

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe devel" as the body of your message.

------------------------------

Date: Wed, 08 Dec 1999 18:40:14 -0500
From: "Andrew E. Mileski" <[email-masked]>
Subject: Distributed.net client for Netwinder (Progess Report)

"Andrew E. Mileski" wrote:
> I got a response from D.NET today, telling me to hold on while my
> success report is passed on to (hopefully) someone that can get me
> the source for the full client.
> 
> Patience is a virtue.

An update...

I have the full D.NET source now, and have built a client that passes
all tests on all cores (RC5, DES, CSC).  I'm waiting to hear back from
other ARM developers on how to merge my code with theirs, as some of
the changes I had to make to the assembly code could cause their builds
to fail.

I'll announce when the client is available (hopefully very soon).

Patience is _still_ a virtue.

- --
Andrew E. Mileski - Software Engineer
REBEL.COM  http://www.rebel.com/

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe devel" as the body of your message.

------------------------------

Date: 09 Dec 1999 13:00:45 -0800
From: [email-masked]
Subject: Re: Distributed.net -- NW Temperature?

"Andrew E. Mileski" <[email-masked]> writes:
> "Andrew E. Mileski" wrote:
> > I got a response from D.NET today, telling me to hold on while my
> > success report is passed on to (hopefully) someone that can get me
> > the source for the full client.
> > 
> > Patience is a virtue.
> 
> An update...
> 
> I have the full D.NET source now, and have built a client that passes
> all tests on all cores (RC5, DES, CSC).  I'm waiting to hear back from
> other ARM developers on how to merge my code with theirs, as some of
> the changes I had to make to the assembly code could cause their builds
> to fail.
> 
> I'll announce when the client is available (hopefully very soon).
> 
> Patience is _still_ a virtue.
> 

This is great news.  Now we can all make use of all those extra CPU
cycles.

However, this begs the question.  With a continuous full CPU load will
there be any significant heating effects?  I know that my PII gets
hotter 'n Hell when I run seti@home.  I know that the NW is extremely
efficient.  But my Winder doesn't normally operate anywhere near top
load.  In a larger network, or with D.NET client running, this would
dramatically change.

This may seem like a silly issue, but some customers will want to
shove their heavily loaded Winder(s) into a closet.  I'd like to know:
What are Rebel recommendations about temperature?  Is there any
software to protect the Winder (by shutting down, or something) upon
overheating?

Thanks.

Arne

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe devel" as the body of your message.

------------------------------

Date: Thu, 9 Dec 1999 21:48:48 +0000 (GMT)
From: Russell King <[email-masked]>
Subject: Re: Distributed.net -- NW Temperature?

[email-masked] writes:
> However, this begs the question.  With a continuous full CPU load will
> there be any significant heating effects?

The short answer is "No".

The reason is that the CPU is able to run faster in the idle loop than
anywhere else, since the idle loop fits totally within the cache.

Therefore, the more the CPU is doing, the more cache misses, the more
the clock is slowed to the core, the cooler the CPU runs.
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |         Russell King        [email-masked]      --- ---
  | | | |   http://www.arm.linux.org.uk/~rmk/aboutme.html    /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |
- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe devel" as the body of your message.

------------------------------

Date: Thu, 09 Dec 1999 21:55:23 +0000
From: Philip Blundell <[email-masked]>
Subject: Re: Distributed.net -- NW Temperature? 

Russell King wrote:
>[email-masked] writes:
>> However, this begs the question.  With a continuous full CPU load will
>> there be any significant heating effects?
>
>The short answer is "No".
>
>The reason is that the CPU is able to run faster in the idle loop than
>anywhere else, since the idle loop fits totally within the cache.

Doesn't the idle loop do a wait-for-interrupt on NetWinder?

p.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe devel" as the body of your message.

------------------------------

Date: Thu, 9 Dec 1999 21:58:23 +0000 (GMT)
From: Russell King <[email-masked]>
Subject: Re: Distributed.net -- NW Temperature?

Philip Blundell writes:
> >The reason is that the CPU is able to run faster in the idle loop than
> >anywhere else, since the idle loop fits totally within the cache.
> 
> Doesn't the idle loop do a wait-for-interrupt on NetWinder?

Unfortunately, wait for interrupt does not do so on the NetWinder, and
just becomes a no-op (check the capture on this instruction).
   _____
  |_____| ------------------------------------------------- ---+---+-
  |   |         Russell King        [email-masked]      --- ---
  | | | |   http://www.arm.linux.org.uk/~rmk/aboutme.html    /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |
- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe devel" as the body of your message.

------------------------------

Date: Thu, 09 Dec 1999 22:11:22 +0000
From: Philip Blundell <[email-masked]>
Subject: Re: Distributed.net -- NW Temperature? 

Russell King wrote:

>Unfortunately, wait for interrupt does not do so on the NetWinder, and
>just becomes a no-op (check the capture on this instruction).

Ah, that's a bit sad.  In that case it might be an idea to augment or replace 
it with a load from some uncached area now that we have per-architecture 
idle code.  Having the CPU screaming round in a tight loop isn't exactly 
what you want, and the core does dissipate noticeably more power when that's 
going on.  

p.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe devel" as the body of your message.

------------------------------

Date: Thu, 09 Dec 1999 18:55:20 -0500
From: Ralph Siemsen <[email-masked]>
Subject: Re: Distributed.net -- NW Temperature?

In response to the other question, do we provide any temperature
monitoring, the answer is "sort of".  There is a nice watchdogd package
that monitors temperature, cpu load, ability to fork new processes, and
the like.  It needs to be tweaked a little bit (temperature range, and
load) and then we'll include it in regular builds.  Woody also has a
similar program of his own creation.  In either case, if a problem is
detected, it is sysloged and then the machine is halted.

On RM units, the power actually shuts off.  On the desktop plastic case,
this isn't possible.  As of the current 2.2.12 kernel, there is a
software powerdown section, which parks the hard disk, shuts off as many
chips as possible, and generally tries to make it look like the power is
off (minimal heat).  Woody measured the power usage in this "frozen"
state (note it's not really a sleep, as you have to power cycle to get
out of it).

As for what is safe, we generally say anything under 50 C is alright. 
By default units get shipped with the fan set that way.  There is some
variation from unit to unit having to do with the way the temperature
sensor is soldered to the PC board, so some units might consistently
read a few degrees higher or lower.  Much over 55 is certainly trouble,
particularly for the hard disk, which tends to start generating lots of
errors (and loud clicking noises as it resets itself).

- -- 
Ralph Siemsen -- [email-masked]

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe devel" as the body of your message.

------------------------------

Date: Fri, 10 Dec 1999 08:51:10 -0600
From: "Darryl DeGraff" <[email-masked]>
Subject: NW freezing before winter

I am trying to track down an intermittent problem in which the (headless)
NetWinder basically freezes, with one or more of the following behaviours:

- - fully 'frozen': not 'pingable' (running DM12); attaching monitor and
keyboard (I realize this may be risky business...) cannot get a login
prompt.

- - partially thawed: (this machine always runs with a keyboard and montor;
it's my development machine running DM10): is pingable, can switch
between logins using F1, F2, etc, but cannot type anything at the prompt.
ftp gives the message 'Connected to <host>.', but nothing more.

The one common thread seems to be around 05:00 AM: our server logs
data every minute and we have noticed in our log files an entry near
this time.

I am unable to determine if, in the former case, the machine is halted or,
perhaps, stuck in the kernel or a device driver (we do have a driver but
I use interruptable_sleepon() or specific timeouts using udelay() so that
the machine should continue normally), or, in the later case, ... ???  In
either case, the NW has to be hard rebooted (cycle power).

So ... my question: Is there and, if so, where will I find system log
information on halted processes (or machine halts or Oops), especially
between reboots.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe devel" as the body of your message.

------------------------------

Date: Fri, 10 Dec 1999 10:23:45 -0500
From: "Andrew E. Mileski" <[email-masked]>
Subject: Re: NW freezing before winter

Darryl DeGraff wrote:
> - fully 'frozen': not 'pingable' (running DM12); attaching monitor and
...
> it's my development machine running DM10): is pingable, can switch

My first suggestion is to give DM 15 public 6 a whirl if possible (and
brave enough to figure out how to install).

> The one common thread seems to be around 05:00 AM: our server logs

/etc/cron.{daily,weekly,monthly} stuff usually runs at about 4am

> So ... my question: Is there and, if so, where will I find system log
> information on halted processes (or machine halts or Oops), especially
> between reboots.

If the kernel is still running, and the klogd/syslogd daemons are okay,
check /var/log/messages   Once one of these goes, logging stops.

- --
Andrew E. Mileski - Software Engineer
REBEL.COM  http://www.rebel.com/

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe devel" as the body of your message.

------------------------------

Date: Fri, 17 Dec 1999 13:38:12 -0500
From: Kevin Cole <[email-masked]>
Subject: Re: HELP! Hosed again...

Ralph Siemsen wrote:

> Kevin Cole wrote:
>
> > I left the machine running (or rather, "panicking") Wed night, and went
> > away for the holiday weekend.  This morning, I came in, flipped on the
> > monitor and as expected, the screen was right where I had left it:
> > mid-boot with the panic.  So, I give it the three-fingered salute, and
> > hear a sound that I've never noticed before:  Sort of like the fan,
> > but going louder-softer-louder-softer repeatedly.  The boot procedes,
> > but
>
> Hmm, sounds suspiciously of an overheating problem.  If the machine is
> hung during startup it's possible that the fan control isn't enabled, so
> the fan might have been off the whole time...
>
> > now it says it can't find the hard disk at all.  I now interpret the
> > sound as a hard disk trying and failing to get up to speed or something
> > like that.
>
> Turn it off and let it cool down, you might be lucky.  Failing that, the
> drives are standard laptop IDE drives (we use Toshiba and Hitachi, but
> it shouldn't matter).  You have to completely dissassemble the unit to
> change the drive...
>

OK.  I've probably voided whatever warranty I might have had (the
machine's about two years old) and popped the hard disk out. It's a
Toshiba    (a) MK2101MAN    (b) HDD2616 R ZE91
(2167 MB, 4200 cylinders, 16 heads, 63 sec/track).

Any recommendations on a replacement?   And, what are the chances
that something OTHER THAN the hard disk burned up?  I'd hate to
replace the hard disk only to learn that it wasn't the problem.

Thanx.

- ---
This message processed by the Netwinder.Org news2mail gateway.

- --
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe devel" as the body of your message.

------------------------------

End of devel-digest V2 #240
***************************

--
This list is run automagically by Majordomo 1.94.4
Please send email questions to [email-masked]
To UNSUBSCRIBE: email [email-masked] with
"unsubscribe devel-digest" as the body of your message.