Linux-Development-Sys Digest #12, Volume #7      Sat, 31 Jul 99 09:13:56 EDT

Contents:
  Re: Linux SCSI Device Driver (ellis)
  Re: Linux SCSI Performance Issues (Dimi Shahbaz)
  g++ (kl)
  Re: Unresolved symbols in module... (Heeeeeeeez back!)
  Re: g++ (Eric Hegstrom)
  java compiler (kl)
  Looking for Boundless M/C device driver on Linux (Daniel Fine)
  Re: Writing shared libraries (Paul D. Smith)
  Chips & Technologies display under Linux (Amjad Barakat)
  PAM help needed. (lx)
  Re: java compiler (Kevin Lo)
  Re: Linux Journal - worth or not? (Christopher Browne)
  Just a little hint to all  4005 ([EMAIL PROTECTED])
  Re: when will Linux support > 2GB file size??? (Robert McGwier)
  Re: Chips & Technologies display under Linux (Mike McDonald)
  AutoExec2000.com
  Re: modem programming (Etienne Lorrain)
  Re: Chips & Technologies display under Linux (Amjad Barakat)
  pin memory (Ann Chen)
  Re: Linux Training (Bob Koss)
  Modifying Red Hat, how? (Satomi Yoshida)
  SMP/Power off on Shutdown ([EMAIL PROTECTED])

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

From: [EMAIL PROTECTED] (ellis)
Subject: Re: Linux SCSI Device Driver
Date: 30 Jul 1999 19:04:07 GMT

In article <7nog2n$g8o$[EMAIL PROTECTED]>,
sslim <[EMAIL PROTECTED]> wrote:

>I am studying linux device driver(SCSI) ,  In the book I am studying, there
>are lots of
>examples of device drvier code. But I couldn't find any examples  that show
>how to use device driver in user program.

You "use" a device driver by using open, close, read, write, select,
poll, seek, and ioctl.  

--
http://www.fnet.net/~ellis/photo/linux.html

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

From: Dimi Shahbaz <[EMAIL PROTECTED]>
Crossposted-To: 
linux.dev.c-programming,linux.dev.kernel,linux.dev.scsi,comp.os.linux.hardware
Subject: Re: Linux SCSI Performance Issues
Date: Fri, 30 Jul 1999 12:26:19 -0700

Stefaan,
I have tried concurrent processes, however they yield the same results as
concurrent threads in 1 process.

Dimi

Stefaan A Eeckels wrote:

> In article <[EMAIL PROTECTED]>,
>         Dimi Shahbaz <[EMAIL PROTECTED]> writes:
> > Hello,
> > My question is regarding linux (2.0.36) SCSI performance degredation
> > when we add disks to the SCSI bus. We are getting  some strange results
> > with regards to performance degredation as the number of scsi disks on
> > the same SCSI bus goes from 1 to 4 disks.  Sorry for the attachments,
> > but it is the best way to explain whats happening.  Our test program
> > seeks  and reads random sectors all across the disk(s) and prints out
> > the histogram of the number of calls that took  X microseconds (which is
> > the x axis).  The test was run for 30 minutes.  Multiple disks are
> > accessed at the same time through the use of concurrently running
> > threads, each handling IO on one disk.  We tried the test on kernel
>   ^^^^^^^^
> > version 2.2.10 but got similar results.
>
> I think that what you're coming up against is not caused by the
> SCSI subsystem, but by the fact you're using threads. Try to run
> the test with multiple processes, instead of multiple threads.
>
> --
> Stefaan
> --


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

From: kl <[EMAIL PROTECTED]>
Subject: g++
Date: Fri, 30 Jul 1999 15:22:39 -0700

I  was wondering how do you execute an excutable file using  g++.  I
wrote a program that print "Hello world and compiled it using "g++
Helloworld.C" and get a.out excutable file.  How do you actullaly run
the excutable file.  I tried typing a and a.out but nothing works.

[EMAIL PROTECTED]


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

