Linux-Development-Sys Digest #295, Volume #8     Thu, 23 Nov 00 04:13:09 EST

Contents:
  Re: Triton problem with 2.2.X... (was Re: slow connection?) ("Guennadi V. 
Liakhovetski")
  kernel Makefile trouble... (ratz)
  Re: query: Controlling SCSI disks under Linux (SL News Posting)
  10 Pcs. Of Paper Money From Around the World  1169 ([EMAIL PROTECTED])
  Degraded smp performance in kernel 2.2.16-3smp ([EMAIL PROTECTED])
  Device Driver Advice (TMP Worldwide)
  Re: What distro does Linus Torvalds use? ([EMAIL PROTECTED])
  Re: Software RAID (Warren Young)
  Re: Triton problem with 2.2.X... (was Re: slow connection?) ("Karl Heyes")
  Database in Redhat Linux (Freelancer)
  Re: Device Driver Advice ("Norman Dresner")
  Re: via kt133 chipset and agpgart (Daniel Franklin)
  Re: Shared Object Libraries (DLLs) (James Moe)
  Re: [Q] thread monitoring program (James Moe)
  Re: query: Controlling SCSI disks under Linux ([EMAIL PROTECTED])
  Re: Device Driver Advice ("Gene Heskett")
  Re: Can not open a file within a kernel module ("Lee Ho")
  Does any part of the standard linux kernel use I/O ports 043h 443h 843h? 
("Alessandro Staltari")

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

From: "Guennadi V. Liakhovetski" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.hardware
Subject: Re: Triton problem with 2.2.X... (was Re: slow connection?)
Date: Wed, 22 Nov 2000 17:53:44 +0000

Another follow-up (nobody else seems to be following this thread, so, I
have to answer to my own postings myself:-))

I noticed (better late than never) the following lines in dmesg:

PIIX: IDE controller on PCI bus 00 dev 38
PIIX: not 100% native mode: will probe irqs later
PIIX: neither IDE port enabled (BIOS)

I've seen such lines in Newsgroups before, but was unable to find their
meaning - can anybody explain please?

Also I noticed, there is a -p option of hdparm, what's the difference
between -X12 and -p4? The output of the former I posted earlier:

/dev/hda:
 setting xfermode to 12 (PIO flow control mode4)

here's the output of the latter:

/dev/hda:
 attempting to set PIO mode to 4
 HDIO_SET_PIO_MODE failed: Function not implemented

Obviously, there is A difference... But what exactly is it? Looks like
-p4 actually tries (and fails) to change the hard drive's performance,
whereas -X12 doesn't...

My last idea is that the problem might be in the BIOS (as the last PIIX
line is suggesting)... Tonight I am going to attempt upgrading it... BLESS
ME!

Guennadi
___

Dr. Guennadi V. Liakhovetski
Department of Applied Mathematics
University of Sheffield, U.K.
email: [EMAIL PROTECTED]




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

From: ratz <[EMAIL PROTECTED]>
Subject: kernel Makefile trouble...
Date: Wed, 22 Nov 2000 19:37:22 +0100

Hi

Could someone explain me please why I can't compile ip_masq_*.c files
into the kernel without modules support? I doesn't even touch them. From
the ../net/ipv4/Makefile:

ifeq ($(CONFIG_IP_MASQUERADE),y)
IPV4X_OBJS += ip_masq.o ip_masq_app.o 

ifeq ($(CONFIG_IP_MASQUERADE_MOD),y)
  IPV4X_OBJS += ip_masq_mod.o 
  
  ifeq ($(CONFIG_IP_MASQUERADE_IPAUTOFW),y)
  IPV4_OBJS += ip_masq_autofw.o
  else
    ifeq ($(CONFIG_IP_MASQUERADE_IPAUTOFW),m)
    M_OBJS += ip_masq_autofw.o
    endif
  endif

[...]

endif

M_OBJS += ip_masq_user.o
M_OBJS += ip_masq_ftp.o ip_masq_irc.o ip_masq_raudio.o ip_masq_quake.o
M_OBJS += ip_masq_vdolive.o ip_masq_cuseeme.o
endif

