Linux-Development-Sys Digest #6, Volume #7       Thu, 29 Jul 99 04:14:05 EDT

Contents:
  Re: undefined (but called) functions ("Charles Sullivan")
  Re: HELP: how to measure hard disk access performance on Linux? (Errin Watusikac)
  soln: Re: __global_cli, etc. unresolved symbols (Eric Welton)
  Re: Unresolved symbols in module... (Rado Faletic)
  Linux SCSI Device Driver ("sslim")
  Re: Unresolved symbols in module... ("Alex Abreu")
  Re: Why ignore a theoretical possibility? (Nathan Myers)
  Re: Linux SCSI Performance Issues (Douglas Gilbert)
  Re: Unresolved symbols in module... (Rado Faletic)
  PPPoE for linux? ([EMAIL PROTECTED])
  Re: problems with two network cards. Fundamental limitation? (Chetan Ahuja)
  Re: Unresolved symbols in module... ("Alex Abreu")
  NTFS Status? (David Isaac Stclair)
  Re: ASCII to speech??? (Gary Momarison)
  How to find Network interface index? (Jung-gyun Ahn)
  Re: Compiling Java programs on Red Hat Linux 6.0 (Justin Tripp)

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

From: "Charles Sullivan" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.m68k,redhat.kernel.general
Subject: Re: undefined (but called) functions
Date: Wed, 28 Jul 1999 21:21:29 -0400

These appear to be built into the gcc compiler itself.

[EMAIL PROTECTED] wrote in message
<7no0bm$lqk$[EMAIL PROTECTED]>...
>I found that in the kernel source code, there are some functions (macros)
>never being defined but being called, for example,
>
>__builtin_return_address()
>
>__builtin_constant_p()
>
>Could anybody please explain this? Thanks.
>
>Jiu
>
>------------------  Posted via SearchLinux  ------------------
>                  http://www.searchlinux.com


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

Subject: Re: HELP: how to measure hard disk access performance on Linux?
From: Errin Watusikac <[EMAIL PROTECTED]>
Date: 28 Jul 1999 18:45:02 -0700

[EMAIL PROTECTED] (James Stevenson) writes:

> Hi
> 
> try droping down into single user mode
> then you should get a better  answer
> 
> X uses a lot of ram

Yeh, well I got a lot more RAM than X needs.  In any case, do I care
how fast the disk is in single user mode or in X mode?  Is there
something special about this test that needs tens of megabytes of
memory or something?  And if I run it twice or more, shouldn't it clear
out unused memory so it has room to run?  Looks like the sign of some
poor kernel design or code or tuning.  Does it look that way to anyone
who knows something about it?  I'm no kernel guru.

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

From: Eric Welton <[EMAIL PROTECTED]>
Subject: soln: Re: __global_cli, etc. unresolved symbols
Date: Thu, 29 Jul 1999 01:43:12 GMT

DQpzb2xuIChjb3VydGVzeSBvZiBNaWNoYWVsIE1jQ29ybWFjaykgaXMgdG8NCnR1cm4gb2Yg
dGhlIHZlcnNpb25pbmcgaW5mb3JtYXRpb24gb24ga2VybmVsIG1vZHVsZXMuDQpJIGp1c3Qg
ZGlkIHRoYXQgYW5kIHRoZSBwcm9ibGVtIHdlbnQgc3RyYWluZw0KcGVyaGFwcyB0aGVyZSBh
cmUgc29tZSBydWxlcyBhYm91dCB0aGUgZm9ybSBvZg0KdGhlIEVYVFJBX1ZFUlNJT04gc3Ry
aW5nPw0KDQpjaGVlcnMsDQoNCiAgICAtZQ0KDQoNCkVyaWMgV2VsdG9uIHdyb3RlOg0KDQo+
IGhvd2R5LA0KPg0KPiBnb3QgYW4gb2RkIHByb2JsZW0gdy8gbXkgbW9kdWxlcy4NCj4gSSdt
IHJ1bm5pbmcgUmVkSGF0IDYuMC8ga2VybmVsIDIuMi41LCBvbiBkdWFsIFBJSS4NCj4gSSB3
aGlsZSBhZ28gSSB3cm90ZSBzb21lIGtlcm5lbCBjb2RlICh1bmRlciAyLjApDQo+IGFuZCBh
bSBpbnRlcmVzdGVkIGluIHBsYXlpbmcgd2l0aCBpdCBhZ2FpbiAoZW4gcm91dGUNCj4gdG8g
cHJvdmlkaW5nIGEgZmlsZXN5c3RlbSB2aWV3IGludG8gYW4gUk1JIHNwYWNlIGZvciBraWNr
cyA7KQ0KPg0KPiBzbyBJIGdvIGZpZ3VyZSBJJ2xsIHNldCB1cCBhIG5ldyB2ZXJzaW9uIHVz
aW5nIHRoZQ0KPiBFWFRSQV9WRVJTSU9OIHRhZyBhbmQgdGh1cyBjb21wbGV0ZWx5IGlzb2xh
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aXQgOykgOykgOykgLSBzbyBJIHN1c3BlY3QNCj4gSSdtIGp1c3QgZG9pbmcg
c29tZXRoaW5nIHNpbGx5Lg0KPg0KPiBhcyB1c3VhbCAtIGFueSBkcmlibGV0cyBvZiBpbmZv
cm1hdGlvbiB0b3NzZWQgdGhpcyB3YXkNCj4gd291bGQgYmUgbW9zdCBncmFjaW91cyBhcHBy
ZWNpYXRpb24uDQo+DQo+IGNoZWVycywNCj4NCj4gICAgIC1lDQo=

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

