Linux-Development-Sys Digest #650, Volume #8 Wed, 18 Apr 01 00:13:09 EDT
Contents:
Minimized Linux ("Ludwig")
movl %ax,%ds " ?? what does "l" means ??? ("hushui")
Re: How do I initiate Gnome? ("ray")
Re: Minimized Linux ([EMAIL PROTECTED])
Re: IO system throughput (Paul Repacholi)
Re: killing a parent process also kills childern ? (Thanh-Lam NGUYEN)
Re: movl %ax,%ds " ?? what does "l" means ??? (Alexander Viro)
Re: a newbie in linux device driver writing. ([EMAIL PROTECTED])
Re: linux c++ problem
Re: How do I initiate Gnome? ([EMAIL PROTECTED])
Re: a newbie in linux device driver writing.
Re: Accessing PCI device from user space ("Kent B. Larsen")
Re: Minimized Linux (Ed Clarke)
Re: IO system throughput (Mark Hahn)
Re: The reason for static... (Nix)
Forerunner LE 25 driver ("Tolu Makinde")
Re: How do I initiate Gnome? ("Greg Knopf")
Re: How do I initiate Gnome? ("ray")
Physical Memory Size? ([EMAIL PROTECTED])
Booting Linux on a robot (Jasmin Letendre)
Re: Physical Memory Size? ("hushui")
What is command line ??? ("hushui")
Re: Booting Linux on a robot (Allin Cottrell)
Re: How do I initiate Gnome? (Allin Cottrell)
Re: glibc2.2.2 make error (Allin Cottrell)
Re: How do I initiate Gnome? ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: "Ludwig" <[EMAIL PROTECTED]>
Subject: Minimized Linux
Date: Tue, 17 Apr 2001 15:07:52 GMT
How can I do a minimized installation of Linux that supports TCP/IP and
doesn't need more than 30 MB. Or where can I find info about doing such an
installation?
The HOWTO's I found on this subject resulted in installations of more than
30 MB. How can I reduce the needed space?
Thanks
Ludwig
------------------------------
From: "hushui" <[EMAIL PROTECTED]>
Subject: movl %ax,%ds " ?? what does "l" means ???
Date: Tue, 17 Apr 2001 23:22:49 +0800
movl %ax,%ds " ?? what does "l" means ???
In At&t 's asm , there are many instructions end with "l"
,such as movl,pushl??
what does "l" means ??
long????
------------------------------
From: "ray" <[EMAIL PROTECTED]>
Subject: Re: How do I initiate Gnome?
Date: Wed, 18 Apr 2001 00:20:49 +0800
Dear Browne,
I have left the Unix industry for a few years already. Now I am moving back
to Unix/Linux environment believing that this is the future. I did not
realised that there are so many changes being made to Linux and I am very
happy to be back. So now, I am picking up new terms and working on new
environment. If I have offended you, please ignore my posting.
Thank you
<[EMAIL PROTECTED]> wrote in message
news:xcYC6.161796$[EMAIL PROTECTED]...
> "ray" <[EMAIL PROTECTED]> writes:
> > How do I initiate a gnome from fvwm?
>
> This is a nonsequitor. Gnome is a set of libraries used to build some
> "desktop" applications. There is no single thing called Gnome that
> you would initiate.
>
> Do you want to run a spreadsheet? Head to a shell and type
> "gnumeric," or add gnumeric to the fvwm menu.
>
> Do you want to run the Gnome "panel?" s/gnumeric/panel/g
> --
> (concatenate 'string "cbbrowne" "@ntlug.org")
> http://vip.hyperusa.com/~cbbrowne/resume.html
> All syllogisms have three parts, therefore this is not a syllogism.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Minimized Linux
Date: Tue, 17 Apr 2001 16:28:49 GMT
"Ludwig" <[EMAIL PROTECTED]> writes:
> How can I do a minimized installation of Linux that supports TCP/IP
> and doesn't need more than 30 MB. Or where can I find info about
> doing such an installation?
> The HOWTO's I found on this subject resulted in installations of
> more than 30 MB. How can I reduce the needed space?
There are a whole bunch of "embedded" Linux systems that fit on a
floppy. Some listed at:
<http://vip.hex.net/~cbbrowne/linuxdistembed.html>
--
(reverse (concatenate 'string "gro.mca@" "enworbbc"))
http://vip.hex.net/~cbbrowne/resume.html
"You can measure a programmer's perspective by noting his attitude on
the continuing vitality of FORTRAN." -- Alan Perlis
------------------------------
Subject: Re: IO system throughput
From: Paul Repacholi <[EMAIL PROTECTED]>
Date: 18 Apr 2001 00:28:11 +0800
William Morris <[EMAIL PROTECTED]> writes:
> We are trying to achieve a disk transfer rate of 90-100MB/s using a
> pair of Qlogic ISP2100 cards each attached to a fibrechannel disk
> array capable of around 90MB/s each. The required performance is
> possible on NT (using just one disk) but on Linux is causing us
> problems. We can achieve around 70MB/s from one disk but only 45MB/s
> each when both disks are active at the same time.
Seems like a PCI arbitration problem is the most likley.
BTW, a real-time rule of thumb is that you need 10X performace on the
raw iron to garentee X performance. You do not say what the system is.
Are both PCI64s on one internal bus?
--
Paul Repacholi 1 Crescent Rd.,
+61 (08) 9257-1001 Kalamunda.
West Australia 6076
Raw, Cooked or Well-done, it's all half baked.
------------------------------
From: Thanh-Lam NGUYEN <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development
Subject: Re: killing a parent process also kills childern ?
Date: Tue, 17 Apr 2001 18:08:04 +0200
Yoav Zach wrote:
> I wrote the simplest piece of code, in which a process creates a new one and
> they both wait for input from the keyboard. Now, when killing the parent
> process ( by sending it SIGTERM ), the child process is killed too. I can't
> figure out who kills it and why. Does anyone knows the answer ?
When the parent process is killed, it sends a SIGUP to every child.
As there's no default handler for this signal, the child process kills itself.
In order to keep the child and not the parent, you'll have to handle this
signal.
------------------------------
From: [EMAIL PROTECTED] (Alexander Viro)
Subject: Re: movl %ax,%ds " ?? what does "l" means ???
Date: 17 Apr 2001 13:04:32 -0400
In article <9bhmvj$[EMAIL PROTECTED]>,
hushui <[EMAIL PROTECTED]> wrote:
>
>movl %ax,%ds " ?? what does "l" means ???
movl %eax, %ds
>In At&t 's asm , there are many instructions end with "l"
>,such as movl,pushl??
>what does "l" means ??
>long????
Yup. You get
movl $0, i
instead of
MOV [DWORD i], 0
--
"You're one of those condescending Unix computer users!"
"Here's a nickel, kid. Get yourself a better computer" - Dilbert.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: a newbie in linux device driver writing.
Crossposted-To: fa.linux.kernel
Date: Tue, 17 Apr 2001 17:51:06 GMT
In comp.os.linux.development.system alan <[EMAIL PROTECTED]> wrote:
: true (and it's still a good book), that's why there's going to be a second
: edition...you can also get beta's of the new example source (which does
: support 2.4) for the second edition from
I've seen this mentioned a lot ... do you know the ETA on the 2nd edition?
--
Jeff Gentry [EMAIL PROTECTED] [EMAIL PROTECTED]
SEX DRUGS UNIX
------------------------------
From: [EMAIL PROTECTED] ()
Subject: Re: linux c++ problem
Date: Tue, 17 Apr 2001 18:14:05 -0000
In article <9bgp2p$cdf$[EMAIL PROTECTED]>, Robert Pond <[EMAIL PROTECTED]> wrote:
>Does anybody know why this snippet only creates one child process?
Because fork() is what creates another process and you only
called it once.
--
http://www.spinics.net/linux/
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: How do I initiate Gnome?
Date: Tue, 17 Apr 2001 18:16:30 GMT
"ray" <[EMAIL PROTECTED]> writes:
> I have left the Unix industry for a few years already. Now I am
> moving back to Unix/Linux environment believing that this is the
> future. I did not realised that there are so many changes being made
> to Linux and I am very happy to be back. So now, I am picking up new
> terms and working on new environment. If I have offended you, please
> ignore my posting.
No offense taken; it's just that your question doesn't directly admit
a useful answer; Gnome components are able to start themselves when
needed, so all you really need to do is to start some application you
consider useful, and it'll do what's needed to start up other pieces.
--
(concatenate 'string "cbbrowne" "@acm.org")
http://vip.hyperusa.com/~cbbrowne/resume.html
Given recent events in Florida, the tourism board in Texas has
developed a new advertising campaign based on the slogan "Ya'll come
to Texas, where we ain't shot a tourist in a car since November 1963."
------------------------------
From: [EMAIL PROTECTED] ()
Crossposted-To: fa.linux.kernel
Subject: Re: a newbie in linux device driver writing.
Date: Tue, 17 Apr 2001 18:17:15 -0000
In article <eo%C6.2354$[EMAIL PROTECTED]>,
<[EMAIL PROTECTED]> wrote:
>In comp.os.linux.development.system alan <[EMAIL PROTECTED]> wrote:
>: true (and it's still a good book), that's why there's going to be a second
>: edition...you can also get beta's of the new example source (which does
>: support 2.4) for the second edition from
>I've seen this mentioned a lot ... do you know the ETA on the 2nd edition?
I haven't heard but many of the changes for 2.2 and 2.4 are documented
here:
http://www.atnf.csiro.au/~rgooch/linux/docs/porting-to-2.2.html
http://www.atnf.csiro.au/~rgooch/linux/docs/porting-to-2.4.html
--
http://www.spinics.net/linux
------------------------------
Crossposted-To: comp.os.linux.development.apps
From: "Kent B. Larsen" <[EMAIL PROTECTED]>
Subject: Re: Accessing PCI device from user space
Date: Tue, 17 Apr 2001 18:41:07 GMT
see Bill Alexander's:
A Linux IEEE 1394 Configuration ROM Decoder at:
<http://www.geocities.com/SiliconValley/Haven/4824/ieee1394.html>
Slawek Grajewski wrote:
>
> Hello,
>
> I'm looking for hints on how to map memory of a PCI card into a user process
> address space. I just want to have direct access to this memory without
> kernel/user mode copying. Anyone has an idea?
>
> TIA,
> Slawek
------------------------------
From: [EMAIL PROTECTED] (Ed Clarke)
Subject: Re: Minimized Linux
Date: Tue, 17 Apr 2001 20:55:50 +0000 (UTC)
On Tue, 17 Apr 2001 16:28:49 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>"Ludwig" <[EMAIL PROTECTED]> writes:
>> How can I do a minimized installation of Linux that supports TCP/IP
>> and doesn't need more than 30 MB. Or where can I find info about
>> doing such an installation?
>> The HOWTO's I found on this subject resulted in installations of
>> more than 30 MB. How can I reduce the needed space?
>
>There are a whole bunch of "embedded" Linux systems that fit on a
>floppy. Some listed at:
> <http://vip.hex.net/~cbbrowne/linuxdistembed.html>
Also do a search on "linux router project". That's a floppy only system;
the deluxe version uses TWO whole floppies (reformatted for 1.7 meg).
------------------------------
From: Mark Hahn <[EMAIL PROTECTED]>
Subject: Re: IO system throughput
Date: 17 Apr 2001 20:57:58 GMT
> Seems like a PCI arbitration problem is the most likley.
or attempting to run old code.
> BTW, a real-time rule of thumb is that you need 10X performace on the
> raw iron to garentee X performance. You do not say what the system is.
> Are both PCI64s on one internal bus?
considering that it's quite possible to sustain >90 MB/s over
~4 IDE disks on 32*33 PCI, the bus's specs are definitely not the problem.
------------------------------
From: Nix <$}xinix{[email protected]>
Subject: Re: The reason for static...
Date: 17 Apr 2001 21:48:34 +0100
On Tue, 17 Apr 2001, [EMAIL PROTECTED] gibbered:
> You must have a _frightfully awful_ text on C if it didn't mention
> the namespace issue. You need to see about getting a better book.
Hell, even Schildt's books mention that use of static.
What book *is* it? Should it come with a public health warning?
--
`... and it's not true that I'm closely related to the three-toed
sloth.' --- Kieran
------------------------------
From: "Tolu Makinde" <[EMAIL PROTECTED]>
Subject: Forerunner LE 25 driver
Date: Tue, 17 Apr 2001 14:35:43 -0700
Does anyone know where I could get a linux driver for the ForeRunner LE 25
ATM adapter card? I downloaded the one from
http://frontpage.hypermall.com/linuxatm/forerunner_le_25.htm, but I couldn't
get it to compile.
Thanks,
Tolu
------------------------------
Reply-To: "Greg Knopf" <[EMAIL PROTECTED]>
From: "Greg Knopf" <[EMAIL PROTECTED]>
Subject: Re: How do I initiate Gnome?
Date: Wed, 18 Apr 2001 00:00:57 GMT
If you edit your .xinitrc file, you can specify a window manager, such as
fvwm or afterstep or whatever. I think what you want to do is start
"enlightenment" instead of fvwm, and you will get a gnome environment.
ray <[EMAIL PROTECTED]> wrote in message
news:9bh0m0$kp2$[EMAIL PROTECTED]...
> How do I initiate a gnome from fvwm?
> Thanks
>
>
------------------------------
From: "ray" <[EMAIL PROTECTED]>
Subject: Re: How do I initiate Gnome?
Date: Wed, 18 Apr 2001 08:53:15 +0800
I do not understand how Gnome components workst. Someone suggest (which I
have not tried it out) using ~/.xinitrc. That is a good start for me. If I
remember correctly, Unix services are all initiated from command line one
after another. (It could be shell scripts). What I am trying to find is the
script to initiate the Gnome component services.
<[EMAIL PROTECTED]> wrote in message
news:2M%C6.162109$[EMAIL PROTECTED]...
> "ray" <[EMAIL PROTECTED]> writes:
> > I have left the Unix industry for a few years already. Now I am
> > moving back to Unix/Linux environment believing that this is the
> > future. I did not realised that there are so many changes being made
> > to Linux and I am very happy to be back. So now, I am picking up new
> > terms and working on new environment. If I have offended you, please
> > ignore my posting.
>
> No offense taken; it's just that your question doesn't directly admit
> a useful answer; Gnome components are able to start themselves when
> needed, so all you really need to do is to start some application you
> consider useful, and it'll do what's needed to start up other pieces.
> --
> (concatenate 'string "cbbrowne" "@acm.org")
> http://vip.hyperusa.com/~cbbrowne/resume.html
> Given recent events in Florida, the tourism board in Texas has
> developed a new advertising campaign based on the slogan "Ya'll come
> to Texas, where we ain't shot a tourist in a car since November 1963."
------------------------------
From: [EMAIL PROTECTED]
Subject: Physical Memory Size?
Date: 18 Apr 2001 01:24:49 GMT
>From a driver, how can I determine the physical memory size of my machine? I
already know about the High_Memory variable but that is adjusted according to
the append="mem=nM" convention in the lilo.conf file. I want to determine the
actual size of physical memory.
Thanks in advance.
Gary R. Day
[EMAIL PROTECTED]
----- Posted via NewsOne.Net: Free (anonymous) Usenet News via the Web -----
http://newsone.net/ -- Free reading and anonymous posting to 60,000+ groups
NewsOne.Net prohibits users from posting spam. If this or other posts
made through NewsOne.Net violate posting guidelines, email [EMAIL PROTECTED]
------------------------------
From: Jasmin Letendre <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,alt.os.linux.mandrake,comp.os.linux.misc
Subject: Booting Linux on a robot
Date: Wed, 18 Apr 2001 02:49:41 GMT
I'm currently developping a six legged robots. The robot has an on-board
conmputer and we want it to boot from a flash disk. We use Linux
Mandrake. After long hour of trial and error, we managed to boot from
the flash disk and have the prompt for a logging name.
The problem is that any user name we enter (even root!) gives a "login
invalid" without even asking for a password. And if we press
Ctrl+Alt+Delete, it says "You don't exist. Go away!"
Does anybody has an idea about this problem?
Thanks.
Jasmin
------------------------------
From: "hushui" <[EMAIL PROTECTED]>
Subject: Re: Physical Memory Size?
Date: Wed, 18 Apr 2001 11:11:35 +0800
I think the size of mem can be founded in the files in the directory of
/proc.
But I don't know which file it is in .
<[EMAIL PROTECTED]> wrote in message
news:9biqd1$4m6$[EMAIL PROTECTED]...
> From a driver, how can I determine the physical memory size of my machine?
I
> already know about the High_Memory variable but that is adjusted according
to
> the append="mem=nM" convention in the lilo.conf file. I want to determine
the
> actual size of physical memory.
>
> Thanks in advance.
>
> Gary R. Day
> [EMAIL PROTECTED]
>
>
> ----- Posted via NewsOne.Net: Free (anonymous) Usenet News via the
eb -----
> http://newsone.net/ -- Free reading and anonymous posting to 60,000+
groups
> NewsOne.Net prohibits users from posting spam. If this or other posts
> made through NewsOne.Net violate posting guidelines, email
[EMAIL PROTECTED]
------------------------------
From: "hushui" <[EMAIL PROTECTED]>
Subject: What is command line ???
Date: Wed, 18 Apr 2001 11:14:38 +0800
I just read lilo reference .
It says ,lilo put command line to the first page (00000--01000).
Is it the same as kernel command line ??
Where will it be handled ??
Thank you .
------------------------------
From: Allin Cottrell <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Booting Linux on a robot
Date: Tue, 17 Apr 2001 23:27:49 -0400
Jasmin Letendre wrote:
>
> I'm currently developping a six legged robots. The robot has an on-board
> conmputer and we want it to boot from a flash disk. We use Linux
> Mandrake. After long hour of trial and error, we managed to boot from
> the flash disk and have the prompt for a logging name.
>
> The problem is that any user name we enter (even root!) gives a "login
> invalid" without even asking for a password. And if we press
> Ctrl+Alt+Delete, it says "You don't exist. Go away!"
>
> Does anybody has an idea about this problem?
You might want to see how Agenda have set things up for their Linux
PDA. www.agendacomputing.com + source on their ftp site.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
------------------------------
From: Allin Cottrell <[EMAIL PROTECTED]>
Subject: Re: How do I initiate Gnome?
Date: Tue, 17 Apr 2001 23:24:40 -0400
[EMAIL PROTECTED] wrote:
>
> "ray" <[EMAIL PROTECTED]> writes:
> > How do I initiate a gnome from fvwm?
>
> This is a nonsequitor. Gnome is a set of libraries used to build some
> "desktop" applications. There is no single thing called Gnome that
> you would initiate.
Well, it's more than a set of libraries and surely it's safe to assume
that the OP wants the gnome "desktop" started up. The command to put
into ~/.xinitrc is "gnome-session", I believe. This will start the
panel and mc, sprinkle icons around, fire up various daemons and
so on.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
------------------------------
From: Allin Cottrell <[EMAIL PROTECTED]>
Subject: Re: glibc2.2.2 make error
Date: Tue, 17 Apr 2001 23:33:59 -0400
Greg Ellison wrote:
> After checking I found the libgd.so.1.8.3 in /usr/lib
> The header gd.h is in /usr/include but not in the linux-2.2.16/include and
> I assume that this is where glibc-2.2.2 get its headers as they are the
> same
> How do I get it to use the /usr/include ones, do I use
> --with-headers=/usr/include
> or --with-headers=/usr/src/linux-2.2.16/include /usr/include ????
You shouldn't be mixing up glibc and the kernel. The kernel "tree"
(under /usr/src/linux-2.2.16) is not a good place to be compiling
the C library. /usr/src/glibc-2.2.2 would be sensible. Read the
INSTALL documentation (and think about what you want to specify
in the "--prefix=XXX" option to configure.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: How do I initiate Gnome?
Crossposted-To: comp.os.linux.x
Date: Wed, 18 Apr 2001 04:04:39 GMT
"ray" <[EMAIL PROTECTED]> writes:
> I do not understand how Gnome components workst. Someone suggest
> (which I have not tried it out) using ~/.xinitrc. That is a good
> start for me. If I remember correctly, Unix services are all
> initiated from command line one after another. (It could be shell
> scripts). What I am trying to find is the script to initiate the
> Gnome component services.
Gnome component services are controlled by something called "goad,"
the "Gnome Object Activation Directory." Services are preregistered
there, based on .gnorba files found in /etc/CORBA/servers.
If an application using the Gnome libraries requires a service, it
first looks to see if the ORBit name server is running. If not, it
starts it up. If it is running, the name server is queried about the
required service.
If the service _isn't_ running, goad looks to /etc/CORBA/servers to
see how to invoke the program, and then does so.
This happens on demand, when you run an application. It more or less
"boots itself," so there is no need to put anything into your
xsession file to get it started.
For instance, if I run Galeon, a GNOME-ized version of Mozilla, and
ask to download a file, it automatically, without my needing to do
anything, starts up GTM, the "Gnome Transfer Manager."
Similar things happen with KDE applications; they don't use CORBA for
interprocess communications, but rather a library called DCOP.
Additional services get spawned when needed.
I'm pretty sure this is not what you're used to; you're likely
accustomed to services having to be conspicuously started and stopped,
as happens with daemons managed using init. The "desktop systems"
manage their services in an event-driven manner that eliminates that
visible startup process.
I'll reiterate: If you have some _application_ you want to invoke from
the very beginning, feel free to do so, tossing it into .xsession or
xinitrc.
The most likely candidate is a program called "gnome-session," which
provides the service of recreating groupings of Gnome-based
applications. If you've got Galeon, gedit, Abiword, and Gnumeric all
running, this session, gnome-session can save that information, and
next time you start up X and run gnome-session, it'll pop up Galeon,
gedit, Abiword, and Gnumeric.
The second most likely candidate is that you might want to start the
Gnome "panel," which is an application launcher fairly much analagous
to the NeXTstep "dock" or the "MS Office" icon bar that sits along an
edge of the screen.
If you're sure you'd want to run a Gnome-based text editor, like
"gedit" or "glimmer," feel free.
If you like tossing up a system monitor, like gtop, go ahead.
Beyond that, I'd not worry about it. You don't need to directly start
up "gtm," or the name server, or esd (sound server), or any of the
other components. Invoke the applications that you want.
--
(concatenate 'string "aa454" "@freenet.carleton.ca")
http://www.ntlug.org/~cbbrowne/resume.html
"Why use Windows, since there is a door?"
-- <[EMAIL PROTECTED]> Andre Fachat
------------------------------
** 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 by posting to the
comp.os.linux.development.system newsgroup.
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
******************************