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

devel-digest        Tuesday, December 28 1999        Volume 02 : Number 241

In this issue:

    Re: HELP! Hosed again...
    Re: HELP! Hosed again...
    Threads questions
    update to dm15p6 and lost mixer program
    Re: update to dm15p6 and lost mixer program
    Re: Threads questions
    Can't update nettrom since upgrade to dm15p6
    Re: Can't update nettrom since upgrade to dm15p6
    Re: Can't update nettrom since upgrade to dm15p6
    Re: update to dm15p6 and lost mixer program
    Re: update to dm15p6 and lost mixer program
    dm15p6 hangs at "Starting system logger:"
    Re: Threads questions
    OpenSSH 1.2pre17-1 available
    Re: update to dm15p6 and lost mixer program
    Re: HELP! Hosed again...
    Re: Can't update nettrom since upgrade to dm15p6
    Re: HELP! Hosed again...
    Re: Threads questions

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

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

Date: Fri, 17 Dec 1999 14:22:16 -0500
From: Scott Bambrough <[email-masked]>
Subject: Re: HELP! Hosed again...

You could try mounting the drive in a PC running Linux.  If it mounts,
and you can read from it, you can rule out the drive as the problem.

Scott

Kevin Cole wrote:
> 
> 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.

- -- 
Scott Bambrough - Software Engineer
REBEL.COM    http://www.rebel.com
NetWinder    http://www.netwinder.org

- ---
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: 17 Dec 1999 22:30:59 GMT
From: [email-masked] ()
Subject: Re: HELP! Hosed again...

On Fri, 17 Dec 1999 13:38:12 -0500, Kevin Cole <[email-masked]> wrote:
>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.

I put one of toshiba's 8.5mm 4.3 gig laptop drives in mine and it works
great.  The only problem was the mounting holes didn't match up with the 4
holes that are in the netwinder board.

- ---
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: Sun, 19 Dec 1999 00:17:14 +0800
From: "Juri Tsibrovski" <[email-masked]>
Subject: Threads questions

    Hi,

could somebody tell me what is the status of LinuxThreads in latest release?
Does GDB work with threads?

Does it make sense to write multithredaded servers (as opposed to forking)
for ARM architecture, performance-wise? I've heard some negative comments
related to context switching, that's why I'm asking.

Thanks.

- ---
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: Sat, 18 Dec 1999 10:55:06 -0800
From: Roger McCarty <[email-masked]>
Subject: update to dm15p6 and lost mixer program

I was running an old image and found out about the mixer program
(I wanted to disable the onboard speaker).

Sadly, the image I was running didn't have the "private" feature.
I thought, OK time to upgrade.

Well, now I've upgraded to dm15p6 only to find that the mixer program
is not included in dm15p6.

Where can I find it?

Thanks!
Roger

- ---
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: Sat, 18 Dec 1999 11:15:04 -0800
From: Roger McCarty <[email-masked]>
Subject: Re: update to dm15p6 and lost mixer program

OK, sorry to ask dumb Q about location of mixer.c (found it)

But, it doesn't seem to work properly:

[root@netwinder /root]# ./mixer
Mixer.main(): No such device
[root@netwinder /root]# ./wamixer
wamixer: Mixer not found!: No such device

[root@netwinder /root]# ls -al /dev/mixer
crwxrwxrwx    1 root     sys       14,   0 Apr 17  1999 /dev/mixer

[root@netwinder /root]# uname -a
Linux netwinder 2.2.12-19991020 #1 Wed Oct 20 13:09:07 EDT 1999 armv4l
unknown
[root@netwinder /root]# cat /etc/issue

REBEL.COM NetWinder ARM
DM version 3.0 [Build 15 public 6]
Kernel 2.2.12-19991020 on an armv4l

Any clue what I'm doing wrong?

Thanks!
Roger

- ---
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: Sat, 18 Dec 1999 19:07:36 +0000
From: Philip Blundell <[email-masked]>
Subject: Re: Threads questions

In article <[email-masked]> "Juri Tsibrovski" <[email-masked]>
writes:
>Does it make sense to write multithredaded servers (as opposed to forking)
>for ARM architecture, performance-wise?

Yes.

>I've heard some negative comments related to context switching,
>that's why I'm asking.

The StrongARM is very bad at switching between process contexts.
Since threads all share the same context, this overhead is not
involved when switching between threads.

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: Sat, 18 Dec 1999 12:56:58 -0800
From: Roger McCarty <[email-masked]>
Subject: Can't update nettrom since upgrade to dm15p6

I am currently running 2.0.4 nettrom and wish to upgrade.

Here's what the session looks like:

flashwrite -base64 /boot/nettrom-2.1.16.bin
flashwrite: ready to write into flash memory
Press Y to continue, or anything else to abort...
Y

Please wait.
Yellow LED - erasing, Red LED - writing, Green LED -verifying...
modprobe: modprobe: Can't locate module char-major-10-160
Error opening flash device: No such device
(9) times

Any clues?

