Linux-Development-Sys Digest #807, Volume #6     Thu, 10 Jun 99 02:14:26 EDT

Contents:
  Video 4 Linux API info? (Allen Curtis)
  Re: gcc: Internal compiler error: program cc1 got fatal signal 11 (Jonathan Stott)
  MMX & SMP HOWTO? (Allen Curtis)
  Re: Red Hat 6.0 not fscking the root partition! (Dave Platt)
  Re: Any Mail Application for commercial use (Johan Kullstam)
  Re: gcc: Internal compiler error: program cc1 got fatal signal 11 (Jonathan Stott)
  Re: Linux & Cybercafe (Bernd Strieder)
  Re: IDE problem (UDMA) (Konrad Mieredorff)
  Re: TAO: the ultimate OS (Christopher Browne)
  Re: Where is linux free download? (Christopher Browne)

----------------------------------------------------------------------------

From: Allen Curtis <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.app
Subject: Video 4 Linux API info?
Date: Wed, 09 Jun 1999 21:07:52 -0700

Where can I find the development information pertaining to Video2Linux?


------------------------------

From: [EMAIL PROTECTED] (Jonathan Stott)
Subject: Re: gcc: Internal compiler error: program cc1 got fatal signal 11
Date: 9 Jun 1999 16:38:57 GMT
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>,
Nigel Tamplin  <[EMAIL PROTECTED]> wrote:
>Hi,
>
>I keep getting the following error when compiling large programs on my
>Red hat 6 intel box.
>
>gcc: Internal compiler error: program cc1 got fatal signal 11

If it *always* happens on the exact same file, my suggestion is to
ignore everyone screaming "memory error" and try compiling the problem
file without optimization.  If the file compiles without optimization
and segfaults every time with it, I would assume that the compiler is
at fault.

-JS

-- 
Jonathan Stott                                   http://poly.phys.cwru.edu/
icbm://41.30.14N/81.36.36W/  [EMAIL PROTECTED]    [EMAIL PROTECTED]

------------------------------

From: Allen Curtis <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.app
Subject: MMX & SMP HOWTO?
Date: Wed, 09 Jun 1999 20:54:04 -0700

Hello there,  I am in the process of implementing an imaging library in
Linux. Can anyone point me to a HOWTO or something which explains what
needs to be done to support MMX properly in Linux. Are there any special
considerations for SMP and MMX?



------------------------------

From: [EMAIL PROTECTED] (Dave Platt)
Subject: Re: Red Hat 6.0 not fscking the root partition!
Date: Thu, 10 Jun 1999 05:02:09 GMT

>>I'm a new convert to Red Hat (from Slackware).  I've performed a
>>"Server" install of "official" Red Hat 6.0 and noticed that the root
>>partition check is aborting and therefore the root partition never
>>gets checked...
>
>Get yourself a Toms root/boot disk, and periodically
>boot from floppy and e2fsck the root partition. You can't
>really e2fsck a mounted partition, and since e2fsck is on
>your root partition, you need to boot from something else
>as root.

Ick.  Sorry, but that's really not a terribly good approach.  If the root
filesystem suffers some slight damage due to a crash or sudden reboot,
the lack of proper fsck'ing could quite easily cause the damage to
spread once the filesystem is put into actual use.  In other words, it
can "rot" before you get around to checking it.

If you want reliable operation, you should ensure that you _always_
have a clean root at boot time - if root wasn't dismounted cleanly,
fsck it.

There are at least two ways of getting this to work:

[1] Boot up with the root filesystem mounted read-only (either by
    patching the kernel with /sbin/rdev, or by including a read-only
    designation in your /etc/lilo.conf boot section).
    
    Run e2fsck on the root partition while it's mounted read-only.
    
    If e2fsck says that the filesystem was dismounted cleanly, or
    checked out OK without any changes being necessary, proceed -
    "remount" root read/write and then continue with the boot process.
    Otherwise, reboot IMMEDIATELY.
    
    This approach is what Slackware (the ones I've used) and RedHat
    (up through 5.2, and I suspect 6.0 as well) normally do.
    
[2] Boot up with your kernel's root partition set to point to a
    RAMdisk which is loaded from the boot medium (e.g. by LILO).
    
    insmod any modules needed to get to your real root partition (e.g.
    SCSI or network drivers).
    
    Run e2fsck on the not-yet-mounted root partition on the disk.  Fix
    any errors.
    
    Do a switchover-mount, detaching the RAMdisk from "/", and
    mounting the real root filesystem read/write.
    
    Proceed with the boot.
    
    This is an approach I've seen Caldera OpenLinux take if the root
    filesystem is on a SCSI device;  I suspect RedHHat may work in a
    similar way.  With this approach, you can use a generic (non-SCSI)
    kernel, and simply insmod the relevant SCSI device driver from the
    RAMdisk - this makes for a smaller kernel.
    
I suspect that your problem is that you've switched distributions
(Slackware to RedHat 6.0), and haven't properly upgraded all of your
configuration files, scripts, LILO or LOADLIN parameters, etc.  If I
recall your log report correctly, it looks to me as if you're booting
up in mode [2] (with root set to a RAMdisk) and then switching to the
disk-based root filesystem _before_ the disk root is fsck'ed.




-- 
Dave Platt                                           [EMAIL PROTECTED]
Visit the Jade Warrior home page:  http://www.radagast.org/jade-warrior/
  I do _not_ wish to receive unsolicited commercial email, and I will
     boycott any company which has the gall to send me such ads!

------------------------------

From: Johan Kullstam <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.networking,comp.os.linux.misc
Subject: Re: Any Mail Application for commercial use
Date: 09 Jun 1999 13:19:23 -0400

Eddy <[EMAIL PROTECTED]> writes:

> Besides Zmail and Sendmail, is there any mail application suitable for
> commercial use ? As Sendmail seems too complicated for commercial and
> the user interface is not so user-friendly.

1) what do you mean by `commercial use'?

2) a mail transport agent doesn't have a user interface.  it has an
   adminstrator configuration interface.  it has a mail user agent
   interface.  your users shouldn't care what MTA is installed.

personally, i like qmail.  YMMV.

-- 
johan kullstam

------------------------------

From: [EMAIL PROTECTED] (Jonathan Stott)
Subject: Re: gcc: Internal compiler error: program cc1 got fatal signal 11
Date: 9 Jun 1999 18:29:05 GMT
Reply-To: [EMAIL PROTECTED]

In article <7jm8fa$6h3$[EMAIL PROTECTED]>,
Villy Kruse <[EMAIL PROTECTED]> wrote:
>
>Would you get sig 11 if you run out of both memory and swap space?

You shouldn't, but it certainly is possible with badly written code.

malloc() returns NULL on error, at which point any well written program
will stop with an "out of memory"-type error.  If, however, you incorrectly
assume that the malloc() always succeeds and try to access memory via the
NULL pointer, you can easily generate signal 11's (sig 11 = SIGSEGV).

-JS

-- 
Jonathan Stott                                   http://poly.phys.cwru.edu/
icbm://41.30.14N/81.36.36W/  [EMAIL PROTECTED]    [EMAIL PROTECTED]

------------------------------

From: Bernd Strieder <[EMAIL PROTECTED]>
Crossposted-To: alt.uu.comp.os.linux.questions,comp.os.linux.networking
Subject: Re: Linux & Cybercafe
Date: Wed, 09 Jun 1999 20:27:22 +0200

David Knight wrote:
> 
> Maurice Kemmann <[EMAIL PROTECTED]> writes:
> 
> > MicroNg schrieb:
> 
> > > however, how to limit the access that so the user can only access the
> > > browser but NOT any other
> > > program ? ( to access other program, for eg for the webmaster to shutdown
> > > the computer, an passcode
> > > is required).
> 
> > You can configure the windowmanager without any xterm. So the users are
> > not able to start any other program. On the desktop you offer only the
> > browser. Login should be via xdm !
> > That's it i think !
> 
> That it itself probably wont work, just put in netscape
> 
> telnet://localhost
> 
> and it will open an xterm running the telnet session, from which they
> would then be able to start other programs.
> 
> David
> 

I would try:

restrict execution rights, restrict the PATH environment variable to the
minimum you require, create a special bin-directory with only those apps
symlinked to you need and set PATH only to this path.

Give the users a restricted shell as login shell if you would like to
give them a shell.

unconfigure anything like this telnet://localhost in netscape if
possible. make all configuration data but bookmarks of netscape
unwritable. Let the login-Script refresh the login-directory of those
guest users.

Have daemons that check your system regularly if nothing has changed by
checksums.

Restrict the rights to access daemons of your system by wrappers even
for users of it.


HTH

Bernd Strieder

------------------------------

From: Konrad Mieredorff <[EMAIL PROTECTED]>
Subject: Re: IDE problem (UDMA)
Date: Wed, 09 Jun 1999 20:54:23 +0200

"H barre (6.62e-34 J.s)" wrote:
> 
> I just compiled in the kernel 2.2.4 and I was happy that
> it offer a specific driver for the Ali 1543 chipset (UDMA on Asus
> motherboard).

Well, actually it doesn't, this driver currently is only available in
the development branch.
 
> But I still obtain a stange message :
> 
> [J'obtiens un bug IDE � chaque d�marrage de l'ordinateur,
> apr�s un certain laps de temps d'inactivit�.
> 
> ex:  j'allume mon PC, je vais faire autre chose, le message
> de login est affich� et en dessous ce message :]
> 
> hdc: timeout waiting for DMA
> hdc: irq timeout: status=0x58 { DriveReady SeekComplete DataRequest }
> hdc: DMA disabled
> ide1: reset: success
> 
> [C'est syst�matique depuis que j'ai la carte m�re ALi et le nouveau
> driver 'drivers/block/alim15x3.c' qui va avec le kernel 2.3.3 !
> 
> D'ailleurs meme en forcant le DMA avec le BIOS et/ou avec 'hdparm'
> j'obtiens les meme symptomes !

Please write in englich if possible, otherwise many people in this group
(including me) won't be able to help you.
 
> Un peu d'aide me serait n�cessaire et j'en serais tr�s reconnaissant.]
> 
> I hope that somebody encounter this same problem
> Thanks
> 
> Michel B.

------------------------------

From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Re: TAO: the ultimate OS
Reply-To: [EMAIL PROTECTED]
Date: Thu, 10 Jun 1999 05:58:41 GMT

On Wed, 9 Jun 1999 19:21:57 GMT, Vladimir Z. Nuri <[EMAIL PROTECTED]> wrote:
>Peter Samuelson ([EMAIL PROTECTED]) wrote:
>: Whenever *anyone* has challenged you, whether it be your ideas, your
>: presentation or anything else, you have continually asserted that
>: either (a) all of us just lack imagination and vision, and that's why
>: we don't understand what a wonderful work you have wrought, or (b) all
>: of us are just too set in our ways to accept something as radical and
>: refreshing as your vision, or (c) we the high priests of the old order
>: are offended and threatened by you, the dashing maverick who just might
>: be out to steal our show.  As far as I can tell, you have *no* room in
>: your paradigm for possibility of having had even *one* stupid idea to
>: begin with, nor of *anyone* *else* knowing more about what you're
>: talking about than you do.
>
>ok, perhaps there are some stupid ideas in the essay. which one is stupid,
>dear sir? would you care to point it out? the "work I have wrought"
>I have repeatedly emphasized is incomplete and in need of further
>development by others who may be more qualified in the specifics than
>I am.  us vs. them? there is no controversy here except that which is
>continually manufactured/created by those who are threatened by
>new ideas from an unknown.

For the most part those "new ideas" represent "old ideas that haven't
been fleshed out with anything other than platitudes."

>a) "write the code and get back to me" is definitely a lack of
>imagination/vision.. and someone would say that who doesn't understand
>how to picture what I am writing about without seeing it in front of
>them first.

Alternatively, this may represent a position that says:

"I'm skeptical that you know what you're talking about.  Working code
represents a nice disproof of that."

>b) yes, OS developers are very set in their ways. as for "radical/
>refreshing" .. well I called it "radical", and I do think everyone
>would agree if it were implemented, it would be "refreshing" compared
>to existing OSes, particularly with its focuses on making the end user
>happy.

I think you don't understand the word "focus."
 i) Its pluralization would be "foci."
 ii) You *can't* focus on more than one thing at a time unless they
 are forcibly very near to one another, and that's not the case.

>: Has it never occurred to you that your ideas *may* *possibly* have
>: generated a lot of criticism *not* because you're some sort of oracle
>: ahead of your time but because those ideas *really* *are* a load of
>: crap?
>
>I make no claims to being an "oracle".. just someone in tune with
>currents in OS development that those who work close in the trenches
>may be oblivious to..  as for "load of crap".. I am open to suggestions
>about any key failures of the essay.. perhaps you might like to
>mention one or two in your next rant, if you deign to..

If you intend to roust up support for your project, it is *your*
responsibility to support *your* proposal.

>: Have you never considered the possibility that when we say you don't
>: seem to know what you're talking about, it might be an *observation*
>: rather than just a backhanded flame?
>
>what would you like me to elaborate on in the essay? vagueness is
>a far different crime than error.

An architect is expected to provide a description that provides an
overall perspective for what components the design involves, and how
they fit together.

You have given little more than vague platitudes that claim that your
system will handily solve sundry hard problems that other systems have
only coped with with limited success.

>: Have you never noticed that you have so far given us *remarkably*
>: *little* reason to pay attention to *anything* you say?  It might sound
>: a touch elitist to you, but I freely admit that when evaluating ideas,
>: I take into consideration who is putting them forth.  If someone whose
>: abilities and accomplishments I respect tells me something that sounds
>: silly or goes against my prejudices, I will think about it awhile
>: because I *know* the person must have a good reason for believing it,
>: and I also know my thoughts and ideas are not perfect.  When *you*, on
>: the other hand, tell me something that sounds silly, I have no reason
>: to believe it is anything but silly.
>
>i.e. "post your resume, bozo". no, I am not going to offer flamers fresh 
>fodder. hahaha

Usenet is filled with cranks.  

There are people that have peculiar views about tax law.  Others with
peculiar views about physics.  Some with peculiar views about computer
systems.

Your posts are more consistent with representing the views of a
"crank" than those of someone that knows exactly what they are doing.

Feel free to implement the system, and disprove this perception.

>: An artist can draw a much prettier picture than an architect can, but
>: artists do not design bridges or skyscrapers.  An artist could draw a
>: beautiful building, the architect could say "Nope, sorry, impossible"
>: and the architect would win.  Not because he has something against the
>: artist, or feels threatened, but because he's most likely right.  A
>: good architect does have to be something of an artist himself, but he
>: *also* needs to have training and experience in what is and is not
>: feasible, or his buildings will never be built.
>
>consider another scenario. artists/architects do not exist in an
>inherently antagonistic relationship unless they so choose. the
>artist inspires the architect and vice versa. a good architect
>has a bit of an artist in him, and vice versa.  a very Taoist
>point of view, no?<g>

Ah.  Changing the topic.

The point was that architects need to have training and experience in
what is and is not feasible, otherwise the structures will never get
built.

In the profession of Architecture (as in "folks that design
buildings"), an architect is required to study both art *and*
engineering.  

Having only the engineering side is not sufficient, as this will
result in the construction of buildings that may function, but that
people hate to be in.

But, on the other hand, only a fool would allow a pure artist that
lacks engineering knowledge to do architectural work, as the results
are likely to be fanciful and lack the characteristic of actually
being implementable.  In the case of a building, it would represent
*criminal* negligence, as there's nothing in the fancy of art that
will forcibly cause the building to have a sound design with
foundation and other structures to support it.

We've been hearing plenty about your "artistic" side.

In order for anyone to take your "architecture" seriously, and not
blow you off as a fanciful artistic fool, you need to show some
evidence that you know how to engineer some of the things that you
claim as "design features."

- "Easy to use" is not an engineering term.

- "Plug-and-play" is not an engineering term.  You need to describe
the sorts of data and program structures that would actually be
supportive of this functionality.
-- 
"Programming is one of the most difficult branches of applied mathematics; the
poorer mathematicians had better remain pure mathematicians."
-- Edsger W. Dijkstra
[EMAIL PROTECTED] <http://www.hex.net/~cbbrowne/oses.html>

------------------------------

From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: Where is linux free download?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 10 Jun 1999 05:58:27 GMT

On Wed, 09 Jun 1999 11:24:23 -0700, Assembly Wizard
<[EMAIL PROTECTED]> wrote: 
>I just spent an hour crusing the net looking for linux to download. 
>Seems every site was selling linux.  
>
>I downloaded it last year but am unable to find the free site I got it
>from...can some kind soul help?

Question #1.  Which distribution do you intend to use?

*Real* precise answers may be attainable if you tell us that.  In the
case of Debian <http://www.debian.org>, downloading across the
Internet is one of the better ways of getting it.

Alternatively, take a look at <http://metalab.unc.edu/mdw/linux.html>,
which is one of the major sites where a *LOT* of Linux "stuff" may be
obtained.

Question #2.  How hard did you look?

<http://www.linux.org> would be a not-half-bad starting point.  Or see
my URL below...

Question #3.  How fast is your network connection?

If you have a slow connection, it is probably more economical to
"kickstart" things by buying one of those cheap CDs.  

If you feel your time is of less value than the $10 that you might pay
for CD+Shipping+Handling, then feel free to spend the extra time
downloading stuff.

Places like <http://www.linuxcentral.com>, <http://www.lsl.com>, and
<http://www.cheapbytes.com> can provide you 600-odd-MB of "Linux
stuff" that doesn't have to be pulled across a network connection for
a couple of dollars.
-- 
"Using Java as a general purpose application development language is like
going big game hunting armed with Nerf weapons." -- Author Unknown
[EMAIL PROTECTED] <http://www.ntlug.org/~cbbrowne/linux.html>

------------------------------


** 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
******************************

Reply via email to