Linux-Development-Sys Digest #747, Volume #6     Thu, 27 May 99 01:14:08 EDT

Contents:
  Free Celeron Linux Workstation ("Brandon Fuhr")
  Device instalations ("Mota")
  Re: Creative SBLive! driver ? (Jamie Walker)
  Some questions ([EMAIL PROTECTED])
  Re: opening socket in a device (Mario Klebsch)
  Re: SMP needlessly migrating processes between processors? (Arun Sharma)
  Re: mounting /dev/loop* with uid>0 (Modemch)
  Re: Terabite Plus Filesystems ("Ross Vandegrift")
  Re: Device instalations (KNikos)
  Re: _exit() and threads (Linux).  Broken? (Juergen Heinzl)
  Re: 2.2.9 kernel too big? (Naz Irizarry)
  Re: Free Celeron Linux Workstation (Mike Jacobs)
  Support for motherboard monitoring ? (Andrew Daviel)
  Re: [Q] time slice in SCHED_OTHER (Arun Sharma)
  Re: Linux for CompactPCI BUS? ([EMAIL PROTECTED])
  re: sound card problems ("Don Gonzales")
  [Q] time slice in SCHED_OTHER ("Soohyung Lee")
  [Q] Priority Mechanism in Linux ("Soohyung Lee")
  Re: Application Framework for X? (Christopher Browne)
  Re: SMP needlessly migrating processes between processors? (H. Peter Anvin)
  Re: Modularizing loop device encryption filters (Christopher B. Browne)
  Re: Simple prog for parallel port ?? (Scott Lanning)

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

From: "Brandon Fuhr" <[EMAIL PROTECTED]>
Subject: Free Celeron Linux Workstation
Date: Wed, 26 May 1999 13:55:50 -0500

Visit http://www.atipa.com/ and enter to win a free Linux Celeron
Workstation.  The winner will be selected at the LinuxWorld Expo in San
Jose, CA on August 12, 1999.  Atipa has been a leading provider of Linux
Clusters, Servers, and Workstations since 1994.




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

From: "Mota" <[EMAIL PROTECTED]>
Subject: Device instalations
Date: Wed, 26 May 1999 19:55:17 +0100

I just installed linux in my computer and think Linux to be a promissing
o/s. I want to learn everything about linux because I am tired of Win95/98
crap. But i can't change over night. My problem is I can't install my modem
(SupraExpress 56i V PRO). I use YaST and install it in the com3 (ttyS2) but
I can't use it. I have heard that some modems are Win95 only but I hope my
modem isn't. Can anybody help me?
I can install devices like CDROM, Floppy, HD using mount. But I can't
"mount" my modem, printer, Sound Card. Can anybody teach me how to do it in
very easy steps. I can't understand the HOWTO in KDE.

Ricardo Mota




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

From: Jamie Walker <[EMAIL PROTECTED]>
Subject: Re: Creative SBLive! driver ?
Date: Wed, 26 May 1999 19:52:03 +0100

In article <[EMAIL PROTECTED]>, Jeremy Evans <jerryevans@ci
x.compulink.co.uk> writes
>Is anyone working on or contemplating a driver for the Creative SBLive! 
>soundcard ?
>
>Jerry.
developer.soundblaster.com/linux

I had it working on Redhat 5.2 with the default 2.0.36 kernel, but I
just get weird noises with the 2.2.5 kernel under Redhat 6.0 :(

Pester them to release the source code, so we can use it on the latest
kernels :)
-- 
Jamie Walker,                     http://www.howgarth.demon.co.uk/
LaL Computers: http://lal.rvx.net/ <- for cheap computer hardware.
"You're one of those condescending Unix computer users!"
"Here's a nickel, kid.  Get yourself a better computer" - Dilbert.

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

From: [EMAIL PROTECTED]
Subject: Some questions
Date: Wed, 26 May 1999 20:19:43 GMT

We are considering using linux for an inhouse project and have some
questions.

1.      It has been said that the BSD os's have a better networking stack.
Is this true, and if so how long until linux has comparable network
drivers and stacks?

