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

devel-digest          Wednesday, May 12 1999          Volume 02 : Number 167

In this issue:

    Building A Netwinder with RedHat 6.0 SRPMS?
    Sorry for the temporary network outage
    VNC, Virtual Network Computing for NW ?
    Re: VNC, Virtual Network Computing for NW ?
    Re: 2.2.7
    Re: 2.2.7
    Re: FP (was Re: 2.2.7)
    Re: VNC, Virtual Network Computing for NW ?
    Re: FP (was Re: 2.2.7)
    Re: Enabling the Flash Write signal
    Re: FP (was Re: 2.2.7)
    competing distro f/suse
    Re: 2.2.7

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

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

Date: Tue, 11 May 1999 18:34:35 +0800
From: Sebastian Malcolm <[email-masked]>
Subject: Building A Netwinder with RedHat 6.0 SRPMS?

This is a multi-part message in MIME format.
- --------------0DD5BA4F9AB10C7790A337E2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I am very interested to know if the upcoming Disk Image 14 is/will be
built from RedHat 6.0 SRPMs?

I have just upgraded my x86 Redhat 5.2 System to RedHat 6.0 and I am
_very_ pleased with it. Everything is stable around the 2.2.5(?) kernel
and there are noticeable improvements to all of RedHat's configuration
tools like sndconfig that are available by executing "setup" as root.
(RedHat 6.0 automatically found my Opti based PnP Sound card but 5.2 did
not).
The breadth of packages that have been brought upto date is impresive. A
choice between Gnome & KDE is v. cool - makes any Linux box easier to
"sell" to other ppl.

In particular I would be _very_ keen to see Linuxconf (version >=1.15)
running on our Netwinder because it makes adminstrating a Linux box
simple and intuitive - _everything_ you normally need to configure is in
there (including excellent RPM package management!!!). If there is
anything I could do to help get Linuxconf working on the Netwinder then
I'll do what I can.

If anyone reading this has not heard of/used Linuxconf, it is time to
find out what your missing out on.

Anyone else have any comments on RedHat 6.0?

Cheers,
    Sebastian