Thanks! 
Roger

- ---
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: Sat, 18 Dec 1999 13:09:17 -0800
From: Roger McCarty <[email-masked]>
Subject: Re: Can't update nettrom since upgrade to dm15p6

OK, I did the required 
insmod nwflash
and now ALL IS WELL.

Thanks!

Roger McCarty wrote:
> 
> I am currently running 2.0.4 nettrom and wish to upgrade.
> 
> Here's what the session looks like:
> 
> flashwrite -base64 /boot/nettrom-2.1.16.bin
> flashwrite: ready to write into flash memory
> Press Y to continue, or anything else to abort...
> Y
> 
> Please wait.
> Yellow LED - erasing, Red LED - writing, Green LED -verifying...
> modprobe: modprobe: Can't locate module char-major-10-160
> Error opening flash device: No such device
> (9) times
> 
> Any clues?
> 
> Thanks!
> Roger

- ---
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: Sat, 18 Dec 1999 22:04:39 -0500
From: Ralph Siemsen <[email-masked]>
Subject: Re: Can't update nettrom since upgrade to dm15p6

Roger McCarty wrote:
> 
> OK, I did the required
> insmod nwflash
> and now ALL IS WELL.

Alternatively you could add:

alias char-major-10-160 nwflash

to /etc/modules.conf (or conf.modules, whichever you have)...

We will have a couple more of these issues, as our modules.conf file is
rather sparse right now.

As for the mixer, yes it is missing-in-action at this moment... Woody
will know better, what the status is, so I'll avoid making any incorrect
comments about it at this time.

- -- 
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: 19 Dec 1999 21:37:20 GMT
From: Rod Stewart <[email-masked]>
Subject: Re: update to dm15p6 and lost mixer program

Roger McCarty <[email-masked]> wrote:

> Any clue what I'm doing wrong?

Change /etc/modules.conf, the line with:
	alias sound waveartist
Should be changed to:
	alias sound-slot-1 waveartist

Then do "modprobe waveartist", and sound should work..

- -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: Sun, 19 Dec 1999 21:25:30 -0800
From: Roger McCarty <[email-masked]>
Subject: Re: update to dm15p6 and lost mixer program

Thanks for responding!

Let me update and clarify:

1. sound is working fine now (after I did insmod waveartist)
2. the mixer program runs fine now (finds /dev/mixer)
3. But mixer -private=17 doesn't change anything.
   Evidenced by fact that running mixer again shows [0x0] for Private.
   Also, internal speaker sound is not muted.

Anyone know how to turn off the internal speaker with dm15p6?

Thanks!

Rod Stewart wrote:
> 
> Roger McCarty <[email-masked]> wrote:
> 
> > Any clue what I'm doing wrong?
> 
> Change /etc/modules.conf, the line with:
>         alias sound waveartist
> Should be changed to:
>         alias sound-slot-1 waveartist
> 
> Then do "modprobe waveartist", and sound should work..
> 
> -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: Sun, 19 Dec 1999 21:28:59 -0800
From: Roger McCarty <[email-masked]>
Subject: dm15p6 hangs at "Starting system logger:"

Any ideas?

Thanks!

Roger

- ---
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, 20 Dec 1999 09:10:46 -0500
From: Scott Bambrough <[email-masked]>
Subject: Re: Threads questions

Juri Tsibrovski wrote:

> could somebody tell me what is the status of LinuxThreads in latest release?

They are working.

> Does GDB work with threads?

No. Not yet.  I'm waiting for the i386 Linux guys to merge in their
threading patches to gdb 4.18.  Now that they have resolved their
floating point difficulties, I think this will happen early in the new
year.  The ARM Linux patches I submitted will be in the next snapshot. 
I'll be working on the debugger in the new year.

> Does it make sense to write multithredaded servers (as opposed to forking)
> for ARM architecture, performance-wise? I've heard some negative comments
> related to context switching, that's why I'm asking.

Process context switching involves a cache flush.  This is expensive. 
Threads share the main process' context I believe, so theoretically they
should be more efficient.  I've never done performance measurements
though.

Scott
- -- 
Scott Bambrough - Software Engineer
REBEL.COM    http://www.rebel.com
NetWinder    http://www.netwinder.org

- ---
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, 20 Dec 1999 10:34:39 -0500
From: Marc Boucher <[email-masked]>
Subject: OpenSSH 1.2pre17-1 available

ARM binary and source RPMs for OpenSSH 1.2pre17-1 have been placed
under ftp://ftp.netwinder.org/users/m/marcbou/

	openssh-1.2pre17-1.armv4l.rpm
	openssh-askpass-1.2pre17-1.armv4l.rpm
	openssh-clients-1.2pre17-1.armv4l.rpm
	openssh-server-1.2pre17-1.armv4l.rpm
	openssh-1.2pre17-1.src.rpm

You also need OpenSSL, available from the same place:

	openssl-0.9.4-3.armv4l.rpm
	openssl-devel-0.9.4-3.armv4l.rpm
	openssl-0.9.4-3.src.rpm
	openssl.spec.patch
	openssl-0.9.4.patch