2.      How solid are POSIX threads under linux?

3.      I have heard that SMP support in the 2.3 kernels is pretty good, is
this true for all platforms, (i.e. sparc).

4.      How good is the sun ultra port.

5.      Are there any plans to implement berkeley packet filter (BPF) in the
kernel?

6.      What is java 1.2 support like?

7.      I know there is support for the DEC fddi cards, are more cards going
to be supported, and are sparc fddi cards going to be supported?


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

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

From: Mario Klebsch <[EMAIL PROTECTED]>
Subject: Re: opening socket in a device
Date: Thu, 27 May 1999 00:08:13 +0200

M van Oosterhout <[EMAIL PROTECTED]> writes:

>Andreas Moroder wrote:

>> The only solution seems to me to write a device driver that talks to the
>> JetEX.

>If this is so then it doesn't need to be a kernel module.
>/etc/printcap allows you to specify arbitrary programs
>to run when someone prints to a printer.

.. and to arbitrary files that happen to be named pipes. :-) But
you cannot stty on a named pipe and isatty probably will return
false, too.

>> Now I have two parts ready:

>> If I join this to programs and make insmod the loader tells me it does not
>> know where to find "socket" and "connect".

>socket and connect are not generally available to
>kernel modules. This should be written as a user
>space program.

If it has to be a device, why don't you use a pseudo-tty? It does
have everything a program might expect from a device to connect a
printer to and its other side is easily accessable from user space.
There are several programs available in source (like xterm or expect),
that demonstrate how to use the master side of a pseuto-tty.

BTW, does the print server support the LPD protocol? This is the way,
I print to my networked printer. And I know, it works with
HP's JetDirect cards, too.

73, Mario
--
Mario Klebsch           [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Arun Sharma)
Subject: Re: SMP needlessly migrating processes between processors?
Reply-To: [EMAIL PROTECTED]
Date: Wed, 26 May 1999 20:15:21 GMT

On Wed, 26 May 1999 04:46:26 GMT, Skip Montanaro <[EMAIL PROTECTED]> wrote:
> I recently started running RH 5.2 on a dual P-II box (Tyan Thunderbolt
> motherboard). I'm running kernel 2.2.9.  When I run a single
> CPU-intensive process and launch xosview to watch things, I see a
> pattern of CPU load that suggests to me that the single busy process is
> migrating back and forth between the processors roughly every half
> second or so. I see a little square wave pattern for the user time
> portion of the two CPU's graphs.  The patterns for the two processors
> are roughly 180 degrees out of phase with one another.  It seems to me
> that the scheduler isn't weighting things heavily enough to keep
> processes from migrating too much. Is this normal?  Isn't there a cache
> flush overhead when migrating processes between processors? 
> 

You can increase PROC_CHANGE_PENALTY in include/asm/smp.h to prevent
the migration.

        -Arun  

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

From: Modemch <[EMAIL PROTECTED]>
Subject: Re: mounting /dev/loop* with uid>0
Date: 26 May 1999 16:09:14 -0400

Mario Lang <[EMAIL PROTECTED]> writes:

> Hello.
> 
> Im currently developing a cgi perl script which makes use of the
> /dev/loop* devices to modify a bootdisk image on the fly.
> I came across two types of problems for which I need a solution:
> First of all, onyl root is allowed to use /dev/loop0 devices.
> Does anyone know how to modify /etc/fstab to override the
> defaults for /dev/loop* ?

IIRC there's a way to run CGI scripts through apache by using suexec.
Running it as root, however, will most probably cause security holes.
Anyway, I think the proper way to do this (and the way I did it when I had
to) is to write a daemon in C, that would be suid root, which would mount
the loop device for you.  Your script can communicate with it through a
socket.  But you should keep in mind the following: since the daemon reads
commands from a socket, any user will be able to mount the loop device by
writing to that socket, so you should make sure that it is impossible to
mount an image with suid binaries by using that daemon.

--
Regards, 
Modemch

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

From: "Ross Vandegrift" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.ms-windows.nt.admin.misc,comp.sys.sun.admin,comp.sys.hp.misc,comp.os.linux.hardware
Subject: Re: Terabite Plus Filesystems
Date: Wed, 26 May 1999 16:27:35 -0400

