Linux-Development-Sys Digest #808, Volume #6     Thu, 10 Jun 99 05:14:14 EDT

Contents:
  Re: Any Journaling FS development? (Christopher Browne)
  Kernel and Modules ("David Bell")
  Re: Kernel and Modules (Daniel R. Grayson)
  Re: TAO: the ultimate OS (Christopher Browne)
  Re: pci driver ([EMAIL PROTECTED])
  Re: /etc/inittab suggestion for all distributions (Alan Curry)
  Re: Writing Linux FileSystems for Dummies :-) ([EMAIL PROTECTED])
  Re: Linux & Cybercafe (Alan Curry)
  Images ("Lenny grosso")
  Re: Any Journaling FS development? (Frank Sweetser)
  Pinning a thread to a processor ("Karsten Scholtyssik")
  Re: MMX & SMP HOWTO? (Marcus Sundberg)
  Re: Linux & Cybercafe (Moritz Moeller-Herrmann)

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

From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: Any Journaling FS development?
Reply-To: [EMAIL PROTECTED]
Date: Thu, 10 Jun 1999 05:58:08 GMT

On 9 Jun 1999 18:58:45 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>Is there any JFS development this time? I'd like to join, if there are some,
>or I'll start my own development.... Any ideas?

There be several.  See URL below...
-- 
I still maintain the point that designing a monolithic kernel in 1991
is a fundamental error.  Be thankful you are not my student.  You would
not get a high grade for such a design :-) (Andrew Tanenbaum to Linus
Torvalds) 
[EMAIL PROTECTED] <http://www.ntlug.org/~cbbrowne/linuxkernel.html>

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

From: "David Bell" <[EMAIL PROTECTED]>
Crossposted-To: hp.os.linux
Subject: Kernel and Modules
Date: Wed, 9 Jun 1999 10:57:16 -0700

Hi,