From: Heeeeeeeez back! <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup,linux.redhat.misc
Subject: Re: Unresolved symbols in module...
Date: Thu, 29 Jul 1999 16:46:59 +0100

In comp.os.linux.misc Allen Ashley <[EMAIL PROTECTED]> wrote:

> Make clean does not erase the modules in /lib/modules/<whatever>. You have to
> do that manually. If you are wary of this step, then rename the directory
> before you do make modules_install. The error messages at boot are harmless,
> but I don't like them either. I can't explain why the >>defiles came up
> empty, I do it all the time.

On my system, detmod was sending its output to stderr rather than stdout..

So you were redirecting the wrong output stream...
( >>& defiles would have worked.... In tcsh anyway)
-- 
=============================================================================
| [EMAIL PROTECTED] |   Windows95 (noun): 32 bit extensions and a   |
|                           |graphical shell for a 16 bit patch to an 8 bit |
|   Andrew Halliwell BSc    |operating system originally  coded for a 4 bit |
|            in             |microprocessor, written by a 2 bit company,that|
|     Computer Science      |       can't stand 1 bit of competition.       |
=============================================================================
|GCv3.12 GCS>$ d-(dpu) s+/- a C++ US++ P L/L+ E-- W+ N++ o+ K PS+  w-- M+/++|
|PS+++ PE- Y t+ 5++ X+/X++ R+ tv+ b+ DI+ D+ G e++ h/h+ !r!|  Space for hire |
=============================================================================

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

From: Eric Hegstrom <[EMAIL PROTECTED]>
Subject: Re: g++
Date: Fri, 30 Jul 1999 12:25:16 -0700

try   
./a.out

(you need to have the current directory set up in your path to type just
a.out -- there are some security issues with having "." in your path if
you are root.  Remember "." is your current directory.

I was puzzled by this the first time I tried to run on a Unix system.

-Eric

kl wrote:
> 
> I  was wondering how do you execute an excutable file using  g++.  I
> wrote a program that print "Hello world and compiled it using "g++
> Helloworld.C" and get a.out excutable file.  How do you actullaly run
> the excutable file.  I tried typing a and a.out but nothing works.
> 
> [EMAIL PROTECTED]

-- 
Eric Hegstrom                          .~.
Senior Software Engineer               /V\  
Sonoran Scanners, Inc.                // \\          L I N U X
[EMAIL PROTECTED]        /(   )\  >don't fear the penguin<
520-617-0072 x402                     ^^-^^

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

From: kl <[EMAIL PROTECTED]>
Subject: java compiler
Date: Fri, 30 Jul 1999 15:46:04 -0700

Is there a java compiler on  RH6.0?  I can't seem to find it.


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

From: Daniel Fine <[EMAIL PROTECTED]>
Subject: Looking for Boundless M/C device driver on Linux
Date: Fri, 30 Jul 1999 19:44:12 GMT

Does anybody have or heard of the Boundless Multi Console Product that
ran under SCO running under Linux?
We have about 50 of these units and would like to switch to Linux but we
need a device driver. Any help is greatly appreciated. Boundless has
called this product a dead horse when they switched to thin client.

Can a driver be written and what would it take?

Thanks
Danny Fine
Toronto Canada


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

From: [EMAIL PROTECTED] (Paul D. Smith)
Subject: Re: Writing shared libraries
Date: 30 Jul 1999 00:48:51 -0400
Reply-To: [EMAIL PROTECTED]

%% Graffiti <[EMAIL PROTECTED]> writes:

  >> Obviously, shared libs won't save you anything unless you have many
  >> _different_ apps using the same code.  Merely having lots of instances
  >> of the _same_ app isn't going to benefit since all instances of the same
  >> app use the same code image in memory anyway.

  g> Sure it will.  You have a custom libfoo.so (2M) with the function bar().
  g> bar() has a buffer overflow.  The binary (baz) you distribute is 10M
  g> static or 4M dynamic.  You fix bar().

Obviously.  I made this advantage clear in an earlier response.

At this point in the thread, though, we're talking solely about runtime
efficiency.

-- 
===============================================================================
 Paul D. Smith <[EMAIL PROTECTED]>         Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
===============================================================================
   These are my opinions---Nortel Networks takes no responsibility for them.

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

From: Amjad Barakat <[EMAIL PROTECTED]>
Subject: Chips & Technologies display under Linux
Date: Fri, 30 Jul 1999 14:55:00 -0700

Hello this is my first post at this group and I hope this is the
appropriate area to ask about configuring a chips & technologies 65554
2048K video card to do 16 bit color at 1024x768 resolution on a Digital
Hinote Ultra 200 (166mhz) Laptop. Any help or reference is appreciated.

Thanks

Amjad


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

From: lx <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.programmer,linux.redhat.pam
Subject: PAM help needed.
Date: 31 Jul 1999 03:05:09 GMT

I have a very simple inquiry on how to configure PAM. I am trying to get
an application set up for a web-based client that submits CGI information
which is then used to check a particular username and password against the
passwd (or shadow) list. I have gotten the application to work properly,
but only if it is A) run by the user trying to authenticate their own name
and password, or B) run by root.

