Linux-Misc Digest #366, Volume #20               Thu, 27 May 99 07:13:07 EDT

Contents:
  "kernel: khm" error (Stefano Ghirlanda)
  Re: Tools under Linus (Mark Tranchant)
  kernel error messages (Stefano Ghirlanda)
  playcd, vcd ([EMAIL PROTECTED])
  Re: Crontab? ([EMAIL PROTECTED])
  Re: NT the best web platform? (Carrer Yuri)
  Re: NT the best web platform? (Carrer Yuri)
  Re: FTP with Resume feature? (IBMackey)
  CONFIG_NET_ALIAS (Charly)
  Re: Commercially speaking....? (Shimpei Yamashita)
  Re: Insmod (Brian Lane)
  Re: Building new kernel (2.2.5) failed (Paul Kimoto)
  Re: Iomega products and Linux (John Thompson)
  Re: How to Stay Online - ISP Kicks my off during inactivity (Sitaram Chamarty)
  Re: How to run a script when logging out ? (Kevin Falcone)
  Re: Iomega products and Linux (Bill Simpson)
  Re: Is /etc/localtime causing a seg fault with glibc? (Paul Kimoto)
  Make my own boot/root? (Ken Williams)
  Re: Netscape crashes and it takes the whole machine with it! ("Ahh Umm...")
  Re: gcc: Warning! [object] may be crobbled by longjmp or vfork (Dragos STOICHITA)

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

From: [EMAIL PROTECTED] (Stefano Ghirlanda)
Subject: "kernel: khm" error
Date: 27 May 1999 08:39:05 GMT

Hi,
I have previously posted the smae question but got no answer... I try
again!

I am under X, in an xterm. I su to root, then ask for another xterm. The
command hangs. On the console I see:

[date]: [hostname] kernel: khm

As far as I see, I get the same behaviour (command hang+console message)
for all programs that need to open a window (e.g. emacs, fr and others).
They all hang. No problem if I don't need any window (e.g. emacs -nw). 

But I also seem to have problem with other processes that run as root.
E.g., I cannot connect to my httpd server... the connection hangs although
the server is running, same kernel: khm error on the console.

I have a custom 2.2.3 kernel on a redhat 5.2 installation. I have this
kernel since the end of March and never had this problem before today.

I would really appreaciate some help!
thanks,
Stefano

-- 
 Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
    Office: D554, Arrheniusv. 14, S-106 91 Stockholm, Sweden
Phone: +46 8 164055, Fax: +46 8 167715, Email: [EMAIL PROTECTED]
   Support Free Science, look at: http://rerumnatura.zool.su.se

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

From: Mark Tranchant <[EMAIL PROTECTED]>
Subject: Re: Tools under Linus
Date: Thu, 27 May 1999 09:57:37 +0100
Reply-To: [EMAIL PROTECTED]

Brandon wrote:
> 
> I Ching Hsueh wrote:
> >
> > Hallo,
> > A good question for Linus people.
> > I want to know, how many well-known tools now run under Linus, or which webside
> > I should visit to get this.
> >

> its called Linux, not Linus. Linux is the guy who created it.

Close. The kernel is called Linux, the guy is called Linus.

Mark.

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

From: [EMAIL PROTECTED] (Stefano Ghirlanda)
Crossposted-To: alt.os.linux.slackware
Subject: kernel error messages
Date: 27 May 1999 09:16:10 GMT

Hi,
I am getting a strange error from the kernel (hostname kernel: khm).
Does anyone know what that means, or where I can find a document
explaining kernel error messages?

thanks a lot,
Stefano

-- 
 Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
    Office: D554, Arrheniusv. 14, S-106 91 Stockholm, Sweden
Phone: +46 8 164055, Fax: +46 8 167715, Email: [EMAIL PROTECTED]
   Support Free Science, look at: http://rerumnatura.zool.su.se

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

From: [EMAIL PROTECTED]
Subject: playcd, vcd
Date: 27 May 1999 15:42:49 +0800

i used xplaycd to play song from CD, but i don't know how to play song from CD by 
non-interactively i.e. sth like running
  
        <program_name> <cd_list_file>
 
to play a song in a CD using the order described in <cd_list_file> automatically.
 
 
does anyone have idea ?

 
besides, what is/are the programs which can play movie from a VCD ? i tried to use 
mtvp but i cannot get the audio but i can get the video.

i'm using Redhat5.2, sound blaster 16 PnP
 

Thx 1st
 


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

From: [EMAIL PROTECTED]
Subject: Re: Crontab?
Date: 27 May 1999 09:06:19 GMT