Original locations are http://violet.ibs.com.au/openssh/ (actually 
ftp://ftp.localhost.ca/pub/openssh/files/) and http://www.openssl.org.

OpenSSH is the OpenBSD team's reengineering of the last free version of
Tatu Ylonen's SSH. All patent-encumbered algorithms have been removed to
external libraries, all known security bugs fixed, new features
reintroduced and many other clean-ups applied.

Cheers,
Marc

- --
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, 20 Dec 1999 10:54:55 -0500
From: Woody Suwalski <[email-masked]>
Subject: Re: update to dm15p6 and lost mixer program

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

Roger McCarty wrote:
> 
> I was running an old image and found out about the mixer program
> (I wanted to disable the onboard speaker).
> 
> Sadly, the image I was running didn't have the "private" feature.
> I thought, OK time to upgrade.
> 
> Well, now I've upgraded to dm15p6 only to find that the mixer program
> is not included in dm15p6.
> 
> Where can I find it?
> 
> Thanks!
> Roger

You are correct, the 2.1/2.2 drivers has only a generic Waveartist
functionality.
Most of the 2.0.35 "extras" have been ported to 2.3 kernel.
I precompiled the 2.3 source inside my 2.2 kernel - U can find it in my
directory on Netwinder.org - /users/w/woody/waveartist.o (drop in
replacement for /lib/modules/2.2.12/misc/waveartist.o)...
I just tried - mixer -private=17 disconnects the speaker, 16 puts it back
on line...

Woody
- --------------2D58A0D0E440E64FE92C2558
Content-Type: text/x-vcard; charset=us-ascii;
 name="woody.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Woody Suwalski
Content-Disposition: attachment;
 filename="woody.vcf"

begin:vcard 
n:Suwalski;Woody
tel;work:(613) 788 6008 x 6127
x-mozilla-html:FALSE
org:<a href="http://www.rebel.com/"><img src="http://www.rebel.com/images/rebel.gif"border=0></a>
adr:;;;;;;
version:2.1
email;internet:[email-masked]
title:Netwinder Design
fn:Woody Suwalski
end:vcard

- --------------2D58A0D0E440E64FE92C2558--

- ---
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, 20 Dec 1999 13:19:59 -0500
From: "Andrew E. Mileski" <[email-masked]>
Subject: Re: HELP! Hosed again...

[email-masked] wrote:
> I put one of toshiba's 8.5mm 4.3 gig laptop drives in mine and it works
> great.  The only problem was the mounting holes didn't match up with the 4
> holes that are in the netwinder board.

The form factor standard for laptop hard drives changed while we in mid
production.  The mounting holes for the drives used to be in the center
of the drive, but have now been moved to the corners.  We are using
plastic rails as adapters; luckily the new form factor drives are also
about half as high.

You might be able to find a useable adapter plate at a local shop.

- --
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: Mon, 20 Dec 1999 13:23:24 -0500
From: "Andrew E. Mileski" <[email-masked]>
Subject: Re: Can't update nettrom since upgrade to dm15p6

Ralph Siemsen wrote:
> As for the mixer, yes it is missing-in-action at this moment... Woody
> will know better, what the status is, so I'll avoid making any incorrect
> comments about it at this time.

You can use aumix

- --
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: 20 Dec 1999 22:07:25 GMT
From: [email-masked] ()
Subject: Re: HELP! Hosed again...

On Mon, 20 Dec 1999 13:19:59 -0500, Andrew E. Mileski <[email-masked]>
wrote:
>[email-masked] wrote:
>> I put one of toshiba's 8.5mm 4.3 gig laptop drives in mine and it works
>> great.  The only problem was the mounting holes didn't match up with the 4
>> holes that are in the netwinder board.
>
>The form factor standard for laptop hard drives changed while we in mid
>production.  The mounting holes for the drives used to be in the center
>of the drive, but have now been moved to the corners.  We are using
>plastic rails as adapters; luckily the new form factor drives are also
>about half as high.

Yeah, my drive has the holes in the centre, but the board has the holes in
the corners.  I managed to get mine installed using 4 ordinary motherboard
support screw like thingies, two screwed into the drive and two with rubber
feet to hold the drive up in the middle.  Works quite well all things
considered.

- ---
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, 28 Dec 1999 06:34:18 -0600
From: "Darryl DeGraff" <[email-masked]>
Subject: Re: Threads questions

Juri Tsibrovski" <jt @ jaytee.net> wrote:
> could somebody tell me what is the status of LinuxThreads in latest
release?
> Does GDB work with threads?

> Does it make sense to write multithredaded servers (as opposed to
forking)
> for ARM architecture, performance-wise? I've heard some negative comments
> related to context switching, that's why I'm asking.

I realize that I am writing this late from your posting and don't know what
sort of
responses you may have gotten, but I have a server that has 10 threads
running
happily on a netwinder.

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.

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

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

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