> We would
>want to pick either HPUX, linux, NT or Solaris x86.   Any experience
>that could be passed would be great.


No experiance here, but I do know that SGI has announced to have the source
to XFS realeased sometime soon this summer.  XFS is a 64-bit journaled
filesystem.  As far as specific system advice, I can't help.

Ross



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

From: [EMAIL PROTECTED] (KNikos)
Subject: Re: Device instalations
Date: 27 May 1999 00:04:36 GMT

I have exactly the same problem .I still working on it.
Please Info in solution.
I ''the same''.
Nikos



 >Subject: Device instalations
>From: "Mota" <[EMAIL PROTECTED]>
>Date: Wed, 26 May 1999 02:55 PM EDT
>Message-id: <7ihg1g$vu4$[EMAIL PROTECTED]>
>



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

From: [EMAIL PROTECTED] (Juergen Heinzl)
Crossposted-To: comp.os.linux.development.apps,comp.programming.threads
Subject: Re: _exit() and threads (Linux).  Broken?
Date: Wed, 26 May 1999 19:49:38 GMT

In article <[EMAIL PROTECTED]>, Mike Romberg wrote:
>
> Here is a simple C++ program that shows a possible problem with calling
>_exit() in a signal handler for a multithreaded program.  
>It creates a number of threads that increments a global counter.  
>Each thread inherits a global signal handler for numerous signals
>including SIGSEGV.  

I doubt an _exit() within a signal handler is a good idea, not
matter where and what. Since the signal can arrive at any time
you can tell nothing about what state your programme or thread
is in.

It is better to have a signal handling thread, blocking all signals
in the others and to let it handle by using sigwait() ...
void *signal_handling_thread( void *arg )
{
  int sig;

  sigwait( (sigset_t *)arg, &sig );
  pthread_cancel( thread_1 );
  pthread_cancel( thread_2 );
  ...
  pthread_cancel( thread_N );

  return( 0 );
}
[...]

Cheers,
Juergen

-- 
\ Real name     : J�rgen Heinzl                 \       no flames      /
 \ EMail Private : [EMAIL PROTECTED] \ send money instead /

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

From: Naz Irizarry <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: 2.2.9 kernel too big?
Date: Wed, 26 May 1999 16:09:50 -0400

I get the same message on a 2.2.9 build on a zImage that is about 20%
smaller than the RedHat 6.0 vmlinuz. ??

Amaury JACQUOT wrote:
> 
> bzimage is not bzip'ed but big zimage
> you need to remove stuff from the kernel and compile as modules whatever
> is not needed
> to boot the system (think of parport zip drivers and the like)
> 
> [EMAIL PROTECTED] wrote:
> >
> > has anyone else had problems with the 2.2.9 kernel refusing to compile
> > on an x86 redhat 6.0 box when using "make bzImage"?
> >

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

Date: Wed, 26 May 1999 16:17:07 -0500
From: Mike Jacobs <[EMAIL PROTECTED]>
Subject: Re: Free Celeron Linux Workstation

Brandon Fuhr wrote:
> 
> Visit http://www.atipa.com/ and enter to win a free Linux Celeron
> Workstation.  The winner will be selected at the LinuxWorld Expo in San
> Jose, CA on August 12, 1999.  Atipa has been a leading provider of Linux
> Clusters, Servers, and Workstations since 1994.
What type of Celeron ? Fast, slow, etc.
-- 
��ࡱ�

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

From: [EMAIL PROTECTED] (Andrew Daviel)
Subject: Support for motherboard monitoring ?
Date: 27 May 1999 01:37:35 GMT

I just wondered if there was a package somewhere to read the 
motherboard status (fan speed, temperature etc.) off e.g.
Asus motherboards.

--
Andrew Daviel, TRIUMF, Canada

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

From: [EMAIL PROTECTED] (Arun Sharma)
Subject: Re: [Q] time slice in SCHED_OTHER
Reply-To: [EMAIL PROTECTED]
Date: Wed, 26 May 1999 20:26:10 GMT

