Linux-Development-Sys Digest #244, Volume #6      Sat, 9 Jan 99 11:13:49 EST

Contents:
  Re: Raiding Under Linux? (ian)
  Re: STREAMS (Mikel Matthews)
  Re: Registry for Linux - Why? (TGAPE!)
  Re: Escape sequences and slang?? (John E. Davis)
  Re: blocksize / file write speed anomaly (Peter Steiner)
  Re: disheartened gnome developer (jedi)
  Re: disheartened gnome developer (jedi)
  mounting ufs filesystems read/write (Wim Nederend)
  Re: blocksize / file write speed anomaly (Chris Hedley)
  boot problems with 2.2.0-pre5 (Frank Hale)
  make xconfig (Frank Hale)
  Re: disheartened gnome developer ([EMAIL PROTECTED])
  CDROM under DOSEMU (mvrao)

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

From: ian <[EMAIL PROTECTED]>
Crossposted-To: linux.dev.kernel,linux.dev.raid
Subject: Re: Raiding Under Linux?
Date: Sat, 09 Jan 1999 08:16:25 -0500

tried the HOWTOs yet, I believe there is one on raid.
2.0.35 has RAID support, at least I got the option when I made a custom
kernel.
ncc1701d wrote:
> 
> Hi Guys.
> 
> Got a few questions and was wondering if anyone could help me out.  I know
> that Raiding under Linux is supported, but I need to know a few specifics:
> 
> 1.  Does the Linux version of Raid1 (Mirroring) implement a first read
> status?  In other words, do both drives in the mirrored set get used for
> reading as well as writing, thus boosting performance in the mirrored set?
> 
> 2. If not 1, does the mirroring work as an interleaved operation, the kernel
> requests data from a mirrored drive every other request?
> 
> 3. If not 2, in a mirrored situation does the kernel just use the secondary
> drive for writing unless the primary fails, at which time the kernel
> switches over to the secondary drive for all IO?
> 
> Then as far as faulted mirrors are concerned, what happens?
> 
> 1. If a drive fails, does the kernel just throw a message on the
> screen/syslog?
> 
> 2. Does it start a rebuild of the failed drive after formatting? (I HOPE  I
> HOPE :)
> 
> 3. Is a rebuild an interactive situation, where one must pull the bad drive
> and reimplement the mirror using the command line tools?
> 
> Those are pretty much my main questions.  I'm fooling around with Raiding
> right now on some of my Linux boxes, but I thought I would post the
> questions to see what I can dig up.  I would really like to use Linux for
> some of my applications, and would like to keep just commodity based
> hardware in the machine, avoiding hardware solutions if possible.  I know
> that a lot of this is really CPU dependent, but it would be so great if the
> mirroring was all automatic after implementing it for the first time.  Also
> is the raid software in 2.2 going to be finalized after the initial REAL
> release of 2.2 comes out.  It's my understanding that the raiding built into
> the kernel is beta still... Is this right?
> 
> Of Course I'm probably dreaming when it comes to my wants for Linux,
> preferably I would love it if someone would respond back saying that Linux
> supports options 1 and 2 from the above list :)  Is there someone that has a
> web page or three pertaining to Raiding under Linux, or is it still
> something kind of exotic under Linux?
> 
> Thanks for whatever light you can shed on the subject.
> 
> Jason
> 
> PS I know that this is a raid question, but the development system ng is so
> much more popular among people :)

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

From: Mikel Matthews <[EMAIL PROTECTED]>
Subject: Re: STREAMS
Date: Fri, 08 Jan 1999 21:40:35 +0000

Yes there is. You can download the LiS STREAMS package from the
directory:

ftp://ftp.gcom.com/pub/linux/src/streams-1-30-98

In the near future we will be releasing an update that runs on the 2.2
kernels.

> Dan McNaul wrote:
> 
> Hi,
> 
> Does anyone know if the Linux kernal supports the STREAMS sub-system?
> 
> If it does, do you know where the header files are located?
> 
> Thanks
> 
> McNaul

-- 
Thanks,
Mike

Mikel L. Matthews                        (217) 351-4241 (voice)
Gcom, Inc.                               (217) 351-4240 (fax)
1800 Woodfield Drive, Savoy, IL 61874

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

