Linux-Misc Digest #216, Volume #26                Thu, 2 Nov 00 22:13:02 EST

Contents:
  Re: need windows prog to transfer files to linux (Christopher Browne)
  Re: Internet connection sharing (Dances With Crows)
  Re: CDROM problems (Dances With Crows)
  Re: What info the kernel image has about my system. (Dances With Crows)
  Re: Duplicate a DOS floppy disk (Dances With Crows)
  Re: Linux support for PDAs/organizers other than Palm Pilot? (Christopher Browne)
  Re: News Reader (Christopher Browne)
  AnyJ IDE crashes on libjava.so. What to do now? (Ivan Daudt)
  Re: Shared Memory (Randy Feeney)

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

From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: need windows prog to transfer files to linux
Reply-To: [EMAIL PROTECTED]
Date: Fri, 03 Nov 2000 02:35:19 GMT

In our last episode (Tue, 31 Oct 2000 14:30:16 -0600),
the artist formerly known as Jerry Todd said:
>I am using a dual boot system with a hard drive for windows and a seperate
>hard drive for linux.  I would like to get files off of my windows drive and
>onto my linux drive.  Does anyone know of a program that can transfer files
>from windows to linux?

You should be able to mount the Windows "partitions" when running
Linux, and thereby have direct access to the data.  There may not be a
need to "transfer" the files depending on what you're doing...

On the Linux side, you should be able to query what partitions are out
there via some combination of the following commands:
# fdisk -l
# fdisk -l /dev/hda
# fdisk -l /dev/hdb

When you locate the Windows partitions, you should be able to mount
them via something analagous to the following:

# mkdir /mnt/windowsc
# mkdir /mnt/windowsd
# mount -t msdos /dev/hda1 /mnt/windowsc
# mount -t msdos /dev/hda2 /mnt/windowsc

[where you'd replace "/dev/hda1" and "/dev/hda2" with the names you
found using the "fdisk -l" commands as being Windows partitions].

At this point, you would do "cd /mnt/windowsc" and find there all the
files on the "C drive"; similarly "/mnt/windowsd" would be connected to
the "D drive", assuming you have such...

If you want to regularly mount the Windows filesystems from Linux, you
may want to add entries to the file /etc/fstab to automatically mount them.
-- 
"Over the centuries the Indians developed sign language for
communicating phenomena of interest.  Programmers from different
tribes (FORTRAN, LISP, ALGOL, SNOBOL, etc.) could use one that doesn't
require them to carry a blackboard on their ponies." -- Alan Perlis
[EMAIL PROTECTED] <http://www.ntlug.org/~cbbrowne/lsf.html>

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Internet connection sharing
Date: 3 Nov 2000 02:36:43 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 02 Nov 2000 23:56:33 GMT, inon21 wrote:
>Please help this newbie. I have a win98 box and from my WinNT box I can
>share the internet connection (of course ICS installed on the win98).
>Can I do the same from the Linux box i.e. can I share the internet
>connection from the Linux box.
>
>Oh well, I need to yet bring up the Ethernet card up and running and
>then want to share the internet. Please share your expert comments and
>thoughts about what is the possiblity of my plan working.

Get the Ethernet card working first.  If you could mention the exact
make and model of the card, someone will be able to help you.  Or you
can read your distro's paper manual, where they have a chapter on
configuring Ethernet cards, or you could run your distro's automated
setup tool (YaST, Linuxconf, DrakConf) and see what options it has for
networking.  Also visit http://linuxdoc.org/HOWTO/Ethernet-HOWTO.html

Once that's done, go visit
http://linuxdoc.org/HOWTO/IP-Masqing-HOWTO.html for advice on how to set
up IP-Masqing.  Though it's a bit more difficult to set up (requiring a
kernel recompile, I'd bet) than the Lose9x way of doing things, it's
a more flexible/powerful way of sharing a single connection among N
users.  Took me half an hour to get it going, and 10 minutes of that was
waiting for the kernel to compile.  HTH, good luck....

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: CDROM problems
Date: 3 Nov 2000 02:36:44 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 02 Nov 2000 23:47:04 GMT, inon21 wrote:
>Please help a newbie - once I login into the shell I can mount the
>cdrom (fs type iso9660), however once I go into my X desktop (KDE),
>mount says 'wrong medium type.'
>=======================================
>hdd: packet command error: status=0x51 { DriveReady SeekComplete Error }
[snip]

