Linux-Development-Sys Digest #193, Volume #6     Wed, 30 Dec 98 22:14:22 EST

Contents:
  COMPUTERCRAFT archives of Linux USENET groups (COMPUTERCRAFT)
  Re: Kernel 2.2 (Tristan Wibberley)
  Re: Registry for Linux - Bad idea ([EMAIL PROTECTED])
  Re: 2.2pre1 installed nfs writes to solaris2.6 still suck?  any ideas??? (Mike 
Ireton)
  Re: COMPUTERCRAFT archives of Linux USENET groups (Kenneth Crudup)
  Re: What about "Linux.. the home game"?? (a consumer version) (graywolf)
  Re: Registry for Linux - Why? (George MacDonald)
  Where is the bound port in TCP found? (Ayman El-Khashab)
  Re: Does brk hack still work (George MacDonald)
  Re: How to run Windows Applications on Linux ("Darren R. C. KELLY")
  Re: Lilo (BootLoader) Installation (G-der)
  Re: Virtual PC (fiReStaRteR)
  Re: The Interactive Dance Compilation you can play and Mix on  your PC!!   5224 
(fiReStaRteR)
  Re: building kernel under RH 5.2 (David Fox)
  Re: How to run Windows Applications on Linux (David Fox)
  Re: Kernel v2.2 (Chris Vine)

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

From: COMPUTERCRAFT <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.hardware,comp.os.linux.help
Subject: COMPUTERCRAFT archives of Linux USENET groups
Date: Wed, 30 Dec 1998 09:58:35 -0500

The following Linux USENET groups are now being archived at
COMPUTERCRAFT:

    alt.os.linux
    alt.os.linux.caldera
    alt.os.linux.slackware
    comp.os.linux.alpha
    comp.os.linux.development.apps
    comp.os.linux.development.system
    comp.os.linux.hardware
    comp.os.linux.misc
    comp.os.linux.networking
    comp.os.linux.powerpc
    comp.os.linux.setup
    comp.os.linux.x
    dc.org.linux-users

More will be added soon!

The COMPUTERCRAFT Linux USENET archive is at:

http://www.computercraft.com/scripts/fetch.cgi

--
GRAVE ROBBER
PC STUFF For Your Frankenclone
http://www.graverobber.com

COMPUTERCRAFT
PC Tech Secrets Revealed!
http://www.computercraft.com



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

From: Tristan Wibberley <[EMAIL PROTECTED]>
Subject: Re: Kernel 2.2
Date: Wed, 30 Dec 1998 14:28:06 +0000
Reply-To: [EMAIL PROTECTED]

Dimitris Kontopodis wrote:
> 
> Andre Weinreich wrote:
> 
> > I heard that there is a new Kernel ( 2.2 ).
> > Now I'm searching for it.
> > Who can help me and show me where I can get it on Web ?
> 
>   Take a look in:
>     ftp://ftp.kerneli.org/pub/linux/kernel/v2.2/
>

ftp.xx.kernel.org

where xx is the two letter code for your country.

-- 
Tristan Wibberley               Linux is a registered trademark
                                of Linus Torvalds.

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.setup
Subject: Re: Registry for Linux - Bad idea
Date: Wed, 30 Dec 1998 15:26:29 GMT

In article <[EMAIL PROTECTED]>,
  George MacDonald <[EMAIL PROTECTED]> wrote:
> Robert Krawitz wrote:
> >
> > There's nothing preventing anyone doing that right now.  That's what
> > YP, NIS, Hesiod et al. are all about.  What's more, they all work
> > transparently through the get<foo>by<bar> calls that have been around
> > for quite a few years, so programs don't need to be recompiled.  With
> > shared libraries everywhere, they don't even need to be relinked.
>

This should be something that goes beyond what NIS does. Something that
contains info for every system related resource and also has a standard
interface which can be abstracted, get<foo>by<bar> is only good if you're
looking for foo.


>
> However, larger systems/sites/networks are another beast entirely
> and tools like YP/NIS become increasingly valuable as things scale up.
> While one can define new maps in NIS, this is typically not done
> for application and user configuration information. I'm not sure
> if NIS could be contorted to perform all the functionality desired.
> Don't get me wrong, I think it's great stuff and I can't tell you
> how much time NIS has saved me over the years! I have never tried
> to setup maps on a per user basis, can NIS do that?

I dont *think* NIS can, but dont quote me on that.

