Linux-Misc Digest #385, Volume #24 Sat, 6 May 00 19:13:02 EDT
Contents:
Re: "Core" file ("Tom Hoffmann")
RPM Database corruption :( (Alexis M)
Re: RPM Database corruption :( (Hal Burgiss)
Re: Interested in purchasing a Linux OS (jb)
Re: Why partition a Disk? ("Peter T. Breuer")
Re: Need to find my IP address ("Peter T. Breuer")
sound in corel linux (mike_mcc13)
Re: Is JavaServer Pages alive in Linux? ([EMAIL PROTECTED])
Re: Howto use a funtion in a struct ???????? (Alex Chudnovsky)
Re: Need to find my IP address (Kaz Kylheku)
Re: Need to find my IP address (Kaz Kylheku)
LILO 21.4.3 update (John in SD)
Re: Need to find my IP address ("Peter T. Breuer")
Re: Need to find my IP address (Chris)
Re: Why partition a Disk? (Rick Hoffman)
Re: Linux and PCI......? (Tim Hockin)
Re: Need to find my IP address ("Peter T. Breuer")
Re: Benchmarks and relative speeds (David Efflandt)
Re: Help: "Swapoff" error (David Efflandt)
Re: howto setup vi style cmdln editing with bash (David Efflandt)
seyon location (Kevin Bree)
----------------------------------------------------------------------------
From: "Tom Hoffmann" <[EMAIL PROTECTED]>
Subject: Re: "Core" file
Date: Sat, 06 May 2000 21:10:04 GMT
"core" files contain information on the state of a program at the time of
an abnormal termination. The can be used by developers to troubleshoot
problems. If you are not planning on passing the core file to a developer
or using it yourself, it can safely be deleted.
In article <[EMAIL PROTECTED]>, Federico Czerwinski
<[EMAIL PROTECTED]> wrote:
> Hey! This site rules!, Here's the question: When i got an error (usualy
> under X) a file is created, named "CORE", which is quite larger......can
> i erase it? What is that file!? What's it for? Thanx a lot!
>
>
> Federico
>
> --
> Posted via CNET Help.com http://www.help.com/
------------------------------
Date: Sun, 07 May 2000 00:04:24 -0300
From: Alexis M <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,linux.redhat.rpm,linux.redhat.misc
Subject: RPM Database corruption :(
Greetings
My PC suffered a power failure recently, and since then it's been acting
up on me. I'm running RedHat Linux 6.1, and it seems that my RPM
database is completely corrupt. I can't add/remove packages, check
dependencies or anything.
Here is a sample output of what I get when I try to install a package:
[root@spartacus Linux]# rpm -i bzip2-0.9.5d-3.i386.rpm
cannot open file /var/lib/rpm/packages.rpm: Success
cannot open file /var/lib/rpm/nameindex.rpm: Success
cannot open file /var/lib/rpm/fileindex.rpm: Success
cannot open file /var/lib/rpm/groupindex.rpm: Success
cannot open file /var/lib/rpm/requiredby.rpm: Success
cannot open file /var/lib/rpm/providesindex.rpm: Success
cannot open file /var/lib/rpm/conflictsindex.rpm: Success
cannot open file /var/lib/rpm/triggerindex.rpm: Success
cannot open file /var/lib/rpm/obsoletesindex.rpm: Success
cannot open file /var/lib/rpm/versionindex.rpm: Success
cannot open file /var/lib/rpm/releaseindex.rpm: Success
cannot open file /var/lib/rpm/dirindex.rpm: Success
cannot open file /var/lib/rpm/fileindex.rpm: Bad file descriptor
cannot open file /var/lib/rpm/providesindex.rpm: Bad file descriptor
cannot open file /var/lib/rpm/providesindex.rpm: Bad file descriptor
cannot open file /var/lib/rpm/providesindex.rpm: Bad file descriptor
cannot open file /var/lib/rpm/fileindex.rpm: Bad file descriptor
cannot open file /var/lib/rpm/providesindex.rpm: Bad file descriptor
cannot open file /var/lib/rpm/providesindex.rpm: Bad file descriptor
cannot open file /var/lib/rpm/providesindex.rpm: Bad file descriptor
cannot open file /var/lib/rpm/conflictsindex.rpm: Bad file descriptor
cannot open file /var/lib/rpm/conflictsindex.rpm: Bad file descriptor
cannot open file /var/lib/rpm/conflictsindex.rpm: Bad file descriptor
error: failed dependencies:
/sbin/ldconfig is needed by bzip2-0.9.5d-3
ld-linux.so.2 is needed by bzip2-0.9.5d-3
libc.so.6 is needed by bzip2-0.9.5d-3
/bin/sh is needed by bzip2-0.9.5d-3
libc.so.6(GLIBC_2.0) is needed by bzip2-0.9.5d-3
libc.so.6(GLIBC_2.1) is needed by bzip2-0.9.5d-3
What do I do to fix this?
Thanks
Alexis M
--
< m a m p 4 7 at d i a l dot p i p e x dot c o m >
------------------------------
From: [EMAIL PROTECTED] (Hal Burgiss)
Crossposted-To: comp.os.linux.setup,linux.redhat.rpm,linux.redhat.misc
Subject: Re: RPM Database corruption :(
Reply-To: [EMAIL PROTECTED]
Date: Sat, 06 May 2000 21:17:17 GMT
On Sun, 07 May 2000 00:04:24 -0300, Alexis M <[EMAIL PROTECTED]>
wrote:
>My PC suffered a power failure recently, and since then it's been
>acting up on me. I'm running RedHat Linux 6.1, and it seems that my RPM
>database is completely corrupt. I can't add/remove packages, check
>dependencies or anything.
>
>Here is a sample output of what I get when I try to install a package:
AFAIK, the only tool rpm has to try to fix things is 'rpm --rebuilddb'.
--
Hal B
[EMAIL PROTECTED]
--
------------------------------
From: jb <[EMAIL PROTECTED]>
Subject: Re: Interested in purchasing a Linux OS
Date: Sat, 06 May 2000 22:16:18 +0100
Reply-To: [EMAIL PROTECTED]
Romanator wrote:
>
> Hi,
>
> I am very interested in learning and installing a Linux OS on my
> computer. However, after checking out various web sites, I seem more
> confused than before. I am not sure which Linux OS purchase and install.
> As a newbie, can any one recommend a Linux brand name and book for a new
> user?
>
While you are deciding on a distro (as has been mentioned, virtually any
will do and which one people end up using depends a lot on personal
preference, I use Slackware and SuSE) make sure that all the hardware
you have will work the first time. If you have a 'modern' PC then you're
probably all set but make sure that your particular video card and other
pieces are well supported. This will ensure a relatively painless
install and this kind of study beforehand will make the experience a lot
more pleasant.
Also decide how you want to partition the disks *before* you start
installing. I often sit down with a piece of paper and draw it up,
especially if I know that the machine is to run more than just Linux and
if I want anything more complicated than / and /usr, for example.
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Why partition a Disk?
Date: 6 May 2000 21:21:08 GMT
Rick Hoffman <[EMAIL PROTECTED]> wrote:
:> You really need to look at the Partition-HOWTO
: OK, Peter, thanks. That's what I'll do. I am sensing that understanding
:partitioning
: If you are so inclined can you tell me if you backup your Linux files and if so how
:do
: you do it?
Err, well, yes, several gigabytes a day. You probably don't want to
know this.
Every day incremental changes since the last backup are gathered by a
central backup client served from the individual machines involved. Every
week a "full" backup is done to a different backup client. 6 weeks of
daily incrementals are kept. One month of weekly full backups. Every
6 weeks cdroms should be cut of the full backups, but it's a pain.
The full backups cover only the user home areas and the /boot, /var, /etc
directories. The rest of the systems are supposed never to vary, and
are md5summed every day. Any change in them is detected and repaired with
reference to a central site (and the central site is duplicated in all
the remotes anyway).
Each machine also backs up its own / partition every day using rsync
to /spare, at the other end of its disk. That's just for convenience.
It's really convenient.
The remote backups are done using find, tar, and ssh (plus gzip/bzip2).
It's a client/server script system. The tar stream is checksummed on
the way out and on the way in, and the sums must match, or the backup is
repeated.
If the receiving area overflows, an old backup will be discarded,
weighting by age and size to find the removal candidate.
Abstracting wildly, you might expect the backup client to run this
request:
ssh TARGETMACHINE "find /home -mount -type f -mtime -7 > FILELIST; \
tar culvTf FILELIST - | bzip2 -5" > BACKUP
(that's with serverside compression, leaving out the checksumming).
You want to look at cpio, really.
Another technique is to run a high-latency mirror. Say updated every
day or every week with rsync. The mirror earea can be a compressed
file system .. it's not bad compression with e2compr.
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux
Subject: Re: Need to find my IP address
Date: 6 May 2000 21:22:41 GMT
In comp.os.linux.misc Chris <[EMAIL PROTECTED]> wrote:
: People who write device drivers or kernel modules should provide a proper
: man(2) or man(3) page. Ideally, we should kill off the ioctl() function
: and place all accessible driver variables in /proc.
You knoiw, that's not a bad idea! Do you mind if I forward it to the
kernel list?
Peter
------------------------------
From: mike_mcc13 <[EMAIL PROTECTED]>
Subject: sound in corel linux
Date: Sat, 06 May 2000 21:30:05 GMT
I can't get my soundcard to setup in corel linux 1.1 when i run sound setup
it says it can't open isapnp.conf. i have teh correct module installed
into my kernel the es 171 module thanks for the help
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.apps,alt.os.linux,comp.lang.java.programmer
Subject: Re: Is JavaServer Pages alive in Linux?
Date: Sat, 06 May 2000 21:34:18 GMT
I have had good success with JRun version 2.3.3 build >= 155 on
Linux, along with Apache 1.3.9. I have also heard of good
results with people using Resin (which includes its own 100%-pure-
Java webserver, reputed to be quite fast). I use the Sun build
of the Linux JVM verison 1.2.2 with green threads and sunwjit.
Visit http://www.allaire.com/, http://www.caucho.com/, and
http://java.sun.com/ to download these. All of the above are free
for development...
-=- D. J.
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> Also in particular, which free JSP implementations should i use
>
> 1) GNU ServerPages by bitmechanic, or
> 2) GNU JavaServer Pages by klomp
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Alex Chudnovsky <[EMAIL PROTECTED]>
Subject: Re: Howto use a funtion in a struct ????????
Date: Sat, 06 May 2000 22:24:44 GMT
That's going to be pretty interesting discussion :-) . As they say, it i=
s=20
never late to learn smth. new. But,=20
still the way you describe is not "native", it's just workaround. I=20
admit,though, that this may answer the guy's question and that my error=
=20
was that I've thought too straight of what he'd asked. Nevertheless,=20
there is a difference between pointer to a function and a function as a =
member of structure. In your own example of code,=20
you must INITIALIZE the pointer to function. Pure functional member is =
initialized as you declare it.
And, correct me if I'm wrong, in C++ there is one additional way of=20
linking the particular object to the particular function member - the=20
additional 'this' parameter.
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
> struct foo { int (*bar)(); };
> main() {
> extern int printf();
> struct foo x =3D { printf };
> x.bar("hello\n");
> }
Regards,
Alex Chudnovsky
e-mail : [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED] (Kaz Kylheku)
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux
Subject: Re: Need to find my IP address
Reply-To: [EMAIL PROTECTED]
Date: Sat, 06 May 2000 22:12:59 GMT
On Sat, 06 May 2000 21:06:50 GMT, Chris <[EMAIL PROTECTED]> wrote:
>On Sat, 6 May 2000 17:51:38 +0200, [EMAIL PROTECTED] (Tobias Anderberg)
>wrote in comp.os.linux.development.apps:
>
>> int fd;
>> struct ifreq i;
>> fd = socket(AF_INET, SOCK_DGRAM, 0);
>> strncpy(i.ifr_name, "eth0", 5);
>> ioctl(fd, SIOCGIFADDR, (int) &i);
>> close(fd);
>> return (char *)inet_ntoa(((struct sockaddr_in *)
>> &i.ifr_addr)->sin_addr);
>
>Herein lies one of my biggest complaints about the Linux development
>environment: there should be no reason why an application programmer must
>rely on undocumented "catch-all" calls to accomplish simple tasks. The
>"man ioctl_list" page is a complete waste of time-- it's hopelessly out of
Get real; these ioctl's are easy to find in the kernel source code.
>date and only contains the argument type for each command without any
>explaination of where, why or how each should be used. Application
>programmers shouldn't have to resort to sifting through the kernel source
>code to figure out how to perform simple and common tasks.
I disagree on both counts. Having the operating system source code
is a blessing. I'd rather read ten lines of code than a thousand lines
of documentation.
Secondly, I disagree that tasks accomplished through operating system specific
ioctl's are ``simple and common''. There is no need for something other than a
system management utility to be making the SIOCGIFADDR ioctl. People writing
system management utilities should have intimate knowledge of the operating
system.
This stuff needs to be hard to find and hard to use, otherwise people will go
rampant writing programs that depend on shaky semi-private interfaces in the
OS.
>People who write device drivers or kernel modules should provide a proper
>man(2) or man(3) page. Ideally, we should kill off the ioctl() function
>and place all accessible driver variables in /proc.
The ioctl call is not just for setting and retrieving parameters; ioctl's can
be used to perform synchronous tasks, such as blocking until something happens
in a driver.
The idea of replacing ioctl by /proc is absurd.
--
#exclude <windows.h>
------------------------------
From: [EMAIL PROTECTED] (Kaz Kylheku)
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux
Subject: Re: Need to find my IP address
Reply-To: [EMAIL PROTECTED]
Date: Sat, 06 May 2000 22:13:15 GMT
On 6 May 2000 21:22:41 GMT, Peter T. Breuer <[EMAIL PROTECTED]> wrote:
>In comp.os.linux.misc Chris <[EMAIL PROTECTED]> wrote:
>: People who write device drivers or kernel modules should provide a proper
>: man(2) or man(3) page. Ideally, we should kill off the ioctl() function
>: and place all accessible driver variables in /proc.
>
>You knoiw, that's not a bad idea! Do you mind if I forward it to the
>kernel list?
Why, so you can look stupid too?
--
#exclude <windows.h>
------------------------------
From: John in SD <[EMAIL PROTECTED]>
Subject: LILO 21.4.3 update
Reply-To: [EMAIL PROTECTED]
Date: Sat, 06 May 2000 22:26:27 GMT
LILO version 21 by Werner Almesberger has been updated to support booting
from large capacity disks using a new 'lba32' option (-L new command line
switch). Dubbed version 21.4, the source code is available for download
from:
ftp://metalab.unc.edu/pub/Linux/system/boot/lilo
Or from the developer's site:
ftp://sd.dynhost.com/pub/linux/lilo (developer's site)
ftp://brun.dyndns.org/pub/linux/lilo (an alias)
===========================================================================
The lilo-21.4.3 release adds the following:
1. RAID patches from http://www.elliott-turbo.com/lilo/lilo.raid1.also,
which go beyond the RedHat 6.2 patches in 21.4.2.
===========================================================================
The lilo-21.4.2 release fixes problems that have affected a few people:
1. The command line passed to the kernel was truncated at 78 characters if
the LARGE_EBDA (Extended BIOS Data Area) compile-time option was used.
(With today's big kernels, this was the default.)
2. If both 'linear' and 'compact' were specified, the second stage loader
would encounter disk I/O error 0x40.
Enhancements include:
3. The boot loader now understands octal. The kernel has always understood
octal, decimal, and hexadecimal, but prior boot loaders only supported the
last two.
4. All patches from the RedHat 6.2 distribution have been applied. This
includes the RAID support.
This version of LILO will boot from partitions beyond the 1024 cylinder
limit. To do this it requires a post-1998 BIOS with support for the EDD
packet call interface. Older systems may employ "soft" BIOS support for
these calls with hard disk boot software such as EZ-DRIVE(tm) or
MaxBlast(tm).
--John Coffman <[EMAIL PROTECTED]>
EZ-DRIVE(tm) is a registered trademark of Micro House International, Inc.
MaxBlast(tm) is a trademark of Maxtor, Inc.
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux
Subject: Re: Need to find my IP address
Date: 6 May 2000 22:29:01 GMT
In comp.os.linux.misc Kaz Kylheku <[EMAIL PROTECTED]> wrote:
: On 6 May 2000 21:22:41 GMT, Peter T. Breuer <[EMAIL PROTECTED]> wrote:
:>In comp.os.linux.misc Chris <[EMAIL PROTECTED]> wrote:
:>: People who write device drivers or kernel modules should provide a proper
:>: man(2) or man(3) page. Ideally, we should kill off the ioctl() function
:>: and place all accessible driver variables in /proc.
:>
:>You know, that's not a bad idea! Do you mind if I forward it to the
:>kernel list?
: Why, so you can look stupid too?
Hey, I don't mind! And it's not such a silly idea. I've just spent half
an hour looking for a delete_module function to match the
request_module one in the kernel. There _was_ a syscall to do it, but
nothing callable from driver code. I could have found that out in 1
minute with a man page for module.c.
Peter
------------------------------
From: [EMAIL PROTECTED] (Chris)
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux
Subject: Re: Need to find my IP address
Date: Sat, 06 May 2000 22:30:30 GMT
[emailed and posted]
On 6 May 2000 21:22:41 GMT, "Peter T. Breuer" <[EMAIL PROTECTED]> wrote
in comp.os.linux.development.apps:
>In comp.os.linux.misc Chris <[EMAIL PROTECTED]> wrote:
>: People who write device drivers or kernel modules should provide a proper
>: man(2) or man(3) page. Ideally, we should kill off the ioctl() function
>: and place all accessible driver variables in /proc.
>
>You knoiw, that's not a bad idea! Do you mind if I forward it to the
>kernel list?
Please do.
We need to find a way to reduce the inconsistency in /proc as well,
perhaps by creating a policy paper on directory structure and naming
conventions. Ideally a /proc/dev directory would contain directories for
each major number and each would be subdivided into minors. Master device
options (for controlling multi-port boards, for example) would exist as
named files in /proc/dev/{major}/, and per-device settings would be files
in /proc/dev/{major}/{minor}/.
We are half-way there with the current /proc entries for controlling
/dev/lp0, in that the /proc/parport directory is the base directory for
major device 6, and contains a separate directory for each minor. I can
set the IRQ of /dev/lp0 by writing a string-encoded digit to
/proc/parport/0/irq. By comparison, the /proc entries for tty devices is
a complete mess. I cannot simply read the status of /dev/ttyS0, but must
instead read /proc/tty/driver/serial and *guess* which line corresponds to
the desired port.
I would propose moving the /dev/lp0 settings to /proc/dev/6/0/* and the
/dev/ttyS0 settings to /proc/dev/4/64/*. Each should contain a "hardware"
file that outputs all of the information for that port, and a collection
of read/write files corresponding to the individual parameters.
In order to simplify programmatic access to /proc, we would probably want
to introduce readprocfs() and writeprocfs() methods to one of the kernel
libraries. That would allow a program to bypass the normal
open-errorcheck-read/write-close cycle and read or write a /proc entry in
a single step, as in:
int success = 0;
if (success = writeproc("/proc/dev/6/0/irq", "7")) ....
Comments?
------------------------------
From: Rick Hoffman <[EMAIL PROTECTED]>
Subject: Re: Why partition a Disk?
Date: Sat, 06 May 2000 18:33:50 -0400
"Peter T. Breuer" wrote:
> Rick Hoffman <[EMAIL PROTECTED]> wrote:
> :> You really need to look at the Partition-HOWTO
>
> : OK, Peter, thanks. That's what I'll do. I am sensing that understanding
>partitioning
>
> : If you are so inclined can you tell me if you backup your Linux files and if so
>how do
> : you do it?
>
> Err, well, yes, several gigabytes a day. You probably don't want to
> know this.
> Every day incremental changes since the last backup are gathered by a
> central backup client served from the individual machines involved. Every
> week a "full" backup is done to a different backup client. 6 weeks of
> daily incrementals are kept. One month of weekly full backups. Every
> 6 weeks cdroms should be cut of the full backups, but it's a pain.
>
> The full backups cover only the user home areas and the /boot, /var, /etc
> directories. The rest of the systems are supposed never to vary, and
> are md5summed every day. Any change in them is detected and repaired with
> reference to a central site (and the central site is duplicated in all
> the remotes anyway).
>
> Each machine also backs up its own / partition every day using rsync
> to /spare, at the other end of its disk. That's just for convenience.
> It's really convenient.
>
> The remote backups are done using find, tar, and ssh (plus gzip/bzip2).
> It's a client/server script system. The tar stream is checksummed on
> the way out and on the way in, and the sums must match, or the backup is
> repeated.
>
> If the receiving area overflows, an old backup will be discarded,
> weighting by age and size to find the removal candidate.
>
> Abstracting wildly, you might expect the backup client to run this
> request:
>
> ssh TARGETMACHINE "find /home -mount -type f -mtime -7 > FILELIST; \
> tar culvTf FILELIST - | bzip2 -5" > BACKUP
>
> (that's with serverside compression, leaving out the checksumming).
> You want to look at cpio, really.
>
> Another technique is to run a high-latency mirror. Say updated every
> day or every week with rsync. The mirror earea can be a compressed
> file system .. it's not bad compression with e2compr.
>
> Peter
WOW!! I guess you were so inclined! and your right, I really didn't want to know but
thanks anyway!
Most of that went right over the top. I guess my goal of backup is a little primitive
compared to that.
Well, I'll look over the HOWTO and see what I can learn.
Peter, while I got your attention. Is there any reason that a normal user have access
to
the /usr and /var and /etc ..., etc directories other than the users own /home
directory?
If not how do you hide those directories from the normal user?
Also, I am trying to delete a normal user account using Linuxconf. I can't seem to
get rid
of the account. I cannot login with the account that I just tried to delete but it is
still
there in Linuxconf. It is just bothering me that in the user listing Linuxconf still
shows
that account.
One more question if I may, without getting into details which I understand might not
allow
you enough info to answer this but I have to login as root inorder to "turn on" my
sound
card. I've pointed an alias to a small script the runs several insmod commands to do
it.
When I log in as a normal user the alias runs the script because I inserted the alias
into
/.bashrc but the insmod commands won't run. Any suggestions? I guess ultimantly I
want the
sound card "turned on" when I boot up. How do I do that? Can the boot up process run
this
script or something?
Thanks
hoffy
------------------------------
From: Tim Hockin <[EMAIL PROTECTED]>
Subject: Re: Linux and PCI......?
Date: 6 May 2000 22:38:02 GMT
[EMAIL PROTECTED] wrote:
: I am new to Linux and I want to write a device driver for a PCI device.
: I have written drivers for the same PCI device on Win 9x, Win NT and
: VxWorks and now trying to port the drivers onto the Linux system.
: Any help, any pointers, material or examples will be very helpful.
what kind of device....?
--
Tim Hockin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
This program has been brought to you by the language C and the number F.
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux
Subject: Re: Need to find my IP address
Date: 6 May 2000 22:31:54 GMT
In comp.os.linux.misc Kaz Kylheku <[EMAIL PROTECTED]> wrote:
: On Sat, 06 May 2000 21:06:50 GMT, Chris <[EMAIL PROTECTED]> wrote:
:>On Sat, 6 May 2000 17:51:38 +0200, [EMAIL PROTECTED] (Tobias Anderberg)
:>wrote in comp.os.linux.development.apps:
:>"man ioctl_list" page is a complete waste of time-- it's hopelessly out of
: Get real; these ioctl's are easy to find in the kernel source code.
Maybe. If you know what they're called. A man -k would help a little.
:>man(2) or man(3) page. Ideally, we should kill off the ioctl() function
:>and place all accessible driver variables in /proc.
: The ioctl call is not just for setting and retrieving parameters; ioctl's can
Ioctls aren't the full story. I think every symbol exported from the
kernel could have a man page entry in a special "k" section of the
manual. At least it would encourage use of the static keyword ...
Peter
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Crossposted-To: uk.comp.os.linux
Subject: Re: Benchmarks and relative speeds
Date: 6 May 2000 22:45:33 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 06 May 2000 15:38:23 GMT, Raj Rijhwani <[EMAIL PROTECTED]> wrote:
>I'm facing an odd problem.
>
>I recently build a new machine based around an AMD recommended motherboard
>and K6-2/500. The strange thing is that with two identical Linux
>installations this machine appears to be a little less than 20% faster
>than my P160 machine (overclocked at 200). The test here is setiathome
>which is getting 99%-plus CPU time on both machines (according to top).
>Watching the progress counts on the two machines side by side shows
>that for every 10% completed on the old machine the new machine has
>processed 11.7% or thereabouts.
What clock speed and memory speed does that K6-2/500 use? The older K6
chips are not known for their fpu speed. When I went from P180 MMX
overdrive (200 MHz) to Evergreen K6-2/400 upgrade, my SETI@home times only
improved about 15% (~29 hrs). My PIII 500 laptop does SETI@home over 3
times faster (~8 hrs) and compiles a kernel more than twice as fast.
>What am I missing? What do people recommend in the way of "proper"
>benchmarks? Can I log kernel stats and perform the equivalent of
>sar reports on commercial platforms?
Benchmarking-HOWTO
>(I heard some rumblings about Linux not behaving well with more than
>64Mb of RAM. Since the new machine has 128Mb I wonder, is this a true
>concern?)
Note likely. I can definitely tell you that 96 meg works better than 32
meg, since it just about eliminates swapping.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Help: "Swapoff" error
Date: 6 May 2000 22:54:31 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 06 May 2000 12:29:25 -0400, George Bell <[EMAIL PROTECTED]> wrote:
>This is a multi-part message in MIME format.
Don't do that, please use plain text.
>When I shutdown the system, I get the following error during the
>shutdown process:
>
>Sending all processes the TERM signal done
>Sending all processes the Kill signal done
>Turning off swap
>swapoff: /dev/hdb3: Invalid arg failed
>Unmounting file systems
>/dev/hdb4 unmounted done
>
>My fstab file for the swap partition looks normal:
>
>/dev/hdb3 swap swap defaults 0 0
>
>
>What could be wrong? I even have reformatted the swap partition to no
>effect.
By format I assume you mean mkswap? In Linux fdisk is hdb3 listed as a
swap partition? What does 'free' show for swap size?
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: howto setup vi style cmdln editing with bash
Date: 6 May 2000 23:03:03 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 06 May 2000 19:19:37 +0200, lam <[EMAIL PROTECTED]> wrote:
>set -o vi
>
>is obviously not enough. I remember one has to put some funny string
>into some file but can not figure that out any more. Can someone help,
>please?
You only need that for the real 'sh', bash has command line editing by
default. What did you do to mess that up, or are you really running a
different shell? Try typing bash and see if it works differently than
your login shell.
--
David Efflandt [EMAIL PROTECTED] http://www.de-srv.com/
http://www.autox.chicago.il.us/ http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/ http://cgi-help.virtualave.net/
------------------------------
From: Kevin Bree <[EMAIL PROTECTED]>
Subject: seyon location
Date: Sat, 06 May 2000 19:07:36 -0400
I am trying to find a version of seyon to run with RH60,RH61 or RH62.
Is there an RPM or tgz available?
Regards
------------------------------
** 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
******************************