Linux-Development-Sys Digest #692

2001-05-04 Thread Digestifier

Linux-Development-Sys Digest #692, Volume #8  Fri, 4 May 01 16:13:19 EDT

Contents:
  Re: STLport 4.0 & g++ 2.96 (John Beardmore)
  Re: Large file support on Linux? (Dragan Cvetkovic)
  Re: serial port autodetection (John Beardmore)
  Re: losing bottom halves ("Barry Smyth")
  Re: serial port autodetection (Roberto Nibali)
  Re: simple processus termination (Nate Eldredge)
  Re: Hot plug PCI device (Philip Armstrong)
  Re: STLport 4.0 & g++ 2.96 (Philip Armstrong)
  Re: serial port autodetection (Grant Edwards)
  Re: Large file support on Linux? ([EMAIL PROTECTED])
  Re: serial port autodetection (Grant Edwards)
  Re: Hot plug PCI device (=?iso-8859-1?Q?Andr=E9?= David)
  Re: simple processus termination
  Re: Just a curiosity...
  Re: Large file support on Linux? (Greg Copeland)
  Re: How to get a number of processors (Greg Copeland)
  Re: Transfer data to mySQL Server ("D. Stimits")
  Re: Large file support on Linux? (Dragan Cvetkovic)



From: John Beardmore <[EMAIL PROTECTED]>
Subject: Re: STLport 4.0 & g++ 2.96
Date: Fri, 4 May 2001 18:17:04 +0100

In message <[EMAIL PROTECTED]>, Steve Connet 
<[EMAIL PROTECTED]> writes
>"D. Stimits" <[EMAIL PROTECTED]> writes:
>
>> Steve Connet wrote:
>> >
>> > I am trying to compile the STLport4.0 with g++ 2.96. I get to a file
>> > called money_put_w.cpp and I get the following:
>> >
>> > c++: Internal error: Segmentation fault (program cpp0)
>>
>> It isn't unusual to see an error similar to that when a template is
>> told to work with a data type that it does not know about (such as
>> because it is missing the right include file to understand that
>> type). Check to be sure that any type the template is told to use
>> has its definition available to the templates.
>
>I am getting that internal error at random places during compile of
>the STLport 4.0. I've tried many times now.
>
>Well I think it turns out gcc 2.96 was a beta compiler and never
>released, and has major problems. But Redhat [mistakenly] decided to
>put it in their RH7.0 system anyway.
>
>And like I said before, I heard it's almost next to impossible to
>revert back to an older version of gcc (ie. 2.95) on a RH7.0 system
>that has gcc 2.96 on it.
>
>So it looks like my only option here is to move forward with the beta
>GCC 3.0 branch, of which I've heard only good things so far. And since
>the GCC 3.0 beta branch has more support for the Standard C++ Library
>(ie. ostringstream & istringstream), I won't have to compile STLport
>4.0 anyway.
>
>Anyone else in the same boat as I or who have gone through a similar
>experience?

I have RH 6.2 and upgraded 2.91.66 with 2.95.3.

That fixed the problem with ostringstream and ifstream but I've not used 
it much yet.

As that problem was resolved by upgrading the compiler, I didn't install 
the copy of STLport that I downloaded.

I don't understand how it interacts with the two compilers that I now 
have installed and don't want to break what doesn't need fixing !

If you upgrade to RH 7.1, does that get you a safe compiler ?  Do you 
nave any reason to stick with 7.0 ?


Cheers, J/.
-- 
John Beardmore

--

Subject: Re: Large file support on Linux?
From: Dragan Cvetkovic <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Date: 04 May 2001 13:24:08 -0400

Andreas Jaeger <[EMAIL PROTECTED]> writes:
> > The system in question is RedHat 6.2 (I think) with Linux 2.2.16,
> > glibc-2.1.3 and egcs-2.91.66
> 
> Read http://www.suse.de/~aj/linux_lfs.html
> 