When I installed RH Linux 6.0 (kernel 2.2.5-15) on my two processor machine,
two vmlinuz kernels were put in /boot, two initrd.img images, two
directories for modules in /lib/modules, etc.  One set is for a
uni-processor kernel, the other for a multi-processor kernel.  The naming
convention is something like:

    /boot/vmlinuz-2.2.5-15
    /boot/initrd-2.2.5-15.img

    /boot/vmlinuz-2.2.5-15smp
    /boot/initrd-2.2.5-15smp.img

    /lib/modules/2.2.5-15/*
    /lib/modules/2.2.5-15smp/*

The /etc/lilo.conf file has multiple entires to allow for the booting of
either the UP or the SMP kernel.  My questions are:

Does the kernel (and probably depmod) use the lib/modules/2.2.5-15smp
directory when I boot the vmlinuz-2.2.5-15smp kernel?  If so, how does it
know to do that?

As far I can tell, it is only the kernel version number (from a #define in a
header file) that is used to determine the /lib/modules directory.

I know that you can pass mkinitrd a parm that tells it where to pick up the
modules when building the ramdisk image, but what about the kernel once it
the ramdisk is unmounted and the hard disk is mounted?

I presume that if only a single directory in /lib/modules is used once the
kernel is fully booted AND I want to run either UP or SMP kernel, I can
safely use the modules that were compiled for the SMP kernel.  Is this
correct?

Thanks in advance for any help.


David Bell
[EMAIL PROTECTED]





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

From: [EMAIL PROTECTED] (Daniel R. Grayson)
Crossposted-To: hp.os.linux
Subject: Re: Kernel and Modules
Date: 09 Jun 1999 14:10:34 -0500


"David Bell" <[EMAIL PROTECTED]> writes:

> Does the kernel (and probably depmod) use the lib/modules/2.2.5-15smp
> directory when I boot the vmlinuz-2.2.5-15smp kernel?  If so, how does it
> know to do that?

There might be something special in your /etc/conf.modules or
/etc/modules.conf.

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

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:25 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.
-- 
A CONS is an object which cares.
-- Bernie Greenberg.
[EMAIL PROTECTED] <http://www.hex.net/~cbbrowne/oses.html>

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

From: [EMAIL PROTECTED]
Subject: Re: pci driver
Date: Thu, 10 Jun 1999 06:31:40 GMT

Read linux/Documentation/IO-mapping.txt.

You ioremap the base address once, then use read[bwl]/write[bwl] to
write to/from memory.

If you want to use memset/memcpy to move a big chunk of memory at once,
pick the appropriate _io function: memcpy_fromio, memcpy_toio,
memset_io, etc.

        Jeff




Danny Sung <dannys> wrote:
: Hi.  I've got similar questions regarding PCI device drivers.  From
: what I've gathered (and a couple people I talked to), I think that you
: only need to do a ioremap() after getting a base address from the
: pci_find_device() function call.

: ioremap() gives you a pointer, which is a kernel space remapping of
: the I/O (bus) address that the base address is.  After that, your
: kernel driver can simply use that region as a regular pointer.

: However, I haven't yet been able to get my driver working at all..
: So if you get any further please let me know. :-)

: thanks and good luck,
: Danny sung


: In comp.os.linux.development.system, you wrote:
:>Hi all,
:>
:>Can anyone make some order in memcpy_fromio / vremap / writel / ....
:>
:>Do i have to vremap/ioremap addresses for a pci driver ? can i only write
:>from kernel space to the
:>device ?
:>If so do i use memcpy_fromio/toio or just memcpy ?
:>When do i use writel/writeb/writew ?
:>
:>Thanks
:>
:>


: -- 
: --
: Danny Sung                         http://www.poboxes.com/dannys 
: [EMAIL PROTECTED]                    (PGP public key available)
: Key fingerprint = 0080 1BA8 F145 15AE 5ED1  E4ED C422 C77E 70C6 44FE


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

Subject: Re: /etc/inittab suggestion for all distributions
From: [EMAIL PROTECTED] (Alan Curry)
Date: Wed, 09 Jun 1999 20:05:36 GMT

Here's a better suggestion. Don't run X in continuous-respawn mode.

Use xdm without any servers in the Xservers file. Then start the server with
X -indirect localhost. If it goes bad you can ctrl-alt-backspace it and it
doesn't come back.
-- 
Alan Curry    |Declaration of   | _../\. ./\.._     ____.    ____.
[EMAIL PROTECTED]|bigotries (should| [    | |    ]    /    _>  /    _>
==============+save some time): |  \__/   \__/     \___:    \___:
 Linux,vim,trn,GPL,zsh,qmail,^H | "Screw you guys, I'm going home" -- Cartman

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

From: [EMAIL PROTECTED]
Subject: Re: Writing Linux FileSystems for Dummies :-)
Date: Thu, 10 Jun 1999 06:33:22 GMT

ELSID Software Systems LTD. <[EMAIL PROTECTED]> wrote:
: Greetings:

: I am working on a project that requires a very good understanding of the

: interaction between the Linux kernel and its file system modules in
: order to create
: some debugging tools for filesystem interaction that will be inserted
: between the
: kernel and the loaded filesystem modules

: Are there any books, papers etc.. that describe this process as well as
: the roll of
: the sys_xxxx and other internal functions.

: I am looking for a 'hard core' manual not the usuall computer bookstore
: stuff.


There are a couple papers on the VFS at the kernel hackers doc section:
http://selva.dit.upm.es/~jmseyas/linux/kernel/hackers-docs.html

        Jeff





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

Crossposted-To: alt.uu.comp.os.linux.questions,comp.os.linux.networking
Subject: Re: Linux & Cybercafe
From: [EMAIL PROTECTED] (Alan Curry)
Date: Thu, 10 Jun 1999 06:54:45 GMT

In article <7jmvt6$[EMAIL PROTECTED]>,
Clint Byrum <[EMAIL PROTECTED]> wrote:
>
>Alan Curry wrote in message ...
>>In article <[EMAIL PROTECTED]>,
>>Maurice Kemmann  <[EMAIL PROTECTED]> wrote:
>>
>>And you think netscrape provides an unbreakable jail environment?
>>Edit/Preferences/Navigator/Applications - look, an editable list of
>commands
>>to be run.
>>
>>Anonymous public X terminal access is not going to be easy to do right.
>
>
>?? Maybe this seems to obvious, but couldn't one just take away the user's
>write permissions on any files they can't change, and viola! safety? The
>same could be done with execute permissions as well....

Who will volunteer to audit the entire netscrape source tree to verify that
there is no way to get it to download a file, chmod it to 755, and run it?

>Please, correct me(not necessarily FLAME me) if I'm missing something here.

Maybe you are, maybe you aren't, but with the netscrape executable being 13
megs I bet there's a hell of a lot we're both missing and that's why I
wouldn't count on it to provide any kind of restricted access to a guest
account.

Now if you can find some way to automatically delete and recreate the guest
account when the xdm session is logged out, that would be cool.
-- 
Alan Curry    |Declaration of   | _../\. ./\.._     ____.    ____.
[EMAIL PROTECTED]|bigotries (should| [    | |    ]    /    _>  /    _>
==============+save some time): |  \__/   \__/     \___:    \___:
 Linux,vim,trn,GPL,zsh,qmail,^H | "Screw you guys, I'm going home" -- Cartman

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

From: "Lenny grosso" <[EMAIL PROTECTED]>
Subject: Images
Date: Tue, 8 Jun 1999 18:52:36 -0500

Can anybody tell me about creating boot images for a floppy disk?

Thanks
Lenny Grosso




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

From: Frank Sweetser <[EMAIL PROTECTED]>
Subject: Re: Any Journaling FS development?
Date: 09 Jun 1999 15:42:03 -0400

<[EMAIL PROTECTED]> writes:

>  Hi!
> 
> Is there any JFS development this time? I'd like to join, if there are some,
> or I'll start my own development.... Any ideas?

yup - stephen tweedie is working on journaling code for e2fs, and in
addition SGI is working in porting and releasing linux code for the XFS
filesystem. 

-- 
Frank Sweetser rasmusin at wpi.edu fsweetser at blee.net  | PGP key available
paramount.ind.wpi.edu RedHat 5.2 kernel 2.2.5        i586 | at public servers
Paul Tomblin: "The difference between math and physics is the difference
between masturbation and sex." Malcom Ray: "They're both messy, but physics
can get you in much more trouble." (from scary.devil.monastery)

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

From: "Karsten Scholtyssik" <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.solaris
Subject: Pinning a thread to a processor
Date: Wed, 9 Jun 1999 22:42:42 +0200
Reply-To: "Karsten Scholtyssik" <[EMAIL PROTECTED]>

Hi programmers,

I'm looking for a method to set the CPU affinity of a process/thread. Under
Windows NT,  I use the function SetProcessAffinityMask() - what is the Linux
and/or Solaris equivalent? (I hope there *is* a way at all)

I searched the man pages (pthread etc.) to no avail.

Thanks for the help, Karsten




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

From: Marcus Sundberg <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.app
Subject: Re: MMX & SMP HOWTO?
Date: Thu, 10 Jun 1999 09:58:54 +0200

Allen Curtis wrote:
> 
> 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.

MMX is not something that needs "support". You either use MMX 
instructions or you don't. If you do it is advisable to provide an
alternative for non-MMX machines, either by runtime checking or by
providing two versions of the program.

> Are there any special considerations for SMP and MMX?

Not in userspace, and you don't use MMX in the kernel.

//Marcus
-- 
===============================+====================================
        Marcus Sundberg        | http://www.stacken.kth.se/~mackan/
 Royal Institute of Technology |       Phone: +46 707 295404
       Stockholm, Sweden       |   E-Mail: [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Moritz Moeller-Herrmann)
Crossposted-To: alt.uu.comp.os.linux.questions,comp.os.linux.networking
Subject: Re: Linux & Cybercafe
Date: Wed, 9 Jun 1999 20:57:30 +0200
Reply-To: [EMAIL PROTECTED]

On 09 Jun 1999 15:19:42 +0100, David Knight <[EMAIL PROTECTED]> 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.

You could just give an extremely limited PATH to the user who runs X. Just
Netscape and xinit. I think that would stop the telnet thingy. Anyways who
would allow telnetting in /etc/inetd.conf, if the machine is for a surf
station? Then I would use a windowmanager without the possibility to call
xterms or give commands directly. I think icewm could be configured to do
this. Then give only reading rights to all configuration items.

Oh and mount the /usr/ and /opt directories over the network.(NFS or SAMBA)
That way you can upgrade all software on one machine. If somebody manages to
crack his surf machine, he can't do a lot of BS there.

The first proposal (no WM) is not possible as Netscape itself opens up
several windows.


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


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


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