Linux-Development-Sys Digest #206, Volume #7 Sat, 18 Sep 99 06:14:15 EDT
Contents:
Linux SMP!! (Jeong Jin Guk)
Re: DMA and CURRENT->buffer (Laurent Chavey)
Request for bug tracking software (Anthony Di Paola)
LILO source code ("EddieC")
Machine won't utilize swap space (Wallace Barnes)
Linux SMP (Jeong Jin Guk)
Re: help.. 'memcpy_fromfs' unresolved sysmbol when loading module (ellis)
Re: Machine won't utilize swap space (ellis)
Adding swap space to drive with data... easy? (Mark D'Ascenzo)
Re: write / writev guaranteed autonomous? (Nicholas Dronen)
Re: write / writev guaranteed autonomous? ("Glen Parker")
Re: Adding swap space to drive with data... easy? (Chris Gregory)
Re: survey linux project. (Ed Lang)
Re: How to get mylib.so from mylib.a ? (Carsten Prinz)
----------------------------------------------------------------------------
From: Jeong Jin Guk <[EMAIL PROTECTED]>
Subject: Linux SMP!!
Date: Sat, 18 Sep 1999 11:59:47 +0900
I have a question!!
I did setting SMP in Linux OS..
Linux version is 2.2.5...
By the way, error is happened....
Error is the contents about SCSI...
And, sometimes, computer is downed...
Why did this error happen?
Possibly, which patch is needed??
Please, give me an answer!!
p.s. Possibly, if there is a man that patch "pset" in Linux, I ask that
contact me.....
------------------------------
From: Laurent Chavey <[EMAIL PROTECTED]>
Subject: Re: DMA and CURRENT->buffer
Date: Fri, 17 Sep 1999 09:42:19 -0700
This is a multi-part message in MIME format.
==============085759A90AFC2976BEBCED50
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
let me know if you get any responses, I have also tried
to get information about the "DMAness" of scsi request
without any luck.
Mark McDougall wrote:
> Hi all,
>
> Didn't get much of a response from my last request so I'll try a
> slightly different tack...
>
> I have a block device driver for a PCI bus-mastering card. It emulates a
> storage device, ie. you can create a file system on it (this much should
> be obvious). At the moment I have it doing DMA directly into
> CURRENT->buffer. However...
>
> I have simply assumed (at this stage) that the buffer is locked into
> memory and contiguous. ***Is this a valid assumption???***
>
> Secondly, I've set blksize for the device at 2K - it dies when I try to
> use 4K. I'm guessing the kernel needs a bit of overhead when packing
> block buffers into physical pages and this is why it dies??? Yes/No???
> Anyone else used large block sizes???
>
> Lastly, I can't seem to 'persuade' linux to read large chunks of blocks
> from my device. I've set readahead to 128 sectors but I'm only seeing
> 2,4 or 8 blocks typically being requested. Can I force it to request
> larger chunks? And are there any assumptions I can make about the
> alignment of the blocks? eg. will 4-block chunks *always* be on the
> 4-block boundary???
>
> In a nutshell, this device realises its full potential with large (64K+)
> transfers. Can this be achieved under Linux, or does this just *NOT*
> happen? If not, I can be happy with what I've got...
>
> Regards,
>
> --
> | Mark McDougall |
> | Engineer |
> | Virtual Logic Pty Ltd |
> | http://www.vl.com.au |
==============085759A90AFC2976BEBCED50
Content-Type: text/x-vcard; charset=us-ascii;
name="chavey.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Laurent Chavey
Content-Disposition: attachment;
filename="chavey.vcf"
begin:vcard
n:;Laurent Chavey
x-mozilla-html:FALSE
version:2.1
email;internet:[EMAIL PROTECTED]
x-mozilla-cpt:;0
fn:Laurent Chavey
end:vcard
==============085759A90AFC2976BEBCED50==
------------------------------
From: Anthony Di Paola <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Request for bug tracking software
Date: Wed, 15 Sep 1999 14:17:36 -0400
Can anyone recomend a decent bug tracking tool that will work with a
Linux server and NT client systems?
Thanks in advance
Anthony Di Paola
Nitidus Technology Inc.
--
Anthony Di Paola
Nitidus Technology Inc.
------------------------------
From: "EddieC" <[EMAIL PROTECTED]>
Subject: LILO source code
Date: Fri, 17 Sep 1999 22:14:58 -0500
Is the LILO source code under the GNU agreement? Where can I get the code? I
would like to play around with it a bit. Thanks.
------------------------------
From: Wallace Barnes <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,comp.os/linux.setup
Subject: Machine won't utilize swap space
Date: Fri, 17 Sep 1999 13:07:24 -0400
Reply-To: [EMAIL PROTECTED]
I have PII 233Mhz system (multiple SCSI / IDE drives, 98MB RAM) running
Slackware kernel 2.0.36. I've allocated a 120MB partition to as swap and
have it automatically utilized a system bootup via the /etc/fstab entry.
When my system gets tearing, it can really eat into the system memory.
Sometimes it freeze or start running slowly because it never utilizes
the swap space when it's used up the free memory. when I type the "free"
command, it shows the though memory is used up and still the swap space
( which regesters in the output of that same command ) nevers gets used.
I utilized partitions on other drives, to ensure that the first was not
bad, to no avail. Is there anything special I need to do get the swap to
be utilized once physical memory is used up ? I've tried manually
running the swapon/off commands also to no avail. Has anyone run into
this ? If so, how did you fix it ? Thanks.
-Wally
[EMAIL PROTECTED]
------------------------------
From: Jeong Jin Guk <[EMAIL PROTECTED]>
Subject: Linux SMP
Date: Sat, 18 Sep 1999 12:02:46 +0900
I have a question!!
I did setting SMP in Linux OS..
Linux version is 2.2.5...
By the way, error is happened....
Error is the contents about SCSI...
And, sometimes, computer is downed...
Why did this error happen?
Possibly, which patch is needed??
Please, give me an answer!!
My computer have four cpu(Intel PentiumII XEON) and AIC 7890 ULTRA II
SCSI
p.s. Possibly, if there is a man that patch "pset" in Linux, I ask that
contact me.....
------------------------------
From: [EMAIL PROTECTED] (ellis)
Subject: Re: help.. 'memcpy_fromfs' unresolved sysmbol when loading module
Date: 17 Sep 1999 18:25:10 GMT
In article <[EMAIL PROTECTED]>,
Karlo Szabo <[EMAIL PROTECTED]> wrote:
>What I'am missing?
What kernel version? In 2.2 kernels memcpy_fromfs has been replaced with
a new call. For details see:
http://www.atnf.csiro.au/~rgooch/linux/docs/porting-to-2.2.html
--
http://www.fnet.net/~ellis/photo/linux.html
------------------------------
From: [EMAIL PROTECTED] (ellis)
Crossposted-To: comp.os.linux.misc
Subject: Re: Machine won't utilize swap space
Date: 17 Sep 1999 18:16:44 GMT
In article <7rtthh$nhm$[EMAIL PROTECTED]>,
Drydd <someone@special> wrote:
> Odd, and you're sure you did: swapon /dev/hd(sd)xy? Where x is the drive
>designation and y is the partion #? Swapon doesn't work by itself:)
>Wallace Barnes <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>> I have PII 233Mhz system (multiple SCSI / IDE drives, 98MB RAM) running
>> Slackware kernel 2.0.36. I've allocated a 120MB partition to as swap
^^^
Does 2.0.36 still have the old 128MB swap partition size limit?
--
http://www.fnet.net/~ellis/photo/linux.html
------------------------------
From: Mark D'Ascenzo <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc,alt.os.linux,comp.os.linux.setup
Subject: Adding swap space to drive with data... easy?
Date: Fri, 17 Sep 1999 14:33:47 -0500
Reply-To: [EMAIL PROTECTED]
==============8DBF472E67467782C28C90C1
Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854";
x-mac-creator="4D4F5353"
Content-Transfer-Encoding: 7bit
I have a plan to reformat my partition table to add swap space. I've
listed my scheme below.
Will it work? Please email or post comments. Your thoughts could save
me tons of time.
Thanks,
Mark
Plan:
I don't wan't to reformat the whole disk.
I may be able to use a program like Partition-It, but would prefer not
to.
If possible, I would like to repartition just the blocks currently in
the dev/hda1 (Blocks 1-131)
Here is my current setup:
Device Boot Start End Blocks Id System
/dev/hda1 1 131 1052226 b Win95 FAT32
/dev/hda2 132 1232 8843782+ 5 Extended
/dev/hda5 132 144 104391 83 Linux native
/dev/hda6 145 863 5775336 83 Linux native
/dev/hda7 864 1080 1743021 83 Linux native
/dev/hda8 1081 1170 722893+ 83 Linux native
/dev/hda9 1171 1190 160618+ 83 Linux native
/dev/hda10 1191 1206 128488+ 82 Linux swap
/dev/hda11 1207 1219 104391 83 Linux native
/dev/hda12 1220 1232 104391 83 Linux native
I want to create something like this:
Device Boot Start End Blocks Id System
/dev/hda1 1 1232 8843782+ 5
Extended <----- note change
/dev/hda2 1 15 128488 82 Linux
swap <----- note change
/dev/hda13 16 31 128488 82 Linux
swap <----- note change
/dev/hda14 32 131 722893 83 Linux
native <----- note change
/dev/hda5 132 144 104391 83 Linux native
/dev/hda6 145 863 5775336 83 Linux native
/dev/hda7 864 1080 1743021 83 Linux native
/dev/hda8 1081 1170 722893+ 83 Linux native
/dev/hda9 1171 1190 160618+ 83 Linux native
/dev/hda10 1191 1206 128488+ 82 Linux swap
/dev/hda11 1207 1219 104391 83 Linux native
/dev/hda12 1220 1232 104391 83 Linux native
Is it just as easy as changing the table? Will I aslo need to do
anything about the FAT32 system
or will that happen automatically when the partition table is written?
Any thoughts?
==============8DBF472E67467782C28C90C1
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
I have a plan to reformat my partition table to add swap space. I've
listed my scheme below.
<br>Will it work? Please email or post comments. Your thoughts
could save me tons of time.
<p>Thanks,
<p>Mark
<p>Plan:
<p>I don't wan't to reformat the whole disk.
<br>I may be able to use a program like Partition-It, but would prefer
not to.
<p>If possible, I would like to repartition just the blocks currently in
the dev/hda1 (Blocks 1-131)
<p>Here is my current setup:<b></b>
<p><b>Device Boot Start
End Blocks Id System</b>
<br>/dev/hda1
1 131 1052226 b
Win95 FAT32
<br>/dev/hda2
132 1232 8843782+ 5 Extended
<br>/dev/hda5
132 144 104391 83
Linux native
<br>/dev/hda6
145 863 5775336 83
Linux native
<br>/dev/hda7
864 1080 1743021 83 Linux
native
<br>/dev/hda8
1081
1170 722893+ 83 Linux native
<br>/dev/hda9
1171
1190 160618+ 83 Linux native
<br>/dev/hda10
1191
1206 128488+ 82 Linux swap
<br>/dev/hda11
1207
1219 104391 83 Linux native
<br>/dev/hda12
1220
1232 104391 83 Linux native
<p> I want to create something like this:
<p><b>Device Boot Start
End Blocks Id System</b>
<br>/dev/hda1
1 1232 8843782+ 5
Extended <font
color="#FFC100">
</font><font color="#000000"><----- note change</font>
<br>/dev/hda2
1 15 128488
82 Linux
swap
<----- note change
<br>/dev/hda13
16
31 128488 82 Linux
swap
<----- note change
<br>/dev/hda14
32
131 722893 83 Linux
native
<----- note change
<br>/dev/hda5
132 144 104391 83
Linux native
<br>/dev/hda6
145 863 5775336 83
Linux native
<br>/dev/hda7
864 1080 1743021 83 Linux
native
<br>/dev/hda8
1081
1170 722893+ 83 Linux native
<br>/dev/hda9
1171
1190 160618+ 83 Linux native
<br>/dev/hda10
1191
1206 128488+ 82 Linux swap
<br>/dev/hda11
1207
1219 104391 83 Linux native
<br>/dev/hda12
1220
1232 104391 83 Linux native
<p>Is it just as easy as changing the table? Will I aslo need to
do anything about the FAT32 system
<br>or will that happen automatically when the partition table is written?
<p>Any thoughts?
<br> </html>
==============8DBF472E67467782C28C90C1==
------------------------------
From: [EMAIL PROTECTED] (Nicholas Dronen)
Subject: Re: write / writev guaranteed autonomous?
Date: Sat, 18 Sep 1999 00:46:57 GMT
Juergen Heinzl ([EMAIL PROTECTED]) wrote:
: In article <h6lE3.530$[EMAIL PROTECTED]>, Nicholas Dronen wrote:
: >Just to clarify:
: >
: >A process in the middle of a write system call will continue
: >until it returns to user mode at which point it will receive the
: >signal. However, in many cases it takes more than one write to
: >get all the data to the file. For example:
: ... are you sure ... really really sure ... or to cite ...
: "Under SYSV release 4 a write may be interrupted and return EINTR at any
: point, not just before any data is written."
: ... or in other words, a partial write, 5 out of ten bytes is quite
: possible.
My understanding of kernel interals is simple but progressing.
Can this happen as a result of user sending SIGINT to a process?
------------------------------
From: "Glen Parker" <[EMAIL PROTECTED]>
Subject: Re: write / writev guaranteed autonomous?
Date: Sat, 18 Sep 1999 01:34:08 -0700
>
> >A process in the middle of a write system call will continue
> >until it returns to user mode at which point it will receive the
> >signal. However, in many cases it takes more than one write to
> >get all the data to the file. For example:
>
> ... are you sure ... really really sure ... or to cite ...
> "Under SYSV release 4 a write may be interrupted and return EINTR at any
> point, not just before any data is written."
> ... or in other words, a partial write, 5 out of ten bytes is quite
> possible.
man 2 write says this (under the errors section):
EINTR The call was interrupted by a signal before any
data was written.
That's pretty specific, but I wonder how portable code that relies on that
would be...
Glen
------------------------------
From: [EMAIL PROTECTED] (Chris Gregory)
Crossposted-To: comp.os.linux.misc,alt.os.linux,comp.os.linux.setup
Subject: Re: Adding swap space to drive with data... easy?
Reply-To: [EMAIL PROTECTED]
Date: Sat, 18 Sep 1999 09:40:54 GMT
On Fri, 17 Sep 1999 14:33:47 -0500,
Mark D'Ascenzo <[EMAIL PROTECTED]> wrote:
>Plan:
>
>I don't wan't to reformat the whole disk.
>I may be able to use a program like Partition-It, but would prefer not
>to.
>
>If possible, I would like to repartition just the blocks currently in
>the dev/hda1 (Blocks 1-131)
did you consider using a swap file?
--
Chris Gregory <[EMAIL PROTECTED]>
------------------------------
Crossposted-To:
comp.os.linux.development.apps,linux.dev.gcc,linux.dev.kernel,linux.dev.x11
Date: Sat, 18 Sep 1999 20:03:43 +1000
From: Ed Lang <[EMAIL PROTECTED]>
Subject: Re: survey linux project.
On Tue, 14 Sep 1999, George P. Staplin wrote:
>
> This already exists. Mandrake 6.0 has it. The program is called
> MandrakeUpdate. You run it and it first asks which mirror you wish to
> use. Then it scans your packages and finds a list of upgrade packages.
> You simply select the packages you want to upgrade and press the upgrade
> button.
Well, Debian GNU/Linux has a neat little utility called apt-get(8). You
provide a list of servers that you want to use. Then it scans your
packages and finds a list of packages that need to be upraded. It does it
all for you, and handles the dependancies for you. It will tell you how
much space the new packages will take, and how long it will take you to
get them all.
Gee... this sounds suspiciously like MandrakeUpdate...
(from apt's changelog)
apt (0.0.1) unstable; urgency=low
* Initial Release.
-- Scott K. Ellis <[EMAIL PROTECTED]> Tue, 31 Mar 1998 12:49:28 -0500
Methinks Debian has the prior claim, and Mandrake has pinched their idea
;-).
>
> It works great. It makes life much easier.
>
>
Hey, it was written for Debian, so of cause it would!
(takes off humour hat)
<[EMAIL PROTECTED]> Edward C. Lang <[EMAIL PROTECTED]>
PGP Fingerprint: 22 6C D3 0F A5 BA 1A A0 40 75 08 6D 83 CA B7 29
http://www.pcug.org.au/~edlang/ http://www.debian.org/~edlang/
woot on #debian #linpeople #linuxaus on irc.openprojects.net
thereisnocabal
------------------------------
From: Carsten Prinz <[EMAIL PROTECTED]>
Subject: Re: How to get mylib.so from mylib.a ?
Date: Fri, 17 Sep 1999 17:08:08 +0200
Carlos Daniel Orden wrote:
>
> Hi,
> I'll thank you if you can tell me how to create mylib.so from mylib.a
>
> Carlos ([EMAIL PROTECTED])
I think you can't do that from the .a file,
as far as I know you have to recompile all files with
specific code generation flags (see -fpic/-fPIC options in the gcc info)
If you use automake / autoconf the easiest way to create a
shared library is to use the 'libtool' package.
Add AM_PROG_LIBTOOL to your configure.in,
and in your Makefile.am define the target as
lib_LTLIBRARIES=mylib.la
(The l is no typo)
Autoconf should take care of the rest.
(Actually I don't know where libtool is located in the internet,
but it should ship with any distro.)
--carsten
=================================================================
Carsten Prinz [EMAIL PROTECTED]
public pgp key: http://www.uni-mainz.de/~cprinz/key_pgp.asc
pgp fingerprint: E2 CA ED 1A 82 34 6C 01 0E A6 33 BB F2 C6 F4 D0
=================================================================
------------------------------
** 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
******************************