From: [EMAIL PROTECTED] (TGAPE!)
Subject: Re: Registry for Linux - Why?
Date: Fri, 8 Jan 1999 21:09:46 GMT

In article <76n2gi$pc$[EMAIL PROTECTED]>,  <[EMAIL PROTECTED]> wrote:
>Christopher Browne <[EMAIL PROTECTED]> wrote:
>> It would thus be appropriate to provide a Sample Implementation that
>> clearly defines a combination of:
>> - API (so that applications may conveniently get at config data without
>> having to worry about Physical Representation),
>
>I really think that using an API call to get this config info is a bad
>idea...  I think this information would best be served in a plain text
>file... so it can be edited with scripts, and FIXED with text-editors.  We
>all agree that putting that many eggs into a binary file is dangerous.  (or
>a needless risk at any rate)... ONE little goofup and you can't fix it.

He didn't say, 'Make an API to a cryptic binary file', he said make an
API.

One thing that he didn't say in his response (least, if he did, I missed
it), is that with so many programs using this data, and possibly
changing this data, it would be good to have an API so that you have one
program that handles write access to the file propperly.  That is, if it
needs to write to the file, everyone gets put on hold while it does so.

I've seen cases where that didn't happen, it's not pretty.  Especially
when one of the processes that wants to read in the middle of a write is
pulling the file in to make its own modifications, and write them back.
Instant corrupted data.

Another way of putting what he's saying - 'Make a vipw, rather than edit
/etc/passwd directly.'  Sure, vipw's pretty much useless on a
single-user machine.  But in an environment with 20 system
administrators, where any of them can edit /etc/passwd, vipw suddenly
makes a lot more sense.  Of course, since you've also got the new guys
in there, adduser makes more sense.  Oh, my, greater API complexity.

>Two, putting all the configuration stuff into one file makes changes on fly
>trickier than it need be.  Why do you think windows needs to reboot so damn
>much?  I'd have to guess because it's the only way MS can ensure that
>registry changes get "read" into all the apps.

You really think that we can't have our API reload the file without
rebooting?  Bah.

>Two (cont), if you have a constantly changing registry, do you ask that the
>APPS re-read it every now and then to make sure that they are using the most
>up to date info?  Wouldn't this require a whole new CALLBACK type of

No more than you have them re-read the configuration files they already
have.  *Their* information will not change any more rapidly; it's just
that all the changes happen close to the same spot now.

>function ?  If apps (and/or the OS) started depending on a registry,
>wouldn't that registry have to ALWAYS have the latest data?  How would you
>ensure this?  Call a kill -HUP on EVERY program that uses it to ensure the

Each time it handles a response, if it's more than <configurable time>
since it last read the configuration file, it checks the mod timestamp.

>wrappers to half a dozen different languages, (or maybe just talk to it via
>a socket I suppose... but that would REQUIRE networking to be
>installed...but then.. so does X I guess...)

Ever hear of named pipes?  (Pipes always were my special toy...)

On the other hand - so much requires networking these days; it's a
fairly standard feature.  There's also the point that one's
configuration is a *lot* simpler if one doesn't have networking, this
wouldn't be nearly as needed.

Consider, without networking one doesn't have to worry about

ppp
sendmail
named
X
tcp wrappers
netscape
apache
lynx
NNTP
NTP
DHCP
FTP

You probably don't even have to worry about having a light sendmail
replacement or any mail readers.  You probably don't need a newsreader,
the list goes on.  I don't know about you, but the programs I've most
frequently been asked to help configure were X, pppd, and sendmail.

>It just seems like a LOT of work for very little payoff at this point. 
>Aren't there more important things that we *can* do, first?

Maybe better people are working on them, and we'd only get in the way.

Not to mention, if I'm going to cut down on my admin time, I get
something back from this.  The only time I get some added time back from
my kernel hacks is when it saves me from reboot or catastrophic
recovery.  So far, it never has.  (Admittedly, until recently, I've
never even considered my kernel hacks worthy in any significant way.)

Ed Grimm

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

From: [EMAIL PROTECTED] (John E. Davis)
Subject: Re: Escape sequences and slang??
Date: 9 Jan 1999 01:06:08 GMT