Which kernel version is this?  What's the exact make/model of your
CD-ROM?  Is it jumpered correctly?  (set it to Slave; "Cable Select" can
cause problems.)  Some older kernels had problems with "high-speed"
(>40X) drives which were fixed around 2.2.14 or 2.2.15.  You might as
well get the latest stable kernel, 2.2.17, as you'll have to recompile
the thing anyway for IP-Masqing as you indicated in another message.
HTH,

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: What info the kernel image has about my system.
Date: 3 Nov 2000 02:36:46 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 02 Nov 2000 20:37:59 GMT, mike wrote:
>    I understand that the image root device, swap device, RAM disk
>size, and video modes are stored in certain standardized locations
>in the Linux kernel image. I was wondering if there is any
>other information that is "remembered" by the kernel image
>file on the hard drive relating to ones current operating system
>parameters, for example nework parameters like routing
>or network device configuration or anything else.

You can look at the source code for "rdev" to see exactly what
information gets stored in the kernel about video modes, RAMdisk
location, default video mode, and location of /.  Info about swap is
*not* stored directly in the kernel image, but in /etc/fstab.  Same
thing for routing and net device configuration--those bits of info are
in /etc/ somewhere.  Routing info is in /etc/route.conf on my SuSE
system, and somewhere within the depths of
/etc/sysconfig/network-scripts/ on RedHat.  Net device configuration is
in /etc/rc.config (SuSE) or /etc/sysconfig/network-scripts/ (RedHat).
Info on what modules are available for networking is in
/etc/modules.conf and /lib/modules/$KERNELVERSION/modules.dep .  If you
compiled support for a net device directly into the kernel, then it'll
be there, but not otherwise.  Hope this answers your question and
doesn't confuse....

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

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

From: [EMAIL PROTECTED] (Dances With Crows)
Subject: Re: Duplicate a DOS floppy disk
Date: 3 Nov 2000 02:36:47 GMT
Reply-To: [EMAIL PROTECTED]

On Thu, 02 Nov 2000 17:40:08 GMT, Lee Allen wrote:
>On Thu, 02 Nov 2000 17:30:06 -0000, XWinger <[EMAIL PROTECTED]>
>wrote:
>>Hi, I tried to use "diskcopy" to duplicate a floppy disk but failed. The 
>>dos program reports that there is unrecoverable error. This error may be 
>>the result of some protection imposed onto the disk and make it impossible 
>>to be duplicated in DOS. I cannot seem to copy the disk track-by-track. 
>>There might be some mixed/special file structure on the floppy. I am now 
>>wondering if I can create an image of the whole floppy regardless of 
>>data/file structure, and create an identical floppy. Thanks in advance.
>
>cd /tmp
>(insert source diskette)
>dd if=/dev/fd0 of=dkt.img bs=10k
>(insert target diskette)
>dd if=dkt.img of=/dev/fd0 bs=10k
>rm dkt.img
>I have no idea whether that will circumvent the copy-protection
>scheme.  I would like to know whether it works, though!

This all depends on the copy-protection scheme used.  There were a
number of games back in the old days that used not only a wonky
filesystem, but disks where sector Y was bad.  The game, when it started
up, tried to read sector Y, and if it didn't get an I/O error, it shut
down.

If this is the case, you can still get the data off the disk using dd's
conv=noerror option, but I don't precisely know how you'd go about
making a specific sector unreadable.  I heard there were some DOS
programs around for doing this sort of thing, though.  HTH,

-- 
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin /  Workin' in a code mine, hittin' Ctrl-Alt
http://www.brainbench.com     /   Workin' in a code mine, whoops!
=============================/    I hit a seg fault....

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

From: [EMAIL PROTECTED] (Christopher Browne)
Crossposted-To: comp.os.linux.hardware
Subject: Re: Linux support for PDAs/organizers other than Palm Pilot?
Reply-To: [EMAIL PROTECTED]
Date: Fri, 03 Nov 2000 02:36:51 GMT