>
> Anyhow, if a users configuration is stored under thier $HOME
> it will always be available on any system that mounts/automounts
> there home directory. Actually this brings up a couple of
> problems. Sometimes that's what they want, sometimes they might
> want a different config while running an app on a different
> system. The later case could be handled by judicious use of
> a config path variable. Another problem is a user might not
> have thier $home mounted on another system. A config service
> could publish the config info an make it available across the
> network. Hmm, it's tempting to push the config info down
> into a   $OS/$Version/$Arch/$Hostname hierarchy.

NeXT stores application info under the home directory. It turns out it's quite
nice. I think a system that stores this kind of stuff in the home directory is
the way to go, if someone needs an exception allow for that in the framework
that is designed, i.e. have multiple datasets, some that are general others,
more specific, and have the lookup mechanism choose the one that best fits the
host or system.

>
> I was thinking about handling this in a different manner, i.e.
> making the flat files be either "data" or "executable". In
> the first case a particular format is adopted. In the second,
> the executable could be run and it's output must be in the
> desired format.

Almost like a configuration library... Very interesting.

-Rich

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: Mike Ireton <[EMAIL PROTECTED]>
Subject: Re: 2.2pre1 installed nfs writes to solaris2.6 still suck?  any ideas???
Date: Wed, 30 Dec 1998 16:41:14 +0000
Reply-To: [EMAIL PROTECTED]

Doug McClendon wrote:

>
> Unfortunately I'm still getting extremely shitty write performance from
> the nfs client when mounting a solaris2.6 box
>
> mount -o async,rsize=16384,wsize=16384 -t nfs monsoon:/ /mnt/monsoon
>
> I've played with the -o options to no avail.  I mean WTF???
>
> doing a cp of the 50meg linux-source-tarfile from the sunbox to the
> linux box takes all of 10 seconds.  But the cp from the linux box to
> the sun box takes 4 minutes.
>
> What am I missing?  Someone help me please, this has got to be some
> stupidity on my part, right?

I have noted a problem with nfs getting lousy peformance. The issue was,
in my case, duplicate nfs packets being transmitted by linux (tcpdump is
handy). Strangely enough, this issue just 'went away`, I got my peformance
back and have not noted any further instances of duplicate packets. There
is another guy on the newsgroups with the same problem I believe - can you
'snoop' from the solaris box or tcpdump from linux and see if thjis is
your issue too?
\

--
Mike Ireton
Network Systems Manager
Broadlink Communications



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

From: [EMAIL PROTECTED] (Kenneth Crudup)
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.hardware,comp.os.linux.help
Subject: Re: COMPUTERCRAFT archives of Linux USENET groups
Date: 30 Dec 1998 17:31:16 -0500

In article <[EMAIL PROTECTED]>,
COMPUTERCRAFT <[EMAIL PROTECTED]> says:

>The following Linux USENET groups are now being archived at COMPUTERCRAFT:

Shhhh! Nobody tell this dude about "DejaNews", OK?

        -Kenny

-- 
Kenneth R. Crudup, Unix Software Consultant, Scott County Consulting
Home:                           | Purgatory:
8811 Colesville Rd., #509       | P.O. Box 230009               301-562-1922(H) 
Silver Spring, MD 20910         | Boston, MA 02123-0009         617-422-2443(W)

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

From: [EMAIL PROTECTED] (graywolf)
Subject: Re: What about "Linux.. the home game"?? (a consumer version)
Date: Wed, 30 Dec 1998 12:56:50 GMT

Jeff Johnson ([EMAIL PROTECTED]) wrote:
: 
: Keep the target audience in mind and design. Dont let your own expanded
: knowledge and wisdom built by years of hard work cause you to fall into
: myopia. Maybe some of those home 'leanux' users may bloom into more talented
: users.
:

I think that the problem he is that your targeted user does not exist.

Such a person is not going to install an operating system, she is not
going to install a serious program.  Furthermore, most of the problems
installing Linux come from trying to install it on a system with another
os already installed. As one of the posters on this thread said, Linux
can be obtained preinstalled and setup to boot directly into X.  

Why, oh why, does everyone want to turn our neat Unix clone into an 
inferior mass market proprietory peace of juck?  Run Linux if you
want your very own personal multi-user unix system.  If that's not what
you want a company in the northwest has several os you can take your
choice from.

Everyone wants to change the world.  Luckily for me Linus just wanted
an affordable unix system.  Thank you Linus, et al. 

        --graywolf
   

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

From: George MacDonald <[EMAIL PROTECTED]>
Subject: Re: Registry for Linux - Why?
Date: Thu, 31 Dec 1998 00:21:53 GMT

[EMAIL PROTECTED] wrote:
>
<Snip>