How could I compile them into the kernel? If I parse the f.e. the 
ip_masq_ftp.c I can see the #ifdef MODULE and then init_module().
So I reckon that this should be possible to compile into the kernel
and is just a Makefile issue.

I'd like to try out a kernel without module support but with firewall
capabilities.

Any suggestions?
Roberto Nibali, ratz

-- 
mailto: `echo [EMAIL PROTECTED] | sed 's/[NOSPAM]//g'`

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

From: [EMAIL PROTECTED] (SL News Posting)
Crossposted-To: comp.os.linux.development.apps,comp.periphs.scsi
Subject: Re: query: Controlling SCSI disks under Linux
Date: 22 Nov 2000 19:07:34 GMT
Reply-To: [EMAIL PROTECTED]

In article <8vga0f$dgp$[EMAIL PROTECTED]>,
 Alain-Pierre CHERTIER <[EMAIL PROTECTED]> writes:
|> Hello Kevin !
|> 
|> On all my Linux systems since Dec.1994 (Plug&Play Yggdrasil fall 1994
|> and 1995, Slackware 2, 3, 4, Kheops 1995, MNIS 1997 & 1998,
|> Mandrake 6, RedHat 5.1, 5.2, 6.0, 6.1, 6.2), the /dev/sgx special
|> device filenames don't seem to react as you presented things
|> in your msg.
|> 
|> Example :
|> 
|> if I have only one scanner with SCSI ID-4 active on the scsi bus,
|> the linux sg scsi stuff will let me see the scanner by the /dev/sga
|> device filename and the minor number of /dev/sga has no sense
|> compared to SCSI ID-4...

All this is true if you are not running with the DEVFS code, which I
think is now part of the 2.4 kernel series.   With DEVFS, the device
naming is much saner, and persistent even if a drive is added to the
SCSI bus (which without DEVFS would cause the /dev/s* device mapping
to change).

I would guess that Kevin's system is running DEVFS. 



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

From: [EMAIL PROTECTED]
Subject: 10 Pcs. Of Paper Money From Around the World  1169
Date: Wed, 22 Nov 2000 17:16:37 GMT

Two days ago I ordered 10 pieces of paper money from 10 different countries from a 
company called Perth Numismatics. Lo and behold they arrived today and they are very 
nice and colourful. They even have a bill from Antarctica. I didn't even know they 
existed. These are perfect for stocking stuffers or people who are hard to buy for. 
The website address is www.perthmoney.com
Good luck and Merry Christmas

Cynthia Reeves

vdlnforilgspwhtbuwfgwyyzxmgfmkpsjsgpsvknvbimzocuqfwhphsqbpzhcvnfbcxf




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

From: [EMAIL PROTECTED]
Subject: Degraded smp performance in kernel 2.2.16-3smp
Date: Wed, 22 Nov 2000 19:54:03 GMT

Hi all

We have an application ported to Linux that is heavily multi-threaded.
In running this app against the 2.2.14-5.0smp kernel, I observed some
anomalous data corruption occurring which could only be explained by
a kernel bug. Indeed, Redhat indicated that users should be using the
2.2.16-3smp kernel rather than the 2.2.14 kernel.

I upgraded to the newer kernel, and found to my delight that the
data corruption problem did indeed vanish. HOWEVER...in
running some performance tests that had previously run properly under
the 2.2.14 kernel, we found a dramatic slowdown in multi-user
performance.

So my question for you all is does anyone have an idea what
has changed in 2.2.16-3smp that might cause this type of slowdown in
multi-threaded performance? What kernel parameters might
affect this behavior?

Note the we are using glibc 2.1.3-15  for both kernels.

Any help appreciated

Ed Friedman


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: TMP Worldwide <[EMAIL PROTECTED]>
Subject: Device Driver Advice
Date: Wed, 22 Nov 2000 20:18:51 GMT
Reply-To: [EMAIL PROTECTED]