On Wed, 26 May 1999 12:18:06 GMT, Esben Haabendal Soerensen
<[EMAIL PROTECTED]> wrote:
> >>>>> "Soohyung" == Soohyung Lee <[EMAIL PROTECTED]> writes:
> 
> Soohyung> I want to know how long the time quantum(time slice) on the
> Soohyung> SCHED_OTHER and SCHED_RR.  Is time quantum meaningful in
> Soohyung> SCHED_OTHER and SCHED_RR.  What I say is 'How often the
> Soohyung> context switching occurs' .
> 
> The default is 10ms and 1ms for Alpha.
> 

That's just the clock rate as defined by HZ in asm/param.h (100 for i386,
1024 for Alpha).

For the default time slice, look in include/linux/sched.h:

#define DEF_PRIORITY    (20*HZ/100)     /* 210 ms time slices */

        -Arun


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

From: [EMAIL PROTECTED]
Subject: Re: Linux for CompactPCI BUS?
Date: Thu, 27 May 1999 01:40:04 GMT

I run linux on two different Gespac system (PCISYS-56 and PCISYS-57),
with Ethernet and XWindows with little change on LAN driver.

Check more info at:
http://www.gespac.com/linux.html

Alain
In article <[EMAIL PROTECTED]>,
  Williams <[EMAIL PROTECTED]> wrote:

> I have run Linux on a compactPCI system from Ziatech and
> understand the the Gespac compactPCI also runs Linux.
>
> Joel Williams
>   [EMAIL PROTECTED]
>


--== Sent via Deja.com http://www.deja.com/ ==--
---Share what you know. Learn what you don't.---

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

From: "Don Gonzales" <[EMAIL PROTECTED]>
Subject: re: sound card problems
Date: Wed, 26 May 1999 18:38:43 -0700

I have a sony laptop pcgf160 that is running neomagic drivers for both sound
and video. i cant get the sound working. is there any drivers available for
this product or is there a generic driver i could use? im running openlinux
2.2




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

From: "Soohyung Lee" <[EMAIL PROTECTED]>
Subject: [Q] time slice in SCHED_OTHER
Date: Wed, 26 May 1999 21:18:47 +0900

I want to know how long the time quantum(time slice) on the SCHED_OTHER and
SCHED_RR.
Is time quantum meaningful in SCHED_OTHER and SCHED_RR.
What I say is 'How often the context switching occurs' .

Can I adjust this quantity,  and if possible, how to ?

I need your help.
Thanks in advance.

- Lee -




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

From: "Soohyung Lee" <[EMAIL PROTECTED]>
Subject: [Q] Priority Mechanism in Linux
Date: Wed, 26 May 1999 22:41:17 +0900


The following symbols(variables) are defined in task_struct in
<kernel/sched.c>
   - counter
   - priority
   - rt_priority
and
   - sched_priority ( in sched_param )
. 

What the exact meaning of each symbol ?
As far as I know, the 'counter' is for dynamic priority ( by goodness() ) ,
and
priority is somewhat static ( according to the scheduling class ,
e.g. SCHED_OTHER,SCHED_RR,and SCHED_FIFO. )

That's all I know and I want to know more .

Can you tell me the relations between these symbols ?
Can you tell me the mechanism for the tasks' priority and for real-time
tasks ?

I want to know precisely the priority mechanism in Linux .
I really need your help .
Thanks in advance .


- Lee -



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

From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: Application Framework for X?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 27 May 1999 01:25:24 GMT

On 26 May 1999 14:22:14 GMT, David A. Rogers <[EMAIL PROTECTED]> wrote:
>Is there and application framework for creating X apps?

Lots.  See URLs below for various libraries that are available.

The most comprehensive frameworks currently under construction are
probably the GNOME and KDE "Desktop Environments;" see
<http://www.gnome.org> and <http://www.kde.org>. 
-- 
"What's wrong with 3rd party tools? Especially if they are free?  What
the **** do you think UNIX is anyway? It's a big honkin' party of 3rd
party free tools." -- Bob Cassidy ([EMAIL PROTECTED])
[EMAIL PROTECTED] <http://www.ntlug.org/~cbbrowne/xlibs.html>

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

