Linux-Development-Sys Digest #943, Volume #6      Fri, 9 Jul 99 04:13:56 EDT

Contents:
  Re: 2.2.10-ac8 won't link on sparc (N1ho)
  Special! ("Apelsin")
  Re: libstdc++ 2.8.1 errors? (Allin Cottrell)
  awake computer from standby-mode (Gerhard Siegesmund)
  Re: ASSEMBLER problem (Josef =?iso-8859-1?Q?M=F6llers?=)
  Re: CD-ROM File Time Bug (Cameron Hutchison)
  Ganymede 0.99.4 released (Jonathan Abbey)
  Re: kernel (Josef =?iso-8859-1?Q?M=F6llers?=)
  Re: RedHat 6.0 Installation crashes... (Josef =?iso-8859-1?Q?M=F6llers?=)
  Re: Memory handling with really large processes (> 6-700MB) (Ole Jacob Taraldset)

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

From: [EMAIL PROTECTED] (N1ho)
Subject: Re: 2.2.10-ac8 won't link on sparc
Date: 09 Jul 1999 03:08:23 GMT

I'm seeing a similar problem on an SMP Intel box with ac6, ac8 and ac9.

(HW: Asus P2L97-DS, 2x 333MHz Pii,
384MB memory. SW: Mandrake 6.0
with all updates shown on their support
page as of 1 July). I even tried adding
'fno-strict-aliasing' to the CFLAGS
definition area in the Makefile, but got
the same results. 'asm' is linked to
'asm-i386' properly. The vanilla 2.2.10
tree from ftp.{}.kernel.org built properly.
(2.3.9 didn't, but for other, well-known
reasons). Apologies in advance for the
messy way that the compiler output is
presented below.

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2
-malign-jumps=2 -malign-functions=2 -DCPU=686  -c -o init/main.o
init/main.c/usr/src/linux/include/linux/pagemap.h: In function
`page_address':In file included from /usr/src/linux/include/linux/locks.h:8,   
             from /usr/src/linux/include/linux/blk.h:5,                 from
init/main.c:23:/usr/src/linux/include/linux/pagemap.h:17: `PAGE_OFFSET_RAW'
undeclared (first use in this
function)/usr/src/linux/include/linux/pagemap.h:17: (Each undeclared identifier
is reported only once/usr/src/linux/include/linux/pagemap.h:17: for each
function it appears in.)/usr/src/linux/include/linux/pagemap.h:18: warning:
control reaches end of non-void function/usr/src/linux/include/asm/pgtable.h:
In function `get_pgd_slow':In file included from
/usr/src/linux/include/linux/vmalloc.h:7,                 from
/usr/src/linux/include/asm/io.h:101,                 from
init/main.c:26:/usr/src/linux/include/asm/pgtable.h:408: `PAGE_OFFSET_RAW'
undeclared (first use in this function)/usr/src/linux/include/asm/pgtable.h: In
function `pte_alloc_kernel':/usr/src/linux/include/asm/pgtable.h:497:
`PAGE_OFFSET_RAW' undeclared (first use in this
function)/usr/src/linux/include/asm/pgtable.h:505: warning: control reaches end
of non-void function/usr/src/linux/include/asm/pgtable.h: In function
`pte_alloc':/usr/src/linux/include/asm/pgtable.h:515: `PAGE_OFFSET_RAW'
undeclared (first use in this function)/usr/src/linux/include/asm/io.h: In
function `virt_to_phys':In file included from
init/main.c:26:/usr/src/linux/include/asm/io.h:112: `PAGE_OFFSET_RAW'
undeclared (first use in this function)/usr/src/linux/include/asm/io.h:113:
warning: control reaches end of non-void
function/usr/src/linux/include/asm/io.h: In function
`phys_to_virt':/usr/src/linux/include/asm/io.h:117: `PAGE_OFFSET_RAW'
undeclared (first use in this function)/usr/src/linux/include/asm/io.h:118:
warning: control reaches end of non-void
function/usr/src/linux/include/asm/io.h: In function
`check_signature':/usr/src/linux/include/asm/io.h:175: `PAGE_OFFSET_RAW'
undeclared (first use in this function)make: *** [init/main.o] Error 1