Neither of these are sufficient for the needs of the application, because
it will be run anonymously by either "www" or "nobody" and I'd rather not
have it run as SETUID root, for obvious reasons.

What is the appropriate /etc/pam.d/conf file for this kind of operation?

(To simply check against a submitted username and password, and not check
the identity of the user calling the function (pam_authenticate())?)

Any help would be *greatly* appreciated.



.lx
-- 
[ [EMAIL PROTECTED] -- http://www.audiophonic.com/lx/ ]
[ "in a mirror, all the time turns counter-clockwise." ]
[ "and every time i look, i find my face has changed." ]

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

From: Kevin Lo <[EMAIL PROTECTED]>
Subject: Re: java compiler
Date: Sat, 31 Jul 1999 11:42:28 +0800

kl wrote:

> Is there a java compiler on  RH6.0?  I can't seem to find it.

Go to http://www.blackdown.org/java-linux/mirrors.html

--
Kevin Lo                        | Linpus Technologies Inc.
[EMAIL PROTECTED]           | http://www.linpus.com.tw




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

From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Linux Journal - worth or not?
Reply-To: [EMAIL PROTECTED]
Date: Sat, 31 Jul 1999 05:13:19 GMT

On Fri, 30 Jul 1999 08:59:51 -0500, Keith Brown <[EMAIL PROTECTED]> wrote:
>Bonn wrote:
>> i started using linux for a while.  is it worthwhile to subscribe the
>> 'Linux Journal'?
>> any comment?
>
>Ditto what everyone else has said (definitely worth it). There is also
>'Linux Magazine' which has been out for a few months (I've been lucky
>enough to get all the issues on the newstand so far). I highly recommend
>this as well, though it costs an arm and a leg to subscribe. I suppose
>the price will come down if they become more successful and fixed costs
>are less of the business equation.... http://www.linux-mag.com


Problem:

- The thing that is the *prime* cause for reducing magazine prices is
  an increase in advertising revenue.

- Increases in advertising revenue imply an increase in dependancy on
  advertising revenue.

- Increased dependancy on advertising revenue implies greater control
  by commercial interests over magazine content.

Which adds up to something of a "killer circle" that tends towards the
"Barneyfication" of magazine content.  Technical magazines with *truly
valuable* content attract advertisers that will promote content that
is somewhat biased towards their products.

Personally, I'd rather see a more expensive magazine that completely
eschews advertising.

Some may consider that this means that they'll be paying more for the
magazine.

I disagree with this contention; if you don't pay one way, you'll be
paying in another:

a) You can pay for the magazine directly, which may mean paying $50
   USD that covers the costs of production.

b) You pay $20, advertisers pay $30, which is paid for by other
   consumers.  And since you have no economic influence over the
   advertisers, they have majority "economic control," and thereby
   have relatively free reign over influencing the magazine's
   editorial policy by economic fiat.