On Tue, 05 Jan 1999 21:45:32 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
> I am developing a console mode application using the slang library and
>need to send some specific lower level escape sequences to the console.

Use, e.g.,

   SLtt_write_string (MY_STRING);
   SLtt_flush_output ();
   
--John

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

From: [EMAIL PROTECTED] (Peter Steiner)
Subject: Re: blocksize / file write speed anomaly
Date: 9 Jan 1999 14:24:57 +0100
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, Jerry Dinardo wrote:

>I have included the program so you can see exactly what I did. (although netscape
>reformatted it)
>
>#include <stdio.h>
>#include <stdlib.h>
>#include <unistd.h>
>[...]

This program makes my computer sleep 2 times for 100 seconds each. I
can switch to another console and type commands (and see what I type),
but nothing happens until the fsync() finishes.

I'm using Linux 2.2.0-pre5, Symbios 53c860 and IBM DDRS-39130.

Ciao,

Peter
-- 
   _   x    ___
  / \_/_\_ /,--'  [EMAIL PROTECTED] (Peter Steiner)
  \/>'~~~~//
    \_____/   signature V0.2 alpha

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

From: [EMAIL PROTECTED] (jedi)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.x
Subject: Re: disheartened gnome developer
Date: Fri, 8 Jan 1999 16:19:48 -0800

On Fri, 08 Jan 1999 17:33:44 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>,
>  [EMAIL PROTECTED] (jedi) wrote:
>
>>      Troll Tech, whatever you or I might think of them, are
>>      still just a company. Idealism and wishful thinking
>>      won't alter that or change the constraints that companies
>>      operate under.
>
>Troll Tech, whatever you or I might think of them, is 7 persons,
>some of which I know and consider my friends. It is not some sort
>of faceless multinational corporation.
>
>I have seen them do a lot more that what was needed as a company, just
>because they have ideals. They have always gone the extra mile just
>out of kindness. Dammit, if I were them, and had taken as much sillyness
>as I know they have, I would have kicked the board and gone home long ago.
>
>Please notice I have no commercial relationship with TT, they owe me
>nothing, and I owe them just appreciation for giving things away.

        No, you're just very dependent on their property.
        If I were squating, I would suck up to the land
        owner as well.

-- 
                Herding Humans ~ Herding Cats
  
Neither will do a thing unless they really want to, or         |||
is coerced to the point where it will scratch your eyes out   / | \
as soon as your grip slips.

        In search of sane PPP docs? Try http://penguin.lvcm.com

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

From: [EMAIL PROTECTED] (jedi)
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.x
Subject: Re: disheartened gnome developer
Date: Fri, 8 Jan 1999 16:18:23 -0800

On 08 Jan 1999 00:34:58 -0500, Adam P. Jenkins <[EMAIL PROTECTED]> wrote:
>[EMAIL PROTECTED] (jedi) writes:
>> On 7 Jan 99 22:18:32 GMT, Adam P. Jenkins <[EMAIL PROTECTED]> wrote:
>> >In article <[EMAIL PROTECTED]>,
>> >Perry Pip <[EMAIL PROTECTED]> wrote:
>> >>But suppose you fork the code and create your own version called NavQt,
>> >>distributed as patch+original. If your version becomes popular, Troll Tech
>> >>can instantly include your patches in their version, making it part of
>> >>thier *commercial* product, charging people money for the commercial
>> >>version. You are not on the same level with them. You do not have equal
>> >>rights, even to your own work, under the qpl. If you can accept that,
>> >>that's fine for you.
>> >>
>> >>Redhat is spending $$$ on gnome development. But nowhere in the copyright
>> >>or license does it say that they exclusivly own or control it. They are
>> >>part owners of the copyright, and if you contribute a worthwhile patch,
>> >>you become a part owner too. Redhat plans to make money selling service
>> >>and support for gnome, which you can do as well. 
>> >>
>> >>So there is a key difference in business model here. Redhat dishes out
>> >>free software under GPL/LGPL and hopes to make money on service and
>> >>support. Troll tech is trying to make money via license royalties. In this
>> >>respect Troll Tech's business model has more in common with Microsoft than
>> >>it does with Redhat. 
>> >>
>> >>If your happy with Troll Tech's terms, and want to develop with Qt/KDE, go
>> >>for it. If your happy with Microsofts terms, and want to develop with
>> >>Visual Studio, go for it. I personally find Gnome/GPL/LGPL the least of
>> >>the evils. 
>> >
>> >I think you give a pretty balanced overview here, but I think the
>> >way you insinuate that Troll Tech and Microsoft are similar is
>> >pretty disingenuous.  The way I see Troll Tech is: they offer what
>> 
>> [deletia]
>> 
>>      Troll Tech, whatever you or I might think of them, are
>>      still just a company. Idealism and wishful thinking
>>      won't alter that or change the constraints that companies
>>      operate under.
>
>Yet another cryptic and irrelevant message from you!  Why don't you
>ever say directly whatever it is you're trying to say?  Why is it
>relevant that Troll Tech is a company?  RedHat is a company too.

        Redhat doesn't retain singular ownership of anything.
        If they did, they would be no less dangerous than 
        Troll or Microsoft.

        Read up on what a company or corporation is.

