Linux-Misc Digest #399, Volume #25 Wed, 9 Aug 00 23:13:02 EDT
Contents:
Re: user/supervisor mode (Andres Soolo)
Re: loadlin problem ([EMAIL PROTECTED])
IBM offers COIN to OS community ([EMAIL PROTECTED])
Re: FWD: Red Hat's CFO abandoning ship. (John Hasler)
Re: FWD: Red Hat's CFO abandoning ship. (John Hasler)
Where are the LVM tools for 2.4 kernel? (rizophage)
Re: Socket problems. (David Rysdam)
using pop3 instead of sendmail (Martin Terpstra)
Re: Netscape Mail Problem (Michel Catudal)
ftpd and telnetd (vururu)
Re: FWD: Red Hat's CFO abandoning ship. (Robert Krawitz)
Re: FWD: Red Hat's CFO abandoning ship. (Robert Krawitz)
Re: Adding a SCSI controller changing boot drive to SCSI drive (E J)
Re: Modules in 2.4.0-test6 (softrat`)
Re: Bash environment question (Leonard Evens)
Re: New Version Of Lilo Is Said Not To Have 1024 Cyl Limit. Need Info (Leonard Evens)
Closed captioning source (Jim Harkins)
minicom - file lock (Paxx)
Re: configuring networking. HELP! (not a newbie Q) (Bob Niederman)
----------------------------------------------------------------------------
From: Andres Soolo <[EMAIL PROTECTED]>
Subject: Re: user/supervisor mode
Date: 10 Aug 2000 00:09:38 GMT
emiel <[EMAIL PROTECTED]> wrote:
> I would like to know how an OS switches from user mode to supervisor
> mode. I've read that this can be achieved by invoking a trap, but I
> didn't really understand the explanation of how it works _exactly_.
> Could someone please explain this?
The kernel sets a trap somewhere (in case of Linux, at the `int'
instruction) so whenever that instruction is executed, the processor
saves the task's state and enters into trap handler. It'll be run
in the supervisor mode already.
--
Andres Soolo <[EMAIL PROTECTED]>
TACKY:
Serving grape kool-aid at religious functions.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: loadlin problem
Date: Thu, 10 Aug 2000 00:07:59 GMT
In article <[EMAIL PROTECTED]>,
Valentin Guillen <[EMAIL PROTECTED]> wrote:
> lu tong wrote:
> >
> > I use loadlin to load linux at the desktop of win98.
> >
> > When I load in linux and then reboot, the linux can't reboot while
it
> > can shut down.
> > But use LiLo or boot disk can reboot.
> >
> > What's the probelm?
> > thank you!
>
> This issue has to do something with which command interpreter is used
> to start linux and how it's invoked.
>
> Ordinarily, here's how Win9x boots up. POST, bootstrap, config.sys,
> autoexec.bat, and then usually windows. [...]
Also, weird things happen if you run loadlin in V86 mode as opposed
to REAL DOS mode -- the case of the disappearing mouse cursor being
perhaps the most familiar one.
Executing loadlin with no arguments tells you which mode you are in.
Many "legacy" autoexec.bat files invoke things -- such as the emm386
UMB manager -- that put you into V86 mode.
The only way I know to make sure I am in REAL DOS mode is to boot
into SAFE MODE COMMAND PROMPT ONLY (shift+F5).
Merely exiting to the DOS prompt from Windows 98 leaves you in V86
(virtual) DOS mode, so if you then try to boot into Linux via LOADLIN,
strange things can happen.
Check it out.
wm
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED]
Subject: IBM offers COIN to OS community
Date: Thu, 10 Aug 2000 00:27:24 GMT
IBM just released an interesting Open Source project called COIN,
Common Optimization INterface, off its developerWorks site. Coin,
developed by IBM mathematical optimization researchers, which basically
helps developers write crasy mathmatical programs which can maximize
everything from stock portfolio returns to taveling distance to
whatever.
http://www-4.ibm.com/software/developer/library/coin.html?
open&l=201,t=gr,p=coin
COIN is an experiment to promote open source in the operations research
community. IBM is kicking off the experiment by establishing a
repository for source code and opening software to initially populate
the repository. The COIN team wants the community of users to
contribute by developing new code, reviewing and testing existing code,
and submitting and fixing bugs. The goal is to have project controlled
by the community, rather than by the IBM researchers.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: gnu.misc.discuss
Subject: Re: FWD: Red Hat's CFO abandoning ship.
Date: Wed, 9 Aug 2000 23:47:27 GMT
blowfish writes:
> Where did the money that was paid to you by the Finnish government came
> from!!!???
What's with this fixation on the Finnish government?
> ...your contribution to the GNU-GPL project through Debian.
The GNU project and Debian are two distinct, separate, and independent
organizations.
> What's wrong with propierty software trying to get the maximum amount of
> returns as possible?
I'll bite: What?
> You, and those believe in GNU-GPL, and those who violated the copyrights
> law, to make unauthorised copies of copyrighted works, are the only ones
> that are allowed to make money. Right!?
Have you stopped beating your wife?
> Please try to spare me the Windoz comparision.
I don't make them: my only Windows experience is a couple of months of
limited use for a project four years ago. Microsoft's products don't
interest me.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
------------------------------
From: John Hasler <[EMAIL PROTECTED]>
Crossposted-To: gnu.misc.discuss
Subject: Re: FWD: Red Hat's CFO abandoning ship.
Date: Wed, 9 Aug 2000 23:54:58 GMT
blowfish writes:
> Of course I never get a single penny from the GPLed software, and I don't
> expect to, because I have never contribute, or coded anything for them.
> Why should I get pay if I have never done anything, by contribution, or
> under hired contract from them?
And yet you have the gall to gripe about "freeloaders".
> I've never said anything wrong to make a profit.
Neither have I, despite your accusations.
> I believe everybody should make money from their own creation. And the
> copyrights law is a good way to protect that income from being riped off.
So the propaganda would have it, but in fact it serves primarily to garner
billions for Clippy and the Mouse.
--
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin
------------------------------
From: rizophage <[EMAIL PROTECTED]>
Subject: Where are the LVM tools for 2.4 kernel?
Date: Thu, 10 Aug 2000 00:53:34 +0000
I've got a Promise AT-100 card working with the 2.4-pre 5 kernel and a
couple of 7200 RPM IBM ATA-100 drives. (Speed? Oh man!!!)
I would like to play with LVM in the kernel, however I can't find the
tools such as pvcreate, lvcreate, etc. that are mentioned in
linux/Documentation/LVM-HOWTO. Where's the official site for these
beasties?
Thanks,
James
------------------------------
From: [EMAIL PROTECTED] (David Rysdam)
Subject: Re: Socket problems.
Date: 10 Aug 2000 00:08:07 GMT
Reply-To: [EMAIL PROTECTED]
Are the programs (source code) relatively small? If so, email them to
me and I'll take a look. Otherwise just email me and I'll try to talk
you through some questions.
And Davide Bianchi Spoke:
>Hello all,
>I have a (small) problem with some socket... I wrote a simple program
>that basically open a socket and listen for connection, when a
>connection is established, it simply dump on the consolle the data
>received.
>This is basically a "server".
>
>Then I wrote a "client" that send a file to the server, before the
>file a simple "header" is sent. I wrote both program so they can
>be compiled in windows and in linux.
>
>Now the problem: when I run the server on Windows and send data
>from Windows (Windows to Windows), everything run fine. When I
>run the server on Linux and send the data from Windows (Windows to
>Linux), the server receive the "header" then wait forever for the
>other data... the recv() takes forever!!!
>
>What's going on ???
>Any idea ??
>
>Davide
>
--
My public encryption key is available from www.keyserver.net
------------------------------
From: Martin Terpstra <[EMAIL PROTECTED]>
Subject: using pop3 instead of sendmail
Date: Wed, 09 Aug 2000 18:12:13 -0700
hello,
is it possible that Email on Linux is sent automattically to a POP3
server instead
it is sent out via sendmail ??
thank you
Martin Terpstra (mailto:[EMAIL PROTECTED])
------------------------------
From: Michel Catudal <[EMAIL PROTECTED]>
Subject: Re: Netscape Mail Problem
Date: 9 Aug 2000 20:15:26 -0500
Boddhisatva Troutwaxer a �crit :
>
> Michel Catudal <[EMAIL PROTECTED]> wrote:
>
> >>>Make sure you have dns numbers in /etc/resolv
>
> How should the DNS be specified in this file? Do I just put in
> the numbers like this (127.000.00.00), or should they be
> connected to some variable with an equal sign, like this
> (mail=127.000.000.00) or listed under a heading? Do you have a
> sample resolv.conf file you could append?
>
Those are given to you by your ISP
Mine has this.
search netonecom.net
nameserver 209.172.26.10
nameserver 209.172.0.5
If your ISP refuses to give you your numbers give em hell or
look on their web site. Most ISPs list the DNS numbers that you can use on their web
site.
> Does the resolv.conf file need any other information, such as my
> login or password, or the name of my mail server at Pac Bell?
>
The login and password are entered in the proper scripts. KPPP does that for you.
> >Unless you use an intelligent dialer like wvdial set for the
> >stupid mode you must have the DNS numbers in that file for PPP
> >to resolv the DNS. Under SuSE we don't write in that file but
> >enter the information with yast which writes it
> >in /etc/rc.config.
>
> I'm using KPPP, (the KDE dialer) which I imagine writes some kind
> of PPP script and them executes it. (But I don't know for sure if
> this is the case.)
>
> >> Also, I don't know what you mean by "Don't forget to enter the
> >> mail."
> >>
> >
> >EMAIL like in EMAIL address (keyboard error)
>
> Do you mean that the EMAIL address should be in the resolv.conf
> or merely listed somewhere in Netscapes file hierarchy? I have,
> of course, typed the address into my Netscape preferences.
>
No the KPPP setup will ask you for the information to enter
and if you look a the script you should see all that in there.
You have to tell it if you have pap or chap
--
Vous en avez plein l'casse du plantage avec Ti-Mou?
C'est l'temps d'essayer Linux
http://www.netonecom.net/~bbcat/
We have software, food, music, news, search,
history, electronics and genealogy pages.
------------------------------
Subject: ftpd and telnetd
From: vururu <[EMAIL PROTECTED]>
Date: Wed, 09 Aug 2000 09:37:11 -0700
Hello all,
I installed mandrake 7.1 server version with high security
option (bad idea for sure!!). I think that it could be the
reason why when i try ftp connection from a client, i got:
Connecting to: mandrake
Connection Established
Error connecting to: mandrake
I can ping the machine, inetd is working process
What could be the reason why cannot get ftp services...
Could anyone help me again,
Would like to say thanks for all people for theiere advices and
help.
vuru
===========================================================
Got questions? Get answers over the phone at Keen.com.
Up to 100 minutes free!
http://www.keen.com
------------------------------
From: Robert Krawitz <[EMAIL PROTECTED]>
Crossposted-To: gnu.misc.discuss
Subject: Re: FWD: Red Hat's CFO abandoning ship.
Date: 09 Aug 2000 21:36:20 -0400
blowfish <[EMAIL PROTECTED]> writes:
> Robert Krawitz wrote:
> >
> > blowfish <[EMAIL PROTECTED]> writes:
> >
> > > Robert Krawitz wrote:
> >
> > > Okay. I agree that source codes are human readable. But most real human
> > > are not geeks or machineheads.
> >
> > Totally irrelevant. Freedom of speech is not confined to speech
> > understood only by the majority of people.
> >
> I would believe that machine codes are not speech to most real human.
Again, that's TOTALLY IRRELEVANT. Source code in particular, and in
many cases binary, is meaningful to people with the appropriate
training. Therefore it is a legitimate form of speech.
--
Robert Krawitz <[EMAIL PROTECTED]> http://www.tiac.net/users/rlk/
Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail [EMAIL PROTECTED]
Project lead for The Gimp Print -- http://gimp-print.sourceforge.net
"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
------------------------------
From: Robert Krawitz <[EMAIL PROTECTED]>
Crossposted-To: gnu.misc.discuss
Subject: Re: FWD: Red Hat's CFO abandoning ship.
Date: 09 Aug 2000 21:43:06 -0400
blowfish <[EMAIL PROTECTED]> writes:
> I've never said anything wrong to make a profit. In fact. I believe
> everybody should make money from their own creation. And the copyrights
> law is a good way to protect that income from being riped off.
The (Constitutional in the US, at any rate) purpose of copyright is to
promote creation by increasing the incentive to create. Not to
prevent someone from getting ripped off. The point is subtle, but
important -- copyright is intended to benefit *society*, and only
indirectly the creator.
> And $25k is *hardly* can be consider as "windfall." ;-)
I suspect that if you suddenly came into $25K you'd consider it a bit
of a windfall.
--
Robert Krawitz <[EMAIL PROTECTED]> http://www.tiac.net/users/rlk/
Tall Clubs International -- http://www.tall.org/ or 1-888-IM-TALL-2
Member of the League for Programming Freedom -- mail [EMAIL PROTECTED]
Project lead for The Gimp Print -- http://gimp-print.sourceforge.net
"Linux doesn't dictate how I work, I dictate how Linux works."
--Eric Crampton
------------------------------
From: E J <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.setup,linux.act.scsi,linux.dev.newbie,linux.redhat.install,sg.linux
Subject: Re: Adding a SCSI controller changing boot drive to SCSI drive
Date: Wed, 09 Aug 2000 18:48:39 -0700
Reinstall RH6.2 CD. During the installation prompt type in "expert text".
The first menu is Device Driver Install. Press Cancel
You are in the SCSI/Network menu. Select your SCSI card.
You should be able to install RH 6.2 onto your SCSI hard drive.
Magix news wrote:
> I have replaced all my IDE drives with SCSI ones.
> I know which SCSI hard drive my doot disk is on sda7.
>
> I have a boot floppy that was created for the IDE system
> I can not boot linux from HD and do not want to re-install.
>
> Can I modify the boot floppy to add a driver for my adaptec 2940 card. Do I
> have to rebuild anything on the boot floppy.
>
> Any instructions.
------------------------------
From: softrat` <[EMAIL PROTECTED]>
Subject: Re: Modules in 2.4.0-test6
Date: Wed, 09 Aug 2000 18:54:28 -0700
Robert Lynch wrote:
>
> I've been trying to move from devel kernel 2.4.0-test5 to the
<snip>
> there a easier way, along the lines of depmod -a used to figure it all
> out?
You probably need to update your package modutils. Documentation/Changes
for kernel 2.4.0-test5 recommends version 2.3.10 or later. I am using
version 2.3.14-1.
--
the softrat
mailto: [EMAIL PROTECTED]
---
Uncertain fortune is thoroughly mastered by the equity of the
calculation.
- Blaise Pascal
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: Bash environment question
Date: Wed, 09 Aug 2000 20:49:24 -0500
Henry W Meyerding wrote:
>
> I am trying to install mapster. The program tells me that it can't
> find it's libraries. I have tried every permutation of tellling .bashrc
> that the $TCLLIBPATH=/usr/X11R6/bin/mapster-0.2/lib but it just tells me
> that my syntax is wrong.
>
> Can anybody tell me what i need to put in the .bashrc file that will
> allow the libs to be found?
>
> Thanks
>
> Please respond via email to [EMAIL PROTECTED]
>
> HWM
Variables are set with
VAR_NAME=...
The variable would then be accessed with $VAR_NAME. If it is
supposed to be used by a daughter process (as in environmental
variable), you would also have to export it (but without the $.)
More simply you could use
export VAR_NAME=...
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: Leonard Evens <[EMAIL PROTECTED]>
Subject: Re: New Version Of Lilo Is Said Not To Have 1024 Cyl Limit. Need Info
Date: Wed, 09 Aug 2000 20:45:28 -0500
mike wrote:
>
> Hi,
> I have heard that a new version of Lilo does not have the
> 1024 cylinder limit. I would like to get it and doc on it.
> Where can I get the new version of it?
> What version is it?
> What kernels will it work with or it it kernel independent?
>
> Thanks
> Mike
You should also be able to find it at
ftp.metalab.unc.edu. Look under linux/system/boot or something
similar.
--
Leonard Evens [EMAIL PROTECTED] 847-491-5537
Dept. of Mathematics, Northwestern Univ., Evanston, IL 60208
------------------------------
From: [EMAIL PROTECTED] (Jim Harkins)
Subject: Closed captioning source
Date: 10 Aug 2000 02:07:45 GMT
I need to write a parser for closed captioning, NTSC format. Can
anyone point me to some C/C++code I could use? I've found a couple
web sites that have code in PIC, but I don't know that language and
think I could re-invent the wheel faster than figuring it out (15
hours for a new write, who knows to figure out PIC assembly code).
My input is a bitfield indicating field 1 or 2, and 2 data bytes. I
call the parser once a frame as needed (30 times/second). Output is
just a "Print this buffer now to this row".
If it's past about 10 AM Pacific Standard time (USA, California),
Thursday 8/10/2000, don't bother looking for an answer for me, I'm
well into writing my own version.
Thanks.
jim
--
I drive way too fast to worry about my cholesterol
Jim Harkins [EMAIL PROTECTED]
San Diego, CA.
------------------------------
From: Paxx <[EMAIL PROTECTED]>
Subject: minicom - file lock
Date: Thu, 10 Aug 2000 02:19:44 GMT
I recently upgraded(?) from RH 5.2 to RH 6.0. I've got most things
sorted out, but I don't seem to be able to get minicom to work as a
normal user. The minicom.users file seems to still be intact. I'm sure
I'm missing something simple here, but can't think what it is. Someone
want to jog my memory on what I need to tweak to make minicom run for
someone other than root. Minicom report that it can't create a file lock
when I try to run it as non-root user.
Thanks for any help you can give.
--
Paxx -
[This space for Rent]
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Bob Niederman <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux
Subject: Re: configuring networking. HELP! (not a newbie Q)
Date: Wed, 09 Aug 2000 21:52:20 -0500
[EMAIL PROTECTED] wrote:
>
> Hi,
>
> I posted earlier about how linuxconf wouldn't do anything for me
> (ifconfig kept reporting some default non-existent "inet addr" instead
> of the IP address I tried to specify). netcfg had the same problem,
> while netconfig (a graphical DOS-style program) at least succeeded at
> making ifconfig display the right values. BTW, just for my future
> reference, where is this info stored, "inet addr", for example?
On redhat 6.0 and 6.1, the information is in
/etc/sysconfig/network-scripts/ifcfg-<interface_name>
e.g.
/etc/sysconfig/network-scripts/ifcfg-eth0 for interface eth0.
network related stuff not specific to interface is in
/etc/sysconfig/network
After editting these, issue:
/etc/rc.d/init.d/network restart
to make them take effect.
>
> Network is still unreachable.
>
> I can telnet to myself though. The problem is unlikely to be in the
> cables or the Ethernet, as we have other computers connected with the
> same (equivalent) cables to the same Ethernet jacks.
>
> tcpdump gives me non-zero output (that I don't understand) of the
> following pattern:
> datestamp HWaddr2 > 1:00:00:00...
> datestamp HWaddr2 > 1:00:00:00...
> datestamp HWaddr2 > 1:00:00:00...
> datestamp HWaddr2 > 1:00:00:00...
>
> I would think it was my computer trying to reach the network, but ...
>
> Interestingly, HWaddr2 != HWaddr1, where HWaddr1 is the one reported by
> ifconfig, which makes me wonder if I read the wrong HWaddr (using
> ifconfig)
>
> Does ifconfig always detect internal HWaddr, or could it report some
> default one? How can I learn HWaddr without opening the box?
> (it's not my home PC, but a $6000 Dell Linux box at work, so I'm
> reluctant to take extra responsibility)
>
> Thanks a bunch. I appreciate all help.
>
> Wroot
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
--
- Bob Niederman http://bob-n.com
Fight UCITA! http://www.4cite.org, http://bob-n.com/ucita
------------------------------
** 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.misc) 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-Misc Digest
******************************