c) You may pay $20, and advertisers pay $30, which is money that
   you're more than paying out when you buy products from the
   advertisers.  You have some influence over the advertisers, but
   this is an inefficient way to exercise economic influence over the
   magazine.

Look carefully at any technical magazine of the last 20 years and
you'll see these sorts of effects.  DDJ used to be very good, but more
often looks like a MSFT "shill" today.  They look like they retain
*some* editorial integrity, which is more than can be said for many
other PC magazines, but aren't nearly as good as they used to be.

-- 
"Cars move huge weights at high speeds by controlling violent explosions
many times a second. ...car analogies are always fatal..." 
-- <[EMAIL PROTECTED]>
[EMAIL PROTECTED] <http://www.hex.net/~cbbrowne/freeecon.html>

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

From: [EMAIL PROTECTED]
Subject: Just a little hint to all  4005
Date: 29 Jul 1999 19:28:32 -0500

If you own a small business you owe it yourself to take a 1 minute stop at 
http://www.mdc.net/~rick/index2.html otherwise you never know what might haave been. 
Is less than 1 minute to much to ask to improve your business 95%? Also if your a 
webmaster this is just great for you to pick up some serious cash as well. The choice 
is yours, be the future or history, choose wisely.
cgdzvhonzubeegeo


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

From: Robert McGwier <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.alpha
Subject: Re: when will Linux support > 2GB file size???
Date: Sat, 31 Jul 1999 06:25:32 GMT

On EBAY, [EMAIL PROTECTED] is auctioning of AlphaPC 164SX motherboards
and they are going for $300-ish.  This is a 533 Mhz board with
66 Mhz PCI bus.  I took my one generation old PCI cards (video,
modem, CD ROM etc.) and an older monitor and put together a complete
Dec Alpha system for under $500 total and that included memory and
a case.

I have no commercial association with ntatist other than as a
satisfied customer running a Dec and having a blast.

Bob

Bloody Viking wrote:
> 
> In comp.os.linux.advocacy Philip Brown <[EMAIL PROTECTED]> wrote:
> 
> : Umm.... a low-end alpha was affordable 2 years ago.
> 
> Depends on your definition of "affordable", which is of course a function
> of your take-home pay. For a professional making $80K/yr, you're right.
> For a postal worker, no. Becuse I'm a postal worker, the Y2K-3 DEC Alphas
> were not affordable. :( When Intel starts shipping millions of 64-bit
> CPUs, then it will meet my income's definition of "affordable".
> 
> Not every Linux fan is a computer professional. A few of us use it becuse
> the price is right: Affordable like nothing else. :)
> 
> --
> CAUTION: Email Spam Killer in use. Leave this line in your reply! 152680
>  First Law of Economics: You can't sell product to people without money.
> 
> 4333453 bytes of spam mail deleted.           http://www.wwa.com/~nospam/

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

From: [EMAIL PROTECTED] (Mike McDonald)
Subject: Re: Chips & Technologies display under Linux
Date: 30 Jul 1999 22:22:57 GMT
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>,
        Amjad Barakat <[EMAIL PROTECTED]> writes:
> Hello this is my first post at this group and I hope this is the
> appropriate area to ask about configuring a chips & technologies 65554
> 2048K video card to do 16 bit color at 1024x768 resolution on a Digital
> Hinote Ultra 200 (166mhz) Laptop. Any help or reference is appreciated.
> 
> Thanks
> 
> Amjad
> 

  Check out the Linux on Laptops webpage:
        http://www.cs.utexas.edu/users/kharker/linux-laptop/

  in particular, the Ultra 2000 has the config info for the C&T 65554:
        http://mojo.calyx.net/~rjb/linux/#x

  Mike McDonald
  [EMAIL PROTECTED]

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

From: <[EMAIL PROTECTED]>
Subject: AutoExec2000.com
Date: 31 Jul 1999 08:05:18 GMT

