Linux-Misc Digest #962, Volume #26 Mon, 29 Jan 01 12:13:01 EST
Contents:
Re: why can't i find any good GUI file managers? ("Peter T. Breuer")
Re: Which Linux version? (Kenneth Mokkelbost)
Re: PCI bus access (David Florez)
device name cannot be overridden ([EMAIL PROTECTED])
is there any good browser out there?? (nybblex)
Re: bash2 on Redhat6.2 (Hal Burgiss)
Re: Java Servlet installation (Christopher Albert)
dhcpd ("Tom Edelbrok")
Re: Medler: Deleted Library (Christopher Albert)
Re: is there any good browser out there?? (Christopher Albert)
Re: LILO won't compile (Art Haas)
Re: PCI bus access (Arne Driescher)
Re: System.map - kernel compilation (Christopher Albert)
Re: Linux on Alpha station (Jean Lebrun)
Re: dhcpd (Bernd Huebenett)
Re: System.map - kernel compilation ("Peter T. Breuer")
software for kernel 2.4
nameserver not available, Linux network goes down (Dustin Puryear)
Re: System.map - kernel compilation (Christopher Albert)
Re: software for kernel 2.4 ("Peter T. Breuer")
Re: nameserver not available, Linux network goes down ("Peter T. Breuer")
----------------------------------------------------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: why can't i find any good GUI file managers?
Date: Mon, 29 Jan 2001 14:54:04 +0100
Yvan Loranger <[EMAIL PROTECTED]> wrote:
> Do people posting in this thread bother to read the previous posts?
NO. Why should they and how can they? If it's not quoted, it might as
well be invisible. That's usenet (an unreliable medium in which you
can't rely on you being able to see something implying that other
people can see it too, and certainly can't rely on them seeing it
in the same time order).
> I bet they're the ones who often reply RTFM to esp. newbie questions!
I should hope so.
Peter
------------------------------
From: Kenneth Mokkelbost <[EMAIL PROTECTED]>
Subject: Re: Which Linux version?
Date: 29 Jan 2001 15:46:27 +0100
Paul <[EMAIL PROTECTED]> writes:
> Which one? Just now looking into Linux and I see many versions. Debian,
> Calerda, etc. Which one?????
>
> --
> **To replay via email
> [EMAIL PROTECTED]
>
>
> Sent via Deja.com
> http://www.deja.com/
Welcome to the wonderful world of multiple choices. Choosing a linux
distribution is pretty much like choosing a car. If you ask ten different
people you get ten different answers.
But if you want good help you have to give us some more info. What is
your computer skills? None, M$ windows, Mac or some form of *nix?
What do you intend to use linux to do? Is it going to be a
workstation or server? Online, offline or dial-up? How much time do
you have to spare? If you (are a newbie and) want an offline workstation, one
distribution might be best (Mandrake?). If you intend to use ISDN SuSE might
be best.
Personally I have been using Red Hat (5.x, 6.x and 7.0) for the last three
years and it's been satisfactory for me (except troublesome ISDN, like most
other distributions). But I'm going to check out SuSE when they release 7.1.
So, give us some more info and we might give you an intelligent answer.
Cheers,
Kenneth
------------------------------
From: David Florez <[EMAIL PROTECTED]>
Subject: Re: PCI bus access
Date: Mon, 29 Jan 2001 15:40:26 +0100
Hi Jean,
I completely agree with you, even if this is possible it's not a good
idea for common applications, but my case is slightly different.
I'm thinking of using linux for an embedded application so I could just
modify the kernel to be able to access the PCI bus from anywhere, but if
possible, I would prefer not to modify the kernel. That's all.
Thanks anyway for pointing out this.
Note: By the way, I haven't measure it but a system call implies a
software interrupt (int 0x80) so I guess it would be overkilling to
issue all of these context switches every time the embedded app has to
access to the PCI bus. Maybe I'm wrong (I'm thinking of using the
fastest x86 CPU available).
David Florez.
Jean-David Beyer wrote:
>
> David Florez wrote:
> >
> > Hi All,
> > Does anybody know if there is a way of mapping
> > the physical PCI bus addresses into user memory
> > space (being user root if needed)?
> >
> > I need to write an application that will be
> > accessing the PCI bus VERY often. The only thing
> > I can think of is adding a module to the kernel
> > (device driver) that maps the PCI bus to kernel
> > linear space ( by calling ioremap() ) and
> > therefore the user app would have to issue a
> > system call to request a PCI bus data transaction
> > to the device driver. The idea would be finding a
> > way of getting rid of these overkilling system
> > calls.
> >
> I have no idea if this is possible or not (I suspect it is), but I think
> it a terrible idea. Application programmers in DOS did this all the
> time. While it got them a short-term performance increase, it made it
> impossible to improve DOS (and later, Windows) because it had to support
> all those legacy applications that were driving the hardware directly.
> Furthermore, it made it difficult to improve the hardware architecture
> of the PC itself for the same reason.
>
> Are you sure the system calls are "overkilling"? You might be better off
> with a faster CPU.
>
> --
> .~. Jean-David Beyer Registered Linux User 85642.
> /V\ Registered Machine 73926.
> /( )\ Shrewsbury, New Jersey
> ^^-^^ 7:25am up 15:55, 3 users, load average: 3.10, 3.07, 3.01
------------------------------
From: [EMAIL PROTECTED]
Subject: device name cannot be overridden
Date: Mon, 29 Jan 2001 14:45:57 GMT
Hi,
I have linux 6.0 distribution on my box. and set up a dial up access
to ISP successfully. I could get on the Net using pppd and chat as
root. I have set up a sudo access to users to pppd. but as I dial up
ISP as userId , it fails giving
pppd: device name cannot be overrridden
I would appreciate any kinda help on this
regards
abhijit
Sent via Deja.com
http://www.deja.com/
------------------------------
From: nybblex <[EMAIL PROTECTED]>
Subject: is there any good browser out there??
Date: Mon, 29 Jan 2001 16:57:17 +0200
Hi,=20
It seems that there is no good browser for linux... Netscape crashes all =
the
time, Mozzila is tooooo heavy, kfm is toooo light and I can't find any go=
od....
=2E..any idea??
thanx in advance
Konstantinos
------------------------------
From: [EMAIL PROTECTED] (Hal Burgiss)
Crossposted-To: linux.redhat
Subject: Re: bash2 on Redhat6.2
Reply-To: Hal Burgiss <[EMAIL PROTECTED]>
Date: 29 Jan 2001 10:09:03 -0500
On Mon, 29 Jan 2001 06:15:40 GMT, Peter T. Breuer <[EMAIL PROTECTED]>
wrote:
>In comp.os.linux.misc Hal Burgiss <[EMAIL PROTECTED]> wrote:
>> On Mon, 29 Jan 2001 01:25:16 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>> wrote:
>> Like I said, I used bash2 as my default shell with 6.2 from the time
>> it came out until 7.0. I never had a problem. Maybe there is
>> something, somewhere that is incompatible, but I never hit if there
>> is.
>
>Lots of things are incompatible. The fact that bash2 uses ; as a
>terminator in lists, while bash1 uses it as a separator, is the most
>obvious.
I don't doubt that at all. My only point being that I used bash2 as my
default shell with 6.2 and I don't recall anything that did not work as
expected. Meaning init scripts, and other system stuff that RH installs.
--
Hal B
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]
--
------------------------------
From: Christopher Albert <[EMAIL PROTECTED]>
Subject: Re: Java Servlet installation
Date: Mon, 29 Jan 2001 16:16:35 +0100
Wael wrote:
> Hi,
> I am not sure whether this question should be posted to a java
> newsgroup or a linux one..
> may be both.
> anyway, I downloaded the servlet package and installed it.
> went exactly by the book (actually Sun's installation guide or whatever),
> but when I try to start the servlet by doing:
> ./startup.sh
> or
> java -cp runner.jar:servlet.jar:classes org.apache.tomcat.shell.Startup $*
> I have the java compiler set in the path, so that's no problem.
> When I try to run it, I get
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/apache/tomcat/startup/Tomcat
>
> I tried to fix the problem by making a symbolic link in the
> /usr/local/jakarta-tomcat-3.2.1/bin to point to:
> ln -s /usr/local/jakarta-tomcat-3.2.1/src/org
> but it didn't work
> also i noticed according to the error, the command should probably be
> java -cp runner.jar:servlet.jar:classes org.apache.tomcat.startup.Tomcat
> instead of
> java -cp runner.jar:servlet.jar:classes org.apache.tomcat.shell.Startup $*
>
> am i correct?
>
> in any case i don't have 'runner.jar' on my system and 'servlet.jar'
> is located in /usr/local/jakarta-tomcat-3.2.1/lib
>
> what should i do? what is messed up on my system?
>
> i running Slackware 7.1 with upgraded kernel 2.4.0
>
> Kindly post only
Wael,
Looks like you need to set the classpath, which is a comma separated list of
absolute
path names to .jar or .zip files. For example to add the foo.jar located in
/usr/share/java
to your existing classpath you would execute
export CLASSPATH=$CLASSPATH:/usr/share/java/foo.jar
I suggest you reread the Tomcat installation documents,
and set the variable JAVA_HOME, TOMCAT_HOME, and CLASSPATH appropriately.
There is no runner.jar. If you use the startup scripts provided in your
tomcat distribution,
and have set the correct environment variables, you should not need to call
java directly
to invoke tomcat.
Chris
------------------------------
From: "Tom Edelbrok" <[EMAIL PROTECTED]>
Subject: dhcpd
Date: Mon, 29 Jan 2001 07:26:36 -0800
I'm trying to figure out the dhcpd client daemon. Am a little confused. Do I
put a bash script into /etc/dhcpc/dhcpcd-eth0.exe?
When I do I get the following error in /var/log/messages:
Jan 23 18:02:16 blade dhcpcd[2077]: error executing
"/etc/dhcpc/dhcpcd-eth0.exe 172.17.10.16": Exec format error
I have tried "chmod 777 dhcpcd-eth0.exe".
Any ideas appreciated or pointers to HOWTO's.
Thanks
Tom
------------------------------
From: Christopher Albert <[EMAIL PROTECTED]>
Subject: Re: Medler: Deleted Library
Date: Mon, 29 Jan 2001 16:31:40 +0100
[EMAIL PROTECTED] wrote:
> I install glibc2.2 and then deleted my old library. I know big mistake. How
> else can learn how to fix these things unless I break them first. I need to
> reinstall ncurses, but I get a compile error. I am missing the header file
> strstream.h. I've tryed to figure out where it original came from but I
> can't. I highly doubt this is a bug in ncurses 5.2. Anyone know where or what
> package the strstream.h file comes from.
>
> Thanks for the help
> Much Appreciated
> Kevin
>
> Sent via Deja.com
> http://www.deja.com/
Kevin,
It would help if you said what distribution you are using.
strstream.h is not part of the glibc2.2 library, so you might have deleted
too much. On the RH7.0 box in front of me I have two files strstream.h
/usr/include/g++-2/strstream.h
/usr/include/g++-3/strstream.h
and are thus C++ libraries
which belong to the packages
compat-egcs-c++-6.2-1.1.2.9
libstdc++-devel-2.96-69
I suggest you look carefully at what you deleted, reinstall the packages
containing
those files using the package manager of your distribution and then upgrade or
add
other libraries using the same package manager.
Good luck
Chris
------------------------------
From: Christopher Albert <[EMAIL PROTECTED]>
Subject: Re: is there any good browser out there??
Date: Mon, 29 Jan 2001 16:35:52 +0100
nybblex wrote:
> Hi,
> It seems that there is no good browser for linux... Netscape crashes all the
> time, Mozzila is tooooo heavy, kfm is toooo light and I can't find any good....
> ...any idea??
>
> thanx in advance
> Konstantinos
Konstantinos,
It's basic, but it works well: lynx . No mouse though.
There are Opera, and Amaya as well. I had problems with netscape,
but after some recent upgrades it works fine. Frankly, if you want all the
bells and whistles you're going to have to get used to Netscape/Mozilla.
Chris
------------------------------
From: Art Haas <[EMAIL PROTECTED]>
Subject: Re: LILO won't compile
Date: 29 Jan 2001 09:33:31 -0600
fafaforza <> writes:
> Very weird error, no info at all. After I type 'make in version 21.6.1
>
>
> cc -E check-config.cpp `( if [ -r $ROOT/etc/lilo.defines ]; then cat
> $ROOT/etc/lilo.defines; else echo -DM386 -DIGNORECASE -DVARSETUP
> -DREWRITE_TABLE -DONE_SHOT -DVERSION -DREISERFS; fi ) | sed
> 's/-D/-DLCF_/g'` `[ -r /usr/include/asm/boot.h ] && echo -DHAS_BOOT_H`
> >/dev/null
> cc -E `( if [ -r $ROOT/etc/lilo.defines ]; then cat
> $ROOT/etc/lilo.defines; else echo -DM386 -DIGNORECASE -DVARSETUP
> -DREWRITE_TABLE -DONE_SHOT -DVERSION -DREISERFS; fi ) | sed
> 's/-D/-DLCF_/g'` `[ -r /usr/include/asm/boot.h ] && echo -DHAS_BOOT_H`
> -DIMAGES=19 -DCODE_START_1=108 -DCODE_START_2=14 -DDESCR_SIZE=52
> -DDSC_OFF=24 -DDSC_OFF2=29 -DDFCMD_OFF=34 -DMSG_OFF=40 -DFLAGS_OFF=48
> -DMENU second.S -o temp2.s
> as86 -0 -a -w -l temp2.lis -o temp2.o temp2.s
> [ ... error ... ]
>
Your `as86' is too old - get a later version. Look for either `bin86'
or `dev86'. I had the same error, and after replacing as86 with a new
version, lilo builds without difficulty.
--
###############################
# Art Haas
# (713) 689-2417
###############################
------------------------------
From: Arne Driescher <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.system,comp.os.linux.development.apps,comp.os.linux.hardware
Subject: Re: PCI bus access
Date: Mon, 29 Jan 2001 16:38:23 +0100
David Florez wrote:
>
> Hi All,
> Does anybody know if there is a way of mapping
> the physical PCI bus addresses into user memory
> space (being user root if needed)?
>
> I need to write an application that will be
> accessing the PCI bus VERY often. The only thing
> I can think of is adding a module to the kernel
> (device driver) that maps the PCI bus to kernel
> linear space ( by calling ioremap() ) and
> therefore the user app would have to issue a
> system call to request a PCI bus data transaction
> to the device driver. The idea would be finding a
> way of getting rid of these overkilling system
> calls.
The trick is called mmap. This means you have to write
a device driver (module) that implements the mmap system call.
Basically it works like:
1) The user uses address=mmap(FileHandle,some parameter ..) to
get an address where the mem is mapped.
2) The request is routed to your driver and used to setup
some memory mapping.
Good luck,
Arne
------------------------------
From: Christopher Albert <[EMAIL PROTECTED]>
Subject: Re: System.map - kernel compilation
Date: Mon, 29 Jan 2001 16:45:55 +0100
Stamatis Stefanakos wrote:
> I am trying to install a new kernel but it fails at boot time - I think
> this has something to do with the System.map file.
>
> Can someone explain the procedure with this? The how-tos don't say
> anything about that file - what I am doing now is just copying the kernel
> image to /boot, adding the entries to lilo.conf and running lilo. But the
> System.map has to be updated, right?
>
> So should I copy this one also to /boot? Right now, boot
> contains a System.map-2.2.16 file (this came with SuSE 7.0). Will copying
> a new System.map file (say, for 2.4.0) affect my old kernel? (I need to
> have that one also!)
>
> thanx
> S.
Stamatis,
Yes you need a System.map file in /boot for each kernel version there. The
same goes for
kernel.h . You should copy the suystem map file that was generated in your
kernel-version
build to /boot/System.map-version, likewise for kernel.h-version , where
version would be 2.2.16,
for example. You also need to configure lilo correctly; man lilo.conf .
Chris
------------------------------
From: Jean Lebrun <[EMAIL PROTECTED]>
Subject: Re: Linux on Alpha station
Date: Mon, 29 Jan 2001 16:55:46 +0100
I just want to use all the application I use under Linux. At the beginning, I
will use the Digital Unix.
And also under Linux, the newsgroup are more efficient.
Jean-St�phane Lebrun
Stephen Cornell wrote:
>
>
> Possibly, though I don't know whether the graphics card is supported
> by XFree86. However, I can't imagine why you'd want to install Linux
> on it - you already have a mature, industrial-strength 64-bit Unix
> that was written for this architecture, and consistently performs
> better than Linux in benchmarks (though the gap is sometimes small),
> and an industrial-strength X-server that supports the 3D hardware
> acceleration of your graphics card (which will not be the case with
> XFree86). The vast majority of Gnu programs that compile under Linux
> will also compile under Digital Unix. What on earth do you hope to
> gain from using Linux instead?
>
> --
> Stephen Cornell [EMAIL PROTECTED] Tel/fax +44-1223-336644
> University of Cambridge, Zoology Department, Downing Street, CAMBRIDGE CB2 3EJ
------------------------------
From: Bernd Huebenett <[EMAIL PROTECTED]>
Subject: Re: dhcpd
Date: Mon, 29 Jan 2001 16:58:58 +0100
Hello,
to a retreive an adresse from a dhcp server on your network just type
dhcpcd
on your command line.
Bye,
Bernd
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: System.map - kernel compilation
Date: Mon, 29 Jan 2001 16:06:07 GMT
Christopher Albert <[EMAIL PROTECTED]> wrote:
> Stamatis Stefanakos wrote:
>> I am trying to install a new kernel but it fails at boot time - I think
>> this has something to do with the System.map file.
No it does not.
>> Can someone explain the procedure with this? The how-tos don't say
>> anything about that file - what I am doing now is just copying the kernel
Because it is not needed for anything except debugging.
>> System.map has to be updated, right?
Wrong.
>> So should I copy this one also to /boot? Right now, boot
No .. don't bother.
>> contains a System.map-2.2.16 file (this came with SuSE 7.0). Will copying
>> a new System.map file (say, for 2.4.0) affect my old kernel? (I need to
No, not in the least.
> Yes you need a System.map file in /boot for each kernel version there. The
NO YOU DO NOT.
> kernel.h . You should copy the suystem map file that was generated in your
No, you should not. Please do not perpetrate this myth (to dignify it
with a term that it does not deserve ..).
The only data that System.map provides that is of any interest is the
addresses of functions that are static. Otherwise you can get the
information from /proc/ksyms.
> for example. You also need to configure lilo correctly; man lilo.conf .
That is precisely exactly and sufficiently what he needs to do. NOthing
whatsoever to do with System.map. To convince yourself, remove your
System.map and reboot.
Peter
------------------------------
From: <[EMAIL PROTECTED]>
Subject: software for kernel 2.4
Date: Mon, 29 Jan 2001 16:21:39 GMT
Dear newsgroup,
where do i get
e2fsprogs 1.19
pcmcia-cs 3.1.21
PPP 2.4.0
isdn4k-utils 3.1beta7
the rest mentioned in the changes file of the 2.4 kernel was easy to fin=
d=20
(util-linux and modutils), but this stuff...
thanx in advance, c.
____________________
\ [EMAIL PROTECTED]
Christian Verbeek \ http://ais.gmd.de/~verbeek
Bergstrasse 18a \ phone: +49 2241 142404 =20
53757 Sankt Augustin \ +49 2241 333041 =20
Germany \___________________________
------------------------------
From: [EMAIL PROTECTED] (Dustin Puryear)
Subject: nameserver not available, Linux network goes down
Date: 29 Jan 2001 16:09:50 GMT
Reply-To: [EMAIL PROTECTED]
Recently, our primary DNS server went down. This shouldn't have been a
problem since we have a secondary, but in fact it was. None of the Linux
machines were able to ping anything, including their own network interface.
I would have assumed that the resolver was timing out on the first nameserver,
but since I was pinging IP addresses this shouldn't have happened, correct?
Each Linux server's /etc/resolv.conf looked like:
search mydomain
nameserver 1
nameserver 2
I then found that if I did this:
search mydomain
nameserver 2
nameserver 1
or removed /etc/resolv.conf completely then the problem went away--I could
ping. (BTW, I was using IP addresses and not symbolic names!)
This is quite scary, and I am looking for a fix. We are running RH6.2 with
Linux kernel 2.2.14. Is this a known bug, or do I need to configure something
differently?
I can supply any additional, relevant information as required. Thanks for any
help.
Regards, Dustin
--
Dustin Puryear <[EMAIL PROTECTED]>
Integrate Linux Solutions into Your Windows Network
- http://www.prima-tech.com/integrate-linux
------------------------------
From: Christopher Albert <[EMAIL PROTECTED]>
Subject: Re: System.map - kernel compilation
Date: Mon, 29 Jan 2001 17:37:58 +0100
"Peter T. Breuer" wrote:
> Christopher Albert <[EMAIL PROTECTED]> wrote:
> > Stamatis Stefanakos wrote:
>
> >> I am trying to install a new kernel but it fails at boot time - I think
> >> this has something to do with the System.map file.
>
> No it does not.
>
> >> Can someone explain the procedure with this? The how-tos don't say
> >> anything about that file - what I am doing now is just copying the kernel
>
> Because it is not needed for anything except debugging.
>
> >> System.map has to be updated, right?
>
> Wrong.
>
> >> So should I copy this one also to /boot? Right now, boot
>
> No .. don't bother.
>
> >> contains a System.map-2.2.16 file (this came with SuSE 7.0). Will copying
> >> a new System.map file (say, for 2.4.0) affect my old kernel? (I need to
>
> No, not in the least.
>
> > Yes you need a System.map file in /boot for each kernel version there. The
>
> NO YOU DO NOT.
>
> > kernel.h . You should copy the suystem map file that was generated in your
>
> No, you should not. Please do not perpetrate this myth (to dignify it
> with a term that it does not deserve ..).
>
> The only data that System.map provides that is of any interest is the
> addresses of functions that are static. Otherwise you can get the
> information from /proc/ksyms.
>
> > for example. You also need to configure lilo correctly; man lilo.conf .
>
> That is precisely exactly and sufficiently what he needs to do. NOthing
> whatsoever to do with System.map. To convince yourself, remove your
> System.map and reboot.
>
> Peter
I am convinced, and I stand corrected
Chris
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: software for kernel 2.4
Date: Mon, 29 Jan 2001 16:45:58 GMT
[EMAIL PROTECTED] wrote:
> where do i get
> e2fsprogs 1.19
> pcmcia-cs 3.1.21
> PPP 2.4.0
> isdn4k-utils 3.1beta7
> the rest mentioned in the changes file of the 2.4 kernel was easy to find
> (util-linux and modutils), but this stuff...
I got them from debian's testing distro source, and compiled (the
binaries were compiled against glibc 2.2 and I didn't want that).
BTW, I thought they gave the ftp addresses in the list?
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: nameserver not available, Linux network goes down
Date: Mon, 29 Jan 2001 17:33:34 +0100
Dustin Puryear <[EMAIL PROTECTED]> wrote:
> Recently, our primary DNS server went down. This shouldn't have been a
> problem since we have a secondary, but in fact it was. None of the Linux
> machines were able to ping anything, including their own network interface.
> I would have assumed that the resolver was timing out on the first nameserver,
> but since I was pinging IP addresses this shouldn't have happened, correct?
Correct. Didn't they have their own hostname in their /etc/host tables?
Peter
------------------------------
** 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 by posting to comp.os.linux.misc.
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
******************************