Linux-Development-Sys Digest #826, Volume #6     Sat, 12 Jun 99 23:13:59 EDT

Contents:
  Re: ORB for Linux w/ Java Binding? (John Edstrom)
  DMA read from PCI card memory ("Everett Coldwell")
  Re: Pinning a thread to a processor (Peter Samuelson)
  Re: Problems with Soundblaster 64 PCI (ES1370) (Andres Heinloo)
  Re: Linux & Cybercafe (Moritz Moeller-Herrmann)
  Re: power off after shutdown --> no more in 2.2.x ? (Gregory Gerard)
  Re: gcc: Internal compiler error: program cc1 got fatal signal 11 (Ximenes Rocha 
Resende)
  Re: Proposal for XML Configuration files ("Scot E. Wilcoxon")
  performance counters under linux? (Gregory Gerard)
  Re: TAO: the ultimate OS (Peter Samuelson)
  64 bit File I/O (Matthew Carl Schumaker)
  Re: Questions on Linux Memory Managment (Peter Dalgaard BSA)
  Re: TAO: the ultimate OS (Ian Smith)
  Re: power off after shutdown --> no more in 2.2.x ? ([EMAIL PROTECTED])
  Calling 16-bit PM code from 32-bit PM Kernel Driver ("Wez Furlong")

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

From: [EMAIL PROTECTED] (John Edstrom)
Crossposted-To: comp.lang.java.corba,comp.object.corba,comp.os.linux.development.apps
Subject: Re: ORB for Linux w/ Java Binding?
Date: 12 Jun 1999 18:25:32 GMT

In article <[EMAIL PROTECTED]>,
        "Mark A. Richman" <[EMAIL PROTECTED]> writes:
> Is there an ORB for Linux w/ Java Binding?  Hopefully it's free.
> 

there are at least two that I know of.

Orbacus for Java  - Object Oriented Concepts Inc.
        http://ooc.com

JavaORB - Distributed Object Group (DOG) at mutlimania

        http://www.multimania.com/dogweb/

Orbacus is faster, JavaORB is more complete. 
Orabacus also comes with C++ bindings (basic Orbacus) so you have the
option of doing part of the application in C++ if you want.

Both are free and come with source code.  Both work with Blackdown JVM
1.1.7v3.  They claim to work with lower versions but I haven't tried
earlier JVM versions and can't speak from experience.


> -Mark
> 
> 
> 

-- 
 John Edstrom | edstrom @ slugo.hmsc.orst.edu

 http://bubo.hmsc.orst.edu/~edstrom

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

From: "Everett Coldwell" <[EMAIL PROTECTED]>
Subject: DMA read from PCI card memory
Date: Fri, 11 Jun 1999 16:15:23 -0300

Hello,

My device driver's interrupt service routine (ISR) currently transfers 16KB
of data from PCI card to driver's ring buffer (allocated with vmalloc).
Using either the 'memcpy' or 'memcpy_fromio' functions take 7.5msec.  This
seems like an awfully long time for an ISR.

How could I tell computer to do DMA transfer.  Any suggestions, source code,
etc.  would be appreciated.

Everett Coldwell
coldwell<at>xondigital.ns.ca




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

From: [EMAIL PROTECTED] (Peter Samuelson)
Subject: Re: Pinning a thread to a processor
Date: 11 Jun 1999 23:51:16 -0500
Reply-To: Peter Samuelson <[EMAIL PROTECTED]>


  [bill davidsen <[EMAIL PROTECTED]>]
> > Out of curiousity, what do you think this binding with do for you?
[Karsten Scholtyssik <[EMAIL PROTECTED]>]
> It prevents the process from beeing scheduled on a different CPU
> which increases the cache locality. It reduces the situations where
> the process has to start with a cold cache.

I think Bill's implication is that unless you're sure you know what
you're doing, changing this setting would give a performance *hit*,
since Linux already uses processor affinity to try and schedule things
where they'll have the most L2, as it were.  I can think of a few
situations where you really might know better than the schedule
algorithm on this, but they are (IMHO) very few and specialized.  (One
example: two CPU's, four worker threads, two executing a() and two
executing b(), it might be good to bind the a() threads to one CPU and
the b() threads to the other, at least until something finishes.)

As I think someone said, it wouldn't be all that hairy of a patch.  The
hardest part would be userspace integration ... perhaps overload
nice(2) with a different range?  *hack, hack*

-- 
Peter Samuelson
<sampo.creighton.edu!psamuels>

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

From: Andres Heinloo <[EMAIL PROTECTED]>
Crossposted-To: linux.dev.sound
Subject: Re: Problems with Soundblaster 64 PCI (ES1370)
Date: Sat, 12 Jun 1999 02:09:07 +0300


