Linux-Development-Sys Digest #979, Volume #6     Wed, 21 Jul 99 12:13:38 EDT

Contents:
  Re: changes to /proc in kernel 2.2 (M van Oosterhout)
  Re: DOS FS module problem in 2.3.10 kernel? (M van Oosterhout)
  Re: changes to /proc in kernel 2.2 (Tim Bell)
  Re: Riva TNT Drivers (Tim Moore)
  Re: vm86() syscall (Tim Roberts)
  Re: Why not C++ (Kaz Kylheku)
  Re: when will Linux support > 2GB file size??? (Peter Samuelson)
  Re: MICROSOFT LINUX DISTRIBUTION (Peter Samuelson)
  Q: clean NTFS patch for 2.0.37 (Rowan Hughes)
  severe SCSI hard disk problems (Michael Lachmann)
  Problem getting the printers working, help? (Parox)
  documentation for /dev/mem (and other devices) (Sidney Cadot)
  Re: Linux on PS/2 MCA ESDI???? (Jan Andres)
  High load average, low cpu usage (Ole Jacob Taraldset)
  Re: Makefiles for multiple programmers (Frank Mayer)
  Kernel, AOLserver, and Oracle .so driver wierdness ([EMAIL PROTECTED])

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

Date: Wed, 21 Jul 1999 13:45:01 +1000
From: M van Oosterhout <[EMAIL PROTECTED]>
Subject: Re: changes to /proc in kernel 2.2

Tim Bell wrote:
> 
> I've just noticed that the cwd, exe and root links which exist in the
> /proc/[0-9]*/ directories have changed somewhere between the 2.0 series
> kernels and the 2.2 series kernels.  That is, in 2.0.36, there is a link
> like this:
> 
>         exe -> [0305]:37015
> 
> whereas under 2.2.10 the link is
> 
>         exe -> /usr/bin/whatever
> 
> I've found the former link useful on occasions, because it gives access
> to the executable of a running process, even if the file has been changed
> since the process started.  This isn't possible with the new behaviour, as
> far as I can tell.

The behaviour hasn't changed. Under 2.0 the kernel didn't
know the name of the file, so it give the inode number
back. Now the kernel does remember the filename it tells
you that instead.

Remember that /proc is a virtual filesystem. Just because
it looks like a symlink doesn't mean that opening it won't
give you the right file. As a test, delete the executable
while it's running. You'll find you can still open it from
/proc.

Martijn van Oosterhout
Australia

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

Date: Wed, 21 Jul 1999 13:48:22 +1000
From: M van Oosterhout <[EMAIL PROTECTED]>
Subject: Re: DOS FS module problem in 2.3.10 kernel?

Andrea Dixon wrote:
> 
> I just downloaded the 2.3.10 kernel.
> 
> Built, installed, and reboot.
> 
> When modprobe tries to load the FAT module for access
> to my (crappy) FAT partition, it complains that
> symbol "update_vm_cache" is not found.
> 
> Also, the bt848 video module cannot find "init_mm".
> 
> Source for both modules is included in the 2.3.10 download!

2.3.x are development kernels. If you are using these
you should be reading the linux kernel mailing list, as
they will quite likely destroy your system.

And if you had been reading the linux kernel mailing
list you would have seen that *lots* of drivers are
currently broken. For example ext2  is not stable, let
alone fat, ntfs, vfat, hpfs, etc.

Deal with it. When 2.3 is stable they will get fixed.

Martijn van Oosterhout
Australia

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

From: [EMAIL PROTECTED] (Tim Bell)
Subject: Re: changes to /proc in kernel 2.2
Date: 21 Jul 1999 04:57:09 GMT

M van Oosterhout <[EMAIL PROTECTED]> writes:

>Tim Bell wrote:
>> 
>> whereas under 2.2.10 the link is
>> 
>>         exe -> /usr/bin/whatever
>> 
>> I've found the former link useful on occasions, because it gives access
>> to the executable of a running process, even if the file has been changed
>> since the process started.  This isn't possible with the new behaviour, as
>> far as I can tell.