Anyone know if there is a Usenet setup to advertise Linux jobs?

I'm looking for a contractor with Linux programming and device driver
experience to come work in South Florida for 3 months.

No luck with traditional job boards and Linux user groups. Any
suggestions?

Thanks for any help you can provide.

Derina Barringer
TMP Worldwide
http://www.tmp.com
[EMAIL PROTECTED]
1-800-544-0689 x133


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED]
Subject: Re: What distro does Linus Torvalds use?
Date: Wed, 22 Nov 2000 21:25:37 +0000 (UTC)

DaZaffiro <[EMAIL PROTECTED]> writes:
> (The conversion from a.out to ELF a few yearsago was an exception, that was a
> /virtually/ impossible upgrade)

Actually, it was very easy, because both could live next to each other
and still can.  Hating csh, I will not upgrade it until it breaks on
the rare occasion that I need to run a shell script:

michael@fangorn; ldd /bin/csh    
        /lib/libc.so.4 (Jump table 4.2)

See? :) It's about the only a.out binary left on my system, though.

Michael

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

Date: Wed, 22 Nov 2000 16:59:49 -0700
From: Warren Young <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,alt.linux,comp.os.linux.misc
Subject: Re: Software RAID

[EMAIL PROTECTED] wrote:
> 
> First let me say I know NOTHING about software RAID in Linux.

It was not necessary to make this statement.  It is self-evident.

> That said, I have a server with Software RAID on a SUN running Solaris,
> and I would never inflict Software RAID on another machine as long as I
> live.  Hardware RAID can hide a lot of things from the user, and be just
> about as 'fast' as an individual disk.  Software RAID is going to slow
> your disk writes, well REALLY BAD.

Your mistake is in applying your Solaris experience to Linux, which is
always a mistake.  (Speaking as one who has used Solaris' cousin
UnixWare for years.)  

Take it from one who has actually done benchmarks of software vs.
low-end hardware RAID (the Adaptec 2100S): Linux's software RAID is
impressively fast.  In many cases, it's much faster than the hardware
RAID.  (In particular, RAID 0 is much faster in software.)

Part of this is no doubt because my system has a 500 MHz processor and
the RAID card only has a 66 MHz (?) processor.  In the bad old days of
double-digit main CPUs, hardware RAID might have done better against
software RAID.

Let's also not forget that people call it "Slowaris" for a reason...
-- 
= Warren -- ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m

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

From: "Karl Heyes" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.hardware
Subject: Re: Triton problem with 2.2.X... (was Re: slow connection?)
Date: Thu, 23 Nov 2000 00:50:04 +0000

In article <Pine.GSO.4.21.0011221739390.25237-100000@acms23>,
"Guennadi V. Liakhovetski" <[EMAIL PROTECTED]> wrote:

> Another follow-up (nobody else seems to be following this thread,
> so, I have to answer to my own postings myself:-))
> 
> I noticed (better late than never) the following lines in dmesg:
> 
> PIIX: IDE controller on PCI bus 00 dev 38 PIIX: not 100% native
> mode: will probe irqs later PIIX: neither IDE port enabled (BIOS)
> 

Thats new!, not sure how that would affect DMA. check in your BIOS for
enabling the primary/secondary channels.  Linux maybe able to talk to
the drives but the chipset could disable DMA facilities to/from them.

> I've seen such lines in Newsgroups before, but was unable to find
> their meaning - can anybody explain please?
> 

Neither IDE port enabled is the important bit here. If you had
windows on there I would guess it wouldn't run. I'm suprised it boots
actually.

> Also I noticed, there is a -p option of hdparm, what's the
> difference between -X12 and -p4? The output of the former I posted
> earlier:
> 
> /dev/hda:
>  setting xfermode to 12 (PIO flow control mode4)
> 
> here's the output of the latter:
> 
> /dev/hda:
>  attempting to set PIO mode to 4 HDIO_SET_PIO_MODE failed: Function
>  not implemented
> 
> Obviously, there is A difference... But what exactly is it? Looks
> like
> -p4 actually tries (and fails) to change the hard drive's
> performance,
> whereas -X12 doesn't...
> 
> My last idea is that the problem might be in the BIOS (as the last
> PIIX line is suggesting)... Tonight I am going to attempt upgrading
> it... BLESS ME!
> 