In our last episode (Thu, 02 Nov 2000 16:09:08 -0600),
the artist formerly known as Mac Cody said:
>"Marcus O.C. Metzler" wrote:
>> Mac Cody <[EMAIL PROTECTED]> writes:
>> > The subject line pretty much says it all.  Is there support
>> > on Linux for PDAs/organizers other than the 3Com Palm Pilot?
>> > For example the Sharp Wizards (OZ-730PC), Royal DV3 DaVinci,
>> > or Casio PV-400Plus.  Any pointers would be appreciated
>> >
>> I don't know about the ones you mentioned, but the compaq ipaq is
>> supported and some others that use ARM CPUs.
>> 
>> Marcus
>
>Sorry I wasn't clear enough.  What I meant is Linux support
>for upload/download to the above-mentioned PDAs/organizers.
>Not Linux running in the devices themselves.  I'd like to use
>a PDA/organizer for text editing while commuting and
>upload/download text to my Linux box.  Hope that is clear
>enough.


For Casio models, see:
<http://ourworld.compuserve.com/homepages/imsl/faq.htm#faq7>

Dunno about the Sharp Wizards; there may not have been enough interest
for anyone to bother developing data communications tools for it.
It's far more "hit'n'miss" with these organizers that just didn't get
as popular as the PalmComputing lineup...
-- 
(concatenate 'string "aa454" "@" "freenet.carleton.ca")
<http://www.ntlug.org/~cbbrowne/pims.html>
First Rule of Computer Security
- Only forbid that which can be made impossible.
- Facilitate the possible.
- Have the wisdom to explain the difference.
-- Mark Miller

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

From: [EMAIL PROTECTED] (Christopher Browne)
Subject: Re: News Reader
Reply-To: [EMAIL PROTECTED]
Date: Fri, 03 Nov 2000 02:36:52 GMT

In our last episode (Wed, 1 Nov 2000 03:55:48 GMT),
the artist formerly known as John Hasler said:
>Philip writes:
>> I was wondering if someone could recommend a news reader for Linux. I am
>> looking for something which will allow me to archive postings.
>
>What you want is a news server.  I run cnews and use suck to download
>news, but you might be happier with leafnode.

The tool "slrnpull" builds a news spool quite similar to what CNews
would produce; I found it a whole lot more satisfactory than leafnode,
which made my poor hard drive shake as unto death...
-- 
(concatenate 'string "aa454" "@" "freenet.carleton.ca")
<http://www.ntlug.org/~cbbrowne/news.html>
"I don't  know what OS  we will  be running in  40 years, but  it will
probably be called UNIX...."
-- Chris Mikkelson <[EMAIL PROTECTED]>


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

From: Ivan Daudt <[EMAIL PROTECTED]>
Subject: AnyJ IDE crashes on libjava.so. What to do now?
Date: Fri, 03 Nov 2000 02:34:58 GMT

Folks,

I've been trying to run the AnyJ IDE in my linux box, but unfortulatelly
it is crashing on libjava.so. I've already tested versions 1.3.x and
2.0.x. Both crash at the same point.

Don't know what I'm supposed to do now. Don't know even if it is just a
library error, a java error, an app error or whatever it is...

I can run other java apps like Alphaworks' XML VisualTools or StarOffice
5.2 and all the swing demos with absolutelly no problem. Just this app
crashes...

My linux box:
OS: Conectiva Linux 4.2 (www.conectiva.com.br)
p-100, 32MB RAM, IBM jdk 1.1.8 with swing.

If anybody can point me a hint abt what I shud do now, it wud be really
helpfull, since Netcomputing support (AnyJ developer) didn't answer any
of my msgs up to now.

Tks in advance for U all.
May the penguin force be with U :-)

The follg core file was generated, if anyone believe it will be usefull:

SIGSEGV received at bffff2c4 in
/usr/bin/jdk118/lib/linux/native_threads/libjava.so. Processing
terminated
jre full version "JDK 1.1.8 IBM build l118-19991013 (JIT enabled: jitc)"
Operating Environment
=====================
Host            : freefly.daudt.nom.br.
OS Level        : 2.2.13-9cl.#1 sex out 29 07:54:08 BRDT 1999
glibc Version   : 2.1.2
No. of Procs    : 1
Memory Info:
        total:    used:    free:  shared: buffers:  cached:
Mem:  31416320 31023104   393216  7467008   671744  8462336
Swap: 66023424 24616960 41406464
MemTotal:     30680 kB
MemFree:        384 kB
MemShared:     7292 kB
Buffers:        656 kB
Cached:        8264 kB
SwapTotal:    64476 kB
SwapFree:     40436 kB

Application Environment
=======================
Signal Handlers -
        SIGQUIT         : ignored
        SIGILL          : sysThreadIDump (libjava.so)
        SIGABRT         : sysThreadIDump (libjava.so)
        SIGFPE          : sysThreadIDump (libjava.so)
        SIGBUS          : sysThreadIDump (libjava.so)
        SIGSEGV         : sysThreadIDump (libjava.so)
        SIGPIPE         : ignored
        SIGUSR1         : doSuspendLoop (libjava.so)

Environment Variables -
        LESSOPEN=|lesspipe "%s"
        USERNAME=root
        BROWSER=/usr/bin/netscape
        HISTSIZE=1000
        OLDJH=/usr/bin/jdk118
        HOSTNAME=freefly.daudt.nom.br
        LOGNAME=root
        OLDLD=
        HISTFILESIZE=1000
        THREADS_TYPE=native_threads
        MAIL=/var/spool/mail/root
        LD_LIBRARY_PATH=/usr/bin/jdk118/lib/linux/native_threads:

CLASSPATH=anyj.jar:/usr/bin/jdk118/lib:/usr/bin/jdk118/lib/rt.jar:/usr/bin/jdk118/lib/classes.zip:/usr/bin/jdk118/lib/i18n.jar:../lib/runtime.jar:../lib/swingall.jar:.
        TERM=xterm
        HOSTTYPE=i386

PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/bin/jdk118/bin
        HOME=/root
        INPUTRC=/etc/inputrc
        WMAKER_BIN_NAME=/usr/X11R6/bin/wmaker
        LESSKEY=/etc/lesskey
        SHELL=/bin/bash
        SWING_HOME=/usr/bin/jdk118/swing-1.1.1fcs
        USER=root
        LESS=-MM -i
        LC_CTYPE=ISO-8859-1
        LC_ALL=pt_BR
        JAVA_HOME=/usr/bin/jdk118
        DISPLAY=:0.0
        LANG=pt_BR
        WRASTER_COLOR_RESOLUTION0=4
        OSTYPE=Linux
        WINDOWID=25165838
        LINGUAS=pt_BR
        SHLVL=4

LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.deb=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.mpg=01;37:*.avi=01;37:*.gl=01;37:*.dl=01;37:
        LIBPATH=/usr/bin/jdk118/lib/linux/native_threads


Current Thread Details
======================
    "main" (TID:0x402e42d8, sys_thread_t:0x804db50)
    Native Thread State: ThreadID: 00000400 Reuse: 1 USER PRIMORDIAL
RUNNING
    Native Stack Data  : base: bffff798 pointer bffbf96c used(261676)
free(-13868)
        ----- Monitors held -----
        java.util.Hashtable@40f897a8
        ----- Native stack -----
        sysThreadBlockingSection
        java_net_InetAddressImpl_lookupAllHostAddr
        Java_java_net_InetAddressImpl_lookupAllHostAddr_stub
        ??
        ??
        ??
        ??
        ??
        ??
        ??
        ??

        java_lang_Compiler_start

        __irem_trap5
        ------ Java stack ------        () prio=5 *current thread*
        java.net.InetAddress.getAllByName0(Compiled Code)
        java.net.InetAddress.getAllByName(Compiled Code)
        java.net.InetAddress.getLocalHost(Compiled Code)
        jxeplugins.IPCStub.Send(Compiled Code)
        editapp.EditApp.changeProject(Compiled Code)
        editapp.EditApp.init(Compiled Code)
        editapp.EditApp.main(Compiled Code)
======================================================================


Total Thread Count:     15
Active Thread Count:    13
JNI Thread Count:       0

Full thread dump:
    "Thread-6" (TID:0x40c4d9e8, sys_thread_t:0x87b6ea0)
    Native Thread State: ThreadID: 0000380f Reuse: 3 USER  SUSPENDED
    Native Stack Data  : base: bddffd20 pointer bddff854 used(1228)
free(246580)
        ----- Monitors held -----
        ----- Native stack -----
        sysMonitorWait
        sysThreadSleep
        threadSleep
        java_lang_Thread_sleep
        Java_java_lang_Thread_sleep_stub
        ??
        ??
        ??

        java_lang_Compiler_start

        __irem_trap5
        ------ Java stack ------        () prio=1
        de.netcomputing.anyj.AJHelpAgent.run(Compiled Code)
        java.lang.Thread.run(Compiled Code)
======================================================================

    "Thread-7" (TID:0x40f018d0, sys_thread_t:0x87da298)
    Native Thread State: ThreadID: 0000340e Reuse: 4 USER  SUSPENDED
    Native Stack Data  : base: bdfffd20 pointer bdfff6a4 used(1660)
free(246148)
        ----- Monitors held -----
        java.net.DatagramPacket@40f891d0
        java.net.PlainDatagramSocketImpl@40f89810
        java.net.DatagramSocket@40f8a058
        ----- Native stack -----
        java_net_PlainDatagramSocketImpl_receive
        Java_java_net_PlainDatagramSocketImpl_receive_stub
        ??
        ??
        ??
        ??

        java_lang_Compiler_start

        __irem_trap5
        ------ Java stack ------        () prio=5
        java.net.DatagramSocket.receive(Compiled Code)
        jxeplugins.IPCStub.run(Compiled Code)
        java.lang.Thread.run(Compiled Code)
======================================================================

    "HelpButtonFinder" (TID:0x402e3d20, sys_thread_t:0x86d8650)
    Native Thread State: ThreadID: 0000280b Reuse: 1 USER  SUSPENDED
    Native Stack Data  : base: be5ffd20 pointer be5ff864 used(1212)
free(246596)
        ----- Monitors held -----
        ----- Native stack -----
        sysMonitorWait
        sysThreadSleep
        threadSleep
        java_lang_Thread_sleep
        Java_java_lang_Thread_sleep_stub
        ??
        ??

        java_lang_Compiler_start

        __irem_trap5
        ------ Java stack ------        () prio=5
        editapp.EditApp$6.run(Compiled Code)
======================================================================

    "TimerQueue" (TID:0x402e3d70, sys_thread_t:0x83ae8a0)
    Native Thread State: ThreadID: 0000240a Reuse: 2 DAEMON  MONITOR
WAIT
    Native Stack Data  : base: be7ffd20 pointer be7ff964 used(956)
free(246852)
        ----- Monitors held -----
        ----- Native stack -----
        sysMonitorWait
        monitorWait - waiting on javax.swing.TimerQueue@404b3260
        java_lang_Object_wait
        Java_java_lang_Object_wait_stub
        ??
        ??
        ??

        java_lang_Compiler_start

        __irem_trap5
        ------ Java stack ------        () prio=5
        javax.swing.TimerQueue.run(Compiled Code)
        java.lang.Thread.run(Compiled Code)
======================================================================

    "Screen Updater" (TID:0x402e3dc0, sys_thread_t:0x83ba418)
    Native Thread State: ThreadID: 00002009 Reuse: 2 USER  MONITOR WAIT
    Native Stack Data  : base: be9ffd20 pointer be9ff958 used(968)
free(246840)
        ----- Monitors held -----
        ----- Native stack -----
        sysMonitorWait
        monitorWait - waiting on sun.awt.ScreenUpdater@402e3dc0
        java_lang_Object_wait
        Java_java_lang_Object_wait_stub
        ??
        ??
        ??
        ??

        java_lang_Compiler_start

        __irem_trap5
        ------ Java stack ------        () prio=4
        java.lang.Object.wait(Compiled Code)
        sun.awt.ScreenUpdater.nextEntry(Compiled Code)
        sun.awt.ScreenUpdater.run(Compiled Code)
======================================================================

    "Thread-3" (TID:0x402e3fa0, sys_thread_t:0x8277320)
    Native Thread State: ThreadID: 00001c08 Reuse: 1 USER  SUSPENDED
    Native Stack Data  : base: bebffd20 pointer bebff9f0 used(816)
free(246992)
        ----- Monitors held -----
        ----- Native stack -----
        sysThreadSuspend
        java_lang_Thread_suspend0
        Java_java_lang_Thread_suspend0_stub
        ??
        ??
        ??

        java_lang_Compiler_start

        __irem_trap5
        ------ Java stack ------        () prio=5
        java.lang.Thread.suspend(Compiled Code)
        de.netcomputing.anyj.jwidgets.WorkerThread.run(Compiled Code)
======================================================================

    "Thread-2" (TID:0x402e3ff8, sys_thread_t:0x827d7c0)
    Native Thread State: ThreadID: 00001807 Reuse: 1 USER  SUSPENDED
    Native Stack Data  : base: bedffd20 pointer bedff9f0 used(816)
free(246992)
        ----- Monitors held -----
        ----- Native stack -----
        sysThreadSuspend
        java_lang_Thread_suspend0
        Java_java_lang_Thread_suspend0_stub
        ??
        ??
        ??

        java_lang_Compiler_start

        __irem_trap5
        ------ Java stack ------        () prio=5
        java.lang.Thread.suspend(Compiled Code)
        de.netcomputing.anyj.jwidgets.WorkerThread.run(Compiled Code)
======================================================================

    "AWT-Motif" (TID:0x402e40f0, sys_thread_t:0x8181368)
    Native Thread State: ThreadID: 00001406 Reuse: 1 USER  MONITOR WAIT
    Native Stack Data  : base: befffd20 pointer befff960 used(960)
free(246848)
        ----- Monitors held -----
        ----- Native stack -----
        sysMonitorWait - waiting on AWT Lock
        awt_MToolkit_loop
        sun_awt_motif_MToolkit_run
        Java_sun_awt_motif_MToolkit_run_stub
        ??
        ??

        java_lang_Compiler_start

        __irem_trap5
        ------ Java stack ------        () prio=5
        java.lang.Thread.run(Compiled Code)
======================================================================

    "AWT-Input" (TID:0x402e4140, sys_thread_t:0x81800d8)
    Native Thread State: ThreadID: 00001005 Reuse: 1 USER  SUSPENDED
    Native Stack Data  : base: bf1ffd20 pointer bf1ff6f4 used(1580)
free(246228)
        ----- Monitors held -----
        ----- Native stack -----
        sysThreadBlockingSection
        sysMonitorWait - waiting on AWT Lock
        sun_awt_motif_InputThread_run
        Java_sun_awt_motif_InputThread_run_stub
        ??

        java_lang_Compiler_start

        __irem_trap5
        ------ Java stack ------        () prio=5
======================================================================

    "AWT-EventQueue-0" (TID:0x402e4190, sys_thread_t:0x816de80)
    Native Thread State: ThreadID: 00000c04 Reuse: 1 USER  SUSPENDED
    Native Stack Data  : base: bf3ffd20 pointer bf3ff774 used(1452)
free(246356)
        ----- Monitors held -----
        java.lang.StringBuffer@40f79440
        ----- Native stack -----
        ??
        ??
        ??
        ??
        ??
        ??
        ??
        ??
        ??
        ??
        ??
        ??
        ??
        ??
        ??
        ??
        ??

        java_lang_Compiler_start

        __irem_trap5
        ------ Java stack ------        () prio=5
======================================================================

    "Async Garbage Collector" (TID:0x402e4238, sys_thread_t:0x80cafc0)
    Native Thread State: ThreadID: 00000803 Reuse: 1 DAEMON  SUSPENDED
    Native Stack Data  : base: bf5ffd20 pointer bf5ffa50 used(720)
free(247088)
        ----- Monitors held -----
        ----- Native stack -----
        sysMonitorWait
        sysThreadSleep
        threadSleep
        SetOrigArgs
        sysThread_shell
        pthread_detach
        __clone
        ------ Java stack ------        () prio=1
======================================================================

    "Finalizer thread" (TID:0x402e4288, sys_thread_t:0x80cad40)
    Native Thread State: ThreadID: 00000402 Reuse: 1 DAEMON  MONITOR
WAIT
    Native Stack Data  : base: bf7ffd20 pointer bf7ffb88 used(408)
free(247400)
        ----- Monitors held -----
        ----- Native stack -----
        sysMonitorWait - waiting on Finalize me queue lock
        finalizeOnExit
        sysThread_shell
        pthread_detach
        __clone
        ------ Java stack ------        () prio=1
======================================================================

    "main" (TID:0x402e42d8, sys_thread_t:0x804db50)
    Native Thread State: ThreadID: 00000400 Reuse: 1 USER PRIMORDIAL
RUNNING
    Native Stack Data  : base: bffff798 pointer bffbf960 used(261688)
free(-13880)
        ----- Monitors held -----
        java.util.Hashtable@40f897a8
        ----- Native stack -----
        sysThreadBlockingSection
        java_net_InetAddressImpl_lookupAllHostAddr
        Java_java_net_InetAddressImpl_lookupAllHostAddr_stub
        ??
        ??
        ??
        ??
        ??
        ??
        ??
        ??

        java_lang_Compiler_start

        __irem_trap5
        ------ Java stack ------        () prio=5 *current thread*
        java.net.InetAddress.getAllByName0(Compiled Code)
        java.net.InetAddress.getAllByName(Compiled Code)
        java.net.InetAddress.getLocalHost(Compiled Code)
        jxeplugins.IPCStub.Send(Compiled Code)
        editapp.EditApp.changeProject(Compiled Code)
        editapp.EditApp.init(Compiled Code)
        editapp.EditApp.main(Compiled Code)
======================================================================


System Monitor Status
=====================
    AWT Lock:     unowned.
    JIT monitor:     unowned.
    JIT monitor:     unowned.
    JIT monitor:     unowned.
    JIT monitor:     unowned.
    JIT monitor:     unowned.
    Thread queue lock:     unowned.
    Name and type hash table lock:     unowned.
    String intern lock:     unowned.
    JNI pinning lock:     unowned.
    JNI global reference lock:     unowned.
    Zip lock:     unowned.
    BinClass lock:     unowned.
    Class loading lock:     unowned.
    Java stack lock:     unowned.
    Code rewrite lock:     unowned.
    Heap Lock:     unowned.
    Has finalization queue lock:     unowned.
    Finalize me queue lock:     unowned.
    Integer lock access-lock:     unowned.
    Monitor cache lock:     unowned.
    Monitor registry:     unowned.

Object Monitor Status
=====================
sun.awt.ScreenUpdater@402e3dc0: unowned
                "Screen Updater" (0x402e3dc0) waiting
java.awt.EventQueue@402fc2e0: unowned
                "AWT-Motif" (0x402e40f0) waiting
javax.swing.TimerQueue@404b3260: unowned
                "TimerQueue" (0x402e3d70) waiting
java.lang.StringBuffer@40f79440: owner: "AWT-EventQueue-0"
java.net.DatagramPacket@40f891d0: owner: "Thread-7"
java.util.Hashtable@40f897a8: owner: "main"
java.net.PlainDatagramSocketImpl@40f89810: owner: "Thread-7"
java.net.DatagramSocket@40f8a058: owner: "Thread-7"
sun.awt.ScreenUpdater@402e3dc0: unowned
                "Screen Updater" (0x402e3dc0) waiting
java.awt.EventQueue@402fc2e0: unowned
                "AWT-Motif" (0x402e40f0) waiting
javax.swing.TimerQueue@404b3260: unowned
                "TimerQueue" (0x402e3d70) waiting
java.lang.StringBuffer@40f79440: owner: "AWT-EventQueue-0"
java.net.DatagramPacket@40f891d0: owner: "Thread-7"
java.util.Hashtable@40f897a8: owner: "main"
java.net.PlainDatagramSocketImpl@40f89810: owner: "Thread-7"
java.net.DatagramSocket@40f8a058: owner: "Thread-7"

--
Ivan Daudt
<[EMAIL PROTECTED]>


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

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

From: Randy Feeney <[EMAIL PROTECTED]>
Subject: Re: Shared Memory
Date: Thu, 02 Nov 2000 18:45:22 -0800

I am trying to increase the amount of shared memory for Sybase ASE. It seems
that I need to allocate more memory for sharing.

NF Stevens wrote:

> Randy Feeney <[EMAIL PROTECTED]> wrote:
>
> >I have tried
> >
> >echo 134217728 > /proc/sys/kernel/shmmax
> >
> >The information I have found says this will increase the shared memory to
> >128mb
> >but this does not seem to do anything. What am I doing wrong?
> >
> You may be confusing two different types of shared memory.
> If you run top or free then they will report a value for
> "shared memory" which is essentially the amount of memory
> used by code in shared libraries. This reported value is
> not a limit, but is a reflection on the type of processes
> you are running and how much use they make of shared libraries.
> If you are running a gui (e.g. gnome or kde) then the 43 meg
> you mentioned is about right.
>
> The other sort of shared memory is explicitly allocated and
> used by programs. Unless you are getting error messages
> from processes which cannot allocate enough of this shared
> memory then you don't need to worry about it.
>
> Norman


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


** 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.misc) 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-Misc Digest
******************************

Reply via email to