>Remember that /proc is a virtual filesystem. Just because
>it looks like a symlink doesn't mean that opening it won't
>give you the right file. As a test, delete the executable
>while it's running. You'll find you can still open it from
>/proc.

I've discovered that the problem was caused by the executable being on
an NFS filesystem, and the file was changed on another machine.  (I don't
know if that used to work on the 2.0 kernels, but I doubt it.)

Tim.
--
Tim Bell - [EMAIL PROTECTED] - Dept of Comp Sci & SE - Uni of Melbourne, Aust.

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

Date: Tue, 20 Jul 1999 23:16:03 -0700
From: Tim Moore <[EMAIL PROTECTED]>
Subject: Re: Riva TNT Drivers

> Please, take a look to
> ftp://ftp2.detonator.nvidia.com/pub/drivers/linux

ftp://ftp2.detonator.nvidia.com/pub/drivers/english/riva-tnt-tnt2-vanta/linux/
-- 
direct replies substitute timothymoore for user name

"Everything is permitted.  Nothing is forbidden."
                                   WS Burroughs.

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

From: [EMAIL PROTECTED] (Tim Roberts)
Subject: Re: vm86() syscall
Date: Wed, 21 Jul 1999 06:23:03 GMT

Josh Vanderhoof <[EMAIL PROTECTED]> wrote:

>"overflow" <[EMAIL PROTECTED]> writes:
>
>> Ok, Now I know, how to call it. But I want to know how to use it. How can I
>> do in vm86, can I call ints, and how can I go back to protected mode?
>
>I have an example of using vm86() at this address -
>
>http://userweb.interactive.net/~joshv/lrmi-0.6.tar.gz

And let me be the first to say how cool, indeed, is this lrmi package.  I
have incorporated it into the S3 ViRGE X server in XFree86 so that it can
use the VESA BIOS to do mode switches, thereby enabling it to benefit from
the considerable time and effort S3 puts into their BIOSes and eliminating
a whole host of chip dependencies.  It works slick as snot.

Thank you very much, Josh!
--
- Tim Roberts, [EMAIL PROTECTED]
  Providenza & Boekelheide, Inc.

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

From: [EMAIL PROTECTED] (Kaz Kylheku)
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.networking
Subject: Re: Why not C++
Date: Wed, 21 Jul 1999 06:42:26 GMT

On Tue, 20 Jul 1999 20:40:52 -0700, David Schwartz <[EMAIL PROTECTED]> wrote:
>       Sometimes the rules do need to be broken for one reason or another. A
>good language lets you do that when you need to.

An even better language lets you do it whenever you have the slightest
urge.  E.g. C and C++. :)

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

From: [EMAIL PROTECTED] (Peter Samuelson)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: when will Linux support > 2GB file size???
Date: 21 Jul 1999 01:33:15 -0500
Reply-To: Peter Samuelson <[EMAIL PROTECTED]>

  [bill davidsen <[EMAIL PROTECTED]>]
> > Yes, but this is only a problem with more than 2GB per process,
> > the memory management can certainly allow more than 2GB physical
> > to be used even if any given process will only get 2GB.
[Leslie Mikesell <[EMAIL PROTECTED]>]
> I thought the kernel memory map actually overlaid all of the user
> space so the total could only be 2GB.

I *think* it's an orthogonal problem.  sct is reportedly implementing
vm changes to make use the P6's 36-bit addressing; he and Linus
apparently worked out the design already.  I don't know if that design
allows userspace to be bigger or if it just does buffering.

-- 
Peter Samuelson
<sampo.creighton.edu!psamuels>

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