Usually you don't have to change these sort of parameters. But the
BIOS could be a limiting factor here.

karl.

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

From: Freelancer <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.development.apps,comp.os.linux.apps,comp.os.linux.misc,comp.lang.java.databases,comp.databases.informix,comp.databases.oracle.server,comp.databases.sybase,linux.redhat.misc,linux.postgres,comp.databases.pick,comp.databases.ibm-db2,comp.databases.oracle.misc
Subject: Database in Redhat Linux
Date: Wed, 22 Nov 2000 22:47:59 -0500
Reply-To: [EMAIL PROTECTED]

I need decide which database going to run for Redhat Linux.
I know MySQL is the most popular one in Linux world. I need
you help me to fill out the blank and hole (?) in table below.

                        Databases for Linux (Redhat)
Y -- yes; N -- No; NA -- not apply; ? -- don't know/not sure

Database  Trigger/Store Procedure  Transaction  Foreign Key Constrain
JDBC/RowSet           C/C++ Library  PerlDBI
MySQL      N           N                          N
N                               Y (mm.sql tyep 4)
Y?                   Y
Postgres      Y?          ?                           Y
?                                  ?                                   ?

Informix
Sybase
Oracle
DB2

I know Oracle, Sybase, Informix and DB2 support most or all of them in
UNIX (Solaris, HP-UX, AIX, etc.) But I am
not sure are they also support in Linux.
Thank you very much if you can fill out the blanks and/or holes for me.


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

From: "Norman Dresner" <[EMAIL PROTECTED]>
Subject: Re: Device Driver Advice
Date: Thu, 23 Nov 2000 04:05:06 GMT

Why does the work have to be done on-site?

    Norm

TMP Worldwide <[EMAIL PROTECTED]> wrote in message
news:8vh9n8$6c3$[EMAIL PROTECTED]...
> Anyone know if there is a Usenet setup to advertise Linux jobs?
>
> I'm looking for a contractor with Linux programming and device driver
> experience to come work in South Florida for 3 months.
>
> No luck with traditional job boards and Linux user groups. Any
> suggestions?
>
> Thanks for any help you can provide.
>
> Derina Barringer
> TMP Worldwide
> http://www.tmp.com
> [EMAIL PROTECTED]
> 1-800-544-0689 x133
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.



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

From: [EMAIL PROTECTED] (Daniel Franklin)
Subject: Re: via kt133 chipset and agpgart
Reply-To: [EMAIL PROTECTED]
Date: 23 Nov 2000 09:38:31 +1100

Stefan Boresch wrote:
>
>I am attempting to get the agpgart module to load on a machine with
>the via kt133 chipset and an Athlon Thunderbird processor.  The kernel
>is RH's 2.2.16 (with the ext3 patch); unfortunately, I am not having
>very much luck.  (The point of the exercise is to use the utah-glx mga
>module efficiently; I guess the same would apply if I were to try
>XFree 4.x?)
>

I am trying to get this to work with a similar system. No luck at all with
2.2.x kernels, 2.4.0-test11 detects it and utah-glx sort of works with some
applications - but performance with Q3A leaves a lot to be desired (even
running as root, which improves things greatly under Intel). This is with a
Matrox G400 video card - my PII-350 is much faster running Q3A with the same
card & software than a 700 MHz Athlon!! I think there are still some
problems with utah-glx when used with Athlons.

Good luck anyway - let me know if you get anywhere with it!

- Daniel

-- 
******************************************************************************
*      Daniel Franklin - Postgraduate student in Electrical Engineering
*      University of Wollongong, NSW, Australia  *  [EMAIL PROTECTED]
******************************************************************************

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

From: James Moe <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Shared Object Libraries (DLLs)
Date: Thu, 23 Nov 2000 05:34:23 GMT