Yes, I did read that one and found the most helpful info there. Thanks a
lot for the information provided. However, it doesn't mention RedHat 6.2 so
I just hoped RH had included some patches of their own. However, it seem
not to be the case. :-(

> You need to recompile glibc and a kernel that understands LFS.

Unfortunately this is (at this stage) not possible since this is one of
our main developers' machine that a lot of people rely on.

It seems that I will have to exclude LFS on Linux for the time being :-(
since we can't force the customers to run latest and the best Linux distro
(with kernel 2.4.x and glibc-2.2).

Thanks a lot to all answers.

Dragan

> 
> Andreas
> -- 
>  Andreas Jaeger
>   SuSE Labs [EMAIL PROTECTED]
>private [EMAIL PROTECTED]
> http://www.suse.de/~aj

-- 
Dragan Cvetkovic, 

To be or not to be is true. G. Boole

--

From: John Beardmore <[EMAIL PROTECTED]>
Subject: Re: serial port autodetection
Date: Fri, 4 May 2001 18:22:31 +0100

In message , Grant Edwards 
<[EMAIL PROTECTED]> writes

> You

Linux-Development-Sys Digest #692

2000-03-21 Thread Digestifier

Linux-Development-Sys Digest #692, Volume #7 Tue, 21 Mar 00 09:13:13 EST

Contents:
  Protocol Implementation ([EMAIL PROTECTED])
  Re: [embedded linux] where to get related information? (Anders Larsen)
  Looking for enviroment for device driver development ("netvision news server")
  Re: Gonna build a computer... (Christian Winter)
  Re: VFAT inode numbers change on remount (Anders Larsen)
  Re: Looking for enviroment for device driver development (Anders Larsen)
  Re: Gonna build a computer... (Anders Larsen)
  Diamond MM-16 device driver ([EMAIL PROTECTED])
  Can my server handle 500,000 page views per day ? ("Chiltown Worldwide")
  Re: Can my server handle 500,000 page views per day ? (Andy Guibert)
  Re: Can my server handle 500,000 page views per day ? (Mr Falafel)
  SQUID ICP ("L.T.")
  Compile error with 2.3.99-Pre2 (Mike Dowling)
  Re: Can my server handle 500,000 page views per day ? (James Stevenson)
  Re: sock_sendmsg() (James Emil Avery)
  Re: File System Development (Alan Donovan)



From: [EMAIL PROTECTED]
Subject: Protocol Implementation
Date: Tue, 21 Mar 2000 06:55:35 GMT

Hello,

On Linux how do we implement a new protocol which is required to work in
parallel to other protocols eg TCP/IP etc.This protocol is to be
implemented just above the ethernet MAC layer.

Thanks in advance,
Bhagyashree


Sent via Deja.com http://www.deja.com/
Before you buy.

--

From: Anders Larsen <[EMAIL PROTECTED]>
Subject: Re: [embedded linux] where to get related information?
Date: Tue, 21 Mar 2000 08:50:09 +0100

tasi wrote:
> I look for a embedded linux base on x86 or ARM target.
> Could somebody tell me the success story about
> (1) what target(Evaluate board) does you use? price? how to get the
> information?
> (2) where to get the embedded linux ?

You'll find all you need at one of the portals dedicated to embedded Linux:
   http://www.linuxembedded.org/
or
   http://www.embedlinux.net/

There are probably more portals than these, though.

Anders Larsen

--

From: "netvision news server" <[EMAIL PROTECTED]>
Subject: Looking for enviroment for device driver development
Date: Tue, 21 Mar 2000 09:41:50 +0200

Hi,

I'm looking for some toolkit or working enviroment for
device drivers development under Linux.
I mean compiler, debugger  and tools related to drivers stuff.

Can anybody recomend such toolkit , free or comercial ?

Thank you.

Serg.




--

From: Christian Winter <[EMAIL PROTECTED]>
Subject: Re: Gonna build a computer...
Date: Tue, 21 Mar 2000 02:19:31 +0100

Patrick Hagerty schrob:
> I'm in the planning stages of setting up a PC exclusively for Linux.  I
> tried once before to convert an old Windows 98 machine over to Linux but
> ran into problems stemming from the lack of available drivers for sound
> and video.

Hi,

IMHO problems aren't as big anymore as they were, say, a year ago.
 
> So, who can tell me what they consider the best sound card and video
> card for a Linux system?

Regarding Video cards, I would neither buy a new ATI card as their
driver support for linux leaks, nor any clone of a well known card.
You should have a look at the websites of big distributors like RedHat
oder SuSE, who both have compatibility databases online.

Regards
Christian

-- 
|~-_ /~ Free Linux Portal: http://www.linux-config.de ~\ _-~|
|  //   de.etc.schreiben.* - Usenet-Literatur im www:   \\  |
| //   http://www.usenet-autoren.de  \\ |
|_||[EMAIL PROTECTED]http://www.thepoet1.de__||_|

--

From: Anders Larsen <[EMAIL PROTECTED]>
Subject: Re: VFAT inode numbers change on remount
Date: Tue, 21 Mar 2000 09:33:06 +0100

Daniel Dorau wrote:
> I have a problem with the VFAT driver. My system has an ext2 and
> a vfat partition. The problem is that the inode numbers of files
> on the vfat partition change on each (re)mount of the vfat
> partition.

The reason is that the VFAT filesystem does not have inodes at all.

The inumbers are only allocated by the Linux VFAT driver (actually
by the underlying FAT driver) when they are first needed by the VFS
(yes, VFS needs the inumbers).
Since the inumbers are never stored on disc, chances are high that
they will get allocated in another order after a re-mount, as you
have observed.
Changing this behaviour would be a non-trivial task, to put it mildly.

> This is irritating tar's incremental backup (-g) and makes
> incremental backups of my vfat partition nearly impossible.

I'm afraid you'll have to live with that  :-(

> Does anybody know who's responsible for this driver and where
> how to contact him? I tried to contact Gordon Chaffee
> ([EMAIL PR

Linux-Development-Sys Digest #692

1999-05-08 Thread Digestifier

Linux-Development-Sys Digest #692, Volume #6  Sat, 8 May 99 23:14:13 EDT

Contents:
  Re: Mount multi-track CD ROMs? (Keith Wright)
  listing symbols in a dynamic library (Phil Howard)
  Re: Reliable (!) nic for 2.2 kernel? (Preston F. Crow)
  Re: Reliable (!) nic for 2.2 kernel? (bryan)
  Re: Reliable (!) nic for 2.2 kernel? (bryan)
  Re: Reliable (!) nic for 2.2 kernel? (bryan)
  Re: Reliable (!) nic for 2.2 kernel? (bryan)
  Problem compiling vfat module (Stephen Torri)
  Re: listing symbols in a dynamic library (Frank Sweetser)
  Re: Glibc rant (David T. Blake)
  Re: listing symbols in a dynamic library (Phil Howard)
  Re: Help Please!!! (Len Huppe)
  Re: Help Please!!! (Len Huppe)
  Re: HELP : RAS ??? ("Ross Crawford")
  Re: Reliable (!) nic for 2.2 kernel? (Don Baccus)



From: Keith Wright <[EMAIL PROTECTED]>
Subject: Re: Mount multi-track CD ROMs?
Date: 08 May 1999 20:39:44 -0400

Igor Zlatkovic <[EMAIL PROTECTED]> writes:

> Keith Wright wrote:
> 
> > I have just gotten into burning CD's.  The 'cdrecord' program
> > seems to make multi-track CD, but I can't figure out how to
> > mount any but the first track.
> >
> > Is it possible to mount other than the first track of a CD?
> > Is anybody working on making it possible?
> 
> Which kernel do you use?

2.0.36, but that could change if 2.2 solves the problem.

> as I conpiled my kernel for the last time, I saw an optios that sounds
> like "enable vendor-specific extensions for cdrom drive". This is
> somewhere under  SCSI.

Uh, oh.  Does that mean that it takes a special CD-ROM reader to do this?
Which one _should_ I have bought?
 
> Looks like you have to enable this one, since Linus, or whoever wrote the
> kernel configuration help, states exactly your problem.

Thanks for the hint.  I will RTFM.

-- 
 -- Keith Wright  <[EMAIL PROTECTED]>

Programmer in Chief, Free Computer Shop <http://www.free-comp-shop.com>
 ---  Food, Shelter, Source code.  ---

--

From: [EMAIL PROTECTED] (Phil Howard)
Subject: listing symbols in a dynamic library
Date: Sat, 08 May 1999 22:50:57 GMT

Is there a way to get a list of the symbols found in a dynamic
library that has been opened with dlopen()?  Might there be some
reserved symbols that references a structure with all the symbols?

The reason I want to get the list is so that my program can add
the symbols to a menu of options that the user can choose from.
For example, suppose I have a program that prepares graphical
images, and I want to support pluggable export filters implemented
as functions named "export__".  The range of
values for  would be known in advance, but not the range
of values for .  What the program might do is for each
such name found, lookup "export__get_menu_desc" and
call it to get back a string to fill in on the pop-up menu.

I don't want to have to require every different pluggable to be
a different library.  But if there is no solution to get the list
of names, then I guess that would be the common practice (do you
know if that indeed is the common practice?).

--
Phil Howard   KA9WGN
[EMAIL PROTECTED] [EMAIL PROTECTED]

--

From: [EMAIL PROTECTED] (Preston F. Crow)
Crossposted-To: comp.os.linux.networking
Subject: Re: Reliable (!) nic for 2.2 kernel?
Date: 8 May 1999 23:13:45 GMT

I use a tulip card with no problems at all.  However, I've noted that
there are tons of different tulip cards, each with subtle differences.
My particular card is sensitive to the version of the driver.  With
the latest 2.0.37-pre?? kernels, the included driver works fine.  With
the 2.2.x kernels, I have to install a different one from:
http://www.bmen.tulane.edu/~siekas/driver.html

Interestingly, 2.0.37-pre?? has a newer version of tulip.c than 2.2.6
(I haven't check 2.2.7).  I would suggest trying several versions of
the driver before giving up on the card, especially if it works under
2.0 but not 2.2.  You might even be able to use the 2.0 driver under
2.2--I'm not sure if there are any complications in doing so.

--PC
--
Segmentation fault
%

--

From: bryan <[EMAIL PROTECTED]>
Subject: Re: Reliable (!) nic for 2.2 kernel?
Crossposted-To: comp.os.linux.networking
Date: Sun, 09 May 1999 01:30:36 GMT

minor detail: I need a good PCI card, not ISA.  10/100 would be great,
but at least a clean 10 over PCI is minimal.

In comp.os.linux.networking Spiros Ioannou <[EMAIL PROTECTED]> wrote:
: In comp.os.linux.development.system bryan <[EMAIL PROTECTED]> wrote:
: : my tulip card is totally unreliable.  I can bring it down with an ftp

: : has anyone done any load testing on the 2.2 kernel and found a
: : RELIABLE nic card they could recommend