[deletia]

-- 
                Herding Humans ~ Herding Cats
  
Neither will do a thing unless they really want to, or         |||
is coerced to the point where it will scratch your eyes out   / | \
as soon as your grip slips.

        In search of sane PPP docs? Try http://penguin.lvcm.com

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

From: Wim Nederend <[EMAIL PROTECTED]>
Subject: mounting ufs filesystems read/write
Date: Sat, 09 Jan 1999 03:06:44 +0100
Reply-To: [EMAIL PROTECTED]

I have a PC, installed Solarisx86 release 2.6, MS Windows NT and Redhat 5.2 on it.

I wish to access my Solaris partitions from linux.

I just finished installing kernel 2.2.0-pre4.
I compiled the kernel not using modules (because I'm afraid it interferes with my 
2.0.36 installation),
with UFS filesystem support and Solaris x86 patition table support.

After booting, 'dmesg' nicely reports my Solaris partitions:
Partition check:
 hda: hda1 hda2 <solaris: [s0] hda5 [s1] hda6 [s2] hda7 [s5] hda8 [s6] hda9 [s7] hda10 
> hda3
 hdc: hdc1 hdc2 <solaris: [s2] hdc5 [s4] hdc6 [s5] hdc7 [s6] hdc8 [s7] hdc9 > hdc3 
hdc4 < hdc10 >

Succeeded to mount hdc9:
 mount -v -t ufs -o ufstype=sun /dev/hdc9 /tmpmnt
output:
/dev/hdc9 on /tmpmnt type ufs (rw,ufstype=sun)

Reading all files on the partition is possible, but touching a file on it results in:

touch: /tmpmnt/wim/wimpy: Read-only file system

Did anybody manage to mount ufs filesystems read/write?

Wim Nederend, [EMAIL PROTECTED]




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

From: [EMAIL PROTECTED] (Chris Hedley)
Subject: Re: blocksize / file write speed anomaly
Date: 9 Jan 1999 14:04:00 GMT

In article <[EMAIL PROTECTED]>,
        Jerry Dinardo <[EMAIL PROTECTED]> writes:
> I have tested it on 4 ibm pc's (different speeds and linux versions).
> The only time , that I got results similar to yours was when I ran it on an AIX
> machine(model r30 - 4 pc 604 processors - 256 M memory).

Just for the record, my results were 7 and 224 seconds respectively.  My I/O card
is an Adaptec AIC-7895 and the disc I was using is an IBM DDRS-34560W.  The OS is
Linux 2.0.0-pre1.

Chris.

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

From: Frank Hale <[EMAIL PROTECTED]>
Subject: boot problems with 2.2.0-pre5
Date: Fri, 08 Jan 1999 21:25:23 -0500

I just installed the kernel 2.1.132 and patched it too 2.2.0-pre5 then I
compiled it and installed it and when I boot I get the following
messages

Jan  8 04:22:23 localhost kernel: klogd 1.3-3, log source = /proc/kmsg
started.
Jan  8 04:22:23 localhost kernel: Cannot find map file.
Jan  8 04:22:23 localhost kernel: Error seeking in /dev/kmem 
Jan  8 04:22:23 localhost kernel: Error adding kernel module table
entry. 
Jan  8 04:22:23 localhost kernel: Linux version 2.2.0-pre5 