=====BEGIN GEEK CODE BLOCK=====
GCS/CC d+ s:+>:  a+ C+++ UO++$L++>$ P L+++ E- W+ N++ K? w--- !O M? V--
PS+ PE+ Y+ PGP- t++ 5 X+ R* tv b++ DI+++ D? G e++ h+ r-- y--
=====END GEEK CODE BLOCK=====
Spam shared with [EMAIL PROTECTED]

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

From: "Apelsin" <[EMAIL PROTECTED]>
Subject: Special!
Date: Fri, 9 Jul 1999 07:51:43 +0400

Special!
http://www.chat.ru/~saturn7/



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

From: Allin Cottrell <[EMAIL PROTECTED]>
Subject: Re: libstdc++ 2.8.1 errors?
Date: Fri, 09 Jul 1999 00:33:07 -0400

Kyle Howell wrote:

> I am having a problem that is apparently originating from 
> libstdc++ 2.8.1.1.

This can be tricky, since the current egcs builds libstdc++ 2.9.0.
I have a menagerie of libstdc++ versions for use with netscape at

ftp://ricardo.ecn.wfu.edu/pub/netscape-libs

You might try the 2.8.1.1 from there (works for me with the glibc
netscape 4.61).

Allin Cottrell

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

Date: Thu, 08 Jul 1999 12:18:01 +0200
From: [EMAIL PROTECTED] (Gerhard Siegesmund)
Subject: awake computer from standby-mode

Hello all

Is it somehow possible to awake the computer from standby-mode at a
given time? I am using apm -S to put the computer into standby-mode. But
now I want to awake it at 4:00 to run some cronjobs. Is it possible? My
motherboard is a gigabyte ga686bx. I am running Linux 2.2.9. 

-- 
cu
  --== Jerri ==--
Homepage:       http://www.cip.physik.uni-muenchen.de/~siegesm/
finger [EMAIL PROTECTED] to get PGP Public Key

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

From: Josef =?iso-8859-1?Q?M=F6llers?= <[EMAIL PROTECTED]>
Crossposted-To: linux.dev.kernel
Subject: Re: ASSEMBLER problem
Date: Fri, 09 Jul 1999 07:54:54 +0200

Vincent wrote:
> =

> How can I put a varaible in a register
> =

> void toto()
> {
>     int val=3D0;
> =

>     __asm__("mov val,ax");
>     printf("%d\n", val);
> }
> =

> When I compil, I've this message: unindentifer ax !!!
> =

> I've tryed with %ax but the variable val is always 0 but it's compil an=
d
> run.
Have you tried different initialization values for val?

First of all, Linux is a 32-bit OS, so an int is 32 bits and you should
write "mov val,%eax". Secondly, the syntax of the __asm__ thingy is not
that simple, due to the structure of the compiler. In writing "mov
<var>,%eax", you imply that <var> is a global variable, which it is not,
in this context.

You might want to have a look at the gcc info (type "info gcc" and the
follow "C Extensions" -> "Extended Asm"). Beware that it's pretty tough
stuff, though.

Josef
-- =

PS Die hier dargestellte Meinung ist die persoenliche Meinung des
Autors!
PS This article reflects the autor=B4s personal views only!

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

From: Cameron Hutchison <[EMAIL PROTECTED]>
Subject: Re: CD-ROM File Time Bug
Date: 9 Jul 1999 04:43:59 GMT

Terry Boldt <[EMAIL PROTECTED]> writes:

>I have recently encoutered a problem with listing file times on the
>CD-ROM. I have cross checked the file times between MS-DOS 6.2, OS/2 and
>Linux. MS-DOS and OS/2 both agree on the time a file was written to the
>CD-ROM, but Linux adds 3 hours to the time. 

What timezone are you in? Is it UTC+3 ? If so, that my account for your
problem.