Just ran across this great web site,  I thought you would be very interested in!

http://www.AutoExec2000.com

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

From: Etienne Lorrain <[EMAIL PROTECTED]>
Subject: Re: modem programming
Date: Thu, 29 Jul 1999 13:27:48 +0100

  Serial-Programming-HOWTO

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

From: Amjad Barakat <[EMAIL PROTECTED]>
Subject: Re: Chips & Technologies display under Linux
Date: Fri, 30 Jul 1999 17:30:58 -0700

Thanks to Mike and everyone in this group and thanks to yahoo for helping me
find this news group. The sites I was referred to had all the info I needed.

Thanks again

Amjad

Mike McDonald wrote:

> In article <[EMAIL PROTECTED]>,
>         Amjad Barakat <[EMAIL PROTECTED]> writes:
> > Hello this is my first post at this group and I hope this is the
> > appropriate area to ask about configuring a chips & technologies 65554
> > 2048K video card to do 16 bit color at 1024x768 resolution on a Digital
> > Hinote Ultra 200 (166mhz) Laptop. Any help or reference is appreciated.
> >
> > Thanks
> >
> > Amjad
> >
>
>   Check out the Linux on Laptops webpage:
>         http://www.cs.utexas.edu/users/kharker/linux-laptop/
>
>   in particular, the Ultra 2000 has the config info for the C&T 65554:
>         http://mojo.calyx.net/~rjb/linux/#x
>
>   Mike McDonald
>   [EMAIL PROTECTED]


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

From: Ann Chen <[EMAIL PROTECTED]>
Subject: pin memory
Date: Fri, 30 Jul 1999 17:57:17 -0500


   Does anybody knows how to allocate memory that is pinned ( will stick
to one physical address, won't be swapped out ).  I'd appreciate it if
somebody can help me with this.  

thanks,
Ann


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

From: Bob Koss <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.hardware,comp.os.linux.development.apps
Subject: Re: Linux Training
Date: 31 Jul 1999 07:39:08 -0400

"JamesH" <[EMAIL PROTECTED]> writes:


> 
> Can anyone recommend a good Linux Training Organization?
> Has anyone used or heard anything about Linuxcare or Redhat training?
> 

Learning Tree (www.learningtree.com) offers Linux training.

-- 
--
Robert Koss, Ph.D.  | Object Mentor, Inc.    | Tel: (800) 338-6716
Senior Consultant   | 14619 N Somerset Cr    | Fax: (847) 918-1023
[EMAIL PROTECTED]      | Green Oaks IL 60048    | www.objectmentor.com


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

From: [EMAIL PROTECTED] (Satomi Yoshida)
Subject: Modifying Red Hat, how?
Date: Sat, 31 Jul 1999 11:28:49 GMT
Reply-To: [EMAIL PROTECTED]

Hello,
As some of you might already know, there are a number of updates
RH6.0 now.  At the moment, when I am setting up a new system
I manually have to update the relevant programs using rpm
command and after doing it for a number of times I am getting
bored.

What I would like to achieve is to blend these updates into
RH standard installation procedure so that I dont have
to update them later on.  The first attempt that I tried and failed
was to replace the older files under RedHat/RPMS directory
with the new ones.

Wondering if somebody can give me some input on how
to do it properly

thanks
glenn


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

From: [EMAIL PROTECTED]
Subject: SMP/Power off on Shutdown
Date: Sat, 31 Jul 1999 12:20:07 GMT

Hello!

The kernel sources tell me, that it is possible
for the apm-routines to switch off the power after
shutdown for SMP systems. But it also says that
you will only want to do it if you know what you
are doing ;-) (Without a boot parameter it
wouldn't do it)

What are the problems with power off on shutdown
and SMP-systems? After shutdown both CPUs
should be idle anyway.

I would like to monitor the temperature of my
overclocked celerons and shutdown and power off
the system if the fans or the yet to be build
water cooling fails.

Yours,

Jens


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

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


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