> > I think the best argument against a global registry in Linux would be
> > that "that is not the way we do things." The success of Linux is built
> > upon the ability to compile and run a number of open source applications
> > without modifications. While a registry wouldn't necessarily mean that
> > those applications wouldn't be compatible (they just would ignore the
> > registry), making them compatible would introduce a lot of
> > Linux-specific code .. decreasing the maintainability of those projects.
> 
> IMHO, this is the worst argument.  If there is a better way, we as linux
> users, should set the example. If there needs to be backwards compatibility
> for the time of transition there are many different ways to do it.  Don't
> reject what might be the right solution because it "is not the way we do
> things".  And as I said before, you dont have to use anything you dont want
> to.

For that matter why limit it to just Linux or Unix? Some applications span
multiple operating systems. For example lets say I am using Netscape on
a number of different platforms, wouldn't it be nice if I could just set
some configurable parameters and have the apps look for configuration/app
information on other machines?

Lets say I want to have netscape use my config from my linux system at home
while
running Communicator at work on a PC. I think some kind of path specifier
could do this, again with the right library, and a server on my home
machine that has been told to "publish" parts of my config info. Security
could be an issue for some situations but that is also solvable with a
secure protocol.

-- 
We stand on the shoulders of those giants who coded before.
Build a good layer, stand strong, and prepare for the next wave.
Guide those who come after you, give them your shoulder, lend them your code.
Code well and live!   - [EMAIL PROTECTED] (7th Coding Battalion)

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

Subject: Where is the bound port in TCP found?
From: Ayman El-Khashab <[EMAIL PROTECTED]>
Date: 30 Dec 1998 18:36:28 -0600


I currently have a piece of code that I am writing for a custom
application.  If my understanding of tcp is correct, the client makes
a connection request to the listening port on the server (say 23 for
telnet).  Then the server responds with a port to which the new 
connection is bound (mabye 1045 or something).  How from a tcp packet
can I find this information?  I am looking at the data as it is passed
into the tcp stack (tcp_rcv i think).

I believe what I am looking for is in the sk_buff, but I am uncertain.
At the moment, I look at the skb->h.th.source.  So for telnet I see
23.  Either I am missing something here or alternatively, how does the
tcp stack know which connection this is?

ultimately, i would like to get something like:

server_ip and server_port -> client_ip and client_port.

The client side and the server_ip i have, but I cannot figure out the
server port.

I'll be grateful for any help i get . . . 

thanks,
- ayman

-- 
======================================================================
Ayman El-Khashab <[EMAIL PROTECTED]>     PGP key available from
The University of Texas at Austin               keyserver or by finger
  Key Fingerprint: 42 D3 22 E6 D1 73 45 09 DA AE 60 DE 24 CB 71 18 
======================================================================

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

From: George MacDonald <[EMAIL PROTECTED]>
Subject: Re: Does brk hack still work
Date: Thu, 31 Dec 1998 00:33:08 GMT

Anton Ertl wrote:
> 
> In article <[EMAIL PROTECTED]>,
>  George MacDonald <[EMAIL PROTECTED]> writes:
> > So if the sum of virtual memory spaces for all the processes can
> > be larger than the swap space what happens when the system can't
> > swap?
> 
> The last time I tried this, the system hung.  This was with either a
> 1.0 or a 1.2 kernel (one of these did not allow memory overcommit, the
> other did). I hope current kernels are a little more forgiving (by,
> say leaving some room for root processes).
> 
> I heard that AIX kills processes in this situation (large ones first).
> 

Ouch! Hmm, if the OS could tell processes that it's almost out of
swap space, then I bet some of them could free some up. I guess
what's really needed is some whay to notify the user/sys admin
so they can step in and make the proper decisions.


> > Is that something I need to worry about in my application? i.e.
> > do I need to add some defensive code to handle that condition,
> > if so, what code?
> 
> I don't think that's possible. The best defense is probably for the
> sysadmin to make the swap space large enough such that the users or
> sysadmins kill the offending process(es) before swap space runs out.

It kind of assumes someone is around to deal with the problem. I
suppose a monitor program could watch for the processes that are
causing the problem and request they address it by sending them
a message/signal ... Failing that the program could be halted 
automatically and notifcation sent to the user/sys admin. On
last resort the program could be shutdown. I am loath to
shutdown programs automatically, but if they are the offending
process and don't listen to reasonable requests then it's justifiable.

-- 
We stand on the shoulders of those giants who coded before.
Build a good layer, stand strong, and prepare for the next wave.
Guide those who come after you, give them your shoulder, lend them your code.
Code well and live!   - [EMAIL PROTECTED] (7th Coding Battalion)

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