Date: Thu, 29 Jul 1999 12:25:08 +1000
From: Rado Faletic <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup,linux.redhat.misc
Subject: Re: Unresolved symbols in module...


> make mrproper ; make menuconfig ; make dep ; make clean ; make boot ; make
> modules ; make modules_install

did you rerun lilo after the build, but before the reboot? You will need
to modify /etc/lilo.conf, if you haven't already done so, to point to
the new kernel, and then type `lilo' at the prompt.

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

From: "sslim" <[EMAIL PROTECTED]>
Subject: Linux SCSI Device Driver
Date: Thu, 29 Jul 1999 11:53:34 +0900

Hello !
I am studying linux device driver(SCSI) ,  In the book I am studying, there
are lots of
examples of device drvier code. But I couldn't find any examples  that show
how to use device driver in user program. Now I am in a trouble to test and
debug the device driver. The book say that device driver will be accessed
like file in linux. Can you give me a piece of source code that can show how
to use device driver program or explain a sequence of access device driver
in application



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

From: "Alex Abreu" <simonet@(spam? no thanx)bhnet.com.br>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup,linux.redhat.misc
Subject: Re: Unresolved symbols in module...
Date: Thu, 29 Jul 1999 00:09:30 -0500

>did you rerun lilo after the build, but before the reboot? You will need
>to modify /etc/lilo.conf, if you haven't already done so, to point to
>the new kernel, and then type `lilo' at the prompt.

Yes, I did everything by the book. /boot/vmlinuz is a symlink to the new
kernel zImage and is also referenced in /etc/lilo.conf

Just another related question:

What other files to I have to copy to /boot? DO I have to move the new
System.map to /boot ? Any other files other than vmlinuz ?

Thanks.

Alex





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

From: [EMAIL PROTECTED] (Nathan Myers)
Subject: Re: Why ignore a theoretical possibility?
Date: 28 Jul 1999 20:20:47 -0700

Jan Andres <[EMAIL PROTECTED]> wrote:
>... I suggest you could focus on generating code that
>automatically uses multiple CPUs in a SMP system, even if the code is
>not explicitly written for that purpose. This would be a quite
>interesting project, as there are not many compilers that can do this,
>any none for Unix AFAIK.

(Resolutely trying to keep this thread on-topic...)
The Portland Group sells such a compiler for Linux.

-- 
Nathan Myers
[EMAIL PROTECTED]  http://www.cantrip.org/


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

From: Douglas Gilbert <[EMAIL PROTECTED]>
Crossposted-To: 
linux.dev.c-programming,linux.dev.kernel,linux.dev.scsi,comp.os.linux.hardware
Subject: Re: Linux SCSI Performance Issues
Date: Wed, 28 Jul 1999 23:59:21 -0400

Dave Platt wrote:
> 
> In article <[EMAIL PROTECTED]>,
> Dimi Shahbaz  <[EMAIL PROTECTED]> wrote:
> 
> >The test.ps shows the degredation in performance as the number of disks
> >increases.  This is using the regular
> >linux system calls --open, read, write, etc--directly on the device
> >/dev/sda, etc.  The file
> >all_disks_read_scsi_generic.ps is a similar test, except that this was
> >performed by directly accessing the
> >SCSI controller--/dev/sga, etc--and not the disk(s) itself.  As you can
> >see, the problem of slowing disks is
> >eliminated.  However, the problem now is that for 2 disks, the number of
> >total reads remains the same as the
> >total number of reads for 1 disk by itself.  The same is the case for 3
> >and 4 disks.  This should not happen,
> >instead we expected a small total read count decrease but not half (for
> >2 disks), 2/3's (for 3 disks), 3/4's (for 4
> >disks).
> 
> You are probably observing a known artifact of many versions of the
> /dev/sg generic SCSI driver.  This driver is, in effect,
> single-threaded.  It maintains a single kernel-memory command buffer,
> and the various tasks using /dev/sd* end up contending for this buffer.

