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

devel-digest         Thursday, August 19 1999         Volume 02 : Number 226

In this issue:

    Re: boot problems
    Re: boot problems
    Re: boot problems 
    Re: boot problems
    Re: boot problems
    ip_masq - kernel recompile?
    Re: ip_masq - kernel recompile?
    Re: ip_masq - kernel recompile?
    PPPoE
    ssh problem?!
    Re: ssh problem?!
    Re: ssh problem?!
    postgresql-6.5.1
    Re: ssh problem?!

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

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

Date: Thu, 12 Aug 1999 11:33:27 -0400
From: "Andrew E. Mileski" <[email-masked]>
Subject: Re: boot problems

Darryl DeGraff wrote:
> Two concerns:
> - I see the
>      Tulip Eth100 card SROM needs to be programmed...
> message at every boot, not just this time.  What is the cause?  We are not
> using the 10/100 connnector so I am not worried about it, but am curious.

Somehow it escaped the facroty without a MAC address (ie. it is useless).

> - I have never seen the boot failure:
>      mk_reboot_kernel(): Unable to reset hardware. Please press and hold
> RESET button.
> What hardware might be at issue here?  Further, pressing and holding the
> reset button did not help.  In order to get a successful boot the power had
> to be removed (sounds like a chip got stuck).

Have seen this before, but it is very rare.  Don't know the details
myself. (Hey Woody! Are you reading?)

You should try upgrading to 2.1.7 firmware.

- --
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: Thu, 12 Aug 1999 11:20:02 -0500
From: "Darryl DeGraff" <[email-masked]>
Subject: Re: boot problems

Andrew E. Mileski" <andrewm @ netwinder.org> wrote
> Somehow it escaped the facroty without a MAC address (ie. it is useless).

Does this mean that is cannot EVER be used unless we ship back?

> You should try upgrading to 2.1.7 firmware.

Will give this a go.

darryl (li-cor)

- --
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, 12 Aug 1999 17:28:25 +0100
From: [email-masked]
Subject: Re: boot problems 

In message <[email-masked]>, "Andrew E. Mileski" writes:
>Darryl DeGraff wrote:
>> Two concerns:
>> - I see the
>>      Tulip Eth100 card SROM needs to be programmed...
>> message at every boot, not just this time.  What is the cause?  We are not
>> using the 10/100 connnector so I am not worried about it, but am curious.
>
>Somehow it escaped the facroty without a MAC address (ie. it is useless).

This happens if you have an "old" board and the SROM is not up to date.  It 
still seems to work in this state, in fact.  For these purposes I think "old" 
means "originally shipped with a 2.0.31 kernel".

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, 12 Aug 1999 14:59:28 -0400
From: Ralph Siemsen <[email-masked]>
Subject: Re: boot problems

Darryl DeGraff wrote:
> 
> Andrew E. Mileski" <andrewm @ netwinder.org> wrote
> > Somehow it escaped the facroty without a MAC address (ie. it is useless).
> 
> Does this mean that is cannot EVER be used unless we ship back?

Acutally, no.  It simply needs the "tulip_upgd" module loaded once, then
a reboot.  You can find it on the ftp site in
pub/ccc/modules/tulip_upgd.o.  Simply "insmod" it and it should
reprogram the mac address for you.  The module was built against 2.0.35
kernel and my require the "-f" flag to force load it if you're running a
different kernel. 

- -- 
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: Thu, 12 Aug 1999 17:03:36 -0400
From: "Andrew E. Mileski" <[email-masked]>
Subject: Re: boot problems

[email-masked] wrote:
> This happens if you have an "old" board and the SROM is not up to date.

Yes, that is correct...didn't think of that (haven't seen one like that
for quite a spell).

Thanks Philip.

- --
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, 13 Aug 1999 13:46:30 -0700
From: Kendall Willets <[email-masked]>
Subject: ip_masq - kernel recompile?

I'm running disk image 12, and I've been trying to get ip translation to
work, following the howto, etc.  

Is the kernel not compiled for this?  It looks like I'll have to get the
source and compile it if so.

- ---
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, 13 Aug 1999 17:51:07 -0400
From: "Andrew E. Mileski" <[email-masked]>
Subject: Re: ip_masq - kernel recompile?

Kendall Willets wrote:
> I'm running disk image 12, and I've been trying to get ip translation to
> work, following the howto, etc.
> 
> Is the kernel not compiled for this?  It looks like I'll have to get the
> source and compile it if so.

I think it was (?)

If '/sbin/ipfwadm -Fle' barfs, then you may have to rebuild a kernel.
[Probably another sign is if /proc/net/ip_masquerade exists.]

- --
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, 13 Aug 1999 16:20:05 -0700
From: Kendall Willets <[email-masked]>
Subject: Re: ip_masq - kernel recompile?

"Andrew E. Mileski" wrote:
> 
> I think it was (?)
> 
> If '/sbin/ipfwadm -Fle' barfs, then you may have to rebuild a kernel.
> [Probably another sign is if /proc/net/ip_masquerade exists.]
> 