BTW, I am in Australia and I think it would be a _very_ good idea if
someone at HCC could email the ppl that run the AARNET Archive
(http://mirror.aarnet.edu.au) and ask them to host a mirror of the
Netwinder Disk Image(s). They mirror almost every popular thing of a
significant size - Including RedHat, Debian, Slackware, StarWars movies,
NT Service packs, Golgotha etc.

- --------------0DD5BA4F9AB10C7790A337E2
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Sebastian Malcolm
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Sebastian Malcolm
n:              Malcolm;Sebastian
org:            CustomTel
email;internet: [email-masked]
title:          Webmaster
note:           I Work in R&D!
x-mozilla-cpt:  ;0
x-mozilla-html: TRUE
version:        2.1
end:            vcard

- --------------0DD5BA4F9AB10C7790A337E2--

- --
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, 11 May 1999 12:32:24 +0000
From: Ralph Siemsen <[email-masked]>
Subject: Sorry for the temporary network outage

Netwinder.org was unavailable to the outside world overnight due to a loose
network cable (looks like somebody kicked it by accident).  Sorry about the
inconvenience this may have caused... the cable is now tied down solidly
with many zip ties, so it should not happen again.

While I've got your attention, there is a planned upgrade to take place this
weekend - so the ftp area will be unavailable at times.   There are still
some details to be worked out, so I can't say more at the moment - the
upgrade might even be postponed a week.

- -- 
Ralph Siemsen -- [email-masked]
- --
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, 10 May 1999 17:27:37 -0700 (BST)
From: Tim Rowledge <[email-masked]>
Subject: VNC, Virtual Network Computing for NW ?

Has anybody built the server side component of VNC for a NetWinder? The viewer
part build with no trouble at all and works just fine, but the server is a much
more complicated app. needing quite a bit of config just to build.

If you don't know what Virtual Network Computing is, take a look at www.uk.
research.att.com/vnc - amongst other things it's a pretty neat way to drive
almost any kind of machine from almost any kind of machine.

tim

- -- 
Swap read error.  You lose your mind.
Tim Rowledge:  [email-masked] (w)  +1 (650) 842-6110 (w)
 [email-masked] (h)  <http://sumeru.stanford.edu/tim>

- --
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, 11 May 1999 13:09:54 +0000
From: Ralph Siemsen <[email-masked]>
Subject: Re: VNC, Virtual Network Computing for NW ?

Tim Rowledge wrote:
> 
> Has anybody built the server side component of VNC for a NetWinder? The viewer
> part build with no trouble at all and works just fine, but the server is a much
> more complicated app. needing quite a bit of config just to build.

Yes we've recently build both server and client - the RPM's are available in
source and binary on netwinder.org (try the handy search page to find
them).  They seem to work pretty well.

- -- 
Ralph Siemsen -- [email-masked]
- --
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, 11 May 1999 09:45:42 -0400
From: Scott Bambrough <[email-masked]>
Subject: Re: 2.2.7

This is a multi-part message in MIME format.
- --------------386FEACB6240E89C40CEE408
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Nicholas Clark wrote:
> 
> In the last mail Russell King - ARM Linux Admin said:
> 
> Works on my RiscPC. However:
> 
> If I answer N to NWFPE it doesn't boot:
> 
> re.sysinit (6) undefined instruction pc=0207bb38
> INIT: entering runlevel 3
> rc( 7) undefined instruction pc=0207bb38
> INIT: ID "1" respawning too fast
> 

This is probably because of the rfs/wfs combination in the C runtime library
startup.  You are trying to run something in rc.sysinit linked with libc, before
the floating point emulator is loaded.   This is an old problem with no really
good solution.

Scott
- --------------386FEACB6240E89C40CEE408
Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Scott Bambrough
Content-Disposition: attachment; filename="vcard.vcf"

begin:          vcard
fn:             Scott Bambrough
n:              Bambrough;Scott
org:            Rebel.com
adr:            150 Isabella St.;;;Ottawa;Ontario;K1S 1V7;Canada
email;internet: [email-masked]
title:          Software Engineer
tel;work:       (613) 788-6000 x6116
tel;fax:        (613) 230-8300
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard

- --------------386FEACB6240E89C40CEE408--

- --
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, 10 May 1999 23:21:45 +0100 (BST)
From: Nicholas Clark <[email-masked]>
Subject: Re: 2.2.7

In the last mail Russell King - ARM Linux Admin said:

> Russell King - ARM Linux Admin writes:
> >  1. EBSA110 won't boot properly - INIT 2.64 complains of a segv...
> >  2. NetWinders won't IP auto-config, but the network interface is ok...
> >  3. Matthew Wilcox is having the same problem as (1) but on his RiscPC...
> >  4. Matthew Wilcox's RPC kernel stops after 'Freeing init section' message...
> 
> Ok, I think I've solved these - find -rmk4 on the FTP site.

Works on my RiscPC. However:

If I answer N to NWFPE it doesn't boot:

re.sysinit (6) undefined instruction pc=0207bb38
INIT: entering runlevel 3
rc( 7) undefined instruction pc=0207bb38
INIT: ID "1" respawning too fast

(etc)

So I need to compile in NWFPE to boot as far as rc.sysinit, at which point I
loadmod the Acorn FPE (which I need to run X on 2.2.7. Without it X dies with 
signal 4 due to an "illegal instruction" )

> It was caused by some of the LDR optimisations allowing the stm {}^'s to be
> too close to following instructions (yes, /that/ StrongARM bug again)...

Which revisions does that hit? When is it fixed by? Are you going to refer me
to a FAQ?

Nick
- --
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, 11 May 1999 16:21:11 +0100 (BST)
From: Russell King <[email-masked]>
Subject: Re: FP (was Re: 2.2.7)

Scott Bambrough said:
> This is probably because of the rfs/wfs combination in the C runtime
> library startup.  You are trying to run something in rc.sysinit linked
> with libc, before the floating point emulator is loaded.   This is an
> old problem with no really good solution.

Linux 2.2 ignores several FP instructions althogether if there is no
FP emulation available - currently the list is:

  wfs
  rfs
  ldfe  f?, [sp...]...
  ldfe  f?, [fp...]...
  stfe  f?, [sp...]...
  stfe  f?, [fp...]...

These are the instructions that typically would be used to stack/unstack
FPs over function alls and initialisation of the FP status word.

Any other instruction will cause a SIGILL to be sent to the process.

This should be sufficient to allow insmod to load whatever FP emulator
you choose, whether that be the Acorn FPE or the NWFPE.  Currently, my
test setups involve replacing NWFPE compiled into the kernel with the
AcornFPE (insmod in inittab).

- --
Russell King ([email-masked])

- --
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, 11 May 1999 08:36:41 -0700 (BST)
From: Tim Rowledge <[email-masked]>
Subject: Re: VNC, Virtual Network Computing for NW ?

On Tue 11 May, Ralph Siemsen wrote:
> Tim Rowledge wrote:
> > 
> > Has anybody built the server side component of VNC for a NetWinder? The viewer
> > part build with no trouble at all and works just fine, but the server is a much
> > more complicated app. needing quite a bit of config just to build.
> 
> Yes we've recently build both server and client - the RPM's are available in
> source and binary on netwinder.org (try the handy search page to find
> them).  They seem to work pretty well.
Duh, between our sysadmin fiddling with network connections and my brain
being fried after all the video-in/out hassles I didn't get to look there
before asking AnotherDumbQuestion.

tim

- -- 
Useful random insult:- She's a screensaver:  Looks good, but useless.
Tim Rowledge:  [email-masked] (w)  +1 (650) 842-6110 (w)
 [email-masked] (h)  <http://sumeru.stanford.edu/tim>

- --
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, 11 May 1999 08:39:50 -0700
From: Jon Olson <[email-masked]>
Subject: Re: FP (was Re: 2.2.7)

On Tue, 11 May 1999, Russell King wrote:
>Scott Bambrough said:
>> This is probably because of the rfs/wfs combination in the C runtime
>> library startup.  You are trying to run something in rc.sysinit linked
>> with libc, before the floating point emulator is loaded.   This is an
>> old problem with no really good solution.
>
>Linux 2.2 ignores several FP instructions althogether if there is no
>FP emulation available - currently the list is:
>
>  wfs
>  rfs
>  ldfe  f?, [sp...]...
>  ldfe  f?, [fp...]...
>  stfe  f?, [sp...]...
>  stfe  f?, [fp...]...
>

Surely they don't entirely ignore them?  Don't they at least writeback
the stack pointer so stack-relative addressing is correct?

- --
Jon Olson, Modular Mining Systems
	   3289 E. Hemisphere Loop
	   Tucson, AZ 85706
INTERNET:  [email-masked]
PHONE:     (520)746-9127
FAX:       (520)889-5790
- --
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, 11 May 1999 09:12:48 -0700 (PDT)
From: Greg Miller <[email-masked]>
Subject: Re: Enabling the Flash Write signal

On 10-May-99 Woody Suwalski wrote:
> If I understand correctly, U want to JTag the Netwinder flash while the
> Footbridge and CPU are in "JTag mode". If so - U do not need to fiddle with
> the PCI side of flash write enable gate - simply pull down pin 4 on the JTag
> programming socket (14 pin DIP close to the orange button) or pin 4 on the
> edge connector in the back (under the fan)...

Just as an aside . . .

Thanks!  I tried pulling down /JTAGCE last night, and everything 
worked wonderfully!  I was able to queue writes up against the 
Flash ROM and my quick-and-dirty test to ask for the ID values 
for the component worked correctly.

Hopefully, by this evening I'll be able to reflash via JTAG to my heart's
content.

Thanks again, Woody!

Hey, by the way, does anyone know if Intel has gone further on their
new StrongARM's and added any sort of JTAG debugging?  (Ala the optional
DI modules in ARM cores or the PowerPC debugging?)

 - Greg