>For example under MS-DOS and
>OS/2 the file time is listed as 1:15 pm. Using the command 'ls -l
>--full-time /mnt/cdrom' under Linux the file time is listed as 16:15.
>Since both MS-DOS and OS/2 (using both the 'dir' and the GNU 'ls -l
>--full-time' commands) both agree on the file time, I assume that Linux
>as the odd man out is incorrect. 

[You haven't told us what filesystem is used on the CD-ROM]

If the standard for the filesystem format you are using specifies that a
timestamp should be in UTC, then your DOS and OS2 boxes are broken. If the
standard specifies (localtime + timezone), then linux is broken. It it
specifies just localtime then the standard is broken.

If you dont want ls to do any timezone conversions when it displays the
time, try 'TZ= ls -l --full-time'. That TZ= at the beginning is setting the
timezone to an empty string for the ls invocation, effectively setting your
timezone (for ls) to UTC.

>I have checked the file times listed
>under Linux for files on the hard disk and floppies, they are correct
>for when I created the files. So I assume that the problem is in the
>CD-ROM driver.

Assuming the problem is actually in linux.

>Getting file times that agree across multiple platforms is crucial to my
>application and so, of course, this problem came to my attention very
>quickly. 

How are you "Getting file times"? Is this in a program, or just using ls? I
ask because stat(2) is going to return times that are in UTC (or at least,
what it thinks it UTC - usually what is stored on the disk), and will
return the same times you are getting for DOS and OS2.

The only time when timezones should matter is when displaying times to
users or getting times from users. All other times should always in in UTC
(or localtime + timezone). Otherwise you cannot meaningfully compare times.

For what purposes are you comparing times?


-- 
Cameron Hutchison ([EMAIL PROTECTED]) | Onward To Mars
GCS d--@ -p+ c++(++++) l++ u+ e+ m+(-) s n- h++ f? !g w+ t r+

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

From: Jonathan Abbey <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.admin
Subject: Ganymede 0.99.4 released
Date: 09 Jul 1999 01:15:19 -0500

Ganymede 0.99.4 is now available for download at

 http://www.arlut.utexas.edu/gash2/

or

 ftp://ftp.arlut.utexas.edu/pub/ganymede/

Mirrors: (may take a short while to update)

 ftp://ftp.netlag.com/ganymede/ (USA)
 ftp://mirror.aarnet.edu.au/pub/ganymede/ (Australia/NZ only)
 ftp://ftp.kddlabs.co.jp/pub/ganymede/ (KDD R&D Labs, Saitama, Japan)

Ganymede is a GPL'ed network directory management system written in
Java, providing support for team management of NIS, DNS, etc.

--

The big news for this release includes a reworking of the install
scripts to make it easier to install the server and the web client
resources, a significant rewriting of the admin console to improve
security and simplify installation, and an improved installation
guide.

Generally more polished, closer to production quality.  The next
things to do involve more operational documentation and better
packaging of the schemas, including lots of support scripting for
the gasharl schema.

Just over the horizon is a new DNS/XML system for flexibly and
comprehensively managing DNS with Ganymede.

As always, feedback is eagerly solicited.. if I don't hear from
anyone, I just have to guess as to whether it's working for people,
which isn't the most efficient method.

==================== Changes from 0.99.3 to 0.99.4 ===================

RELEASE DATE: July 8, 1999

1. [SERVER] Optimizations to permissions system

The simplifications to GanymedeSession.getPerm(object,field) that
I did for 0.99.3 was in fact doing too much work, and the logic
didn't flow clearly.

GanymedeSession.getPerm(object, field) is now correct, efficient, and
easy to read.

2. [SERVER] Added new versions of anonymousLinkOK/UnlinkOK() to DBEditObject

It was previously impossible to grant anonymous linking privileges to
a field only when the other side of the link was being created in a
particular object type/field.  This posed a problem in the
circumstance where you want to allow a specific field in a given
object type to be linked to another object type's backlinks field
without having general editing permissions for the other object.

I added a couple of new versions of these methods that take additional
parameters identifying the originating object and field, so that
customizers can take the other side of the proposed link into
consideration before granting anonymous linking permissions.

See the DBEditObject.anonymousLinkOK()/anonymousUnlinkOK() javadocs
for details.  Hopefully I'll get around to writing a full-scale
technical manual for Ganymede that will go into when/where you would
use these methods.

Modified InvidDBField.bind() and InvidDBField.unbind() to call the
new versions.

3. [CLIENT] Improved StringSelector used in String and Invid fields

The StringSelector GUI component used in the client to allow editing
of String and/or Invid vector fields has been fixed so that it does
not include the text box for entering custom entries unless the
StringSelector is editable.

Fixed some minor GUI problems with the StringSelector resizing itself
to a minimum size after adding a new entry to an empty
no-choices-provided string selector, made the 'remove' button disable
itself after removing something.

4. [SCHEMA] Improved email list behavior in gasharl schema

An email list owner can now add any user, list, or redirect to his
list without having general editing privileges for that user, list,
or redirect.

This takes advantage of change #2, above.

5. [INSTALL] Various improvements to the install process

Modified installServer so that the custom loading instructions it
writes out at the end is sent to a README.custom file in the installed
server's directory rather than to screen.  No sense spewing a couple
of screen's worth of customized install instructions if the user has
to do cut and paste to save it to a file for reading.

Added an installWeb script to install the web files into a designated
directory, separate from the normal UNIX client install.  This has the
advantage that you can install the web resourcs for Ganymede without
having to have Swing installed locally (which installClient checked
for.)

Added a handy index.html file for the Ganymede web resources, got rid
of the old activator and hotjava directories, added a nice set of web
frames to allow the installer to bring up their browser and directly
visit the directory where they installed the web resources.

6. [WEB FILES] Updated plugin client files for 1.2

The plugin client files were re-generated from the 1.2 htmlconvertor
utility, and now include proper links to the latest version of
Sun's java plug-in for Solaris and Windows.

7. [SCHEMA] Fixed BSD schema master.passwd parser, Linux passwd parser

The old Linux and BSD passwd file parsers would break if they
encountered a user record with a blank password field.

Modified GanymedeServer.login() and GanymedeServer.admin() to make
sure the server won't throw a null pointer exception if the database
contains a user or admin persona with no password during the login
process.

If a Ganymede user record has no password set, that user will not be
able to login to the Ganymede server.  Unlike UNIX, Ganymede never
lets anyone log in without a password.

8. [ADMIN CONSOLE, SERVER] Reworked admin console, server's admin API

Fixed the admin console so that it will properly log itself out when
it is closed through the window system.

In prior versions, the admin console wanted to know the name of the
supergash account on the server, so that it could preemptively refuse
to perform certain operations.. this really makes no sense at all, and
was never needed for security.  The admin console now goes ahead and
attempts such operations, and depends on the server properly refusing
the operations.

The install scripts no longer prompt for the supergash account name
when installing the UNIX and web clients.

Also in previous versions, the server wasn't actually honoring the
console permissions checkboxes in the admin persona objects.. any
admin persona could log into the server via the admin console, but no
one other than supergash could do any control operations.  The admin
persona console permissions checkboxes now properly control the
server's response to admin console operations.

Admins other than supergash and monitor will need to log into the
server via the admin console using their full persona name.. i.e.,
'broccol:GASH Admin'.

9. [DOCUMENTATION] Revised, improved the install guide, added FAQ

Significantly revised and enhanced the install guide, corrected some
mistakes, included information on the use of installWeb.

The text INSTALL file is now a lynx-generated version of the HTML
file.. it was too much work and too error-prone trying to maintain
both independently.

Added a text FAQ file.  Will convert this into a nice web version at
some point.

-- 
===============================================================================
Jonathan Abbey                                        [EMAIL PROTECTED]
Applied Research Laboratories                 The University of Texas at Austin
Ganymede, a free NIS/DNS management system    http://www.arlut.utexas.edu/gash2

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

From: Josef =?iso-8859-1?Q?M=F6llers?= <[EMAIL PROTECTED]>
Subject: Re: kernel
Date: Fri, 09 Jul 1999 08:09:56 +0200

Astro wrote:
> =

> What is that, kernel?
> Astro.

If you take "operating system" as being the kernel plus all the
utilities and susbsystems necessary to actually get the whole thing up
and running, "kernel" refers to that part of the operating system that
directly handles the hardware (interrupts, devices, memory management,
et. al.). Wrt Linux, "kernel" is that part of the entire operating
system whose sourcecode usually resides in "/usr/src/linux".
The kernel is the only part of the entire operating system that must run
in some kind of privileged mode where it can access i/o ports, memory
management registers etc.)

In Linux/Un*x, it proveides a "virtual machine" for applications that
have a virtual address space as well as a separate set of "instructions"
(aka "system calls") that translate virtual concepts like "files" into
physical concepts like "disks".

Hope this confuses less than it clarifies,

Josef
-- =

PS Die hier dargestellte Meinung ist die persoenliche Meinung des
Autors!
PS This article reflects the autor=B4s personal views only!

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

From: Josef =?iso-8859-1?Q?M=F6llers?= <[EMAIL PROTECTED]>
Subject: Re: RedHat 6.0 Installation crashes...
Date: Fri, 09 Jul 1999 08:12:16 +0200

Marc Jauvin wrote:

> Yes, it seems it only happens with LARGE partitions. I will do more tes=
ting
> but I am havin trouble with a 11GB partition.
> =

> Every time I try to use mke2fs or e2fsck on that partition it fails wit=
h a
> core dump of the kernel or the program (e2fsck/mke2fs).

Just to add my "I've done ...":
I've done a 19GB partition with no problems (from that side B-{)

Josef
-- =

PS Die hier dargestellte Meinung ist die persoenliche Meinung des
Autors!
PS This article reflects the autor=B4s personal views only!

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

From: Ole Jacob Taraldset <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development
Subject: Re: Memory handling with really large processes (> 6-700MB)
Date: Fri, 09 Jul 1999 09:25:22 +0200

Hi,

The CAD program is a front-end to a CFD Explosion Simulator called FLACS
(FLame ACceleration Simulator). It is commercial available with the
FLACS package. Please see <http://www.gexcon.com/> if you're interested.

Ole Jacob

[EMAIL PROTECTED] wrote:
> 
> sir,
> i can not help you with your memory problems, but i would be interested
> in learning more about this cad program.
> will it be offered to the public?
> or is it "in house" only?
> i assume it will be commercial software?
> is it a mechanical cad?  civil?  architectural?  other?
> what is it called?
> i followed the link but was not sure what i was looking for.
> i have a web site for cad software and i'm always looking for new
> additions.
> 
> thankyou
> 
>         phrostie
> 
> In article <[EMAIL PROTECTED]>,
>   Ole Jacob Taraldset <[EMAIL PROTECTED]> wrote:
> > My company has developed a CAD tool to accompany our CFD tool FLACS.
> It
> > is written in c/c++ and runs under HP, SGI, Sun and is also ported to
> > Linux. If you load a large geometry into the CAD tool the process can
> > become very large (close to 1GB, OK we have some major memory
> leaks...).
> >
> > When the process becomes so large that it hits the roof it aborts with
> > an out of memory message on HP, SGI and Sun, but on Linux it brings
> the
> > whole system to its knees. I loose complete control of the machine for
> > 5-10 minutes and then the CAD process dies and I regain control of the
> > machine. The problem is that it takes with it a random number of other
> > processes. Sometimes just the wm, other times X and a lot of services.
> >
> > The CAD tool is of course run as a normal user. This should not
> happen,
> > right? I thought Linux, as any UN*X, protects processes from each
> other.
> > Since the machine doesn't die completely I guess the kernel it self is
> > protected in a way.
> >
> > If you reply please also reply to my email address, as I'm not a
> regular
> > reader.
> >
> > Ole Jacob Taraldset
> > GexCon AS
> >
> > --
> > 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>
> >
> 
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.

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

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


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