Linux-Development-Sys Digest #816, Volume #7 Tue, 2 May 00 06:13:09 EDT
Contents:
Re: SCSI error messages (Grahame M. Kelly)
process that uses a module (Yung-Hsiang Lu)
Re: compiling with libc5 under a glibc2 system (Ox)
Re: process that uses a module (Kaz Kylheku)
Re: GCC Install (was Glibc2 install) ([EMAIL PROTECTED])
Re: File formats for bitmap and vector data? (sergio)
A need for better insallation programs (Ingvar Langlet)
Linux ODBC drivers ([EMAIL PROTECTED])
Re: ioremap() limitations? (nilesh patel)
Re: serial/parallel port programming... (Richard Puchmayer)
Re: process that uses a module (Jan-Willem Stroeken)
Re: A need for better insallation programs (Thomas Steffen)
Re: route.c - HOW DOES IT WORK ("Tobias J�nsson")
Kernel Panic: Free list corrupted (Jorge O. Martinez)
Re: MS caught breaking web sites (Chris Hedley)
2.3.99pre6: high load during audio grabbing (Henrik Theiling)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Grahame M. Kelly)
Subject: Re: SCSI error messages
Date: 1 May 2000 21:04:23 GMT
Chetan Ahuja <[EMAIL PROTECTED]> writes:
> I am getting the following error messages once in a while on the
> console. Although the system seems to be working just fine.
>
> ncr53c875-0: SCSI parity error detected: SCR1=64 DBC=1e000000
> SSTAT1=e
> ncr53c875-0: resetting, command processing suspended for 2 seconds
> ncr53c875-0: enabling clock multiplier
> ncr53c875-0: Downloading SCSI SCRIPTS.
> ncr53c875-0: command processing resumed
>
> What could this mean...?
>
I have the same controller although different drives. I would suggest
that you look at the controller <-> cable as a possibility (I assume
you have a good quality cable) and your got the terminator enabled only
on the last drive on the chain ? If so, I wouldn't worry about it too
much if the number of parity errors caught are small, its all part
of the SCSI error control.
Cheers, Grahame.
--
SLUG (Sydney Linux User Group) www.slug.org.au
------------------------------
From: Yung-Hsiang Lu <[EMAIL PROTECTED]>
Subject: process that uses a module
Date: 1 May 2000 21:24:10 GMT
Hi,
What is the best way to find out which process is using a particular
module? Suppose I want to get the utilization of a device (network
card) on a per process base. For example, I would like to know how
much time the card is sending packets for a web browser vs. telnet
vs. idle.
Is the "current" pointer the answer to this question? Thanks!
--
Sincerely,
Yung-Hsiang Lu
[EMAIL PROTECTED]
------------------------------
From: Ox <[EMAIL PROTECTED]>
Subject: Re: compiling with libc5 under a glibc2 system
Date: Mon, 01 May 2000 20:30:09 GMT
Wolfgang's Kiste wrote:
>
> Hi,
>
> I need programms to compile with libc5 on a glibc2 system (SuSe 6.3).
> I looked already in the glib2-howto, but this covers only the case when
> you update your system from libc5 to glibc2.
> Any ideas how it could work?
>
> Thanks
>
> Wolfgang
Hi Wolfgang
I have the same problem. System based on libc6 and I have to compile prgm
for a SmallLinux distro which supports only the libc5.
The How-to was not a real help for me !!! We must downgrade the glibc2 to
the libc5 !!
If you find something make me a sign please.
If I find I will say you :-)
A+
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Kaz Kylheku)
Subject: Re: process that uses a module
Reply-To: [EMAIL PROTECTED]
Date: Mon, 01 May 2000 23:14:38 GMT
On 1 May 2000 21:24:10 GMT, Yung-Hsiang Lu <[EMAIL PROTECTED]> wrote:
>Hi,
>
>What is the best way to find out which process is using a particular
>module?
This isn't really a concept in the Linux kernel. It's the kernel as a whole
that is using a module. This information is condensed into a simple reference
count, from which it's not possible to map back to the reference holders.
With a driver that supports filesystem access, you could figure out who is
using it if you knew all the currently open file descriptors which reference
it. Or if it is a block device with a fs mounted on it, you can determine which
processes have their root or current directories in that fs.
>Suppose I want to get the utilization of a device (network
>card) on a per process base. For example, I would like to know how
>much time the card is sending packets for a web browser vs. telnet
>vs. idle.
For network drivers in particular, there is no way to determine a using
process. Network drivers are used by network stacks. Stacks are in turn used
by socket descriptors which are used by processes. There are several layers of
abstraction between applications and network drivers.
Note that a given socket descriptor can be cloned among processes, and that a
given socket can communicate with different devices over its lifetime: datagram
sockets can blast each packet to a different network, and the routing layer can
rewire a live TCP connection to go over an alternate route.
>Is the "current" pointer the answer to this question? Thanks!
The current pointer is an answer to a question, but not that one.
It's the answer to the question ``In which task's context am I executing now?''.
--
#exclude <windows.h>
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: GCC Install (was Glibc2 install)
Date: 2 May 2000 00:36:19 GMT
:>Should I (attempt to) install gcc-2.95.2 again, or just leave it be?
: The most notable improvements between these versions are in C++, so if you
: develop or compile modern C++ code, you should consider upgrading.
<shrug> I usually download packages from sunsite or gnu.org and compile
them as is. Aren't most of them written in C? All of the development I do
is in C, not C++.
: If you're interested in keeping your system up to date in general, you may
: want to consider switching to a distribution that has proper package
: management and that can be incrementally updated, like Debian or Red Hat.
Awww... that's no fun, though!
--J
------------------------------
From: sergio <[EMAIL PROTECTED]>
Subject: Re: File formats for bitmap and vector data?
Date: Tue, 02 May 2000 01:45:48 +0100
[EMAIL PROTECTED] wrote:
>
> I am writing a small application which verifies the format of graphics
> files,
> which students then upload to our web site (www.LaserEnlighten.com) for
> laser-cutting. This application needs to import only the most common
> formats of vector and bitmapped graphics on each platform - BMP, compressed
> BMP, and DXF on windoze, PICT and PICT vector on the mac (actually anything
> that QuickTime can read, which is a lot)... and ??? and ??? on Linux (please
> fill in the ???'s!)
>
> Also, if you know of any source code for reading these formats, that would
> be appreciated. I want to make my laser cutting/engraving service, which is
> designed for craftspersons and Industrial Arts/Fine Arts students, available
> to all the major OS's, incl Linux.
Have a look at netpbm
does <almost_any> to <almost_any> conversion.
Sergio Masci
http://www.xcprod.com/titan
------------------------------
From: Ingvar Langlet <[EMAIL PROTECTED]>
Subject: A need for better insallation programs
Date: Tue, 02 May 2000 00:54:36 GMT
Stockholm 2000-05-02
Dear Linux community,
A publicity disaster and the need for better installation programs.
===================================================================
With the Gnome and Kde Linux offer users coming from theDOS-M$-Win-
dow$.* GUI-s that must be as easy and convenient for them as M$ Win-
dow$.* GUI. Even if some components of the Gnome and Kde GUI-s not yet
can be considered as stable by Linux standrads I think they are less
beta than M$ Window$.* (I myself prefer to work in conslole mode when-
ever possible.)
In Sweden journalists for a science program, without any computer ex-
perience beside of using preloaded Apple or/and M$ Window$.* systems
recenly thought they would demonstrate how Linux can be downloaded
from the net. The system they did chose was intended to run in a DOS
partition -- becuse they considered partitioning a hard disk be a too
daunting task for them.
They downloaded the system to the hard disk of an empty laptop, went
on air -- and then just pressed <enter>. Nothing happened. This was
broadcasted and claimed to prove that Linux is too dificult to install
for general users.
When I had heard this I wrote to them and told them that their way to
install Linux must fail and informed them that Caldera's Open-Linux is
very easy to install. (My own system is Slackware.) They mamaged to
install Open-Linux. However, they did not find out how to smoothly
install the applications too.
Then they claimed that their failure to set up the applications proved
that it must be several years before Linux can be run by the general
public. They also cracked a joke that Linux must be a penguin made of
a feather and played a lampoon against Linux.
That was a publicity disaster for Linux. Was it a publicity stunt
planted by Micro$oft? Or was it sheer stupidity? Once upon the time
my parents told me that whenever evil and stupidity are the alterna-
tives, stupidity is the most likely explanation. I believe these stu-
pid journalists come to hate Linux because it had tempted them to in
public make fools of themselves.
The conclusion from above must be that Linux badly needs installation
programs, like Micro$oft's installation and setup programs, who would
make it easy -- even for the most stupid science journalists -- to
smoothly set up a Linux system they can run and then smoothly load
applications to the system. I myself cannot possibly find time to
learn enough about programming to write these programs. Are there some
out there who would like to write these badly needed installation pro-
grams? I am
Sincerely Yours
Ingvar Langlet
Forsen 8, 123 72 Farsta, Sweden
Telephones: +46 08 60 555 06 or +46 150 664 049
e-mail: [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: Linux ODBC drivers
Date: Mon, 01 May 2000 22:46:09 -0400
What free Linux ODBC drivers exist for file formats such as FoxPro?
I have had no luck finding any.
Redirect me to a more suitable group if such exists.
=====
robin [EMAIL PROTECTED]
media artist / remove illusions to reply
information architect www.execulink.com/~robin/
Ontario's government could be a symptom of the conditions deep in the
ocean.
------------------------------
From: nilesh patel <[EMAIL PROTECTED]>
Subject: Re: ioremap() limitations?
Date: Tue, 02 May 2000 09:16:31 +0530
>
Try using read(b | w | l) or write(b | w | l).
By the way what is processor on which you are working ?
Nilesh
> I have a PCI device that requests 64MBytes ( yes, 64MEGABYTES ) of
> memory. The BIOS successfully allocates that; no sweat there.
>
> I use ioremap() to translate the physical address to a logical address.
>
> int *pci_virt;
> pci_phys = 0xf8000000; /* obtained from pci_dev */
> pci_size = 64*1024*1024; /* obtained from pci_dev */
> pci_virt = ioremap(pci_phys, pci_size);
> printk("VIRT ADDRESS = %x\n", (int)pci_virt); /* prints out 0xCC05D000
> */
> *pci_virt = 0; /* causes CRASH CRASH CRASH CRASH */
>
> The last line cause the machine to hang up. Please bear in mind that the
> numbers pci_phys and pci_size are obtained appropriately from pci dev
> structures. They are just placed in the "code" above to show the
> numbers.
>
> Is there a limitation on the size of the region that a pointer returned
> by ioremap(), can point to? Can anyone see something blatantly wrong
> with the code?
------------------------------
From: [EMAIL PROTECTED] (Richard Puchmayer)
Subject: Re: serial/parallel port programming...
Date: 2 May 2000 03:35:29 GMT
In article <NH8O4.32153$[EMAIL PROTECTED]>,
Mark Graybill <[EMAIL PROTECTED]> wrote:
-I have used serial port hardware handshaking lines in the past (CTS, DSR,
-DCD, RI) because of how easy it was
Did you use any existing device driver/API or did you use outb/inb
to acheive your goal.
I'm trying to control the DTR line on a serial port that is ALSO
being used fro serial comms. Ie. there are two device connected
to the same port.
Can you help, or give pointers.
Many thanks,
Richard
--
- [EMAIL PROTECTED] | NAUTRONIX Ltd. -
- Tel: +61 [0]8 9430 5900, Fax: 9430 5901 | 108 Marine Tce. -
- These are ramblings of an insane mind. | Fremantle, WA 6160 -
- "In summary, N is Richardian iff N is not Richardian." - Fortune -
------------------------------
From: Jan-Willem Stroeken <[EMAIL PROTECTED]>
Subject: Re: process that uses a module
Date: Tue, 02 May 2000 07:54:01 +0200
you can use the current->pid from within the driver. I don't know if
current contains a real applcations-name ( to be sure, look at
<linux/include/sched.h>)
Yung-Hsiang Lu wrote:
>
> Hi,
>
> What is the best way to find out which process is using a particular
> module? Suppose I want to get the utilization of a device (network
> card) on a per process base. For example, I would like to know how
> much time the card is sending packets for a web browser vs. telnet
> vs. idle.
>
> Is the "current" pointer the answer to this question? Thanks!
>
> --
> Sincerely,
> Yung-Hsiang Lu
> [EMAIL PROTECTED]
--
Theory of Selective Supervision:
The one time in the day that you lean back and relax is
the one time the boss walks through the office.
__________________________________________________________
Oc�-Technologies B.V. name : Jan-Willem Stroeken
P.O. Box 101 department : DVS, R&D
5900 MA Venlo e-mail : [EMAIL PROTECTED]
The Netherlands www : http://www.oce.com
Directdial: +31 (0)77 359 58 89
Fax: +31 (0)77 359 53 37
__________________________________________________________
this signature is automagically generated using 'fortune'
------------------------------
From: Thomas Steffen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: A need for better insallation programs
Date: 02 May 2000 08:28:27 +0200
Ingvar Langlet <[EMAIL PROTECTED]> writes:
> The conclusion from above must be that Linux badly needs
> installation programs,
Wrong. Every decent distribution has a decent installation program.
But the installation is not part of Linux, there is no need for the
"one true and only" installation program. Actually, there is rarely
any need for any "one true and only" program (even if Microsoft want
us to believe to opposite).
Buy yourself a RedHat-Box and put the first CD into your drive.
Booting the CD will fire up a near perfect installation program, it
will even go into graphics mode (for all those people, that can't even
wait till the system is installed to see all those fancy colourful
icons). Every choice you have to make is explained in detail, plus the
installation take under 1/2h on a decent computer.
Because of point 1, you posting isn't really in the right newsgroup.
See comp.os.linux.setup for better answers.
FUP2 set.
Thomas
------------------------------
From: "Tobias J�nsson" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.networking
Subject: Re: route.c - HOW DOES IT WORK
Date: Tue, 2 May 2000 09:49:46 +0200
The reason for doing this is we're investigating simulcasting within the
Mobile IP structure. To quickly describe this: packets sent by someone to
your IP while you're "away" (you're mobile!) gets forwarded by your home
agent (HA) to the foreign agent (FA) in the network where you currently are.
One possible way of making this structure more effective could be to let the
home agent duplicate your packets to two or several foreign agents, which
would avoid losses when changing FA. That's why we want our HA to send
incoming packets in two or several ipiptunnels to FAs.
/Tobias J�nsson, KTH
"Kaz Kylheku" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> On 28 Apr 2000 10:08:55 -0500, Troutman <[EMAIL PROTECTED]> wrote:
> >[EMAIL PROTECTED] (Tobias J�nsson) graced us with the following:
> >
> >>Currently I'm trying to route one incoming packet to two outgoing
> >>interfaces (packet duplication). To do this I will probably try
> >>modifying the route.c code. Therefore, I have the following questions:
> >
> >Why? What are you trying to accomplish by routing the packet to two
> >interfaces?
>
> Perhaps multicasting to two different networks?
>
> This is what is done by e.g. mrouted.
>
> --
> #exclude <windows.h>
------------------------------
From: Jorge O. Martinez <[EMAIL PROTECTED]>
Subject: Kernel Panic: Free list corrupted
Date: Tue, 02 May 2000 08:30:13 GMT
Hi there:
I got the above message ('Kernel Panic: Free list Corrupted'), and wonder
what it means, the system wouldn't respond, and I had to use brute force
(cycle power), it is up and running now. It is a Cyrix 300 based system
w/128 Mb of memory. I am running Bind, Apache, Mysql and PHP3 on RH 6.2
amongst other things on it. Could it be a processor bug....?
Let me know if anybody has seen this bug,
Jorge M.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Chris Hedley)
Crossposted-To:
comp.os.linux.advocacy,comp.os.ms-windows.advocacy,comp.os.ms-windows.nt.advocacy,comp.os.linux.networking,comp.os.linux.security,comp.os.ms-windows.networking.tcp-ip
Subject: Re: MS caught breaking web sites
Date: 2 May 2000 09:59:23 GMT
In article <[EMAIL PROTECTED]>,
Mike Marion <[EMAIL PROTECTED]> writes:
> My mom still calls the whole case the CPU, I can't convince her that the CPU is
> just the chip.
The term CPU often refers to the enclosure in which the actual processor
complex(es) reside; the chip, OTOH, is more properly referred to as a
microprocessor or logic array (depending on the system involved.) Many
people think otherwise, however, which is what I believe is referred to
as "small computer thinking." :)
Chris.
------------------------------
From: Henrik Theiling <[EMAIL PROTECTED]>
Subject: 2.3.99pre6: high load during audio grabbing
Date: 02 May 2000 11:43:54 +0200
Hi!
It seems that the new kernel 2.3.99pre6 produces an high load during
audio grabbing on my machine. With 12-times audio grabbing from IDE
drive to IDE hard disk with real-time scheduling (round robin,
prio=20) I was not only unable to smoothly move the mouse under X, but
it also hang for half a second every second or two. That's too much I
think. 2.3.99pre5 works well.
My system is dual Celeron 466, ASUS BP6, but no drives on Promise
controller, IBM DJNA 25GB, Pioneer 104 DVD drive, 384 MB RAM. Linux
was SMP.
**Henrik
------------------------------
** 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
******************************