Files
oldlinux-files/docs/mail-archive/linux-devel/Volume1/digest5XX/digest520
2024-02-19 00:23:35 -05:00

625 lines
21 KiB
Plaintext

Subject: Linux-Development Digest #520
From: Digestifier <Linux-Development-Request@senator-bedfellow.MIT.EDU>
To: Linux-Development@senator-bedfellow.MIT.EDU
Reply-To: Linux-Development@senator-bedfellow.MIT.EDU
Date: Sat, 5 Mar 94 08:13:04 EST
Linux-Development Digest #520, Volume #1 Sat, 5 Mar 94 08:13:04 EST
Contents:
Help: inode information. (Manish Gupta)
Using COFF-binaries on linux (Aurel Balmosan)
Re: Help! GCC errors [STUPID IDIOTS ON COMP.OS.LINUX.* GROUPS] (I am being repressed.)
Re: Amiga FileSystem, Anyone? (Alan Cox)
emacs-19.22 on linux UPDATE (Neal Becker)
Re: Multi-Serial Cards? (Bobby Tadlock)
Re: Why not put cluster diffs in nominal kernel before 1.0? (Rob Janssen)
Re: Question... Assembler. (Rob Janssen)
Re: Help: inode information. (Manish Gupta)
TCP: What is LAST_ACK? (Paul Smith)
Re: Help: inode information. (Patrick Schaaf)
Re: REQUEST: support for Canon BJC-600 printer (Steve DuChene)
Re: HPIII/IVsi Network Printer Drivers (Michael Griffith)
Screensaver w/ power save ? (Hendrik G. Seliger)
Re: Specialix driver (Tim Smith)
Re: Where's ioperm() and in/outb()? (Donald J. Becker)
Re: effectiveness of cache ram? (Donald J. Becker)
Re: Help! GCC errors (Bill Hogan)
Another reorg? (was re: Help! GCC errors) (Raul Deluth Miller)
----------------------------------------------------------------------------
From: manish@ms.uky.edu (Manish Gupta)
Subject: Help: inode information.
Date: 3 Mar 1994 13:49:01 -0500
Hello netters,
Given a open file descriptor or file pointer how one can obtain the indoe
level information from it?
Thanks a lot.
- manish
--
I call them as I see them. If I can't see them, I make them up.
-- Biff Barf
------------------------------
From: aurel@dali.uni-paderborn.de (Aurel Balmosan)
Subject: Using COFF-binaries on linux
Date: 4 Mar 1994 13:42:25 GMT
Hello,
I want to run coff-binaries (from sco-unix) on my linux-system but the only answer
from linux is segmention fault. I have seen (on tsx-11.mit.edu in the file ls-lR)
that there are some ibcs2 and coff library which I could not get from any linux-ftp-
server.
Where can I get this libraries and tools ?
--
Alexandru-Aurel Balmosan aurel@uni-paderborn.de
University of Paderborn (Germany)
------------------------------
Crossposted-To: alt.pud,alt.stupidity
From: crfisher@nyx10.cs.du.edu (I am being repressed.)
Subject: Re: Help! GCC errors [STUPID IDIOTS ON COMP.OS.LINUX.* GROUPS]
Date: Fri, 4 Mar 94 16:19:48 GMT
In article <2kvr8o$4iv@senator-bedfellow.mit.edu>,
Mitchum DSouza <m.dsouza@mrc-apu.cam.ac.uk> wrote:
>Dean Junk:
> Do one of the following:
>
>1) Read the library release notes TO THE LETTER - EVERY SINGLE SENTENCE.
>2) Read the GCC-FAQ before asking GCC related queries.
>
>Mitch
WHAT IS THE POINT IN REPLYING IF YOU DO NOT KNOW THE ANSWER?
Although it may seem that every newsgroup in the c.o.l.*
series actually have the word flame in them, they do not. I am so
sick of the petty replies and responses I see here all the time.
If you can not help someone then do not bother to even reply. You
do no one any good when you do. All you do is waste resources
and show that you don't even know hot to flame properly.
Bah.
--
Unless you are born in finland you can't be finnish.
------------------------------
From: iiitac@swan.pyr (Alan Cox)
Subject: Re: Amiga FileSystem, Anyone?
Date: Thu, 3 Mar 1994 17:48:49 GMT
The amiga floppy is a single sector MFM encoded 80 track double sided disk.
It's beyond the standard PC hardware to drive
[And before Amiga people go no no its 11 sectors/track read the hardware
manual - its 11 _software_ sectors per physical sector]
Alan
------------------------------
From: neal@ctd.comsat.com (Neal Becker)
Subject: emacs-19.22 on linux UPDATE
Date: 04 Mar 1994 14:59:42 GMT
If you are building emacs-19.22 with a recent version of the c library
on linux, you'll need this patch:
1. The internals of FILE have changed.
2. I also removed -D_BSD_SOURCE. I don't see any difference. If
anyone knows why this should be here please correct me.
gdiff -c linux.h-dist linux.h
*** linux.h-dist Mon Nov 29 10:40:59 1993
--- linux.h Fri Mar 4 09:56:27 1994
***************
*** 155,161 ****
/* This is needed for disknew.c:update_frame() */
! #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_pptr - (FILE)->_pbase)
/* Linux has crt0.o in a non-standard place */
#define START_FILES pre-crt0.o /usr/lib/crt0.o
--- 155,161 ----
/* This is needed for disknew.c:update_frame() */
! #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_IO_write_ptr - (FILE)->_IO_write_base)
/* Linux has crt0.o in a non-standard place */
#define START_FILES pre-crt0.o /usr/lib/crt0.o
***************
*** 217,228 ****
#ifdef TERM
#define LIBS_MACHINE -lclient
! #define C_SWITCH_SYSTEM -D_BSD_SOURCE -I/usr/src/term
#else
/* alane@wozzle.linet.org says that -lipc is not a separate library,
since libc-4.4.1. So -lipc was deleted. */
#define LIBS_MACHINE
! #define C_SWITCH_SYSTEM -D_BSD_SOURCE
#endif
#define HAVE_SYSVIPC
--- 217,228 ----
#ifdef TERM
#define LIBS_MACHINE -lclient
! #define C_SWITCH_SYSTEM -I/usr/src/term
#else
/* alane@wozzle.linet.org says that -lipc is not a separate library,
since libc-4.4.1. So -lipc was deleted. */
#define LIBS_MACHINE
! #define C_SWITCH_SYSTEM
#endif
#define HAVE_SYSVIPC
------------------------------
From: btadlock@metronet.com (Bobby Tadlock)
Subject: Re: Multi-Serial Cards?
Date: Fri, 4 Mar 1994 16:06:09 GMT
The STB 4-COM works very well (of course Im a software eng. for STB) I use
a 4-COM in my linux box at home and have no problems.
Just call 214-234-8750 for STB (Richardison, Texas).
--
**************************************************
* From: Bob Tadlock btadlock@metronet.com *
**************************************************
------------------------------
From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: Why not put cluster diffs in nominal kernel before 1.0?
Date: Fri, 4 Mar 1994 22:51:57 GMT
Reply-To: pe1chl@rabo.nl
In <CM3L7v.IA1@info.bris.ac.uk> FernyM@pc64.maths.bris.ac.uk (Ferny) writes:
>Can anyone tell me if the cluster diffs (08a) will patch 15j or will i
>have to wait for a new version of cluster?
There is a new version available at the usual location... the last time
I looked it was for pl15h
Rob
--
=========================================================================
| Rob Janssen | AMPRnet: rob@pe1chl.ampr.org |
| e-mail: pe1chl@rabo.nl | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU |
=========================================================================
------------------------------
From: rob@pe1chl.ampr.org (Rob Janssen)
Subject: Re: Question... Assembler.
Date: Fri, 4 Mar 1994 22:58:49 GMT
Reply-To: pe1chl@rabo.nl
In <2l6e5u$pbj@s.ms.uky.edu> manish@ms.uky.edu (Manish Gupta) writes:
> When I generate assembly code for C programs, I see compiler (gcc)
> generating a code in which many variables, function names are referred
> through different notations. Sometime reference is made by prefixing
> the actual name with single underscore and sometimes by even
> three underscores '_'.
> e.g.
> call ___main
> call _printf
> I wish to know what does the number of '_' signify? What is the maximum
> number of '_' we could put in front of a variable, and why do we
> need to do that?
The _ is not a special operator or prefix, it is just part of the
symbol. So ___main and _main are just two different symbols.
It is customary to put a single _ in front of the name of a C function,
so that no clashes can occur with symbols generated by the compiler
itself. Multiple underscores are used in the C library to prevent
clashes between library functions and user functions, but of course
this can be only partly successful as the user can write function
names like that as well...
Rob
--
=========================================================================
| Rob Janssen | AMPRnet: rob@pe1chl.ampr.org |
| e-mail: pe1chl@rabo.nl | AX.25 BBS: PE1CHL@PI8UTR.#UTR.NLD.EU |
=========================================================================
------------------------------
From: manish@ms.uky.edu (Manish Gupta)
Subject: Re: Help: inode information.
Date: 3 Mar 1994 15:50:42 -0500
manish@ms.uky.edu (Manish Gupta) writes:
>
> Hello netters,
> Given a open file descriptor or file pointer how one can obtain the indoe
> level information from it?
> Thanks a lot.
> - manish
>--
IN LINUX.
- manish
--
I call them as I see them. If I can't see them, I make them up.
-- Biff Barf
------------------------------
From: psmith@iies.ecn.purdue.edu (Paul Smith)
Subject: TCP: What is LAST_ACK?
Date: Fri, 4 Mar 1994 16:42:02 GMT
I'm having a lot of trouble with TCP connections that stall in a LAST_ACK
state. This happens mostly from gopher connections, but sometimes from ftp,
too. This will hang up the gopher/ftp client until the server or
the client times out. If the client times out first then some data is lost,
but if the client hangs on until Linux times out then the file is
received intact.
So, what does LAST_ACK mean? Why would the Linux side stall in this state?
And, what can I do about it?
Here's my setup:
Slackware 1.1.2 - pl15<something>
(But, I think this happend under 1.1.1 - pl14, too)
3c509 card using TP port.
16 Mb RAM.
486SX/20
Thanks,
-Paul
------------------------------
From: bof@wg.saar.de (Patrick Schaaf)
Subject: Re: Help: inode information.
Date: Fri, 4 Mar 1994 13:58:02 GMT
manish@ms.uky.edu (Manish Gupta) writes:
> Given a open file descriptor or file pointer how one can obtain the indoe
> level information from it?
Have a look at fs/open.c - given an 'int fd', you do:
struct file *file;
struct inode *inode;
if (fd < NR_OPEN && (file=current->filp[fd]) && (inode=file->f_inode)) {
/* do something */
}
If you were interested in how to do this in a user level program with
an ordinary open file, check the manpage for fstat(2), and look up
what this newsgroup is for.
Patrick
------------------------------
From: s0017210@cc.ysu.edu (Steve DuChene)
Crossposted-To: comp.os.linux.misc
Subject: Re: REQUEST: support for Canon BJC-600 printer
Date: 4 Mar 1994 00:56:59 GMT
The Cybard (dudek@acsu.buffalo.edu) wrote:
: I don't know if this has to be written into the kernel or what, but could
: someone please create a mechanism to support color printing on the Canon
: BJC-600 color printer? It is a very popular printer right now, so I
: believe that this will be benefit a lot of people. If such support for
: this printer exists, could someone please point it out to me? Thanks.
: --
: David Thomas Dudek / v098pwxs@ubvms.bitnet \ __ _ The Cybard
: State University / dudek@acsu.buffalo.edu \ / `-' ) ,,,
: of New York / "If music be the food of love, \ | | ()|||||||[:::}
: @ Buffalo / play on!" - Wm. Shakespeare \ `__.-._) '''
David:
I really don't thick that printer support falls under the
kernel! All you need is the appropriate printer filter for the kind
of file you are printing and you should be all set. I would suggest
looking at comp.os.linux.announce for printer filters or the ghostscript
package for postscript interpreting.
--
_____________________________________________________________________
Steve DuChene s0017210@cc.ysu.edu or sduchene@cis.ysu.edu
Computer Science Youngstown State University
A pre-determined amount of chaos is a natural occurance.
------------------------------
From: grif@corsa.ucr.edu (Michael Griffith)
Crossposted-To: comp.periphs.printers
Subject: Re: HPIII/IVsi Network Printer Drivers
Date: 4 Mar 1994 19:45:04 GMT
In article <1994Mar04.031029.10483@ksmith.com>,
Keith Smith <keith@ksmith.com> wrote:
>Anyone know where one could locate a Linux driver for an HPIII/IVsi
>network printer (TCP/IP)?
>
>Does HP publish the source for this thing? I currently am running the
>machine thru an SCO spooler, but would like to print direct from the
>linux box.
It is very easy to write it your own spooler. Just connect to TCP
port 9100 on the printer. I'll post my version after I have cleaned
up the code.
--
Michael A. Griffith
grif@cs.ucr.edu
------------------------------
From: hank@Blimp.automat.uni-essen.de (Hendrik G. Seliger)
Subject: Screensaver w/ power save ?
Date: 4 Mar 1994 10:32:02 GMT
Reply-To: hank@automat.uni-essen.de
Hi!
I would like to change the kernel screen saver in a way that it puts my
nice new digitally controlled monitor into suspension, which should shut
it off after a certain time. So far the screen blanker just blanks the
screen. Does someone know how one could change this so that the monitor
gets a SUSPEND signal (or optionally, OFF and ON) ? I don't have any
documentation on how to do this, but would be willing to make patches to
the kernel.
Thanks for any help,
Hank
--
======================================================================
Hendrik G. Seliger Universitaet Essen
hank@automat.uni-essen.de Schuetzenbahn 70
Tel.: +49-201-183-2898 45117 Essen, Germany
======================================================================
"Handling interrupts is simple." (G. Pajari)
"Interrupts are an unpleasant fact of life." (A. Tanenbaum)
------------------------------
From: tzs@u.washington.edu (Tim Smith)
Subject: Re: Specialix driver
Date: 4 Mar 1994 20:51:25 GMT
Johannes Stille <johannes@titan.westfalen.de> wrote:
>BTW, I think your definition of "derive" is too narrow. IMHO there are
>other ways of "deriving" besides actually copying source code. It e.g.
>can be enough if you only take over major principles or ideas (as with
>Apple and the idea of the trash can on your desktop). (This doesn't mean
>that I like the general current legal status of software.)
>
This could depend on what country you are in. In the United States, you
can use the ideas and principles of another work. Section 102(b) of our
copyright law says:
(b) In no case does copyright protection for an original work of
authorship extend to any idea, procedure, process, system, method
of operation, concept, principle, or discovery, regardless of the
form in which it is described, explained, illustrated, or embodied
in such work.
--Tim Smith
------------------------------
From: becker@super.org (Donald J. Becker)
Subject: Re: Where's ioperm() and in/outb()?
Date: Fri, 4 Mar 1994 19:57:49 GMT
In article <robertl.762675123@amsg>, Robert Lipe <robertl@arnet.com> wrote:
>In the Kernel Hacker's Guide (I think it was 0.5), it's explained
>that a user app can hit I/O latches by calling ioperm() (which
>presumably cracks the iopl on those ports open so that the app can
>get to them w/o faulting). I've nm'ed and ar'ed everything I can
>find that looks like a library and zgrep'ed throught he man pages.
>What library should this be in? On some other UNIX'es, I can issue
>a sysi86() and do this, and on most others, there is an undocumented
>way of hitting I/O.
There are manual pages on ioperm() and iopl().
I've written a few ethercard setup/diagnostic programs. They use (depending
on the card's interface) ioperm(), iopl() and mmap() in the shared memory.
ftp.super.org:/pub/linux/setup/*
>And on inb and outb, I see that the macros (from hell) in <linux/os.h>
>are trying to do, but I still get unresolved externals on (I think)
>___inp and ___outp (not sure). I tried the same manner to locate
>those functions, and again drew blanks.
#include <asm/io.h>
And you *must* compile with optimization on for the inline functions to be
expanded.
--
Donald Becker becker@super.org
IDA Supercomputing Research Center
17100 Science Drive, Bowie MD 20715 301-805-7482
------------------------------
From: becker@super.org (Donald J. Becker)
Subject: Re: effectiveness of cache ram?
Date: Fri, 4 Mar 1994 20:21:57 GMT
In article <1994Mar2.014033.15596@amdahl.com>,
Henry A Worth <haw30@eng.amdahl.com> wrote:
>In article <2kojdv$ndb@zeus.achilles.org>, ajh@zeus.achilles.org (Andrew Hutton) writes:
>|> : There are many many things that are better than having more cache. I've
>|> : got a 486/33 board with 64k cache -- I used to have 486/33 256k and I
>|> : never missed it at all.....
>|>
>|> Try putting more than 8 megs on the board... For 32 megs you need 256K.
>
>Only a few, generally older, motherboards of questionable design require
>adding more cache to expand memory.
There are a significant number of motherboards that have this limitation.
To do otherwise requires using more tag bits (another SRAM) or cheating on
the address bits (feign shock that someone would do this).
>In a recent issue of "Microtimes" (a silicon valley area tabloid and
>computer shopping mag), there was an article questioning the value
>of >64K cache. They quoted a report from some independent testing
>lab that found 60% of the motherboards they tested ran faster
>with external cache disabled (unfortunetly, there were no details
>of how they conducted the tests).
Was this written by the marketing arm of the people that designed a
cacheless motherboard?
I've had two occasion to run non-trivial tests with the external cache turned
off. They were both using new machines that turned out to have bad cache
chips. It took 6-7 minutes for a i486DX33 to compile 0.97 (yes!) with a
256K secondary cache. The identical test took about 15 minutes with the
secondary cache disabled. The same experiment with a i486DX2-66 and a later
kernel yielded similar results.
--
Donald Becker becker@super.org
IDA Supercomputing Research Center
17100 Science Drive, Bowie MD 20715 301-805-7482
------------------------------
From: bhogan@crl.com (Bill Hogan)
Subject: Re: Help! GCC errors
Date: 4 Mar 1994 21:22:22 -0800
Christopher L Seawood (mgrcls@manager) wrote:
: Dean Junk (us292121@bulldog.mmm.com) wrote:
: : I am having the following problem compiling xmix:
: : /usr/lib/libgcc.sa(__libc.o): Definition of symbol __NEEDS_SHRLIB_libc_4 (multiply defined)
: : /usr/lib/libc.sa(__libc.o): Definition of symbol __NEEDS_SHRLIB_libc_4 (multiply defined)
: : make: *** [xmix] Error 1
: :
: : Do you have any ideas? I have everything else working great but this!
: Take this how you wish.... Read the release notes. It specifically says
: to 'rm -f /usr/lib/libgcc.*'
: --
Notice how the word "specifically" operates in that last sentence?
Ever wonder why there aren't more women around here?
BH
--
Bill Hogan
{bhogan@crl.com}
------------------------------
From: rockwell@nova.umd.edu (Raul Deluth Miller)
Subject: Another reorg? (was re: Help! GCC errors)
Date: 5 Mar 1994 07:17:46 -0500
Dean Junk:
. : Take this as you wish ... piss off! I can't beleive the
. : attitude of some of the people on this newsgroup.
Dave Gardner:
. Dean, you're not alone.
.
. I started using Linux about a year ago with SLS, before I and
. many others knew just how broken it was. Many of us had lots of
. problems and asked ...
Robert Moser:
. I started out with SLS also... also had problems... Now I'm a
. slackware user
All this is great -- especially if you all turn around and help new
users. But there's another problem here of how do we let the
developers focus on problems they need to fix. In other words, this
traffic shouldn't be here in comp.os.linux.development.
People are putting a lot of effort into solving this, over on
news.groups. If you like, you could drop by over there.
Raul D. Miller
<rockwell@nova.umd.edu>
------------------------------
** 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: Linux-Development-Request@NEWS-DIGESTS.MIT.EDU
You can send mail to the entire list (and comp.os.linux.development) via:
Internet: Linux-Development@NEWS-DIGESTS.MIT.EDU
Linux may be obtained via one of these FTP sites:
nic.funet.fi pub/OS/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Development Digest
******************************