ipfwadm -Ml fails with "protocol not found", if I remember correctly. 
- -Al lists accounting rules (none).

And yes, I can find /proc/net/ip_accounting (or some such), but no
ip_masquerade.  

I'll double-check when I get home.

- ---
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: Tue, 17 Aug 1999 13:06:32 -0400
From: "Andrew E. Mileski" <[email-masked]>
Subject: PPPoE

If anyone is interested, I've put some PPPoE stuff in my home directory.

  ftp://netwinder.org/devteam/andrewm/sympatico-0_1.tar.gz

Supposedly released by Sympatico, though I got it from another site.

- --
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: Wed, 18 Aug 1999 16:31:39 -0700
From: Nathan Gelbard <[email-masked]>
Subject: ssh problem?!

ssh-1.2.27 on a DM build 12 machine.

make install
...
and ssh-keygen runs forever. lots of dots, for hours and hours.
What gives?

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: Wed, 18 Aug 1999 23:46:34 +0000
From: Mike Montour <[email-masked]>
Subject: Re: ssh problem?!

Nathan Gelbard wrote:
> 
> ssh-1.2.27 on a DM build 12 machine.
> 
> make install
> ...
> and ssh-keygen runs forever. lots of dots, for hours and hours.
> What gives?

This is answered in the FAQ; you need to set a few config options.
I think the "keygen runs forever" problem is cured by --disable-asm.

http://starship.skyport.net/crew/jtittsler/netwinder/faq.cgi?req=show&file=faq05.011.htp

- -- 
		      -Mike  [[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: 19 Aug 1999 00:57:12 GMT
From: Rod Stewart <[email-masked]>
Subject: Re: ssh problem?!

Mike Montour <[email-masked]> wrote:
> Nathan Gelbard wrote:
>> 
>> ssh-1.2.27 on a DM build 12 machine.

> This is answered in the FAQ; you need to set a few config options.
> I think the "keygen runs forever" problem is cured by --disable-asm.

> http://starship.skyport.net/crew/jtittsler/netwinder/faq.cgi?req=show&file=faq05.011.htp

Or grab the source rpm from (which has a couple of ARM patches) from:
	ftp.nw.carleton.ca/pub/winder/titanIV/extra/SRPMS/ssh-*

The one with -2i, does not require PAM, the one with -4i, requires PAM.
Patching up to 27 from 26 is not all that difficult.

- -Rms

- ---
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, 19 Aug 1999 14:59:44 +0000
From: Chris Besignano <[email-masked]>
Subject: postgresql-6.5.1

I am trying to get postgresql-6.5.1 to compile on my Netwinder DM [Build
15]. I get the following message when compiling using both the generic
and linux_i386 templates. Postgesql seems to run on alot of platforms
already so I don't think it will need much to get running on the
Netwinder. I am looking for some guidance as to where I should be
looking for this problem. What is /usr/share/misc/bison.simple ???

gmake -C parser all 
gmake[2]: Entering directory `/usr/src/pgsql/src/backend/parser'
gcc -I../../include -I../../backend   -O2 -Wall -Wmissing-prototypes
- -I.. -Wno-e
rror   -c gram.c -o gram.o
/usr/share/misc/bison.simple: In function `yyparse':
/usr/share/misc/bison.simple:327: warning: implicit declaration of
function `yyerror'
/usr/share/misc/bison.simple:387: warning: implicit declaration of
function `yylex'
/tmp/ccEEdHRb.s: Assembler messages:
/tmp/ccEEdHRb.s:52688: Error: bad immediate value for offset
(-1073743124)
/tmp/ccEEdHRb.s:52688: Error: bad immediate value for offset
(-1073743124)
gmake[2]: *** [gram.o] Error 1
gmake[2]: Leaving directory `/usr/src/pgsql/src/backend/parser'
gmake[1]: *** [parser.dir] Error 2
gmake[1]: Leaving directory `/usr/src/pgsql/src/backend'
gmake: *** [all] Error 2

Thanks in advance...

Chris

- ---
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, 19 Aug 1999 12:40:40 -0400
From: "Andrew E. Mileski" <[email-masked]>
Subject: Re: ssh problem?!

Nathan Gelbard wrote:
> ssh-1.2.27 on a DM build 12 machine.
> 
> make install
> ...
> and ssh-keygen runs forever. lots of dots, for hours and hours.
> What gives?

CFLAGS='-O2 -fsigned-char -fomit-frame-pointer -D_GNU_SOURCE" ./configure --disable-asm --prefix=/usr

I'd also suggest applying the latest GMP lib patches.  There are quite
a few, and only one seems to be applied in ssh 1.2 (not all patches apply
to all architectures, though I recommended you apply them all):
   http://www.swox.com/gmp/
Helps to be doing the math right :)

There is also a bug in login.c with utmpx being used following a
ifdef that tests for it; the statement is duplicated inside of the
conditional too (where it belongs!).  You'll know which line when the
compiler complains.

You probably don't HAVE_OPENPTY support either, so that will have to be
changed in config.h after configure is run.

- --
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.

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

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

--
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.