On Fri, 11 Jun 1999, Andres Heinloo wrote:

> # # ALSA native device support
> # alias char-major-116 snd
> # # options snd snd_major=116 snd_cards_limit=1
> # alias snd-card-0 snd-ens1370

I just found my mistake! The main soundcard module is snd-audiopci1370,
not snd-ens1370.

Now ALSA successfully recognizes the card, but I'm still having problems.
First, the driver doesn't work with the kernel 2.0.36 ("cat /dev/audio"
makes an instant crash and accessing the mixer also gives a kernel oops).

When running ALSA with the kernel 2.2.9, the symtoms are only slightly
better than with the standard Linux driver: "cat /dev/audio" makes the
system hang after a few seconds (like it did before); x11amp works, but
the sound quality is lousy and /proc/asound/card1/pcm0 shows many
underruns (that might be because my computer (AMD 5x86 133 MHz) is too
slow); xaudio has better sound quality, but the system hangs after a few
seconds, and beeee.... can be heard from the loudspeakers (with the
standard Linux drivers, the sound quality with x11amp was also lousy, but
the system hanged with a beeee.... before the whole file was played).

Now I suspect that there is something wrong with my hardware, rather than
with the sound drivers.

I still hope that there is a solution...


Andres.


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

From: [EMAIL PROTECTED] (Moritz Moeller-Herrmann)
Crossposted-To: alt.uu.comp.os.linux.questions,comp.os.linux.networking
Subject: Re: Linux & Cybercafe
Date: Sat, 12 Jun 1999 01:01:45 +0200
Reply-To: [EMAIL PROTECTED]

On 11 Jun 1999 15:36:47 +0100, David Knight <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (Moritz Moeller-Herrmann) writes:

>> On 10 Jun 1999 14:46:08 GMT, David L. Bilbey <[EMAIL PROTECTED]> wrote:

>> >What about looking into a smaller, easier to secure browser?  Who said
>> >that it _has_ to be Netscape?

>> Well, iexplore.exe won't cut it. Opera hasn't been releases. KFM lacks
>> support for java(script) and lynx lacks almost everything. Anything I
>> forgot for browsing?

>KFM isn't an option as its also file manager, see any problems arising with
>respect to starting programs?  Although this could be got around by setting
>correct permissions
>Oh and you forgot about using emacs as a web browser :-)

Hehe, emacs is not a browser? 
Netscape is not a browser?(Hmm you can't start things with it it is not
internet exploder)
I also didn't mention Mozilla (not done yet, looks good though!), Amaya
(bizarre but working), tkhtml (primitive). There is another GPL-ed one, but I
never tried it.... 
Oh the Gnome Help browser has a primitive HTML parser too.

>> I think write protecting (mount readonly)the whole filesystem apart from
>> the ~/.netscape/cache directory would protect you from most attacks. Set
>> the shell to some script starting Netscape if not running. Disable
>> everything. Give permissions to do zilch. Can't be that hard. Maybe not
>> even the cache and use a local proxy? 

>Stopping the settings being saved may stop it being permanent, but will
>netscape allow the settings to be changed just for that session, keeping the
>changes in memory?

I don't think so. Will have to try it.

-- 
Moritz Moeller-Herrmann [EMAIL PROTECTED] ICQ# 3585990        # Not only
Get my public pgp / gpg key from                        # Open Source(TM)
http://webrum.uni-mannheim.de/jura/moritz/pubkeymoritz  # but also
KDE forever! Use Linux to impress your friends!         # Open Minded!


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

From: [EMAIL PROTECTED] (Gregory Gerard)
Subject: Re: power off after shutdown --> no more in 2.2.x ?
Date: Sat, 12 Jun 1999 15:01:15 -0700

Seeing as how APM is not safe and the number of SMP chipsets with power
off capability is pretty small, what about tickling the hardware
directly?  Does anyone know how this is done without the help of the
bios?  I understand that it would be motherboard specific, though perhaps
to get around this, perhaps a config file could be created which contained
the sequence of io ports/memory locations to tickle and for how long to
allow for deviations.

greg

In article <[EMAIL PROTECTED]>, Igor Zlatkovic
<[EMAIL PROTECTED]> wrote:

> Stefan Opperskalski wrote:
> 
> > Hi,
> > does somebody know what have been done to the kernel?
> > Since 2.2.x, the power-off function with my asus-boards doesn�t work any
> > more.
> > Kernel 2.0.36 had this functionality and it worked fine.
> >
> > I use ASUS TX-97, ASUS P2B-DS, ASUS P2B-S and its always the same... :-/
> >
> > Any ideas?
> >
> > Thanks,
> > Stefan O.
> 
> Hello.
> 
> There are two things to consider:
> 1. Kernel 2.2.x needs a newer /sbin/shutdown than 2.0.36.
> 2. All this will not work on a multiprocessor machine. The apm driver
> disables any power management as soon it detects more than one processor.
> APM is not SMP safe.
> 
> --
> Igor Zlatkovic                  mailto:[EMAIL PROTECTED]
> University of Applied Sciences, Frankfurt, Germany, EU
>     "If at first you don't succeed, redefine success."
>                        -- /usr/bin/fortune, 12.5.1999.

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

From: Ximenes Rocha Resende <[EMAIL PROTECTED]>
Subject: Re: gcc: Internal compiler error: program cc1 got fatal signal 11
Date: Fri, 11 Jun 1999 19:11:41 -0500




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

Hi, 

I have the exact same problem. Have you found the reason for this ? If so, 
please drop me a message. Thanks, Ximenes.

   
XIMENES ROCHA RESENDE                           
Department of Physics   Swain  Hall West  117
Indiana University      Bloomington  IN 47405                   
Phone: (812) 855-3152   Fax:   (812) 855-5533   
http://cv-2-8.campusview.indiana.edu/~ximenes   


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

From: "Scot E. Wilcoxon" <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.programmer,comp.os.linux.development.apps
Subject: Re: Proposal for XML Configuration files
Date: Fri, 11 Jun 1999 19:31:18 -0500

All that is needed is documentation in each
package saying where the configuration files
are.  If you wish, you can add a CONFIGURATION
FILES section to the appropriate man pages.

And you can create an index in case someone is
looking for all configuration files.  Of course,
you can create that index from your new man pages.

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

From: [EMAIL PROTECTED] (Gregory Gerard)
Subject: performance counters under linux?
Date: Sat, 12 Jun 1999 14:58:01 -0700

does anyone have any inline asm code which I can use to read the timestamp
counter on the pentiums and up to do performance measurements?  I'll
wander off and do my own if no one else has them, but just wanted to check
first.

thanks,
greg

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

From: [EMAIL PROTECTED] (Peter Samuelson)
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Re: TAO: the ultimate OS
Date: 11 Jun 1999 20:35:08 -0500
Reply-To: Peter Samuelson <[EMAIL PROTECTED]>


It seems to me it would save a lot of discussion if we could all just
agree on the following statement: "The DAO that could actually be
implemented is not the true DAO."  If we agreed on that, pesky things
like pragmatism in ideas would no longer matter.  Basically I'm saying,
admit it is only a dream, with no real hope of ever being more.


[Vladimir Z. Nuri <[EMAIL PROTECTED]>]
> there are no specific improvements that can be meted out on criticism
> that is manifestly vague.

*I* happen to think it would be really cool to construct a wormhole
between my home and my job; that would make my morning commute ever so
much more convenient.  Now, why doesn't someone go and build me one?
I'm sure it's possible, because I have a wonderful vision of how it
would work.  I would flip a switch in my hallway, a hole would appear
in the air, I would grab my lunch and step through the hole, then slide
down it like a playground tube slide, and shoot out the other end, then
hit a switch there to turn it off.  Unfortunately I am not a physicist,
so I can't actually help with the implementation, but I *have* had a
couple college-level physics classes so that makes me enough of a
general relativity expert to know it must be possible.  And I'm sure
some of you bright minds out there can help make this happen.  Just
think how cool it would be.  No need for almost any other form of
transportation ever again....  Oh, and don't you *dare* criticize my
idea, ye small minds....

Do you see the problem with the above paragraph?  I presented a neat
little *wishlist* item ... but as far as anyone knows, it is completely
impractical if not impossible.  In short, this is what you sound like.
If you ever want people who *do* know what they're talking about to
take you seriously, you have to drop the assumption that you're right
and everyone else is wrong in terms of what is or is not possible, or
what is or is not even a good idea.  So far you seem to be taking the
tack of "spreading the memes" so that those who are perceptive enough
will see the wisdom of them and agree with you.  You seem to see those
who disagree with you as the Inquisition to your Galileo, with the
assumption that "the truth" -- specifically meaning *your* ideas --
will eventually prevail.  How incredibly arrogant, if I may say so.

We keep telling you.  If you have *any* ideas about how your grand
scheme is supposed to be possible, the least you could do is share
them.  Then, if they are valid, we will be *much* less likely to say
"Yeah, and reverse entropy would be cool too" and more likely to say
"Oh, *that's* how.  Might work, might not, here's some reasons it might
not and maybe some ways to overcome them...."

> "in theory, there's no difference between theory and practice, but in
> practice there is!"

*chuckle* Do you see the irony in your sig quote?  You are all theory.