James Moe wrote:
> 
>     How do I create them? Creating static libraries is really easy;
> finding info on Shared Library construction has been a challenge.
> 
   Ok. thank you all for the information. It get me started in the right
direction.


-- 
sma at sohnen-moe dot com

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

From: James Moe <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: [Q] thread monitoring program
Date: Thu, 23 Nov 2000 05:38:53 GMT

Jinyoun Park wrote:
> 
> I am seeking thread monitoring program
> 
> In current system, I want to know current thread number, thread state, and
> parent processes, etc.
> 
   The "top" process monitoring program shows most of that. I believe
the thread number is the only thing missing.


-- 
sma at sohnen-moe dot com

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

From: [EMAIL PROTECTED]
Crossposted-To: comp.os.linux.development.apps,comp.periphs.scsi
Subject: Re: query: Controlling SCSI disks under Linux
Date: Thu, 23 Nov 2000 06:09:21 GMT

I found what I was looking for at:
http://www.torque.net/sg/p/scsi-generic_long.txt

Hope this link helps all of you.
There are a few more good things at that site.

Regards,
-Milind


Sent via Deja.com http://www.deja.com/
Before you buy.

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

Date: 22 Nov 2000 17:37:43 -0500
From: "Gene Heskett" <[EMAIL PROTECTED]>
Subject: Re: Device Driver Advice

Unrot13 this;
Reply to: <[EMAIL PROTECTED]>

Gene Heskett sends Greetings to TMP Worldwide;

 TW> Anyone know if there is a Usenet setup to advertise Linux jobs?

 TW> I'm looking for a contractor with Linux programming and device
 TW> driver experience to come work in South Florida for 3 months.

 TW> No luck with traditional job boards and Linux user groups. Any
 TW> suggestions?

 TW> Thanks for any help you can provide.

There are several of the linux oriented sites that have a 'geekfinder'
page or pages,  UserFriendly, linuxtoday both come to mind, and you can
link to them from <http://freshmeat.net>, right hand column.

Cheers, Gene
-- 
  Gene Heskett, CET, UHK       |Amiga A2k Zeus040, Linux @ 400mhz 
        email gene underscore heskett at iolinc dot net
#Amiga based X10 home automation program EZHome, see at:#
# <http://www.thirdwave.net/~jimlucia/amigahomeauto> #
ISP's please take note: My spam control policy is explicit!
#Any Class C address# involved in spamming me is added to my killfile
never to be seen again.  Message will be summarily deleted without dl.
This messages reply content, but not any previously quoted material, is
© 2000 by Gene Heskett, all rights reserved.
-- 


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

From: "Lee Ho" <[EMAIL PROTECTED]>
Subject: Re: Can not open a file within a kernel module
Date: Thu, 23 Nov 2000 07:52:17 GMT


There is another mechanism for manipulating files
in kernel module. see the following web page :

http://www.fenrus.demon.nl/kernel.html (khttpd)

*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
Lee, Ho. Software Engineer, Embedded Linux Dep, LinuxOne
Mail : [EMAIL PROTECTED] (work), [EMAIL PROTECTED] (personal)
Homepage : http://flyduck.com, http://linuxkernel.to

Rui Antunes Writes :
>I'm developping a kernel module for RedHat 7.0.
>I'm having problems opening files.
> I use something like this:
>




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

Reply-To: "Alessandro Staltari" <[EMAIL PROTECTED]>
From: "Alessandro Staltari" <[EMAIL PROTECTED]>
Subject: Does any part of the standard linux kernel use I/O ports 043h 443h 843h?
Date: Thu, 23 Nov 2000 09:04:51 GMT

I'running linux on a single board computer manifactured by ICP Aquire.
It seems that Lnux activate the built in watchdog that uses the I/O ports
043h 443h 843h.
I already know there is the Acquire watch dog timer driver within the Linux
kernel that uses this ports but I'm not using that driver.

Any suggestions?

Thanks

Alessandro Staltari.



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


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