- --
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, 11 May 1999 18:09:51 +0100 (BST)
From: Russell King <[email-masked]>
Subject: Re: FP (was Re: 2.2.7)

Jon Olson said:
> Surely they don't entirely ignore them?  Don't they at least writeback
> the stack pointer so stack-relative addressing is correct?

Yep, you're correct here.  However, I was talking specifically about
that problem.

- --
Russell King ([email-masked])

- --
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, 11 May 1999 10:22:19 -0700
From: Gordon Bryck <[email-masked]>
Subject: competing distro f/suse

SuSE linux is running on my x86 machine for several months.
Except for it's preference of working in German, their setup
utility, Y.A.S.T, works well for a newbie like like me.

SuSE version 6.1 arrived yesterday, with
"Corel Wordperfect 8" embazoned on the package.

Has anyone compared Y.A.S.T, with other current installers ?

My 'winder is still just a web server, as delivered.
The only problem has been a power supply failure.
How do we get that replaced ?
- --
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, 12 May 1999 02:09:53 +0200
From: Matthew Wilcox <[email-masked]>
Subject: Re: 2.2.7

On Sun, May 09, 1999 at 11:42:33PM +0100, Russell King - ARM Linux Admin wrote:
> Russell King - ARM Linux Admin writes:
> >  1. EBSA110 won't boot properly - INIT 2.64 complains of a segv...
> >  2. NetWinders won't IP auto-config, but the network interface is ok...
> >  3. Matthew Wilcox is having the same problem as (1) but on his RiscPC...
> >  4. Matthew Wilcox's RPC kernel stops after 'Freeing init section' message...
> 
> Ok, I think I've solved these - find -rmk4 on the FTP site.
> 
> It was caused by some of the LDR optimisations allowing the stm {}^'s to be
> too close to following instructions (yes, /that/ StrongARM bug again)...

By making the changes suggested by russell, I now have a working ether3
card.  People who are having problems should replace the definitions of
__out[bwl] in linux/include/asm-arm/arch-rpc/io.h with the ones from
arch-arc.  My current kernel (RiscPC, Ether3, IDE disc) is available
from http://pocket.fluff.org/~mrw/linux/arm/vmlinux-2.2.7 if anyone
is interested.  It's working for Julian Brown already :-)

P.S.  One gotcha for people using the RedHat 3.0.3 based distrib; 2.2
uses different major numbers for pty's, you will need an updated MAKEDEV.
I wasn't sure where to find one, so I just used the one out of my pc's
/dev - you can get that from .../linux/arm/MAKEDEV.

- -- 
Matthew Wilcox <[email-masked]>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson
- --
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 #167
***************************

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