For Linux versions >= 2.2.6 the sg driver no longer has
a single buffer bottleneck.

I'm curious about the test code Dimi used on sg. My own testing 
has yielded much better results. Some useful code for testing
sg can be found at:
http://www.torque.net/sg  [follow utilities link]
 
> Once you start a command of any sort on /dev/sga (for example), no
> other thread/task/process can start a command on /dev/sgb until the
> first command continues.  The fact that the lower-level SCSI-card
> drivers are capable of handling multiple I/Os won't help.  Nor will
> trying to do I/O to two or more SCSI controllers.

This no longer applies.
The new Linux sg driver supports command queuing with non-blocking 
mode and asynchronous notification. 
 
> There are enhancements to the SCSI generic driver which enable it to
> allocate, and release multiple kernel-memory buffers (one per client).
> 
> Check the 2.3 kernel tree - it's possible that one of the multi-buffer
> patches has been incorporated into the development kernel tree.

The 2.3 kernel tree has the same sg driver as 2.2 from
2.2.6 onwards.

The results on /dev/sda are something to ponder ....


Here are some quick results for 100MB sequential disk reads
on sg (2.2.10-ac10, advansys 940UW and 2 DCHS04U IBM disks):

# time ./sg_dd512 if=/dev/sgb of=/dev/null count=200k
204800+0 records in
204800+0 records out
0.00user 1.23system 0:10.44elapsed 11%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (99major+27minor)pagefaults 0swaps

# time ./sg_dd512 if=/dev/sgb of=/dev/null count=200k
204800+0 records in
204800+0 records out
0.02user 1.75system 0:12.87elapsed 13%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (99major+27minor)pagefaults 0swaps

The first result was obtained without any other loading.
The second result was obtained when a similar command
was run on /dev/sga (which took 12.5 seconds elapsed).
When command queueing was used (i.e. sgq_dd512 command)
the coincident runs took 10.5 and 11.1 seconds each.

Doug Gilbert

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

Date: Thu, 29 Jul 1999 14:30:42 +1000
From: Rado Faletic <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup,linux.redhat.misc
Subject: Re: Unresolved symbols in module...


> What other files to I have to copy to /boot? DO I have to move the new
> System.map to /boot ? Any other files other than vmlinuz ?

you don't have to, but you can do it. There's nothing else.

strange. I'm afraid someone else is going to have to try and help.

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

Date: Wed, 28 Jul 1999 21:38:37 -0700
From: [EMAIL PROTECTED]
Subject: PPPoE for linux?

is there any projects underway to incorporate PPPoE (Point to Point
Protocol over Ethernet)  into the kernel?
I see this as an urgent task for the next 6 - 12 months for the kernel
as it appears to be the direction ISP and Telco's will be moving towards
for xDSL services as well as cable companies.

Kelly



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

From: [EMAIL PROTECTED] (Chetan Ahuja)
Subject: Re: problems with two network cards. Fundamental limitation?
Date: 29 Jul 1999 05:16:41 GMT

Steve Hier ([EMAIL PROTECTED]) wrote:
: Chetan Ahuja wrote:
: > 
: > Tony Gale ([EMAIL PROTECTED]) wrote:
: > : In article <7nmcu2$l3d$[EMAIL PROTECTED]>,
: > :       [EMAIL PROTECTED] (Chetan Ahuja) writes:
<snip>
: > : > 2.2 series ) or is it a fundamental limitation of the kernel
: > : > architecture ??? If you can point me to a source file in the kernel tree,
: > : > or other sources of information, that will be good too...
: > : >
: > 
: > : Is, by any chance, your DNS server on the side that goes down?
: > 
: > : -tony
: > : --
: > 
: >   Yes. But that shouldn't affect anything. I  am telnetting directly
: > to the IP of the internal interface and hence no IP resolution is necessary.
: > And as I said, I can ping that (internal) IP alright.... just no telnet or
: > any other deamon connection.
: > 
: >     Chetan
: > 
: > 
: > --

: Ah -- but if your router is trying to do a reverse lookup for the IP
: that is connecting, you have to wait for that to time out -- which I've
: seen take up to 5 minutes on some systems.
 
  I don't see why it should do a reverse IP lookup seeing that the IP
that I am connecting from is on the same subnet which is one of the "internal"
IP's anyway ( 10.0.0 series). I do hope that the networking code 
is not THAT brain-dead. 

: Question:  When it does "dead" and you telnet, do you get a
: non-responsive
: connection? (as opposed to connection refused / etc.)

   Yes its a non-responsive connection. I know what you are getting at here.
