Linux-Development-Sys Digest #645, Volume #6 Thu, 22 Apr 99 16:14:05 EDT
Contents:
A virtual mount system (David Corredor Lacha)
Re: SMP Linux, Any Catches? ("Clint Byrum")
Re: HELP! Something Wicked happened! (ellis)
Re: Building pgcc-1.1.2 ([EMAIL PROTECTED])
Unix98 ptys and glibc-2.0 ("Stefan Monnier "
<[EMAIL PROTECTED]>)
Re: Templates (Arthur Rabatin)
Segmentation fault ([EMAIL PROTECTED])
Re: Help! I have an ATI 3D Rage Lt Pro and cant set up X windows
([EMAIL PROTECTED])
FTP server with LDAP integration ([EMAIL PROTECTED])
Re: About jiffies (Gerard van der Sel)
NFS servers in 2.2 ("Stefan Monnier "
<[EMAIL PROTECTED]>)
Re: Can device driver use the filing system? (Andrew McDonald)
Linux for CompactPCI BUS? ((cosc1 95h02740))
Re: Templates (Greg Franks)
modules (Ahmed Said)
Re: Diferences to other UNIXes (James Youngman)
Re: Pbl with ATI RAGE PRO TURBO 8Mo ("Fazza")
Problem with 'busy' modem ("Michel van buel")
2.2.(6) does not detect the PS/2 mouse port in my AcerNoteNuovo -- (Norbert Roehrl)
Re: FTP server with LDAP integration (Arun Sharma)
Re: Lilo problem with SMP systems and Phoenix BIOS (Rob Komar)
Re: Linux for CompactPCI BUS? (Bob Hauck)
----------------------------------------------------------------------------
From: David Corredor Lacha <[EMAIL PROTECTED]>
Subject: A virtual mount system
Date: Wed, 21 Apr 1999 20:51:06 +0200
Hi,
Some months ago I read in the news that exists in some
systems something like a virtual mount command, that permit
to mount a set of directories infinite times without
problems whith the system resources. This is very interested
because you can make a chroot in some users and offer it
only a secure subset of selected commands.
Can anybody say me if this system exists in Linux and how
to use it?
--
Un saludo.
=========================================================================
DRAGONET COMUNICACIONES S.L David
Corredor Lacha
http://www.drago.net DRAGONET I+D
Email: [EMAIL PROTECTED] Email:
[EMAIL PROTECTED]
Tel. +34 96 686 0072
Fax. +34 96 588 7808
=========================================================================
------------------------------
From: "Clint Byrum" <[EMAIL PROTECTED]>
Subject: Re: SMP Linux, Any Catches?
Date: Mon, 19 Apr 1999 11:22:02 -0700
Mark Hahn wrote in message <7fajdv$[EMAIL PROTECTED]>...
>Clint Byrum <[EMAIL PROTECTED]> wrote:
>> Hold on, you guys are confusing me. My understanding of beowulf was that
it
>> allowed clustered processing using Linux. I also thought that it would
>
>it does.
>
>> essentially treat the "clustered" systems as additional processors,
sending
>> jobs to them through a dedicated "cluster network". What would be the
>
>no. what you're talking about is process migration, and it doesn't.
>in fact, I don't believe Msft's clustering does either; I'm not sure
>about VaxClusters. transparent migration is generally only doable on
>machines with shared memory, such as big boxes from SGI/Sun/HP.
>
Ok, then whats the benefit of the cluster? Does it just allow the clusters
to share resources like disk drives? So I if I had 400 users, and a 4 box
cluster, 100 users would connect to 1 box, 100 to another, and so on?
>> Please, enlighten me, I'd like to use clustered processing as a
>> "scalability" option for our customers.
>
>systems that don't attempt to transparently migrate are still scalable.
>in fact, you can make a good case that migration limits scalability.
>
>regards, mark hahn.
>--
>operator may differ from spokesperson. [EMAIL PROTECTED]
> http://java.mcmaster.ca/~hahn
------------------------------
From: [EMAIL PROTECTED] (ellis)
Subject: Re: HELP! Something Wicked happened!
Date: 19 Apr 1999 18:53:32 GMT
In article <[EMAIL PROTECTED]>,
Jeff McWilliams <[EMAIL PROTECTED]> wrote:
>What's up here? What does it mean when "Something Wicked happened!" ??
Looks like it is some kind of fault that the driver don't
understand:
if ((intr_status & ~(IntrLinkChange|IntrStatsMax|IntrTxAbort)) && debug) {
printk(KERN_ERR "%s: Something Wicked happened! %4.4x.\n",
dev->name, intr_status);
/* Recovery for other fault sources not known. */
writew(CmdTxDemand | np->chip_cmd, dev->base_addr + ChipCmd);
}
In other words any status bit other than IntrLinkChange, IntrStatsMax,
or IntrTxAbort.
--
http://www.fnet.net/~ellis/photo/linux.html
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Building pgcc-1.1.2
Date: Tue, 20 Apr 1999 00:40:00 GMT
In article <[EMAIL PROTECTED]>,
Alexander Rodyukov <[EMAIL PROTECTED]> wrote:
>
> haifa-sched.c:8259: Internal compiler error in function update_flow_info
>
> $ gcc -v
> Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.3/specs
> gcc version 2.7.2.3
>
Hi,
unfortunately no answer, but I get exactly the same error message with:
$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
/tomas
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: "Stefan Monnier <[EMAIL PROTECTED]>"
<[EMAIL PROTECTED]>
Subject: Unix98 ptys and glibc-2.0
Date: 22 Apr 1999 04:25:46 -0400
>>>>> ""Stefan" == "Stefan Monnier <[EMAIL PROTECTED]>"
><[EMAIL PROTECTED]> writes:
> Does the NFS server kernel option prevent the use of the user NFS server ?
And in the same vein, is it harmful to turn on Unix98 pty support in
the kernel if I don't have glibc-2.1 installed yet ?
Stefan
------------------------------
From: Arthur Rabatin <[EMAIL PROTECTED]>
Crossposted-To:
alt.linux,alt.os.linux,comp.lang.c++,comp.os.linux.development.apps,comp.unix.programmer,comp.unix.questions,gnu.g++.help,gnu.gcc.help
Subject: Re: Templates
Date: Thu, 22 Apr 1999 10:03:20 +0100
Reply-To: [EMAIL PROTECTED]
Andrew Eiler wrote:
>
> Or include the cc file at the bottom header file. The only issue you run into
Although even Stroustrup uses this as example,
this is very bad practice indeed and one must be surprised
to see that as a possible solution in Stroustrup's book
at all. Including the source file is no different from writing code into
the header but exposes implementation details of other code.
As noted in another message, instantiating the template in the .cc
file template basic_class < int > et c. allows the implementation to
reside in cc.
The .h file can then provide a typedef basic_class<int> int_class for
it's users.
The advantage of that is that each member function of the template
class gets actually compile for the type provided, which it would
not unless instatiated and used somewhere else in the code. That
reduces development time. The disadvantage is of course that adding
new types requires modification of that source file; but that might
be a minor problem unless you're writing a new template library.
Eventually, the compiler should (will? might?) support the export
keyword which allows the template function implementation to be
kept in the .cc file but made available to other compilation units
as template (uninstatiated).
Regards
Arthur
/*
Rabatin Investment Technology Ltd
http://www.rabatin.com
*/
------------------------------
From: [EMAIL PROTECTED]
Subject: Segmentation fault
Date: Thu, 22 Apr 1999 07:51:37 GMT
This may not be the right group, but too late, I'm posting it where there is
competent people. I downloaded egcs-1.1.2 (binary for both libc and glibc)
I installed glibc-2.1 with the addons, but when I compile with g++ the
program causes a "Segmentation fault" error. Because of that I can't compile
egcs (source) and have a system specific compiler. glibc-2.1 did not have any
compile problems or check problems, the only problems that I had were the ones
related to file links to old librarys. Both versions of egcs (binary) gave me
problems. Can anyone help me. Thanks.
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Help! I have an ATI 3D Rage Lt Pro and cant set up X windows
Date: Thu, 22 Apr 1999 09:54:29 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (CaptShayne) wrote:
> I have a fairly new Compaq system with their moniter. I installed OpenLinux on
> it as a dual boot system with Win 98. I try to setup XFree86, but each setup I
> try either distorts my picture with wavy lines or, gives me no picture at all.
> I have tryed several different approaches and nothing works. I need help
> badly. Please email me at [EMAIL PROTECTED] I would really appreciate it
>
try putting "ChipId 0x4700" in the server options, or edit the XF86Config
file and add it. it worked for me, i have a compaq 5140 with an ATI 3D Rage
Lt Pro.
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: [EMAIL PROTECTED]
Subject: FTP server with LDAP integration
Date: Thu, 22 Apr 1999 09:17:33 GMT
Hello,
Does anyone know any FTP server capable of authenticating users against
a LDAP (Lightweight Directory Access Protocol) Server?
Thank you very much.
============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
------------------------------
From: Gerard van der Sel <[EMAIL PROTECTED]>
Subject: Re: About jiffies
Date: Thu, 22 Apr 1999 09:26:48 +0200
Reply-To: [EMAIL PROTECTED]
Georg Acher wrote:
>
> In article <7fjof8$p0i$[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Peter
>Samuelson) writes:
> |> [new.ccu.edu.tw <[EMAIL PROTECTED]>]
> |> > I'm reading one book about Linux Kernel, and it said that the
> |> > constant HZ (<linux/param.h>) determines the frequency of timer
> |> > interrupt.
> |>
> |> Yes.
> |>
> |> > When timer interrupt occurs, the handler will increment the variable,
> |> > jiffies. I heard before that 18.2 ticks equal to 1 sec. But the
> |> > default value of HZ in Linux on x86 is 100. Why ? Why not 18.2 ??
> |>
> |> <cut>
> |> arrangements.... (Then again, I'm not sure whether Linux resets the
> |> 18.2 timer to 100 or just uses a different one. The clock chip has at
> |> least three different timers on it.)
>
> Just for completeness: HZ is 100 on Intel boxes and some other Linux ports, on
> the Alpha Linux port it is 1024!
At bootup on the x86 platform the timer wich is yust set to 18.2 Hz
(minimal value) is reconfigured to 100 Hz. You can watch him count with
cat /proc/interrupts (the first count, int 0).
Windows (85/98/NT4) has a taskswitch at 18.2 Hz, hence maybe that wy it
is so slow.
--
Met vriendelijke groet,
Gerard van der Sel
Mailto:[EMAIL PROTECTED]
"De dinosaurussen hadden hun komeet, wij hebben de Windows computer" -
me
"The box said: 'install on Windows 95, NT 4.0 or better'.
So I installed it on Linux."
------------------------------
From: "Stefan Monnier <[EMAIL PROTECTED]>"
<[EMAIL PROTECTED]>
Subject: NFS servers in 2.2
Date: 22 Apr 1999 04:01:57 -0400
The documentation on the kernel NFS server is a little fuzzy:
Does the NFS server kernel option prevent the use of the user NFS server ?
I'd like to play around with the kernel NFS server, but I want to be able
to still use the user NFS server without rebooting.
Stefan
------------------------------
From: [EMAIL PROTECTED] (Andrew McDonald)
Subject: Re: Can device driver use the filing system?
Date: 22 Apr 1999 08:31:47 GMT
Philip Boucherat <[EMAIL PROTECTED]> wrote:
> According to people on the RedHat mailing list, I am strongly advised
> not to try and use the filing system from a device driver I'm developing
> for RedHat V5.2.
>
> I would like someone out there to tell me it *is* OK to read/write files
> from a driver (and preferably how to do it). The file access is only
> during driver load and unload - I need to read firmware from a file and
> download it to the device - and I would have thought the driver would be
> called in some sort of user context at these times so it shouldn't be
> too much of a problem.
Have a look at linux/drivers/sound/sound_firmware.c
Also, linux/fs/binfmt_elf.c will show another way to do accesses to a
file in the filesystem from within the kernel.
Andrew
--
Andrew McDonald
[EMAIL PROTECTED]
http://ban.joh.cam.ac.uk/~adm36/
------------------------------
From: [EMAIL PROTECTED] ((cosc1) 95h02740)
Subject: Linux for CompactPCI BUS?
Date: 22 Apr 1999 13:00:54 GMT
Does Linux Support Compact PCI bus?
david Chen
[EMAIL PROTECTED]
------------------------------
From: Greg Franks <[EMAIL PROTECTED]>
Crossposted-To:
comp.lang.c++,comp.os.linux.development.apps,comp.unix.programmer,comp.unix.questions,gnu.g++.help,gnu.gcc.help
Subject: Re: Templates
Date: 21 Apr 1999 15:45:49 GMT
>>>>> "Steven" == Steven D Nakhla <[EMAIL PROTECTED]> writes:
Steven> I'm trying to design template classes in C++ (under Linux
Steven> and Solaris) using the gcc compiler, but I'm running into
Steven> trouble. It seems that the template functions must be
Steven> written within the header (.h) file. Whenever they are
Steven> written in the .cpp file I get errors about them not being
Steven> there. Is there any way around this? Can I send a flag
Steven> to the compiler or anything to get them implemented
Steven> correctly?
The g++ compiler is not terribly brilliant when it comes to
templates. You can put template code into it's own file, i.e.,
stack.C and stack.h. The trick is instantiating the templates. You
need to include the following in one of the non-template source files:
#include "stack.h"
#include "stack.C"
template class Stack<Entity *>;
template class Stack<Path *>;
template class Stack<Phase *>;
You need a `template class Stack<blech>' for every template type you
have.
To compile, use -fno-implicit-templates.
Effectively, you have manually instantiated all of the templates in
the one source file.
Yes, this sucks. The solaris CC compiler is much smarter.
---
__@ Greg Franks, (613) 520-5726 <| _~@ __O
_`\<,_ Systems Engineering, Carleton University, |O\ -^\<;^\<,
(*)/ (*) Ottawa, Ontario, Canada K1S 5B6. (*)--(*)%---/(*)
"Where do you want to go today?" Outside.
------------------------------
Date: Thu, 22 Apr 1999 15:33:43 +0200
From: Ahmed Said <[EMAIL PROTECTED]>
Subject: modules
hi there all,
does anyone know a good source or refrence for writing
kernel modules? can a kernel module execute a system call?
=================================================================================
Testing can prove the presence of bugs, but never their
absence.
Edsger Dijkstra
------------------------------
From: James Youngman <[EMAIL PROTECTED]>
Subject: Re: Diferences to other UNIXes
Date: 19 Apr 1999 19:37:46 +0100
Thomas Pfrengle <[EMAIL PROTECTED]> writes:
> Hi,
>
> I should do some development for a SGI. As a SGI is too expensive for
> us, we thought to do the development on LINUX and do the integration on
> SGI.
>
> Can anybody tell me, if I have to exspect problems.
If you have prior experience in porting applications between different
versions of Unix, then you will have no more problems than you would
expect. Otherwiese, yes, you will have problems if you don;t write
portable code.
Personally, I deal with this problem by using GNU Automake. I support
about 10 versions of Unix with one source tree. I do development on
Linux only and receive bug reports by email. Adding a new version of
Unix is either no work at all (it just worls, so the user says nothing
and I don't even hear about it), or it takes about 15 minutes work, in
several chunks.
> Especially, does LINUX support shared memory-IPC ??
If you mean shmat() and friends, yes. If you mean mmap(), yes. If
you mean POSIX IPC messaging, I'm not sure.
--
ACTUALLY reachable as @free-lunch.demon.(whitehouse)co.uk:james+usenet
------------------------------
From: "Fazza" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.development,comp.os.linux.hardware,alt.os.linux,alt.linux,comp.os.linux.x
Subject: Re: Pbl with ATI RAGE PRO TURBO 8Mo
Date: Thu, 22 Apr 1999 18:43:44 +0100
God Knows!
Vincent <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I have a big problem with my video card. My hardware are
> ATI RAGE PRO TURBO 87Mo with a Trinitron Sony 19" screen.
>
> With the serveur MACH64 I can't put the resolution above 1024*768.
> When I start with the SVGA server I can put the resolution to 1280*1024
> but all text console have a black screen.
>
> How can I solve this problem ???
>
> [EMAIL PROTECTED]
>
>
>
------------------------------
From: "Michel van buel" <[EMAIL PROTECTED]>
Subject: Problem with 'busy' modem
Date: Thu, 22 Apr 1999 19:50:42 +0200
I installed Redhat 5.2 on my computer and tried to get my modem to work. My
first modem did not work at all. Linux just could not find it. This probably
had something to do with it being a Winmodem. I chucked it out and installed
my old modem (Dynalink V1433VQH+). Now linux finds the modem. In minicom I
gave the ATDT+ phonenumber command. You can hear the modem click, however,
he does not start to ring the number and after several seconds he gives the
command 'BUSY'. Does anyone know of this problem and knows how to solve
this.
Thanks,
Michel van Buel
[EMAIL PROTECTED]
------------------------------
From: Norbert Roehrl <[EMAIL PROTECTED]>
Subject: 2.2.(6) does not detect the PS/2 mouse port in my AcerNoteNuovo --
Date: Thu, 22 Apr 1999 20:44:44 +0200
The port detection (detect_auxiliary_port) routine in
drivers/char/ps_keyb.c somehow fails to detect it. Removing all the
nasty "if(...)" eliminates the problem. This of course is just a
preliminary workaroud,
but for me it works perfectly.
Norbert.
------------------------------
Subject: Re: FTP server with LDAP integration
From: Arun Sharma <[EMAIL PROTECTED]>
Date: Thu, 22 Apr 1999 19:38:56 GMT
[EMAIL PROTECTED] writes:
> Hello,
>
> Does anyone know any FTP server capable of authenticating users against
> a LDAP (Lightweight Directory Access Protocol) Server?
Look at /etc/pam.d/ftp and /usr/doc/pam*
-Arun
------------------------------
From: [EMAIL PROTECTED] (Rob Komar)
Subject: Re: Lilo problem with SMP systems and Phoenix BIOS
Date: 22 Apr 1999 18:40:20 GMT
Josef =?iso-8859-1?Q?M=F6llers?= ([EMAIL PROTECTED]) wrote:
: This is a multi-part message in MIME format.
: --------------02373531B2F937F22E79401D
: Content-Type: text/plain; charset=iso-8859-1
: Content-Transfer-Encoding: quoted-printable
:
: Hi,
:
: Phoenix BIOS use the top end of base memory (640K) to store an "extended
: BIOS data area". Among other things, the MP config table is stored
: there. Since LILO assumes that the entire 640K are free, collisions
: occur resulting in a corrupted MP config table.
Hi,
what are the symptoms of this trouble? I have an SMP system
with this BIOS. I have had some problems with booting the
2.0.36 kernel (it hangs somewhere around the IDE/floppy controller
setup), but it didn't seem to explicitely be a problem with
the MP part of things. The 2.2 kernels, however, boot without
problem.
Cheers,
Rob Komar
------------------------------
From: [EMAIL PROTECTED] (Bob Hauck)
Subject: Re: Linux for CompactPCI BUS?
Date: Thu, 22 Apr 1999 20:05:44 GMT
In article <7fn6i6$n34$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] ((cosc1) 95h02740) writes:
> Does Linux Support Compact PCI bus?
Yes. Compact PCI is (mostly) just PCI in a different form
factor. The Compact PCI FAQ says that Linux will work and I
have talked to at least one board vendor that confirmed this.
But also AFAICT, Linux does not support the hot swap feature.
But then, neither do any of the other popular PC operating
systems.
While I'm posting...does anybody know what work is being done
regarding CPCI or VME hot swap support? We're looking at doing
some embedded projects and Linux would fit in real well if it had
this. I might even be convinced to help 8-)
--
13:45:00 up 58 days, 3:07, 0 users, load average: 0.00, 0.00, 0.00
------------------------------
** 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
******************************