From: "Darren R. C. KELLY" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.advocacy,comp.os.linux.development,comp.os.linux.development.apps,linux.dev.c-programming,linux.dev.kernel,linux.sources.kernel
Subject: Re: How to run Windows Applications on Linux
Date: Thu, 31 Dec 1998 12:54:17 +1100

Woody wrote:

> Why bother running M$ applications?  Just run applications that are
> native to UN*X.

There are MANY reasons to want to run applications for M$, like it or not.
For example, the finance software for Linux is still very limited. I have to
maintain a DOS partition
to run that software. The original question is a good one. It would indeed
be nice to be able run many
Win applications as well as the excellent Linux applications. but not all
Linux applications are excellent.
Some are shocking.

Happy New Year,

And avoid the trap of becoming a Linux zealot. When Linux fans close their
eyes they will suffer
from pride before the fall. Linux need a lot of work yet...

Darren


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

From: G-der <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux,alt.os.linux.caldera,alt.os.linux.slackware,comp.linux,comp.linux.os,comp.os.linux,comp.os.linux.development,comp.os.linux.development.apps,comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.ne
Subject: Re: Lilo (BootLoader) Installation
Date: Wed, 30 Dec 1998 18:50:43 -0700

It was my understanding that NT did make some changes in the MBR to point to the
loader, even if the loader itself is not in the MBR.  I could be mistaken though

Gene

Mantikor wrote:

> This is not true...
>
> The NT boot loader sits on the boot sector, not the MBR.  You can
> safely install LILO on the MBR, and set it up to boot linux and an
> alternative partition (your current bootable one).  If you select this
> alternate when LILO boots, it will start up the boot loader, and you
> can choose between Win98 and NT.
>
> On Tue, 29 Dec 1998 21:40:31 -0700, G-der <[EMAIL PROTECTED]> wrote:
>
> >I would say the first boot record of teh Linux parrtition.  If you install it to
> >the master boot record it will wipe out the NT loader, which as far as i know is
> >required to load NT.
> >
> >The boot.ini for NT can be edited to point to LILO to boot Linux, but I would
> >recommend a boot manager like System Commander.  It will automaticly detect both
> >NT and Linux and set up boot entries for them, but it only works if LILO has not
> >been installed to the master boot record.
> >
> >Gene
> >
> >Peter wrote:
> >
> >> Hello,
> >>
> >> I am at the Lilo Installation now.  I have Wn98 and NT4 dual boot on my hard
> >> disk.  Where should I install the Linux bootloader?
> >>
> >> 1. /dev/hda Master Boot Record (containts 3 partitions: NT, Win98 and Linux,
> >> currently dual booting NT and Win98)
> >> 2. /dev/hda3 First sector of boot partition (Linux partition)
> >>
> >> Please reply directly to me.
> >>
> >> Thanks.
> >


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

From: [EMAIL PROTECTED] (fiReStaRteR)
Subject: Re: Virtual PC
Date: 31 Dec 98 18:12:13 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 26 Dec 1998 13:27:29 +0200, Sami Tikka <[EMAIL PROTECTED]> wrote:
>Do you remember the days when you could buy a card with Z80 and plug it
>into your Apple II so you could run CP/M and it's applications?
>
>And there are similar products from Sun that let you run Windows in an
>add-on card on a SPARCstation.
>
>If that can be done, would it be much more difficult or even much easier
>to buy a PC with 2 cpus and run Linux on one cpu and Windows on the other?
>
>-- 
>Sami Tikka, [EMAIL PROTECTED], http://www.iki.fi/sti/
>

        Why the hell do they all want to be robbed by this crappy Bill ??
All you had under loosedows, you have it under Linux, & even more !!
So, why bother whith that f***ing think that I can't call an OS !?

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

From: [EMAIL PROTECTED] (fiReStaRteR)
Subject: Re: The Interactive Dance Compilation you can play and Mix on  your PC!!   
5224
Date: 31 Dec 98 18:16:25 GMT
Reply-To: [EMAIL PROTECTED]

On 24 Dec 1998 12:00:51 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>The Interactive Dance Compilation you can play and Mix on  your PC!! 
>
>
>The best dance hits of '90 and 98 together in Discoparade
>the first double compilation that you can play and Mix !
>
>Discoparade is the one and only interactive compilation !
>
>http://www.discoparade.com/
>
>
>
>
>http://www.discoparade.com/
>
>
>
>
>qllzwefmowbgsgrkerhyrrdgqsdwydcvzpkbxgfrlzikkbvezmxcenmmyqsgpegrjwcfcjknnuuelzuvmrmrpwmbozfdyifnyx
>

FUCK YA SPAMMER !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

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