Its not loading my modules and doesn't work correctly after boot. I
copied the System.map file over too /boot/ and changed the symlink to
point to my new System .map and I have done everything I could think of
to get it too load the modules still it does not. What am I missing
here? Thanx.....

-- 
From:      Frank Hale
Email:     [EMAIL PROTECTED]
ICQ:       7205161
Homepage:  http://members.xoom.com/frankhale/
Jade:      http://jade.netpedia.net/

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

From: Frank Hale <[EMAIL PROTECTED]>
Subject: make xconfig
Date: Fri, 08 Jan 1999 21:26:03 -0500

Hello I just recently downloaded kernel 2.1.132 and am trying to get it
installed under RH 5.2. I untar'd it and did make xconfig and after I
finish configuring the kernel it tells me

WARNING - broken Config.in!  CONFIG_PMAC was not declared!
WARNING - broken Config.in!  CONFIG_APOLLO was not declared!
WARNING - broken Config.in!  CONFIG_MAC was not declared!
WARNING - broken Config.in!  CONFIG_HP300 was not declared!
WARNING - broken Config.in!  CONFIG_FB_MAC was not declared!
WARNING - broken Config.in!  CONFIG_FB_G364 was not declared!
WARNING - broken Config.in!  CONFIG_FB_TBOX was not declared!
WARNING - broken Config.in!  CONFIG_FB_MDA was not declared!
WARNING - broken Config.in!  CONFIG_FB_VGA was not declared!
WARNING - broken Config.in!  CONFIG_AMIGA was not declared!
WARNING - broken Config.in!  CONFIG_ARM was not declared!
WARNING - broken Config.in!  CONFIG_ATARI was not declared!
WARNING - broken Config.in!  CONFIG_PPC was not declared!
WARNING - broken Config.in!  CONFIG_ZORRO was not declared!
WARNING - broken Config.in!  CONFIG_ARCH_ACORN was not declared!
WARNING - broken Config.in!  CONFIG_ARCH_ARC was not declared!
WARNING - broken Config.in!  CONFIG_ARCH_A5K was not declared!
WARNING - broken Config.in!  CONFIG_MIPS_JAZZ was not declared!
WARNING - broken Config.in!  m was not declared!
WARNING - broken Config.in!  CONFIG_ALPHA_BOOK1 was not declared!

Does anyone know what these messages mean? The kernel compiles with no
errors.

-- 
From:      Frank Hale
Email:     [EMAIL PROTECTED]
ICQ:       7205161
Homepage:  http://members.xoom.com/frankhale/
Jade:      http://jade.netpedia.net/

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.advocacy,comp.os.linux.development.apps,comp.os.linux.x
Subject: Re: disheartened gnome developer
Date: Sat, 09 Jan 1999 14:48:45 GMT

In article <[EMAIL PROTECTED]>,
  [EMAIL PROTECTED] (jedi) wrote:
> >Yet another cryptic and irrelevant message from you!  Why don't you
> >ever say directly whatever it is you're trying to say?  Why is it
> >relevant that Troll Tech is a company?  RedHat is a company too.
>
>       Redhat doesn't retain singular ownership of anything.
>       If they did, they would be no less dangerous than
>       Troll or Microsoft.
>
>       Read up on what a company or corporation is.

Jedi, your grasp on reality is starting to look... inadequate.
I would be very very surprised if the software written by Red Hat
employees on work time didnt have a nice "copyright by Red Hat" sign on
it.

Red Hat does own the code they create, just like Troll Tech and Microsoft.
That you have a copy of it under the GPL doesn't mean they can't later
re-release it under a proprietary license.

Yes, jedi, just like you always said Troll Tech would do (and apparently you
still think so). Of course I don't think Red Hat will, just like I knew TT
wouldn't, but then again I don't live in that dark world you live in.

BTW: same argument works with the FSF. The only code owner I know that
has made legal arrangements for this not to happen is Troll Tech. Amazing,
isn't it?

--
Roberto Alsina (KDE developer, MFCH)

============= Posted via Deja News, The Discussion Network ============
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

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

From: mvrao <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: CDROM under DOSEMU
Date: Sat, 09 Jan 1999 15:31:29 +0000

How do I get dosemu to recognize my CDROM drive ?


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


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