-- 
Peter Samuelson
<sampo.creighton.edu!psamuels>

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

From: Matthew Carl Schumaker <[EMAIL PROTECTED]>
Subject: 64 bit File I/O
Date: Sat, 12 Jun 1999 19:26:05 -0400

I'm currently in the process of porting some windows servers to linux but
I've run into the problem of 64 bit files.  The servers make use of 64bit
file I/O calls and I know that there are equivalent calls for unix ie
fopen64, fseek64, ..

I found these in the stdio.h but I'm not sure as to how to get gcc to use
them.  I've found little documentation of them(basically just saying that
they exist) but nothing telling me how to use them.
Thought looking at stdio.h I've noticed a bunch of #ifdefs, I'm not sure
how to use these and have no way of really testing the calls(baring from
making a file greater than 2GB and seeing what happens)

Any help would be greatly appreciated

Matthew Carl Schumaker
[EMAIL PROTECTED]
veni, vedi, velcro
I came, I saw, I stuck around


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

From: Peter Dalgaard BSA <[EMAIL PROTECTED]>
Subject: Re: Questions on Linux Memory Managment
Date: 13 Jun 1999 01:54:43 +0200

[EMAIL PROTECTED] writes:

> Joel Huselius <[EMAIL PROTECTED]> writes:
> >On 8 Jun 1999, J.H.M. Dassen (Ray) wrote:
> 
> >> Quite frankly, your questions look a lot more like questions asked
> >> by instructors in a practical course assignment than ones that come
> >> up in students.
> 
> >We regret that this discussion is held on Usenet, but after
> >J.H.M. Dassen=B4s accusation we cannot be silent.
> [...]
> >Such a foul and mean allegation demands a direct response,
> >and we expect an excuse for this, unfounded and
> >incorrect, attack!
> 
> I guess that is why "Memory management i Linux" is listed as one of
> the examples at http://www.idt.mdh.se/kurser/ct2510/Assignment.html.
> Notice the name of the document....
> 
> I hope your "fvrdjupningsuppgift" will give you many deep insights ;-)

Ahem.

As far as I can see, there's no indication that the actual questions
asked were asked by instructors. The assignments on the page are "in
depth" topical essays, 4-5000 words for people working in pairs. They
are being explicitly instructed to get information from libraries and
off of the net, so I'd say that this is nowhere near asking for help
with trivial homework.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])             FAX: (+45) 35327907

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

From: Ian Smith <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.advocacy,comp.os.misc,comp.unix.advocacy
Subject: Re: TAO: the ultimate OS
Date: Fri, 11 Jun 1999 13:06:52 +0000

"Vladimir Z. Nuri" wrote:
> 
 : 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>

And students have an annoying habit of trying to get their homework done
by newsgroups.  Not that I am suggesting . . . . [g].

Ian.

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

From: [EMAIL PROTECTED]
Subject: Re: power off after shutdown --> no more in 2.2.x ?
Date: Sun, 13 Jun 1999 01:18:38 GMT

Stefan Opperskalski <[EMAIL PROTECTED]> wrote:
: does somebody know what have been done to the kernel?
: Since 2.2.x, the power-off function with my asus-boards doesn?t work any
: more.
: Kernel 2.0.36 had this functionality and it worked fine.

Someone _just_ posted an update to kernel APM support on the
linux-kernel list, this may fix your problem.

        Jeff




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

From: "Wez Furlong" <[EMAIL PROTECTED]>
Subject: Calling 16-bit PM code from 32-bit PM Kernel Driver
Date: Sat, 12 Jun 1999 00:16:26 +0100

Any ideas?

Does anyone have experience with this?

I am trying to access the VESA VBE 3 Protected Mode interface from a driver
(so I can build a framebuffer device).

The VBE 3 spec explains how to find out where the PM interface stuff is, and
says that I need to create 16bit data selectors for a data storage area
(which must be allocated for the PMI), 0xa0000, 0xb0000, 0xb80000, and one
more for a 16bit stack (which must also be allocated for the PMI).

In addition, the bios needs to be copied into RAM, and a 16bit code selector
created that points to it.

It goes on to say that in order to use the interface, I need to switch to
the 16bit stack I allocated, and make a far call using a 16:32 pointer to
the PMI entry point.

I understand (in general terms) the concepts of selectors, but do not
understand how to use them within the 32bit Linux kernel.

I see from the APM code that the gdt is set up with a couple of custom
selectors - is this the approach I should take? Will this work for 16 bit
selectors?

So far I have added my own entries to the gdt, set them up as best I know
how, but when I make the call to the BIOS, the system hangs (it doesn't even
get as far as an oops).

Any suggestions and/or examples, or even pointers to people/places with more
info will be greatly received.




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


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