From: [EMAIL PROTECTED] (Peter Samuelson)
Subject: Re: MICROSOFT LINUX DISTRIBUTION
Date: 21 Jul 1999 03:39:51 -0500
Reply-To: Peter Samuelson <[EMAIL PROTECTED]>

  [Nix <$}xinix{[email protected]>]
> >The only `specifications' are
> >- the source, and
> >- a promise that nothing whatsoever will be done to avoid breaking
> >  binary compatibility between kernel versions.
[Christopher Browne <[EMAIL PROTECTED]>]
> I think you need to amend that second specification to:
> 
>   "a promise that binary compatibility won't *often* be broken between
>    kernel versions."

No, I think you misread the original statement.  Read it again.

Actually there is no "promise" involved, either way.  But Linus *does*
break binary compatibility (in kernel space; he is rightly very
reluctant to do so in user space) whenever convenient.  And he has
absolutely *no* sympathy for people who can't or won't just
recompile.  What was the quote?  "I want people to wake up in a cold
sweat every once in awhile if they use binary-only modules."

> If someone wants to persistently release proprietary modules, there
> is no assigned mandate to make this stable in the long term.

Exactly.

-- 
Peter Samuelson
<sampo.creighton.edu!psamuels>

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

From: [EMAIL PROTECTED] (Rowan Hughes)
Subject: Q: clean NTFS patch for 2.0.37
Date: 21 Jul 1999 07:49:25 GMT


If you have the NTFS code that patches cleanly with 2.0.37,
and, of course, works, plzs post to me.

Thank you
-- 
=======================================================
Dr Rowan Hughes                  [EMAIL PROTECTED]
Qld Dept Natural Resources          Forestry Bldg, 4.06    
CIS group, Indooroopilly. W:07-38969705   H:07-38768083

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

From: Michael Lachmann <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: severe SCSI hard disk problems
Date: Wed, 21 Jul 1999 03:42:26 -0600
Reply-To: [EMAIL PROTECTED]

Hi!
We are using an 18Giga drive as the main drive in our
lab. (We thought getting a big drive would solve our 
space problems...) The drive worked well for a couple of 
months, and now (last 2 days) it started to misbehave. 
In fact, things are so bad by now, that it is mounted 
read only for the time being.

The symptoms are as follows:
some days ago, one of the partitions was at 75% 
capacity, (out of 12G) but reported 'no space left on 
device'. We rebooted the computer using 
shutdown -F, to force a fsck. This reboot had a lot of 
problems. The following type of errors where reported:
=====
Jul 20 22:50:45 charles kernel: SCSI disk error : host 0 channel 0 id 8
lun 0 return code = 28000002
Jul 20 22:50:45 charles kernel: extra data not valid Current error
sd08:07: sense key Data Protect
Jul 20 22:50:45 charles kernel: Additional sense indicates Write
protected
Jul 20 22:50:45 charles kernel: scsidisk I/O error: dev 08:07, sector
0        
=====
and so on. fsck for some of the disk partitions, and was 
successful for others. Eventually, with manual fsck, we 
managed to get the machine back up.
After some time it continued to produce messages as 
mentioned above, as well as these:
----
Jul 20 22:50:45 charles kernel: EXT2-fs error (device sd(8,7)):
ext2_free_blocks: Freeing blocks not in datazone - block = 857747744,
count = 1    
----
Other symptoms included files not written to, contents 
of files being lost, and so on (all this happened 
earlier today). Now all the partitions are mounted 
read-only, and it seems that some of the files are in a 
state that they where in 2 days ago (i.e. edits got 
lost). 

We are running kernel version 2.2.5, and are using a 
Buslogic scsi adapter (a cat of /proc/scsi/Buslogic/0 is 
below)
Two more hints at what could be causing the problems are 
these:
We also have a tape drive on the same computer, also 
scsi. Since these errors occured, the tape drive could 
not be accessed. (Which makes it hard to do a backup)

Some users were running simulations, and the results got 
dumped into many files under one directory. It seems 
that each directory contains ~19000 files, for a total 
of ~1G data. These simulation where run on other 
computers, and the disk was mounted through NFS. The 
computer on which all these problems happened is our 
file-server.

Eventually, the /var/log/messages file grew to be 25M, 
and syslogd, and klogd took ~40% of the cpu time.

The problems where not limited to one partition, but to 
several partitions on the same disk.

What would you recomend to do? (Well, other than opening 
the computer and trying to push all the cables back into 
their sockets) Does this seem to be a hardware problem? 
Could it be related to the recent file-system 
corruptions? (Though I thought 2.2.5 was still early) 
Should we backup, reformat and then restore everything, 
or contact the manufacturer?


Thank you very much!

        Michael Lachmann
        [EMAIL PROTECTED]

proc/scsi/BusLogic/0 and proc/scsi/sci follow:

cat /proc/scsi/BusLogic/0
***** BusLogic SCSI Driver Version 2.1.15 of 17 August 1998 *****
Copyright 1995-1998 by Leonard N. Zubkoff <[EMAIL PROTECTED]>
Configuring BusLogic Model BT-958 PCI Wide Ultra SCSI Host Adapter
  Firmware Version: 5.05R, I/O Address: 0x8100, IRQ Channel: 17/Level
  PCI Bus: 0, Device: 13, Address: 0xE0805000, Host Adapter SCSI ID: 7
  Parity Checking: Enabled, Extended Translation: Enabled
  Synchronous Negotiation: UUUUUUF#UUUUUUUU, Wide Negotiation: Enabled
  Disconnect/Reconnect: Enabled, Tagged Queuing: Enabled
  Scatter/Gather Limit: 128 of 8192 segments, Mailboxes: 211
  Driver Queue Depth: 211, Host Adapter Queue Depth: 192
  Tagged Queue Depth: Automatic, Untagged Queue Depth: 3
  Error Recovery Strategy: Default, SCSI Bus Reset: Enabled
  SCSI Bus Termination: High Enabled, SCAM: Enabled, Level 1
*** BusLogic BT-958 Initialized Successfully ***

Target 8: Queue Depth 28, Wide Synchronous at 40.0 MB/sec, offset 15

Current Driver Queue Depth:     211
Currently Allocated CCBs:       35


                           DATA TRANSFER STATISTICS

Target  Tagged Queuing  Queue Depth  Active  Attempted  Completed
======  ==============  ===========  ======  =========  =========
   8        Active           28         0        11511      11511

Target  Read Commands  Write Commands   Total Bytes Read    Total Bytes
Written
======  =============  ==============  =================== 
===================
   8          10317           1190              194503680             
6471680

Target  Command    0-1KB      1-2KB      2-4KB      4-8KB     8-16KB
======  =======  =========  =========  =========  =========  =========
   8     Read            0       6587         14          4        576
   8     Write           0        627          0          0        563

Target  Command   16-32KB    32-64KB   64-128KB   128-256KB   256KB+
======  =======  =========  =========  =========  =========  =========
   8     Read            9       3116         11          0          0
   8     Write           0          0          0          0          0


                           ERROR RECOVERY STATISTICS

          Command Aborts      Bus Device Resets   Host Adapter Resets
Target  Requested Completed  Requested Completed  Requested Completed
  ID    \\\\ Attempted ////  \\\\ Attempted ////  \\\\ Attempted ////
======   ===== ===== =====    ===== ===== =====    ===== ===== =====
   8         0     0     0        0     0     0        0     0     0

External Host Adapter Resets: 0
Host Adapter Internal Errors: 0  



 cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 08 Lun: 00
  Vendor: QUANTUM  Model: QM318000TD-SW    Rev: N1B0
  Type:   Direct-Access                    ANSI SCSI revision: 02

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

From: Parox <[EMAIL PROTECTED]>
Subject: Problem getting the printers working, help?
Date: Wed, 21 Jul 1999 12:03:20 +0200

If i do a ls > /dev/lp0 i get the following message: /dev/lp0: No such
device
but the device does exist in /dev

also tried to print to /dev/parport0

when booting the linuxbox it detects the printer ports (parport0 and 1)

I'm running rh6.0 width kernel 2.2.10

I know nothing to trie anymore... ;-(

Thanks for your time....


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

From: Sidney Cadot <[EMAIL PROTECTED]>
Subject: documentation for /dev/mem (and other devices)
Date: Wed, 21 Jul 1999 12:30:35 +0200


Hi,

I'm doing some development work and I'd like to see if some features offered by
the /dev/mem device suit my needs.

To my dismay, I haven't been able to find decent documentation for this
device's features, uses, and limitations. I found myself in the same situation
about a year ago, when I couldn't find some functionality in the serial driver
and had to resort to using the source code as a substitute for documentation.

Could anybody tell me if there exists such documentation for devices (and
specifically the /dev/mem device), and where to find it?

Thanks in advance,

  Sidney Cadot
  [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Jan Andres)
Subject: Re: Linux on PS/2 MCA ESDI????
Date: 21 Jul 1999 07:49:28 GMT

In article <[EMAIL PROTECTED]>, Roy Grimm wrote:
>User Bsdbob BSD Bob wrote:
>> 
>> Anyone have a pointer to a Linux that is known to boot and run
>> directly on an IBM PS/2 Model 80, 10mb ram, 2 x 315mb ESDI drives?
>> If so, I would like the pointer to it.
>> 
>> Thanks
>> 
>> Bob Keys
>
>If I'm not mistaken, Linux does not support microchannel at all.  Go to
>www.linux.org and look for the supported architectures...

Yes, it supports Microchannel. But I don't know if it supports ESDI,
whatever this might be. :-)

-- 
Jan Andres
[EMAIL PROTECTED]
Ham radio: DH2JAN

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

From: Ole Jacob Taraldset <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: High load average, low cpu usage
Date: Wed, 21 Jul 1999 15:56:55 +0200

I have a PII 450 MHz w/512 MB ram and a clean RedHat 6.0 w/updates .
When I take a look at cpu usage i kpm/qps most of the cpu is idle
(~85%), but load average reports around 2. Isn't load average a function
of cpu usage (only, mostly)? Can it be that some process is running, but
not showing in ps/top/kpm? I feel that the system response has been
reduced quite a bit after upgrading to RedHat 6.0.

Please email me as well as post to this NG!

Ole Jacob
-- 
GexCon AS, Bergen, Norway  <http://www.gexcon.com>
Tel : +47 55574334 (office) +47 55558650 (home)
Mob.tel. : +47 95080525  Fax : +47 55574331
PGP key : <http://home.c2i.net/ojt/pgp.txt>

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

From: Frank Mayer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: Re: Makefiles for multiple programmers
Date: Wed, 21 Jul 1999 16:33:16 +0200

Randy Galliher wrote:
> 
> Is there an optimal makefile for a large software project involving
> several programmers.  It is desireable to have the baseline source in a
> separate directory with the objects stored in libraries.   This would
> allow each programmer to build and test their own version of the project.
> 
> I have been looking for a "how-to" or an example of a makefile that does
> this already, but have found none on the net.
[Snip]

Hi!

To me it looks like your problem is addressed by various tools, e.g.
cvs.
With cvs you have a global "source repository" where stable sources and
binaries are kept and you have working copies of all the needed files
somewhere in the programmer's home directory.
Whenever a programmer has tested his part of the project, he checks for
changes in the baseline source that might affect his work and then
commits his changes to the repository where the other programmers can
get the latest sources from.
Information on cvs can be found e.g. at
http://www.cs.utah.edu/csinfo/texinfo/cvs/cvs_toc.html

-- 
Frank Mayer         Technische Universitaet Wien,Dept. 183/2
phone: +43-1-58801-18352   http://www.prip.tuwien.ac.at/~may
Anti-SPAM-Campagne unter http://www.politik-digital.de/spam/

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

From: [EMAIL PROTECTED]
Crossposted-To: linux.debian.devel
Subject: Kernel, AOLserver, and Oracle .so driver wierdness
Date: Wed, 21 Jul 1999 15:27:17 GMT

The recently GPL'd AOLserver (www.aolserver.com) can connect to Oracle
using a GPL'd driver from Arsdigita (www.arsdigita.com).

When starting up the server however, the driver (often called ora8.so)
often fails to load. The driver will load and function correctly after
many repeated AOLserver restarts. There is no noticeable pattern to
good or bad loads.

Each time it fails to load the driver, error messages complaining of
undefined symbols pop up in the server's log. The symbols it complains
about are very often different or nonsensical with each failed load.

The problem has been seen on kernels 2.0.36 through 2.2, glibc 20.07
through >= 2.1.

The problem is only seen on Linux, not HP/UX, Irix, etc., leading some
to suspect a kernel bug.

We would like to isolate and kill the bug, but need suggestions. Here
are excerpts from the AOLserver logs:


A good load:

[19/Jul/1999:02:19:37][1358.1358][-main-] Notice: AOLserver/3.0b1
starting.
[19/Jul/1999:02:19:37][1358.1358][-main-] Notice: security info:
uid=1006, euid=1006, gid=1006, egid=1006
[19/Jul/1999:02:19:37][1358.1358][-main-] Notice: loading:
/opt/aolserver/bin/ora8.so
[19/Jul/1999:02:19:37][1358.1358][-main-] Notice: Loaded driver
'Oracle8', version '1.0.2 for aolserver 3', built on 02:07:59/Jul 19
1999


One bad load, note the name of the undefined symbol:

[20/Jul/1999:00:56:14][446.446][-main-] Notice: AOLserver/3.0b1
starting.
[20/Jul/1999:00:56:14][446.446][-main-] Notice: security info:
uid=1006, euid=1006, gid=1006, egid=1006
[20/Jul/1999:00:56:14][446.446][-main-] Notice: loading:
/opt/aolserver/bin/ora8.so
[20/Jul/1999:00:56:15][446.446][-main-] Warning: could not load
/opt/aolserver/bin/ora8.so: /opt/aolserver/bin/ora8.so: undefined
symbol: ncrfglft
[20/Jul/1999:00:56:15][446.446][-main-] Error: nsd.db: could not load
driver: ora8
[20/Jul/1999:00:56:15][446.446][-main-] Error: nsd.db: no such default
pool: main
[20/Jul/1999:00:56:15][446.446][-main-] Notice: nsd.db: no configured
pools


Another bad load, notice the different undefined symbol:

[20/Jul/1999:01:16:58][444.444][-main-] Notice: AOLserver/3.0b1
starting.
[20/Jul/1999:01:16:58][444.444][-main-] Notice: security info:
uid=1006, euid=1006, gid=1006, egid=1006
[20/Jul/1999:01:16:58][444.444][-main-] Notice: loading:
/opt/aolserver/bin/ora8.so
[20/Jul/1999:01:16:59][444.444][-main-] Warning: could not load
/opt/aolserver/bin/ora8.so: /opt/aolserver/bin/ora8.so: undefined
symbol: nstrcarray
[20/Jul/1999:01:16:59][444.444][-main-] Error: nsd.db: could not load
driver: ora8
[20/Jul/1999:01:16:59][444.444][-main-] Error: nsd.db: no such default
pool: main
[20/Jul/1999:01:16:59][444.444][-main-] Notice: nsd.db: no configured
pools


I'm running Debian/GNU Linux 2.1 (kernel 2.0.36, glibc6 2.0.7). Has
anybody come across this class of problem before, and how did you fix
it?


Regards,

...Edmund.


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

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


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