Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Sep 12, 2004 6:47 am 
Offline
Senior Member

Joined: Sat Dec 13, 2003 12:39 pm
Posts: 98
My linode 64 died trying to install JRockit (a non-sun Java VM from BEA). Downloaded the bin, ran it form ssh, and it froze. Logging on to the console showed this.


Code:
Kernel panic: Segfault with no mm
Kernel panic: Segfault with no mm
Kernel panic: Segfault with no mm
Kernel panic: Segfault with no mm
Kernel panic: Segfault with no mm
Kernel panic: Segfault with no mm
Kernel panic: kernel BUG at sched.c:557!

Kernel panic: Segfault with no mm
In interrupt handler - not syncing
 <6>SysRq : Show Regs

EIP: 0000:[<00000000>] CPU: 0 Not tainted EFLAGS: 00000000
    Not tainted
EAX: 00000000 EBX: 00000000 ECX: 00000000 EDX: 00000000
ESI: 00000000 EDI: 00000000 EBP: 00000000 DS: 0000 ES: 0000
Call Trace: [<802fbaba>] [<802fdeb4>] [<801b08da>] [<8019cb6d>] [<8001ebfe>]
   [<800141cc>] [<8019bfd5>] [<802fd86e>] [<8029993b>] [<80199f43>] [<8019c3bc>]

   [<8019c32b>] [<801a1660>] [<801a1679>] [<8019c4aa>] [<80299688>] [<8019bc73>]





Restarted the linode, ran again, same thing.

Here is top of top output as it died again, doesn't seem to be out of swap:

Code:
top - 04:33:18 up 27 min,  2 users,  load average: 0.59, 0.32, 0.30
Tasks: 105 total,   5 running, 100 sleeping,   0 stopped,   0 zombie
Cpu(s):   8.5% user,   9.5% system,   0.0% nice,  82.0% idle
Mem:     59516k total,    58036k used,     1480k free,     3688k buffers
Swap:   263160k total,    16132k used,   247028k free,    23368k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 1536 root      13   0 16776  16m 1060 S 11.1 28.2   0:00.42 java
 1539 root      20   0 16776  16m 1060 R  2.3 28.2   0:00.07 java
 1537 root      19   0 16776  16m 1060 R  1.6 28.2   0:00.05 java


Slightly different console output second time:

Code:
Kernel panic: switch_mm_skas - PTRACE_SWITCH_MM failed, errno = 3

Kernel panic: switch_mm_skas - PTRACE_SWITCH_MM failed, errno = 3

Kernel panic: switch_mm_skas - PTRACE_SWITCH_MM failed, errno = 3

Kernel panic: Segfault with no mm
Kernel panic: Segfault with no mm
Kernel panic: switch_mm_skas - PTRACE_SWITCH_MM failed, errno = 3

Kernel panic: Segfault with no mm


I started jrockit with: ./jrockit-j2sdk1.4.2_04-linux-ia32.bin -mode=silent -silent_xml=silent.xml -log=jr.log; and it didn't produce a log file at all or create the target directory i specified in the silent.xml file.

Any ideas?


Top
   
 Post subject:
PostPosted: Sun Sep 12, 2004 12:05 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
Are you running this on Red Hat or a derived distro with a 2.6 kernel? JRockit 1.4.2_04 is the first version to fully support NPTL. UML does not yet support NPTL but recent Red Hat and friends have it enabled by default. The result has been just the sort of problem you describe.

Code:
mv /lib/tls /lib/tls-disabled
to force a fallback to LinuxThreads.

_________________
/ Peter


Top
   
 Post subject: jrockit
PostPosted: Sun Sep 12, 2004 6:08 pm 
Offline
Senior Member

Joined: Sat Dec 13, 2003 12:39 pm
Posts: 98
Yeah, I did have the tls directory. I must have installed libc or whatever it was that creates that dir and not moved it, I now have 3 -disabled-# directories. I'm on Debian, mixed unstable/testing/stable, latest 2.4 kernel. It's not killing the linode any more installing jrockit, which is good. Now i'm getting this error consistently:

Code:
# ./jrockit-j2sdk1.4.2_04-linux-ia32.bin -mode=silent -silent_xml=silent.xml -l
og=jr.log
Extracting 0%...................................................................
.................................100%
** Error during execution, error code = 11.


I checked google, seems like some others others on Debian are talking about getting that error, but people respond saying they have it working on Debian, but don't specify details. I'll keep looking. Any more ideas?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group