Paul Kimoto <[EMAIL PROTECTED]> wrote:
> In article <7ig8vb$b8b$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
>> Nick Zentena <[EMAIL PROTECTED]> wrote:
>>> Are the fields for crontab documented anywhere? I've looked. Any pointer
>>> would be great.

>> 'man crontab' is a very good start. That's all I needed to get me going.

> By the way, on your system there may be two man pages for crontab!
> If so, you are looking the one in section 5 (describing the file
> format), not the one in section 1 (describing the crontab program
> proper).

Ah, yes! Thanks for the reminder. It's been a while since I read the
manual. I 'spose if you look down the bottom of either page there will be
a reference to other relevant pages including the other crontab page.

-- 
==========================================================================
Dan Ghozali                                 Ph(H) +61-3-343-1686
Dept. of Geological Sciences,                 (W) +61-3-364-2987 ext 7301
University of Canterbury,        [EMAIL PROTECTED]
Christchurch - New Zealand              http://members.tripod.com/kiwidan
==========================================================================


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

From: [EMAIL PROTECTED] (Carrer Yuri)
Crossposted-To: comp.infosystems.www.servers.unix,comp.os.linux.advocacy
Subject: Re: NT the best web platform?
Date: 27 May 1999 11:43:27 +0200

Read this:

 http://www.kegel.com/mindcraft_redux.html

 I mean, we get an 300% improvment in performance in just few weeks :-)

 Gotta love linux.



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

From: [EMAIL PROTECTED] (Carrer Yuri)
Crossposted-To: comp.infosystems.www.servers.unix,comp.os.linux.advocacy
Subject: Re: NT the best web platform?
Date: 27 May 1999 11:23:57 +0200

In article <[EMAIL PROTECTED]>,
Olaf Walkowiak  <[EMAIL PROTECTED]> wrote:
>Hello,
>
>[EMAIL PROTECTED] (Jon Drukman) writes:
>
>> In article <[EMAIL PROTECTED]>, Olaf Walkowiak wrote:
>> >If you have a lot of dynamic content, exspecially when using custom
>> >modules with mod_perl or something, using Squid can reduce the
>> >necessary Apache childs, especially if there are lots of "slow"
>> >clients. This can reduce memory consumption.
>> 
>> If you're going to use Squid, you should give it all the memory you
>> can spare.
>
>True.
>
>> 
>> I'm not sure what you mean by "dynamic" content here.  If the content
>> is truly dynamic (in my mind that means it is different on each request)
>> then you *cannot* cache it 
>

 You can still cache images , if not produced on the fly.



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

From: [EMAIL PROTECTED] (IBMackey)
Subject: Re: FTP with Resume feature?
Date: 27 May 1999 09:44:07 GMT
Reply-To: IBMackey <[EMAIL PROTECTED]>

[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>Try NcFTP (http://www.ncftp.com/)
>
>Rob Brown-Bayliss wrote:
>
>> Hi
>>
>> Can some one recoment a download or FTP prog for linux that supports
>> resume?
>>
>> Thanks
>>

You can also use Filerunner. Just make a list of your favorite FTP
sites and add it to the Hotlist.

i.b.

>
>

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

From: Charly <[EMAIL PROTECTED]>
Subject: CONFIG_NET_ALIAS
Date: Thu, 27 May 1999 11:46:46 +0200

Hi all,

        I wish to upgrade my 2.0.36 kernel to the 2.2.9 kernel.
The problem is that my machine got an IP alias (it have ifcfg-eth0
and ifcfg-eth0:0) and the 2.2.9 kernel doesn't have the
CONFIG_NET_ALIAS option in the kernel configuration. It only
have CONFIG_IP_ALIAS but it doesn't seem to be enougth.
Can someone tell me how to keep my alias even with this kernel ?
I tried to launch ifup-aliases eth0:0 but it didn't work.
Maybe a script need to be modified but wich one and how ?

Thanks


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

From: Shimpei Yamashita <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.advocacy,linux.help,linux.news.groups,uk.comp.os.linux
Subject: Re: Commercially speaking....?
Date: 27 May 1999 01:32:53 +0100

Erik Olson  <[EMAIL PROTECTED]> writes:
>>> Now this has confused me, making system calls to the Linux kernel by non
>>> open source commercial programs should be illegal, or at least my
>>> interpretation of the GPL makes me think so.  But apparently it is not.
>>> I don't understand.  Can you explain why?
>> Why would it be?
>Because the Linux kernel is GPL and not LGPL, and the GPL states "programs
>that make library calls (aka kernel calls) of a GPL'd program, whether
>static or dynamically linked must have the source code freely available" or
>something like that.  This I believe is the main distinction between the
>GPL and the LGPL.

I hate to pull a proof by intimidation here, but the best answer to
your question is "because Linus said so." To quote from the COPYING
file in the Linux source code distribution:

 NOTE! This copyright [GNU] does *not* cover user programs that use kernel
 services by normal system calls - this is merely considered normal use
 of the kernel, and does *not* fall under the heading of "derived work".

So he explicitly releases programs that make system calls from the
requirements of the GPL. He has also allowed kernel modules to be
distributed sans source as well, as long as the modules do not require
modifications to the kernel itself. And since Linus and kernel
contributors who presumably agree with his interpretation own the
copyright to the Linux kernel, it is not up to you or me to say that
the Linux license doesn't allow this software or that to be run under
Linux.

You might feel this is dumb, but I think this is internally consistent.

>Here is my logic:
>
>1) Any program can be twisted and bent into the form of a library.

Fine.

>2) So if indeed the "dynamic linkage of libraries" (as opposed to static
>   linkage) falls apart in count, then the GPL is basically downgraded to
>   the equivilent of the LGPL. 