It's not a malconfigured tcp wrapper. I am always  able to make the exact same 
connection at other times ( ie. when the external interface is not dead.)
I am pretty sure that the problem lies somewhere in  the realm if 
telnet server/kernel networking code/network driver  coding.  I just
wanted to know whether its a known ( or even obvious) phenomenon/bug/feature
and if yes, does a fix exist in later kernels ( once again I am using 
the slightly modified 2.0.36 from the linux router project)

  Thanks for listening...
  Chetan



--

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

From: "Alex Abreu" <simonet@(spam? no thanx)bhnet.com.br>
Crossposted-To: comp.os.linux.misc,comp.os.linux.setup,linux.redhat.misc
Subject: Re: Unresolved symbols in module...
Date: Thu, 29 Jul 1999 01:31:54 -0500

>depmod -a >>delfiles

That didn't work. delfiles was always an empty file. I also tried using >,
>>, tee, etc.

However deleting all the files reported by depmod manually solved the
problem. This however, leaves another question:

One of the make comands I issued right before issuing "make modules" was
supposed to get rid of the old modules, wasn't it? Why weren't the old
modules deleted? Any clue?

Will I have to manually deleted all unused modules everytime I build a new
kernel?

Thanks

Alex



Allen Ashley wrote in message <7nniof$[EMAIL PROTECTED]>...
>"Alex Abreu" <simonet@(spam? no thanx)bhnet.com.br> writes:
>
>>How can I solve the "Unresolved symbols ...." problem?
>
>Delete all the modules that are giving you error messages,
>you don't need them with the kernel you compiled. You
>can do:
>then edit delfiles to change the lines to a series of rm statements,
>then execute the file to delete all the unused modules.
>
>



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

From: [EMAIL PROTECTED] (David Isaac Stclair)
Subject: NTFS Status?
Date: 28 Jul 1999 16:52:53 GMT

Anyone know the current status of the NTFS on linux?  I'm trying to help 
out a friend using NT, Redhat and Suse on the same machine.
I got read access working using kernel 2.2.10  

I did not compile write access because it looked dangerous.  Anybody got 
any recommendations?

-- 
_______________________________
David I. St.Clair
North Carolina State University
[EMAIL PROTECTED]


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

Crossposted-To: comp.os.linux.misc
Subject: Re: ASCII to speech???
From: Gary Momarison <[EMAIL PROTECTED]>
Date: 28 Jul 1999 10:20:00 -0700

Try http://www.cstr.ed.ac.uk/projects/festival.html

It's a large download and took a very long time to compile but was quite
easy to get running, except that I needed to make a link so that 
"festival/bin/audsp -> ../lib/etc/ix86_RedHatLinux5.2/audsp"
to get "festival --tts /tmp/somefile" and interactive command
"(intro)" to work. I used the default config files "as-is".

-- 
Look for Linux info at http://www.dejanews.com/home_ps.shtml and
Gary's Encyclopedia at http://www.aa.net/~swear/pedia/index.html

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

From: Jung-gyun Ahn <[EMAIL PROTECTED]>
Subject: How to find Network interface index?
Date: Thu, 29 Jul 1999 15:22:07 +0900

PF_PACKET socket need Interface number to send packet.

Past packet socket required a network interface name like "eth0".
It use dev_get() call to find device structure.
But new packet socket need a Interface number. and use
dev_get_by_ifindex().

How to find ifindex in device structure in user (NOT KERNEL) mode?

Thanks.



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

From: Justin Tripp <[EMAIL PROTECTED]>
Subject: Re: Compiling Java programs on Red Hat Linux 6.0
Date: 29 Jul 1999 05:30:10 GMT

Java that ships with RH6.0 is broken.  Get the latest version from the
updates section on the RH site or get the source code from 
http://www.blackdown.org -- whatever gives you the most pleasure.

The RH6.0 shipped version seems to work okay using Native threads, but
Green threads (the default) does not work.

Kaffe is actually just a virtual machine, the compiler for kaffe is 
pizza.  I have had reasonable success compiling and running with both
of these programs.  If you need swing support, you will have to need to 
get the Sun swing and use it with Kaffe.

                                .justin.

Robert S Laramee <[EMAIL PROTECTED]> wrote:

: Ever since Red Hat Linux 6.0 has been installed on my machine, my Java
: programs do not compile anymore.  Does anyone know why this is?  It
: looks
: like there's a new compiler (Kaffe).  I don't know why it doesn't seem


-- 
========================================================================
Justin Leonard Tripp                              [EMAIL PROTECTED]
Configurable Computing Laboratory Research Assistant      CB 461 x8-7206
Electrical and Computer Engineering Department  Brigham Young University

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


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