Crossposted-To: comp.os.linux.setup
Subject: Re: building kernel under RH 5.2
From: d s f o x @ c o g s c i . u c s d . e d u (David Fox)
Date: 30 Dec 1998 15:23:40 -0800

[EMAIL PROTECTED] (Martin Schiller) writes:

> I thought that the following posting by DFox had solved my problem with
> the conflicting information in the HOWTO's and the RedHat (5.1)
> Installation guide but unfortunately not so......
> 
> > > First you install the .src.rpm using "rpm -i".  Next run "rpm -bp
> > > /usr/rsc/redhat/SPECS/kernel-2.0.36.spec" to unpack the archives and
> > > create the source directory.  Now run "make config" or "make xconfig"
> > > in the source directory and you should get a new .config file.  Copy
> > > this to /usr/src/redhat/SOURCES/kernel-2.0.36-i386.config.  Then run
> > > "rpm -ba /usr/src/redhat/SPECS/kernel-2.0.36.spec" to create new
> > > binary RPMs.  You may want to increase the release number in the spec
> > > file before you do this.  Now install the new .i386.rpm files, use
> > > mkinitrd to make a new init ramdisk if necessary, update
> > > /etc/lilo.conf and re-run lilo, and you're done.
> > > --
> > > David Fox           http://hci.ucsd.edu/dsf             xoF divaD
> > > UCSD HCI Lab                                         baL ICH DSCU
> 
> I was able to rpm -i the SRPMS kernel source (from disk 2) and then rpm
> -bp the spec file. That's where I stalled. "Make config" run in the
> /usr/src/Redhat/SOURCES directory or from the /usr/src/~linux dir
> results in 
> make: **No rule to make target "config". Stop**" 
> The /usr/src/Redhat/SOURCES directory contains a kernel-config.axp and a
> kernel-config.i386 file as well as a installkernel file. The
> kernel-config files each seem to be text files with configuration
> options in the form of  CONFIG_OPTION=y
>                         CPNF_OPTION=m

When I said "source directory" I meant "build directory",
/usr/src/redhat/BUILD/linux.  That's where you run "make config".
Then copy the resulting .config file back to
/usr/src/redhat/SOURCES/kernel-2.0.36-i386.config.

> Attempting to comply with the RedHat installation instruction to install
> the kernel source and the kernel headers packages (from the RPMS), rpm
> informs me that the packages are installed already. And there is no
> kernel-headers file in the SRPMS dir on disk 2.

This means that the original redhat packages are already installed, as
they must be for you to have a working system.  After you build your
new packages you will use RPM's upgrade switch to simultaneously
uninstall those and install your new ones.
-- 
David Fox           http://hci.ucsd.edu/dsf             xoF divaD
UCSD HCI Lab                                         baL ICH DSCU

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

Crossposted-To: 
comp.os.linux.advocacy,comp.os.linux.development,comp.os.linux.development.apps,linux.dev.c-programming,linux.dev.kernel,linux.sources.kernel
Subject: Re: How to run Windows Applications on Linux
From: d s f o x @ c o g s c i . u c s d . e d u (David Fox)
Date: 30 Dec 1998 18:51:45 -0800

"Darren R. C. KELLY" <[EMAIL PROTECTED]> writes:

> Woody wrote:
> 
> > Why bother running M$ applications?  Just run applications that are
> > native to UN*X.
> 
> There are MANY reasons to want to run applications for M$, like it or not.
> For example, the finance software for Linux is still very limited. I have to
> maintain a DOS partition

I want to run MS applications to see why people run MS applications,
and to see how Linux applications can incorporate whatever is good
about them.
-- 
David Fox           http://hci.ucsd.edu/dsf             xoF divaD
UCSD HCI Lab                                         baL ICH DSCU

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

From: [EMAIL PROTECTED] (Chris Vine)
Subject: Re: Kernel v2.2
Date: Wed, 30 Dec 1998 23:35:41 GMT

On Mon, 28 Dec 1998 19:39:42 -0700, "D. Stimtis" <[EMAIL PROTECTED]>
wrote:

>I *would*, however like a list of module aliases, as
>there always seems to be something I compile in
>module form and need an alias to but can't find. 
>Example: alias ppp-compress-24     ppp_deflate
>One in particular I can't find is for vfat mounting,
>modprobe: can't locate module nls_iso8859-1.

You can get some aliases by doing a /sbin/modprobe -c > ./modules_dump

nls_iso8859-1 _does_ have to be compiled in in the ordinary way - you
have simply not chosen it in xconfig or menuconfig (look under Native
Language Support).

Chris.

If replying by e-mail, remove the --nospam--

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


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