From: [EMAIL PROTECTED] (H. Peter Anvin)
Subject: Re: SMP needlessly migrating processes between processors?
Date: 27 May 1999 02:54:34 GMT
Reply-To: [EMAIL PROTECTED] (H. Peter Anvin)

Followup to:  <[EMAIL PROTECTED]>
By author:    Skip Montanaro <[EMAIL PROTECTED]>
In newsgroup: comp.os.linux.development.system
>
> I recently started running RH 5.2 on a dual P-II box (Tyan Thunderbolt
> motherboard). I'm running kernel 2.2.9.  When I run a single
> CPU-intensive process and launch xosview to watch things, I see a
> pattern of CPU load that suggests to me that the single busy process is
> migrating back and forth between the processors roughly every half
> second or so. I see a little square wave pattern for the user time
> portion of the two CPU's graphs.  The patterns for the two processors
> are roughly 180 degrees out of phase with one another.  It seems to me
> that the scheduler isn't weighting things heavily enough to keep
> processes from migrating too much. Is this normal?  Isn't there a cache
> flush overhead when migrating processes between processors? 
> 

Running xosview has been known to make this *much* worse.

        -hpa

-- 
"The user's computer downloads the ActiveX code and simulates a 'Blue
Screen' crash, a generally benign event most users are familiar with
and that would not necessarily arouse suspicions."
-- Security exploit description on http://www.zks.net/p3/how.asp

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

From: [EMAIL PROTECTED] (Christopher B. Browne)
Subject: Re: Modularizing loop device encryption filters
Reply-To: [EMAIL PROTECTED]
Date: Thu, 27 May 1999 02:22:24 GMT

On Wed, 26 May 1999 13:21:55 +0200, Jan Fredrik Leversund <[EMAIL PROTECTED]>
posted: 
>And while we're at it, lets stop calling it "cipher" and "crypto", it's
>bound to tick some american department of something off.

Indeed.  Change it to something like "character set representation."

That way the transformations are more generic, and might even be useful for
other purposes than encryption.

For instance, you might want to "hook up" a transformer that does
<CR><LF>-to-<CR> translation.

Or one that does Unicode-to-Latin translation.

There may happen to be better ways of accomplishing these things; the virtue
of handling them via the "otherwise-used-for-crypto" interface is firstly
that it legitimizes the notion that the interface *isn't* just for
"nefarious crypto stuff," and secondly that it might very well make it
easier to build translators for these purposes.  

-- 
Those who do not understand Unix are condemned to reinvent it, poorly.  
-- Henry Spencer          <http://www.hex.net/~cbbrowne/lsf.html>
[EMAIL PROTECTED] - "What have you contributed to free software today?..."

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

From: [EMAIL PROTECTED] (Scott Lanning)
Subject: Re: Simple prog for parallel port ??
Date: 26 May 1999 23:51:24 GMT

Andrew Daviel ([EMAIL PROTECTED]) wrote:
[snip]
: I just want to be able to toggle some bits up and down
: and don't need the code portable to different hardware or O/S.
: I suspect a few calls to outb would do the job if I set things
: up right.

Section 9 of the IO-Port Programming mini-HOWTO
(http://metalab.unc.edu/LDP/HOWTO/mini/IO-Port-Programming.html)
gives printer port example code--just what you want.

--
"Besides a mathematical inclination, an exceptionally good mastery of
one's native tongue is the most vital asset of a competent programmer."
-- Edsger W. Dijkstra

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


** FOR YOUR REFERENCE **

The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:

    Internet: [EMAIL PROTECTED]

You can send mail to the entire list (and comp.os.linux.development.system) via:

    Internet: [EMAIL PROTECTED]

Linux may be obtained via one of these FTP sites:
    ftp.funet.fi                                pub/Linux
    tsx-11.mit.edu                              pub/linux
    sunsite.unc.edu                             pub/Linux

End of Linux-Development-System Digest
******************************

Reply via email to