Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Mar 2004 09:29:01 +0200 (EET)
From:      Achilleus Mantzios <achill@matrix.gatewaynet.com>
To:        Mikler <kolesnik@niks.by>
Cc:        freebsd-java@freebsd.org
Subject:   Re[2]: sun jdk problem
Message-ID:  <Pine.LNX.4.44.0403260917500.5905-100000@matrix.gatewaynet.com>
In-Reply-To: <1551912439.20040325095223@niks.by>

next in thread | previous in thread | raw e-mail | index | archive | help
O kyrios Mikler egrapse stis Mar 25, 2004 :

> Hello Achilleus,
> 
> Actually I'm to ask silly questions - but anyway that's JDK is pretty
> important for me. So... Usually we do  mount some devices. What a
> device is that linprocfs? Is it created when i install linux_base.

There is the kernel part and the userland part.

linprocfs is a pseudodevice just like procfs,devfs,etc...
In order to use linprocfs (i.e. mount it as i told you), you have
to have the linux.ko driver installed (its compiled by default )
so put 
linux_load="YES"
in your /boot/loader.conf, or
just do 
#kldload linux.ko (as root).

Then go to /usr/ports/emulators/linux_base
and 
# make; make install 
or 
# portupgrade -r -R linux_base (not necessarilly in 
/usr/ports/emulators/linux_base)

This will build a redhat 7.* userland for you to to execute (rh?) linux
programs.

Now do the mount of linprocfs.

> And another one question. What lnux_base should I use. Thare are some
> in ports tree. 8? or just linux base?
> 
> Thanks!
> 
> Tuesday, March 23, 2004, 3:21:24 PM, you wrote:
> 
> AM> O kyrios Mikler egrapse stis Mar 23, 2004 :
> 
> >> Hello!
> >> 
> >> I've tried to compile jdk1.4 port with latest download of patches, sun
> >> jdk scsl, and linux-sun-jdk-1_4_1_03 and linux_base_8
> >> but i'm getting some heap abort error after trying to start any
> >> linux-sun-jdk executable. And thus my system is hanging with 98% CPU
> >> load. The machine is Sun Sunfire v 65 x86 server... The OS is FreeBsd
> >> 5.7 (or .2 - i don't remind - sorry). I've made brandelf on it - but
> >> it does not help. kldstat shows kernel loaded.
> 
> AM> 5.7 has not been invented yet!
> 
> >> 
> >> Any suggestions and help would be Great!!!
> 
> AM> did you mount linprocfs on /usr/compat/linux/proc ?
> AM> e.g. in /etc/fstab
> 
> AM> linprocfs   /compat/linux/proc   linprocfs    rw     0      0
> 
> >>   
> >> 
> >> 
> 
> 
> 
> 
> 

-- 
-Achilleus



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0403260917500.5905-100000>