Linux-Development-Sys Digest #225, Volume #8 Wed, 18 Oct 00 19:13:10 EDT
Contents:
!!!URGENT !!! Printer driver (Johan Leroy)
Re: ftp performence over wireless lan (Paul Flinders)
Re: How to turn off kloged and syslogd in my Linux? (Paul Flinders)
Re: How does a computer boot? (Wolfram Faul)
measuring response time to get a web page in Linux (David Gress)
Re: How to turn off kloged and syslogd in my Linux? (Mike McDonald)
Erors making modules with RedHat7.0 and 2.2.16-22 (root)
Excuse the pretense. New system. (root)
Re: !!!URGENT !!! Printer driver (Mike Dowling)
Re: System Halt from Kernel Space (Kevin Buhr)
Driver Module compilation (Sean Bose)
gnome-name-server exit (Joe Pfeiffer)
possible tcpd bug (Matthew Patterson)
Re: ftp performence over wireless lan ([EMAIL PROTECTED])
Re: Erors making modules with RedHat7.0 and 2.2.16-22 ([EMAIL PROTECTED])
Re: K62-550 3DNow! (Edward Lee)
Re: possible tcpd bug (Kaz Kylheku)
Re: How does a computer boot? ([EMAIL PROTECTED])
Re: How does a computer boot? (Robert Redelmeier)
----------------------------------------------------------------------------
From: Johan Leroy <[EMAIL PROTECTED]>
Subject: !!!URGENT !!! Printer driver
Date: Wed, 18 Oct 2000 17:17:54 GMT
Hi there,
I want to optimize the linux printer driver (HP1120C) but I'cant find
the source code. I'm running RH7.0 and to print a simple text file it
takes to much time.
Greetings
Johan Leroy
------------------------------
From: Paul Flinders <[EMAIL PROTECTED]>
Subject: Re: ftp performence over wireless lan
Date: 18 Oct 2000 18:29:04 +0100
Jerome Corre <[EMAIL PROTECTED]> writes:
> thanks for the advice i have installed ethereal and i am looking at it
> now, I have notice something else which might help to find the problem.
> When i start an ftp session (using 'ftp server'), I get the message
> 'Connected to server' but then i take a good 1-2 minute before i get
> another line of text with the name of the server, the port the type of
> server etc.. and a line asking me for a login name.
> Are the two problem related or is this just something else?
> i'll post the result from using ethereal later
>
> thanks for any help
that sounds like badly configured name resolution.
------------------------------
From: Paul Flinders <[EMAIL PROTECTED]>
Subject: Re: How to turn off kloged and syslogd in my Linux?
Date: 18 Oct 2000 18:34:19 +0100
"JESSEY" <[EMAIL PROTECTED]> writes:
> Deat All:
> How to turn off kloged and syslogd in my Linux?
> I don't hope kloged and syslogd running in my startup.
> regards
Please learn the difference between crossposting and posting to
multiple groups.
This varies with distribution - on a RedHat system you would remove the
S30syslog link from /etc/rc.d/rc2.d, /etc/rc.d/rc3.d, /etc/rc.d/rc3.d
and /etc/rc.d/rc4.d.
This is only advisable on a laptop and the better option on a laptop
is to create a ramdisk and mount in on /var/log.
------------------------------
From: Wolfram Faul <[EMAIL PROTECTED]>
Subject: Re: How does a computer boot?
Date: Wed, 18 Oct 2000 20:00:12 +0200
Hallo,
I am writing my final theses at the moment so I look for exactly
definition of "booting" rather when booting is finished.
Robert Redelmeier wrote:
>
> 5) This boot loader will load the kernel image, perhaps
> decompressing it, and transfer control to it
Is it finished here when the kernel is controlling the computer.
> 6) The kernel will then take control and start it's own
> setup of VM, page tables, IDTs, kernel data structures,
> and also do further hardware initialization.
Or here when the the kernel has finished its initialisation.
Thanks
Wolfram
------------------------------
From: David Gress <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.development.apps
Subject: measuring response time to get a web page in Linux
Date: Wed, 18 Oct 2000 13:49:24 -0400
I have written a Java application that measures the time to get a web
page from 8 different servers.
When run in NT the numbers collected are reasonable. When run under
Linux (RH 6.2), using the same JDK
the collected numbers are noticably higher, most of the time. It seems
that I am experiencing a timeout or delay
at some point when running under Linux OS.
The sys admin created a 'C' program to measure response times. He ran it
on Linux and experienced the higher
response times as had been the case in Java. He ran the same program on
Solaris and rercorded the lower
response times similar to the Java code when running under NT.
We ran tcpdump on the Linux machine while the Java code ran. We noticed
that some network requests showed
TTL greater than 240.
Has anyone experienced similar behavior?
d e gress
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Mike McDonald)
Subject: Re: How to turn off kloged and syslogd in my Linux?
Date: Wed, 18 Oct 2000 18:23:35 GMT
In article <[EMAIL PROTECTED]>,
Paul Flinders <[EMAIL PROTECTED]> writes:
>
> "JESSEY" <[EMAIL PROTECTED]> writes:
>
>> Deat All:
>> How to turn off kloged and syslogd in my Linux?
>> I don't hope kloged and syslogd running in my startup.
>> regards
>
> Please learn the difference between crossposting and posting to
> multiple groups.
>
> This varies with distribution - on a RedHat system you would remove the
> S30syslog link from /etc/rc.d/rc2.d, /etc/rc.d/rc3.d, /etc/rc.d/rc3.d
> and /etc/rc.d/rc4.d.
>
> This is only advisable on a laptop and the better option on a laptop
> is to create a ramdisk and mount in on /var/log.
>
A better solution is to use chkconfig to turn it off, instead of removing
the link. chkconfig will make sure you don't miss a link and will be able to
turn it back on later if you so decide.
Mike McDonald
[EMAIL PROTECTED]
------------------------------
From: root <[EMAIL PROTECTED]>
Crossposted-To: comp.ox.linux.setup
Subject: Erors making modules with RedHat7.0 and 2.2.16-22
Date: Wed, 18 Oct 2000 19:28:29 +0100
I had to redefine smp_num_cpus, for no reason I could quickly determine,
in '/linux/kernel_stat.h' whilst compiling the kernel. The reported
error was an undefined symbol, probably some conditional compilation I
couldn't be arsed to look for.
Secondly, and currently, make modules throws an error
(`get_module_symbol_R_ver_str' declared as function returning a
function) whilst compiling loop.c in /block/drivers. I don't know why,
does anyone else?
Otherwise system performing beautifully. One last gripe: why aren't the
AGP config options included in xconfig?
Arch
------------------------------
From: root <[EMAIL PROTECTED]>
Crossposted-To: comp.os.setup
Subject: Excuse the pretense. New system.
Date: Wed, 18 Oct 2000 19:30:29 +0100
'My name is' Archie.
------------------------------
From: [EMAIL PROTECTED] (Mike Dowling)
Subject: Re: !!!URGENT !!! Printer driver
Date: 18 Oct 2000 18:36:35 GMT
On Wed, 18 Oct 2000 17:17:54 GMT, Johan Leroy <[EMAIL PROTECTED]> wrote:
>Hi there,
>I want to optimize the linux printer driver (HP1120C) but I'cant find
>the source code. I'm running RH7.0 and to print a simple text file it
>takes to much time.
I didn't realise that there were such things as printer drivers for
Linux. Here, at least, our printers are all postscript printers, so
they present no problems. The lpd daemon takes care of text files.
Exotic printers as far as I am aware are always taken care of using
ghostscript. This is often started automatically using filters.
Do you do things differently?
Cheers,
Mike
--
My email address [EMAIL PROTECTED] above is a valid email
address. It is a mail alias. Once spammed, the alias is deleted, and
the integer 'N' incremented. Currently, mike[32,33] are valid. If
email to mikeN bounces, try mikeN+1.
------------------------------
From: [EMAIL PROTECTED] (Kevin Buhr)
Crossposted-To: comp.os.linux.embedded
Subject: Re: System Halt from Kernel Space
Date: 18 Oct 2000 15:06:47 -0500
Stephen Rousset <[EMAIL PROTECTED]> writes:
>
> Does anyone know how to do a graceful "shutdown" or halt from kernel
> space in the 2.4 kernel? I can do a machine_restart() [file process.c]
Does the (embedded?) system you're trying to shut down run a
traditional "init" process? If so, send "init" a SIGINT
signal, as in:
/* kernel code to shut down */
kill_proc (1, SIGINT, 1);
and "init" will execute whatever the "ctrlaltdelete" action in
"inittab" tells it to execute. If this is a "shutdown -h now"
command, you get the added benefit that all the system shutdown
scripts will be run before sync and halt.
If you aren't running a traditional "init", you'll have to define
"graceful". Do you want all running processes to be sent a signal of
some kind, so they have a chance to clean up? Or, do you just want to
sync and die?
Kevin <[EMAIL PROTECTED]>
------------------------------
From: Sean Bose <[EMAIL PROTECTED]>
Subject: Driver Module compilation
Date: Wed, 18 Oct 2000 13:11:59 -0700
Reply-To: [EMAIL PROTECTED]
Some of the header files needed for character driver compilation
have changed in the /usr/include/linux folder under Red Hat 7.0
(Kernel Version 2.2.16) - modversions.h, serial.h, serialP.h etc.
However the same header files have been kept similar under
/usr/src/linux/include/linux folder which is also used for
kernel compilation.
The headers were included in the .c file as <linux/xxx.h>
If we want to include the headers from the /usr/src/linux/include/linux
folder instead of /usr/include/linux, is there any simple way
of doing it.
thanks in advance
Sean Bose
------------------------------
From: Joe Pfeiffer <[EMAIL PROTECTED]>
Subject: gnome-name-server exit
Date: 18 Oct 2000 13:51:58 -0600
Doing a search of the web, I've come across quite a few questions
similar to this, but not any followups with answers.... in general,
what sort of thing causes the gnome-name-server to exit, and what
sorts of things can be done about it?
More specifically, I've got my Sony VAIO 505 laptop running
2.4.0-test9. If I suspend and then resume, my log shows
Oct 18 12:52:38 valiant gnome-name-server[5506]: input condition is: 0x11, exiting
Oct 18 12:52:38 valiant PAM_pwdb[5444]: (gdm) session closed for user pfeiffer
So.... what's up? I'd rather not have to log in again every time I
suspend!
--
Joseph J. Pfeiffer, Jr., Ph.D. Phone -- (505) 646-1605
Department of Computer Science FAX -- (505) 646-1002
New Mexico State University http://www.cs.nmsu.edu/~pfeiffer
VL 2000 Homepage: http://www.cs.orst.edu/~burnett/vl2000/
------------------------------
From: Matthew Patterson <[EMAIL PROTECTED]>
Subject: possible tcpd bug
Date: Wed, 18 Oct 2000 16:02:34 -0500
i was configuring tcpwrappers on a redhat 6.2 system the other day, and it
didn't perform like the man pages said it should. according to the man pages, it
checks hosts.allow, then hosts.deny, if it isn't in either, it allows the
connection. here's the configuration that i had (different IPs, but you get the
idea):
hosts.allow:
in.telnetd:192.168.0.
hosts.deny
ALL:ALL
in this state, if i try to telnet to the machine, it wouldn't allow the
connection. however, if i comment the "ALL:ALL" line in hosts.deny, it allows
the connection. I consider this a bug, some may consider it a feature. i also
don't know if it is something redhat-specific, as i haven't had a chance to try
another distro yet.
thanks for thoughts
MHP
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: ftp performence over wireless lan
Date: Wed, 18 Oct 2000 21:05:15 GMT
Paul Flinders <[EMAIL PROTECTED]> wrote:
[...]
>> When i start an ftp session (using 'ftp server'), I get the message
>> 'Connected to server' but then i take a good 1-2 minute before i get
>> another line of text with the name of the server, the port the type of
[...]
> that sounds like badly configured name resolution.
Two other things to bear in mind:
1. ftpd is spawned by inetd, so you'll have to wait for it to start up
when you connect.
2. ftpd is actually wu-ftpd on RedHat 6, so it's not a small program
by any means.
I find it's not unusual to have a brief pause when identd itself is
paged out.
--
Matt Gauthier <[EMAIL PROTECTED]>
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Erors making modules with RedHat7.0 and 2.2.16-22
Crossposted-To: comp.ox.linux.setup
Date: Wed, 18 Oct 2000 21:06:44 GMT
root <[EMAIL PROTECTED]> wrote:
> I had to redefine smp_num_cpus, for no reason I could quickly determine,
> in '/linux/kernel_stat.h' whilst compiling the kernel. The reported
> error was an undefined symbol, probably some conditional compilation I
> couldn't be arsed to look for.
It's worth checking to make sure you edited the top-level Makefile to
call kgcc, since the compiler shipped with RH 7 can't compile the
kernel.
--
Matt Gauthier <[EMAIL PROTECTED]>
------------------------------
From: Edward Lee <[EMAIL PROTECTED]>
Subject: Re: K62-550 3DNow!
Date: Wed, 18 Oct 2000 14:13:58 -0700
jwk wrote:
> On Tue, 17 Oct 2000 16:01:14 GMT, John Hall
> <[EMAIL PROTECTED]> wrote:
> >How's the support for this cpu? I'm purchasing a laptop within the next week
> >and the one I have my eye on has one of these. I know Linux will run fine on
> >it, but i'm curious about performance. I know this chip emulates MMX to a
> >certain degree, but that you really need to specifically take advantage of
> >the 3DNOW! instruction set to see the bigger benefit. Does anyone have any
> >comment? Specifically i'm curious if 3DNow acceleration has been implemented
> >in the kernel or in any of the X servers, or if I can compile my own X
> >server with 3dNow support.
> >
Nop, Pentium/Celeron will have illegal instructions with 3DNow. I don't think X
even supports MMX, since X is supposed to run on many other none x86 chips.
> There are some routines in the kernel that use 3DNow! (checksumming,
> some raid computations). The difference won't be that great. A certain
> mp3-encoder has a 3DNow! enhanced version. That could be a bigger
> difference, but not shocking.
3DNow is not much faster than equivalent MMX instructions. It allows more SIMD
instructions and better coding, relatively speaking, in terms of assembly
codes. However, unless Intel licenses the 3DNow instructions, it is too much
troubles to go beyond MMX. Pentium/Celeron runs MMX better than K6-2, for same
clock speed.
------------------------------
From: [EMAIL PROTECTED] (Kaz Kylheku)
Subject: Re: possible tcpd bug
Reply-To: [EMAIL PROTECTED]
Date: Wed, 18 Oct 2000 21:42:40 GMT
On Wed, 18 Oct 2000 16:02:34 -0500, Matthew Patterson <[EMAIL PROTECTED]> wrote:
>i was configuring tcpwrappers on a redhat 6.2 system the other day, and it
>didn't perform like the man pages said it should. according to the man pages, it
>checks hosts.allow, then hosts.deny, if it isn't in either, it allows the
>connection. here's the configuration that i had (different IPs, but you get the
>idea):
My man page says this:
- Access will be granted when a (daemon,client) pair
matches an entry in the /etc/hosts.allow file.
- Otherwise, access will be denied when a (dae�
mon,client) pair matches an entry in the
/etc/hosts.deny file.
- Otherwise, access will be granted.
That's not quite the same as ``access will be granted if the pair is not in
either'', but rather ``access will be granted if there is no prohibition in
hosts.deny, or else if there is an explicit permission in hosts.allow''.
>hosts.allow:
>in.telnetd:192.168.0.
>
>hosts.deny
>ALL:ALL
>
>in this state, if i try to telnet to the machine, it wouldn't allow the
>connection. however, if i comment the "ALL:ALL" line in hosts.deny, it allows
>the connection. I consider this a bug, some may consider it a feature.
What bug would that be? By commenting out the only entry in your hosts.deny,
you have nothing in your deny list, so host is denied access.
--
Any hyperlinks appearing in this article were inserted by the unscrupulous
operators of a Usenet-to-web gateway, without obtaining the proper permission
of the author, who does not endorse any of the linked-to products or services.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: How does a computer boot?
Date: Wed, 18 Oct 2000 22:42:59 -0000
On Wed, 18 Oct 2000 20:00:12 +0200 Wolfram Faul <[EMAIL PROTECTED]> wrote:
| I am writing my final theses at the moment so I look for exactly
| definition of "booting" rather when booting is finished.
The term "booting" refers to the combination of steps needed to get a
full operating system loaded and running. Initially RAM has nothing
in it. What happens first varies by platform, but it's generally
done in stages because the first things that happen are so primitive
that they cannot load the whole operating system all at once. The
term refers to "pulling one self up by their boot straps". Just how
that happens in a give platform is not the same overall.
| Robert Redelmeier wrote:
|>
|> 5) This boot loader will load the kernel image, perhaps
|> decompressing it, and transfer control to it
|
| Is it finished here when the kernel is controlling the computer.
That depends on your point of view. Some people don't consider it done
until the "init" program runs. Others don't consider it done until the
"init" loads all the other programs. Some don't consider it done until
they can login.
|> 6) The kernel will then take control and start it's own
|> setup of VM, page tables, IDTs, kernel data structures,
|> and also do further hardware initialization.
|
| Or here when the the kernel has finished its initialisation.
The kernel only starts one (or in certain circumstances, two) program.
That program starts all the others. It's called "init". It is your
friend.
--
| Phil Howard - KA9WGN | My current websites: linuxhomepage.com, ham.org
| phil (at) ipal.net +----------------------------------------------------
| Dallas - Texas - USA | [EMAIL PROTECTED]
------------------------------
Date: Wed, 18 Oct 2000 18:01:22 -0500
From: Robert Redelmeier <[EMAIL PROTECTED]>
Subject: Re: How does a computer boot?
Wolfram Faul wrote:
>
> I am writing my final theses at the moment so I look for exactly
> definition of "booting" rather when booting is finished.
Well, you can define 'booting' to be whatever you wish.
My personal definition is that a machine is finished
'booting' when a user or other agent can start to use
the machine as it was intended.
> Robert Redelmeier wrote:
> >
> > 5) This boot loader will load the kernel image, perhaps
> > decompressing it, and transfer control to it
>
> Is it finished here when the kernel is controlling the computer.
Not really -- this is only the end of the BIOS boot, and
the start of the kernel boot.
> > 6) The kernel will then take control and start it's own
> > setup of VM, page tables, IDTs, kernel data structures,
> > and also do further hardware initialization.
>
> Or here when the the kernel has finished its initialisation.
Not even -- this is only the end of the kernel boot. As phil
points out, init will run, step through runlevels and /etc/rc.d
scripts starting up many vital processes including gettys
and maybe X. Only then can the booting be considered complete.
Booting is a long, involved sequential process with remarkably
little parallelism. At each phase, one piece of hardware or
code has control, and if it succeeds, passes control to the next.
-- Robert
------------------------------
** 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
******************************