The reason you made this statement in the first place, I think, is
because the Linux kernel doesn't infect the programs it runs with
GPL. As I mentioned above, Linus has explicitly granted users immunity
from that nonsense, so this part of the argument is now specious.
No matter what you do to a GPL'ed source, it stays GPL. You cannot ever
make it LGPL without convincing the copyright holders to do it for you.

> Then I can legally turn any GPL program
>   into a LGPL library and use it as commercial closed source.

No.

>3) A wrapper, ignoring the inefficencies and pointer manipulation
>   limitations for a moment, is functionally the same as a library call.

OTOH, a wrapper does not give you nearly as much flexibility as a
library call or tweaking the original source code. It merely lets 
you use the program in the same way you would have if it were closed
source to begin with.

>4) So with the wrapper case, I don't even need to wait for the GPL to get
>   beaten up in court inorder to use a GPL program commercial closed source
>   as HP's gdb based GUI debugger demonstrates.

Yes. If this is what interests you, go ahead. Sun has been using
XEmacs as part of its developer suite (definitely not open source) for
some time. Netscape Communicator for Unix is distributed with GNU
movemail, but it doesn't provide anything under GPL except for
movemail itself. Metrowerks is working on an (presumably
closed-source) IDE for Linux with gcc as its back end. There is a free
IDE called Code Crusader and Code Medic which uses gcc and gdb as
back ends. Their sources are freely available, but they cannot be GPL'ed
because they depend on a closed-source widgets library (xforms).
These are just off the top of my head; I'm sure there are many other
examples of non-GPL'ed wrappers around GPL'ed software.

>Game over man.

Not so fast.

I don't see why you are so worked up over wrappers. Closed-source
vendors using wrappers around open-source software aren't taking any
more advantage of open-source software than open-source software that
are wrappers around closed-source software take advantage of the
closed-source software. Any GPL'ed Java application that is run on
Sun's JVM fall under this category.  Running GNU bash on Solaris and
typing 'ls' in it would qualify, too.  So far I haven't heard any
argument from Sun that either of these actions would put the user
applications under whatever licenses Sun would like.

It is worth pointing out that people have been writing non-GPL'ed
wrappers around GPL'ed software for ages. The last time I checked,
GPL'ed software is hardly in a "game over" state.

>> A wrapper can not behave like a library.
>
>Yes it can.

Here is a challenge: wrap up GNU readline so that it can be used from
arbitrary proprietary programs. If you can get it to work, some people
might be interested in it, as (AFAIK) there really isn't any good
non-GNU alternative to readline. I don't doubt it is possible, but I
don't think it will be particularly simple, efficient, or feature-
complete either.

>My point was shell scripting languages can call programs like "rmdir",
>this is what I mean as a wrapper (calling a program instead of a function).
>They can do this legally even if the program is GPL'd.  I know rmdir is
>BSD and not GPL, work with me here, just pretend that rmdir is GPL.  So in
>the case of scripting languages the source is freely available since that
>is the way shell scripts are.  Now throwing in the existence of a perl or
>csh script compiler, you now can have closed source perl scripts.
>
>So please tell me, how is the wrapper for "rmdir" (calling it as a program)
>functionally any different that doing a rmdir(const char *pathname); from
>your program?

rmdir(1) itself is little more than a simple wrapper for rmdir(2) with
a small option parser. So no, a wrapper for the GPL'ed rmdir binary
is not very different from making the rmdir() call from your program.
OTOH, you didn't save yourself very much work, and you did lose
performance with the extra fork-and-wait burden, which is probably
insignificant in this case.

