Linux-Development-Sys Digest #178, Volume #8 Thu, 28 Sep 00 05:13:13 EDT
Contents:
Re: Java on Linux? (Garry Knight)
Signal7 RedHat 6.2 (jbrown)
Re: Java on Linux? (David Rysdam)
Re: Java on Linux? (Bob Tennent)
Re: ioremap not in namespce...? (Sean Patrick McNamee)
Re: ioremap not in namespce...? (Frank Sweetser)
Device Driver on SMP Alpha (Mark McDougall)
Timeserver for RH 6.1 or 6.2 ("jhuman")
Re: Timeserver for RH 6.1 or 6.2 (David M. Cook)
calling user space function from kernel ("Anil Prasad")
Re: Nuestro Portal sigue creciendo... ("Mark")
[How to kill process which use device-file??] (Bomshik Kim)
Re: calling user space function from kernel ("Norm Dresner")
Re: write to a /proc file (Mathias Waack)
trouble compiling util-linux (B.Lim)
Re: using Posix/SystemV semaphores under Linux RH 6.2 ("Allison Bajo")
----------------------------------------------------------------------------
From: Garry Knight <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Java on Linux?
Date: Thu, 28 Sep 2000 00:57:27 +0100
On Wed, 27 Sep 2000, Exits Funnel wrote:
>Sun's JDK is available on linux but am wondering what alternatives there
>are.
http://www.ibm.com/java/jdk/118/linux/ IBM's jdk1.1.8 for Linux
http://www.blackdown.org/java-linux.html Blackdown Java 1.1.7 JDK for Linux
--
Garry Knight
[EMAIL PROTECTED]
------------------------------
From: jbrown <[EMAIL PROTECTED]>
Subject: Signal7 RedHat 6.2
Date: Wed, 27 Sep 2000 18:03:45 -0700
This is a multi-part message in MIME format.
==============CFD904D0CA4CB7D32992BEE5
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
> Good Morning,
>
> I went to a Redhat Linux version 6.2 class last month. Finally got
> the
> cd(I was suppose to get in class) last week. I'll had nothing but
> problems. Finally I changed the cd rom to a Sony from a NEC and now I
>
> am getting a signal 7 error.
>
> Configuration:
> Dell
> Pentium 200 MMX
> 128 Meg memory
> Sony cd rom drive modelcdu701
> I went to Redhat and got the the latest anconda updates, same problem
>
> Any answers or insights to how you fix a signal 7 error?
>
> Thanks
==============CFD904D0CA4CB7D32992BEE5
Content-Type: text/x-vcard; charset=us-ascii;
name="jackie.brown.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for jbrown
Content-Disposition: attachment;
filename="jackie.brown.vcf"
begin:vcard
n:Brown;Jackie
tel;fax:650.654.5096
tel;work:650.506.8117
x-mozilla-html:FALSE
org:Oracle;Worldwide Solutions Support Group
version:2.1
email;internet:[EMAIL PROTECTED]
title:Product Support Specialist
adr;quoted-printable:;;500 Opacle Parkway=0D=0AOPL - B2047=0D=0A;Redwood
Shores;California;94065;United States
fn:Jackie Brown
end:vcard
==============CFD904D0CA4CB7D32992BEE5==
------------------------------
From: [EMAIL PROTECTED] (David Rysdam)
Crossposted-To: comp.os.linux.misc
Subject: Re: Java on Linux?
Date: 28 Sep 2000 00:25:27 GMT
Reply-To: [EMAIL PROTECTED]
=====BEGIN PGP SIGNED MESSAGE=====
Hash: SHA1
I'm new to Java but have been using Linux for a long time. I don't
think GNU has a java impl (yet, anyway) but if what you are really
asking is "is there a GPL'd Java implementation?" the answer is: Kaffe
(www.kaffe.org). I'm using it and it works great. I don't know (and
don't really care) what the performance diff is--I'm just messing
around right now and the app I'm building doesn't need performance.
Nor have I used the debugger (I'm a print statement person, myself)
although I know it comes with one--jdb.
And Exits Funnel Spoke:
>Hello,
>
>I'm a java developer new to linux (or any unix for that matter). I'm
>wondering what java compilers/tools most linux developers favor. I know
>Sun's JDK is available on linux but am wondering what alternatives there
>are. Does GNU have a Java offering? I'm looking for something with a
>good command line debugger. The debugger that comes with the JDK is
>really, really poor. Anyone have any suggestions or thoughts on the
>topic in general? Thanks in advance.
>
>Exits
>
>
>Sent via Deja.com http://www.deja.com/
>Before you buy.
- --
My public encryption key is available from www.keyserver.net
=====BEGIN PGP SIGNATURE=====
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE50pA/8mkEvJSZJO8RAm4nAKCWcgSm+/92mYHNquNwjgUTY7GE5ACeMyWg
v5pkwzFHYU0rG7y7bcdvUeg=
=L9mM
=====END PGP SIGNATURE=====
------------------------------
From: [EMAIL PROTECTED] (Bob Tennent)
Crossposted-To: comp.os.linux.misc
Subject: Re: Java on Linux?
Date: 28 Sep 2000 02:19:50 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 27 Sep 2000 22:15:24 GMT, Exits Funnel wrote:
>
>I'm a java developer new to linux (or any unix for that matter). I'm
>wondering what java compilers/tools most linux developers favor. I know
>Sun's JDK is available on linux but am wondering what alternatives there
>are. Does GNU have a Java offering?
Being worked on at Cygnus I believe. IBM's Jikes is really fast as
a "compiler" (i.e., to byte code) and it produces good error messages.
Kaffe is a good and fast-byte code interpreter.
Bob T.
------------------------------
From: Sean Patrick McNamee <[EMAIL PROTECTED]>
Subject: Re: ioremap not in namespce...?
Date: Thu, 28 Sep 2000 02:53:41 GMT
Arne Driescher wrote:
> > OK> I added the -a option to my ksyms, and now I'm seeing a symbol
> > __ioremap_R9eac042a
> >
> > This looks almost like mangling to me. I am still having the problem with the
>unresolved
> > symbol when I try to load the driver, so I'm wondering if something weird is up
>with my
> > kernel or what???
> I wouldn't say weird. Depending on which options you have used
> to compile your kernel, some symbols are exported and others
> are not. Lets a look at the Makefile:
> vmlinux: $(CONFIGURATION) init/main.o init/version.o linuxsubdirs
> $(LD) $(LINKFLAGS) $(HEAD) init/main.o init/version.o \
> --start-group \
> $(CORE_FILES) \
> $(FILESYSTEMS) \
> $(NETWORKS) \
> $(DRIVERS) \
> $(LIBS) \
> --end-group \
> -o vmlinux
> $(NM) vmlinux | grep -v '\(compiled\)\|\(\.o$$\)\|\( [aU]
> \)\|\(\.\.ng$$
> \)\|\(LASH[RL]DI\)' | sort > System.map
>
> As u can see, the target vmlinux is build by linking all
> object files into the kernel. In the next step nm (see man nm)
> gets all the symbols from the object file and put the result in
> System.map.
> Exported symbols defined in you kernel should be in System.map.
>
> Ok, u have the symbol in you kernel but not in System.map. This means
> that your System.map is not from the same build as your kernel.
> Have you simply forgotten to copy your System.map to you boot
> partition? If u built your own kernel: Have you used make install?
> (From the Makefile:)
> install: $(CONFIGURE) $(BOOTIMAGE)
> sh -x ./install.sh $(KERNELRELEASE) $(BOOTIMAGE)
> "$(INSTALL_PATH)"
> sh -x ./install.sh $(TOPDIR)/System.map
> "$(INSTALL_PATH)"/System.map-$(KERNELRELEASE)
>
> -Arne
Well, I have recompiled the kernel, using make install (before I did it manually), and
still
no luck. One thing I did notice, however is that while my ksyms output shows the symbol
___ioremap_R9eac042a
and the System.map shows simply __ioremap, they are both listed as being at the same
address.
Why the hell does my kernel insist on calling it this?
Maybe I should just try referencing this symbol in my driver...
------------------------------
From: [EMAIL PROTECTED] (Frank Sweetser)
Subject: Re: ioremap not in namespce...?
Date: 28 Sep 2000 03:08:22 GMT
Sean Patrick McNamee <[EMAIL PROTECTED]> wrote:
>Well, I have recompiled the kernel, using make install (before I did it
>manually), and still no luck. One thing I did notice, however is that while my
>ksyms output shows the symbol
>___ioremap_R9eac042a
>and the System.map shows simply __ioremap, they are both listed as being at
>the same address.
>
>Why the hell does my kernel insist on calling it this?
>Maybe I should just try referencing this symbol in my driver...
That would be because you're compiling with CONFIG_MODVERSIONS enabled.
--
Frank Sweetser rasmusin at wpi.edu, fs at suave.net | $ x 10
Full-time WPI Network Tech, Part time Linux/Perl guy |
I don't think I'm gonna agree with that. Way too much visual confusion...
-- Larry Wall in <[EMAIL PROTECTED]>
------------------------------
From: Mark McDougall <[EMAIL PROTECTED]>
Subject: Device Driver on SMP Alpha
Date: Thu, 28 Sep 2000 14:31:25 +1000
Hi All,
I've recently ported (read: fixed) my (UP) device driver from i386 to
Alpha. I've not had any problems with the UP version of Alpha, but
trying to get the driver running under SMP Alpha has proven more
difficult than I hoped.
Does anyone know of any resources which document how the kernel is
threaded and what type of SMP protection is required in a device driver?
I've looked at the module sources and AFAIK I'm doing enough - but I
still have what appears to be deadlock problems. :(
eg. I'm assuming that the kernel serialises requests to a block mode
device even under SMP so there is no need to lock any of the request
execution while it waits for an interrupt to complete? Am I making a
correct assumption here?
I can understand things like concurrent opens may pre-empt each other -
hence the need for mutexes on things like usage counts, etc but I can't
see how pre-empting requests would work!?!
TIA
Regards,
--
Mark McDougall |
Engineer |
Virtual Logic Pty Ltd |
<http://www.vl.com.au> |
------------------------------
From: "jhuman" <[EMAIL PROTECTED]>
Crossposted-To:
alt.linux,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.portable,comp.os.linux.setup,linux.redhat.install,linux.redhat.misc
Subject: Timeserver for RH 6.1 or 6.2
Date: Thu, 28 Sep 2000 00:04:08 -0400
Does anyone know where I can find a timeserver (Redhat) for my internal LAN?
thx in advance....
--
JD Durick
[EMAIL PROTECTED]
AT&T Laboratories, ISC
Washington, DC
------------------------------
From: [EMAIL PROTECTED] (David M. Cook)
Crossposted-To:
alt.linux,comp.os.linux.misc,comp.os.linux.networking,comp.os.linux.portable,comp.os.linux.setup,linux.redhat.install,linux.redhat.misc
Subject: Re: Timeserver for RH 6.1 or 6.2
Date: 28 Sep 2000 04:15:49 GMT
On Thu, 28 Sep 2000 00:04:08 -0400, jhuman <[EMAIL PROTECTED]> wrote:
>Does anyone know where I can find a timeserver (Redhat) for my internal LAN?
Look for xntp or ntp on your distro CD.
Dave Cook
------------------------------
From: "Anil Prasad" <[EMAIL PROTECTED]>
Subject: calling user space function from kernel
Date: 28 Sep 2000 04:41:51 GMT
hello,
is there anyway to execute user space function in kernel, can we copy the
user space function in kernel space and start executing...
thanks
------------------------------
From: "Mark" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.m68k,comp.os.linux.misc
Subject: Re: Nuestro Portal sigue creciendo...
Date: Thu, 28 Sep 2000 05:18:31 GMT
Yo hablo poco espanoles. Por que escribir esto en espanol? Habla ingles?
Poco gentes de estos (newsgroup) habla espanoles
Yo estoy estudiando espanoles dos en mi colegio.
Marcos N��ez (Tienda Digital.com) <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]...
> El portal de tiendas y servicios de la red sigue creciendo, en el puedes
> encontrar:
>
> - M�s de 1000 tiendas y servicios en :
> � �nete a nosotros: Reg�strate gratis en Tienda Naranja,
> Orientada a tener una presencia b�sica en Internet. Totalmente gratuita.
>
> � Alta ON LINE de Tienda Azul: Web especializada con 10
> escaparates. Es un servicio profesional con opci�n de comercio electr�nico
y
> una imagen representativa suficiente para desenvolverse en la Red.
> http://www.tiendadigital.com
>
>
> -Hemos abierto para ti la mayor Sala de Exposiciones posible...
Muestra
> tu obra. Sorpr�ndenos con tu creatividad.
> Y adem�s GRATIS. Si no eres artista cu�ntaselo a un amigo. �� Seguro que
le
> interesa!!
> http://www.tiendadigital.com/sala/index1.asp
>
>
> - El Rastreador: Descubre con nosotros la Comunidad Valenciana, sitios
> curiosos e interesantes. Actividades tradicionales o vanguardistas. Sigue
la
> pista del Rastreador y disfruta con una escapada de fin de semana, la
> lectura de nuestra propuesta literaria...
> http://www.tiendadigital.com/rastreador0.asp
>
>
> - Nuestros fondos de pantalla: Im�genes cedidas por el fot�grafo
V�ctor
> Ciscar, donde el tema en com�n es la naturaleza, disfr�talos como ya lo
hace
> mucha gente de la red.
> http://www.tiendadigital.com/fondos.htm
>
> ������ �NETE A NOSOTROS !!!!!!!
> ������ REGISTRARSE ES GRATIS !!!!!!!
>
>
>
------------------------------
From: Bomshik Kim <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps
Subject: [How to kill process which use device-file??]
Date: Thu, 28 Sep 2000 15:52:51 +0900
When we listen to music from XMMS(or x11amp),
one of XMMS processes(about 3~4 processes) occupies the device file
/dev/dsp.
But, When some other application( let's call it alpha ) wants to
use /dev/dsp and XMMS plays mp3-music already,
then since /dev/dsp is occupied by XMMS, alpha can't open /dev/dsp.
because two processes can't share /dev/dsp.
When XMMS plays mp3 already, and alpha starts to use /dev/dsp,
by some method just like the priority order of processes,
how to kill the process of XMMS which occupies /dev/dsp,
and how to run alpha.
Namely, After getting the p_id of process which use specific
device file(/dev/dsp), and kill it(p_id). how??
If any one of you knows the solution, please help me.
It would be very helpfull for my work.
Regard.
--
Bomshik Kim, M.S. Candidate
Programming Language Lab.
Division of CS, Dept. of EECS, KAIST
http://ropas.kaist.ac.kr/~bskim
------------------------------
Reply-To: "Norm Dresner" <[EMAIL PROTECTED]>
From: "Norm Dresner" <[EMAIL PROTECTED]>
Subject: Re: calling user space function from kernel
Date: Thu, 28 Sep 2000 07:11:59 GMT
No and No.
Now, if you explain what you're trying to accomplish, someone might be able
to help you.
Norm.
Anil Prasad <[EMAIL PROTECTED]> wrote in message
news:01c028e1$72066bf0$7cd4b809@aprasad...
> hello,
>
> is there anyway to execute user space function in kernel, can we copy the
> user space function in kernel space and start executing...
>
> thanks
------------------------------
From: Mathias Waack <[EMAIL PROTECTED]>
Subject: Re: write to a /proc file
Date: 28 Sep 2000 09:19:12 +0200
Frank Contrepois <[EMAIL PROTECTED]> writes:
> how can I write from the kernel to a proc file ???
Look at the kernel sources. Or read Rubini. Or look
at http://www.linuxdoc.org/LDP/lkmpg/node16.html
Mathias
------------------------------
From: [EMAIL PROTECTED] (B.Lim)
Subject: trouble compiling util-linux
Date: 28 Sep 2000 08:44:29 GMT
I'm having a problem trying to compile util-linux-2.10o under Debian 2.2
as described in the Loopback Encrypted Filesystem HOWTO. My initial
thoughts were that I needed -lcrypt because lomount.c had trouble compiling
since it was patched to recognize additional encryption algorithms. I
believe that lcrypt is part of libcrypt which comes packaged with libc6.
I have libc6 installed and therefore libcrypt is present. I then added
'/lib' in ld.so.conf to recognize where libcrypt is located and ran ldconfig.
All seemed fine but compiling util-linux again had the same errors. I can't
get my head around this problem. Help would be appreciated.
Below is the output from 'configure' and 'make':
=====output from configure======
You have inet_aton()
You have <scsi/scsi.h>
You don't have <linux/blkpg.h>
You don't need <linux/tqueue.h>
You have <linux/kd.h>
You have <term.h>
You have ncurses. Using <ncurses.h>.
You have termcap
You need -lcrypt
You have <locale.h>
You have <libintl.h> and gettext()
Assuming that you want to enable NLS support.
(Otherwise, edit defines.h and remove the line with ENABLE_NLS)
You have <langinfo.h>
You have __progname
You have <pty.h> and openpty()
You don't have wide character support
You have nanosleep()
You have personality()
You don't have __NR_pivot_root
You have a tm_gmtoff field in struct tm
Your rpcgen output does not compile
======output from make=======
lomount.c:49: `LO_CRYPT_SERPENT' undeclared here (not in a function)
lomount.c:49: initializer element is not constant
lomount.c:49: (near initialization for `crypt_type_tbl[7].id')
lomount.c:50: `LO_CRYPT_MARS' undeclared here (not in a function)
lomount.c:50: initializer element is not constant
lomount.c:50: (near initialization for `crypt_type_tbl[8].id')
lomount.c:51: `LO_CRYPT_RC6' undeclared here (not in a function)
lomount.c:51: initializer element is not constant
lomount.c:51: (near initialization for `crypt_type_tbl[9].id')
lomount.c:52: `LO_CRYPT_DFC' undeclared here (not in a function)
lomount.c:52: initializer element is not constant
lomount.c:52: (near initialization for `crypt_type_tbl[10].id')
lomount.c: In function `set_loop':
lomount.c:261: `LO_CRYPT_SERPENT' undeclared (first use in this function)
lomount.c:261: (Each undeclared identifier is reported only once
lomount.c:261: for each function it appears in.)
lomount.c:262: `LO_CRYPT_MARS' undeclared (first use in this function)
lomount.c:263: `LO_CRYPT_RC6' undeclared (first use in this function)
lomount.c:264: `LO_CRYPT_DFC' undeclared (first use in this function)
make[1]: *** [lomount.o] Error 1
make[1]: Leaving directory `/usr/src/util-linux-2.10o/mount'
make: *** [all] Error 1
------------------------------
From: "Allison Bajo" <[EMAIL PROTECTED]>
Subject: Re: using Posix/SystemV semaphores under Linux RH 6.2
Date: Wed, 27 Sep 2000 18:47:46 -0700
I had this same problem a few months back. Basically the POSIX
implementation of semaphores in RH 6.2 does not support process sharing.
I ended up using the System V semaphores. I emailed the original author of
POSIX semaphores and asked why this was so. He replied back saying that it
would be very difficult to make it process shareable.
There is a limitation however in the System V semaphores. You might want to
increase the maximum number of semaphore identifiers in the following file:
/usr/src/linux/include/linux/sem.h
Change the following line to increase the maximum number of semaphore
identifiers. (Only if you need to).
#define SEMMNI 128 /* ? max # of semaphore identifiers */
Hope this informatio helps.
- Allison
"Stephane Richard" <[EMAIL PROTECTED]> wrote in message
news:8qquu7$be7$[EMAIL PROTECTED]...
> I want to use semaphores with process sharing under Linux RH 6.2.
> I'm currently using sem_init() as a POSIX semaphore under a Linux
> system and with a parameter to decide to use process sharing or not.
>
> It seems that I have some problems with it anyway. I don't know why.
>
> This call (sem_init) is described as a POSIX semaphore. Should I use
> the SystemV semaphores (semctl, semop) ?
>
> Does somebody know if something changed between RH6.1 (2.2.5) and RH 6.2
> (2.2.14) because my program was working fine with 6.1
>
> Thanks for your help/time.
>
> Stef.
>
> --
> _________________________________________________
> Stephane Richard
> Kasenna Inc. Redefining Broadband Video!
> (650) 943 8702 [EMAIL PROTECTED]
>
> --
> _________________________________________________
> Stephane Richard
> Kasenna Inc. Redefining Broadband Video!
> (650) 943 8702 [EMAIL PROTECTED]
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
------------------------------
** 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
******************************