For more complex programs, the difference may become more
obvious. Let's say you are writing some sort of program that needs an
embedded command line and a script parser, and you decide to use bash
for this purpose. If you are willing to GPL your program, you just rip
apart bash's source code, embed it into your oown program, and maybe
add a few internal commands for your purposes. If you want to thumb
your nose at RMS by using wrappers, well, good luck. You might get
something usable out of it, but it certainly won't win you any awards
in the performance department.

-- 
Shimpei Yamashita               <http://www.submm.caltech.edu/%7Eshimpei/>

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

From: [EMAIL PROTECTED] (Brian Lane)
Subject: Re: Insmod
Date: 27 May 1999 05:01:42 GMT
Reply-To: [EMAIL PROTECTED]

On Wed, 26 May 1999 18:12:17 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>I have an external zip drive on my printer port. As root I have it set
>to auto "insmod ppa" When I logon as a user insmod is not able to be
>used. Why?

  Because you are not root. Add the insmod ppa to your system startup
scripts instead of root's login script.

  Brian

-- 
========[Inside  72.01]=======[Outside 49.68F]=======[Drink 67.05F]=========
Brian C. Lane                                       [EMAIL PROTECTED]
Linux Consulting & Web Hosting                        www.nexuscomputing.com

The Constitution is not neutral. It was designed to take the
government off the backs of the people.
        -- Justice William O. Douglas 

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

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: Building new kernel (2.2.5) failed
Date: 27 May 1999 02:31:49 -0500
Reply-To: [EMAIL PROTECTED]

[posted and e-mailed]

In article <7ige2c$ca$[EMAIL PROTECTED]>, Peer Koch wrote:
> checksum.c:200: redefinition of `csum_partial_copy'
> checksum.c:105: `csum_partial_copy' previously defined here
> {standard input}: Assembler messages:
> {standard input}:185: Fatal error: Symbol csum_partial_copy already defined

There is no (ix86) checksum.c file in the 2.2 kernel series.  
It must be left over from some old kernel source.  Delete it.

(The 2.2.5 kernel has been out of date for about 1.5 months now.
Try 2.2.7 or 2.2.9.)

-- 
Paul Kimoto             <[EMAIL PROTECTED]>

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

From: John Thompson <[EMAIL PROTECTED]>
Subject: Re: Iomega products and Linux
Date: Wed, 26 May 1999 21:50:53 -0600

Sylvia Wong wrote:
> 
> Both the parallel port and atapi zip works perfectly under linux. The problem
> is their "I don't care about you unix (incl linux) users" attitude. They don't
> mention it in their manuals because they don't support it. I'm espescially
> unhappy as they support OS/2 and Mac. I don't believe there're more OS/2 users
> than all unixes added together.

I don't know about Mac, but Iomega's "support" for OS/2
appears to be limited to leaving their OS/2 drivers (dated
1995) available for download.  I don't believe it goes any
further than that...

-- 

-John ([EMAIL PROTECTED])

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

From: [EMAIL PROTECTED] (Sitaram Chamarty)
Subject: Re: How to Stay Online - ISP Kicks my off during inactivity
Date: Thu, 27 May 1999 10:39:48 GMT

On Tue, 25 May 1999 16:50:53 -0700, Jason Bond <[EMAIL PROTECTED]> wrote:
>Does anyone out there know of a program that automatically sends out a
>packet every (specified) amount of time?
>My damn ISP kicks me off if I'm inactive for something like 5
>minutes....and it's starting to get annoying.  I used to use Netprophet
>for windows....is there something similiar for Linux?  Thanks kindly,

If it's as low as 5 minutes you have a point.  Most ISPs it's
usually something like 20.

For those cases it is impolite to have something that keeps the
connection alive - after all, if they have a policy it is for some
(presumably) good reason.

A better bet is to use diald or something - except for that first
packet, it gives the illusion of a permanent connection.
Especially useful for getting email or slrnpull from cron.

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

From: Kevin Falcone <[EMAIL PROTECTED]>
Subject: Re: How to run a script when logging out ?
Date: 27 May 1999 04:32:50 -0400

[EMAIL PROTECTED] (John Robson) writes:

> I often forget to shut down my Sybase database server when I log out.  So
> I wrote a script to execute isql commands to shut down the servers.  But then,
> I sometimes forget to execute the script before I log out :-( .
> 
> How do I tell Linux to execute my shutdown script automatically whenever I
> log out ?

Try creating a $HOME/.logout file, it can be used to run your shutdown
script.

-kevin

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

Date: Thu, 27 May 1999 09:33:15 +0000
From: Bill Simpson <[EMAIL PROTECTED]>
Reply-To: Bill Simpson <[EMAIL PROTECTED]>
Subject: Re: Iomega products and Linux



On 26 May 1999, James Lee wrote:

> Bill Simpson <[EMAIL PROTECTED]> wrote:
> : I have another Linux-hostile hardware company to mention: Sony.
> 
> : I bought a Sony pcg-812 laptop some time ago. If you register the computer
> : with Sony you get a 1-yr warranty. The snag is that the only way to
> : register is via some windows program. Since I erased all the windows junk
> : on the HD, I couldn't get the 1-yr warranty.
> 
> surely there is a way to register by snail mail?
No, not even a phone number!!

Bill


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

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: Is /etc/localtime causing a seg fault with glibc?
Date: 27 May 1999 02:41:56 -0500
Reply-To: [EMAIL PROTECTED]

In article <7i45kg$[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> I have Slackware 3.3, Kernel 2.2.1, and Glibc 2.0.5 runtime libaries
> installed.  I obtained libstdc++.so.2.8 from a slackware 3.6
> distribution.  The G2 executable dies immediately with a segmentation
> fault every time in is run.  
>
> The libstdc++ and X11 libraries are libc5 based.  Can glibc compiled
> apps work with these?

No.  (Well, at least not reliably.)  You are supposed to have 
*both* libc5 *and* glibc versions of each library that you may 
need.  You also need a mechanism for telling the dynamic linker
which C library each duplicated shared library belongs to
(either using "-lc" when building the shared library or using
ld.so.conf magic).

-- 
Paul Kimoto             <[EMAIL PROTECTED]>

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

From: [EMAIL PROTECTED] (Ken Williams)
Subject: Make my own boot/root?
Date: Thu, 27 May 1999 07:48:29 GMT

I need to make some custom boot and root disks?  How can I do that?  

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

Date: Thu, 27 May 1999 03:12:37 -0700
From: "Ahh Umm..." <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.x
Subject: Re: Netscape crashes and it takes the whole machine with it!

Well I'm not using RH 6.0, but you're probably better off unistalling
Netscape 4.6 and using something like 4.08 which is known to be more
stable. Also, by default RH configures their systems to trap the
Ctrl+Alt+Backspace and Ctrl+Alt+Delete key combinations. Look at
/etc/inittab for instance.
To allow/disallow networking connections you usually have to edit
/etc/hosts.allow and /etc/hosts.deny. They should already exist and have
explanatory text on editing them.

Do-Hoon Kwon wrote:
> 
> Hello,
>  Netscape 4.6 on my RedHat 6.0 (kernel 2.2.9 SMP) sometimes hangs the
> whole machine! No, I should say the only times this occurs is
> when I'm on the net with netscape.
> Ctrl+Alt+Backspace doesn't work, Ctrl+Alt+F[1-6] doesn't
> repond. I cannot telnet in, either.
> This has happened 3 times during 3 weeks' period or so.
>  The video card is Matrox Millenium G200 8MB version and I'm running
> the latest SVGA server from XFree86-3.3.3.1.
>  The machine has two Linksys 10/100TX ethernet cards and I'm using the
> latest tulip driver as well, if that helps.
>  Does this sound familiar to anyone?
>  Thanks in advance.
> 
> Do-Hoon Kwon
> [EMAIL PROTECTED]

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

From: Dragos STOICHITA <[EMAIL PROTECTED]>
Subject: Re: gcc: Warning! [object] may be crobbled by longjmp or vfork
Date: Thu, 27 May 1999 13:09:06 +0200

D. Vrabel wrote:
> This may be related to exceptions... What version of gcc are you using?
> It is recommended that you use egcs for C++ code.
> 
> David
> --
> David Vrabel
> Engineering Undergraduate at University of Cambridge, UK.

I am using gcc-2.8.1 with libstdc++-2.8.1.1 taken from:
http://hpux.cae.wisc.edu/hppd/hpux/Gnu/

I took it from there because there was a lot of problems
when I tried to install egcs-1.1.2 on our systems.
I will try another time, but our HP systems are like
garbage, the system software is not correctly installed
especially the header files. For example, we have
/usr/include/X11 , /usr/include/X11R5 , /usr/include/X11R6
and there are three different versions of the h files.
Worse! Some aren't there that should be. xpm.h is in an
incredible directory like /efs/nfs/opt/include/xpm/xpm.h
and the libraries are in another place.

So thank you for answering me. Do you know where on the
web I could find the documentation on all gcc errors and
warnings? Because it is not in info.

---
Dragos STOICHITA
Engineering Student at ESIEE, France (http://www.esiee.fr)

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


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

Reply via email to