Linux-Development-Sys Digest #978, Volume #7 Tue, 27 Jun 00 02:13:19 EDT
Contents:
A consistent kernel crash error (Frank Iway Wu)
is there a port to windows media player? ("Daniel Klimkowski")
Requirements for writing an OS... ("-")
Re: Requirements for writing an OS... (Peter Mardahl)
Re: Requirements for writing an OS... (Grant Edwards)
Re: How to crerate a library (Kurt Wall)
Kernel 2.4 question (Todd Scheetz)
compiling 2.4-test2 kernel problem (John Gluck)
Re: compiling 2.4-test2 kernel problem (Art Wagner)
Re: 2.4.0 test2 kernel qualms (Art Wagner)
compiling 2.4-test2 kernel problem (John Gluck)
can linux control bus signals? (Yung-Hsiang Lu)
Re: Getting IP from Telnet-User (Sheryl Martin)
Re: running remote untrusted code (Brennan Cheung)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Frank Iway Wu)
Subject: A consistent kernel crash error
Date: 26 Jun 2000 22:07:12 GMT
What does the following kernel error mean? Linux has been crashing on
me consistently daily with the following error in /var/log/messages
every single time.
> Jan 12 17:25:21 bullwinkle kernel: Unable to handle kernel NULL pointer dereference
>at virtual address 00000000
> Jan 12 17:25:21 bullwinkle kernel: current->tss.cr3 = 0b11c000, %cr3 = 0b11c000
> Jan 12 17:25:21 bullwinkle kernel: *pde = 00000000
> Jan 12 17:25:21 bullwinkle kernel: Oops: 0000
> Jan 12 17:25:21 bullwinkle kernel: CPU: 1
> Jan 12 17:25:21 bullwinkle kernel: EIP: 0010:[<00000000>]
> Jan 12 17:25:21 bullwinkle kernel: EFLAGS: 00010202
> Jan 12 17:25:21 bullwinkle kernel: eax: 00000000 ebx: c022160c ecx: 00000000
>edx: cabe7fc4
> Jan 12 17:25:21 bullwinkle kernel: esi: 00000001 edi: 00000004 ebp: 00000000
>esp: cabe7f74
> Jan 12 17:25:21 bullwinkle kernel: ds: 0018 es: 0018 ss: 0018
> Jan 12 17:25:21 bullwinkle kernel: Process setiathome (pid: 1479, process nr: 46,
>stackpage=cabe7000)
> Jan 12 17:25:21 bullwinkle kernel: Stack: 00000000 cabe7fc4 00000000 c022160c
>c025a000 00000000 c0110179 00000000
> Jan 12 17:25:21 bullwinkle kernel: cabe7fc4 c022160c cabe7fc4 00010000
>00000002 cabe7fbc c010b66d 00000000
> Jan 12 17:25:21 bullwinkle kernel: cabe7fc4 40d4403c bffff868 c010a6b0
>40d4403c 0000a98f 0000a98d 00010000
> Jan 12 17:25:21 bullwinkle kernel: Call Trace: [do_edge_ioapic_IRQ+113/155]
>[do_IRQ+59/89] [common_interrupt+24/32]
> Jan 12 17:25:21 bullwinkle kernel: Code: <1>Unable to handle kernel NULL pointer
>dereference at virtual address 00000
> 000
> Jan 12 17:25:21 bullwinkle kernel: current->tss.cr3 = 0b11c000, %cr3 = 0b11c000
> Jan 12 17:25:21 bullwinkle kernel: *pde = 00000000
I just replaced the memroy chip with a new SDRAM Registered DIMM (it's
a GX motherboard). This type of error appears sporadically and only
when the CPUs are loaded. This error appears on both CPUs. My guess
now is the motherboard, but there are no error beep codes on startup.
Any suggestions as to what is happening would greatly be appreciated.
Thanks in advance
Frank
------------------------------
From: "Daniel Klimkowski" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.misc,comp.os.linux.setup,comp.os.linux.x
Subject: is there a port to windows media player?
Date: Mon, 26 Jun 2000 23:10:10 GMT
I need to know if there is a port of Windows media player to Linux or
anything that emulates it. I'm wanting it so that I can stream audio from
online radio stations and most of them require Windows Media Player.
------------------------------
From: "-" <[EMAIL PROTECTED]>
Subject: Requirements for writing an OS...
Date: Tue, 27 Jun 2000 02:19:24 +0200
Hi There
I am a linux newbie and I am very much fascinated with the Linux Kernel. And
Linus Torvalds is a role model for me because I too want to write my own OS
one day.
I am still in school and I know quite a lot of stuff in computers but I am
just curious about what are the requirements in order to write an OS. Can
anyone out there advise me please? Reply to [EMAIL PROTECTED]
Thanks
------------------------------
From: [EMAIL PROTECTED] (Peter Mardahl)
Subject: Re: Requirements for writing an OS...
Date: 27 Jun 2000 00:48:29 GMT
I'd say the first and most important requirement to writing your
own OS is being the sort of person who will go out and acquire
your own information rather than ask other people to hand it to you.
PeterM
In article <8j8s55$e0l$[EMAIL PROTECTED]>, - <[EMAIL PROTECTED]> wrote:
>Hi There
>
>I am a linux newbie and I am very much fascinated with the Linux Kernel. And
>Linus Torvalds is a role model for me because I too want to write my own OS
>one day.
>
>I am still in school and I know quite a lot of stuff in computers but I am
>just curious about what are the requirements in order to write an OS. Can
>anyone out there advise me please? Reply to [EMAIL PROTECTED]
>
>Thanks
>
>
>
------------------------------
From: [EMAIL PROTECTED] (Grant Edwards)
Subject: Re: Requirements for writing an OS...
Date: Tue, 27 Jun 2000 01:18:23 GMT
On Tue, 27 Jun 2000 02:19:24 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>I am still in school and I know quite a lot of stuff in computers but I am
>just curious about what are the requirements in order to write an OS.
First, you've got to decide what the requirements for the OS
are going to be.
Second, you've got to decide what platform you want to target
and learn all of the nasty details about how the platform works.
Third, pick a language and set of development tools.
Fourth, write it. :)
--
Grant Edwards grante Yow! With YOU, I can be
at MYSELF... We don't NEED
visi.com Dan Rather...
------------------------------
From: Kurt Wall <[EMAIL PROTECTED]>
Subject: Re: How to crerate a library
Date: 27 Jun 2000 01:39:50 GMT
tabascox <[EMAIL PROTECTED]> wrote:
> Hi Linux friends,
> I am writing a set of math functions, in C++, and I would like to create
> a simple library like, libXX.so libXX.a to link inside the program.
libXX.so would be a shared library, while libXX.a typically denotes
a static library. To create a static library (assuming you're using
gcc):
$ gcc -c libXX.c -o libXX.o
$ ar rcs libXX.a libXX.o
Of course, add flags for libraries you're linking against and so forth.
To create a shared library, again supposing you're using gcc:
$ gcc -c -fPIC libXX.c -o libXX.o
$ gcc -shared -Wl,-soname,libXX.so -o libXX.so.M.N.O libXX.o -lc
$ ln -s libXX.so.M.N.O liberr.so
"-fPIC" creates Position Independent Code that can link and load at
any address - you need this for a shared library.
"-shared" should be obvious "-Wl,-soname,libXX.so" passes "-soname" to
the linker, specifying an soname of "libXX.so" - apps typically link
against a library's soname. "-lc" links the C library too, just in case
your lib winds up on a system with a different C library version.
"libXX.so.M.N.O" is the actual library file, where M, N, and O are
the major, minor, and release version numbers. The "ln" line creates
a symbolic for the linker to use.
Kurt
--
Old age is too high a price to pay for maturity.
------------------------------
From: Todd Scheetz <[EMAIL PROTECTED]>
Subject: Kernel 2.4 question
Date: Mon, 26 Jun 2000 21:13:34 -0500
I have a couple of questions regarding the capabilities of kernel 2.4
with regards to file sizes. Specifically, is kernel 2.4 capable of
accessing (reading and writing) files larger than 2 GB? We run several
linux systems here to handle large amount of processing, specifically
for computational biology/genetics. But some of the data files are
larger than 2 GB when uncompressed.
I would swear I have read that 2.4 can do this, but I cannot find any
verfication of this.
Thanks much,
-Todd
------------------------------
From: John Gluck <[EMAIL PROTECTED]>
Crossposted-To: linux.dev.kernel,alt.os.linux
Subject: compiling 2.4-test2 kernel problem
Date: Tue, 27 Jun 2000 02:23:45 GMT
Hi
This is a bit of a strange problem but here goes....
If I compile the 2.4-test2 kernel (SMP) while running the 2.4-test1
(SMP) kernel it works fine...
All the modules load OK and there are no error or warning files in any
of the log files.
The system behaves normally I can runn pppd and get on the net (I'm
running test 2 now)
So here's the problem.
Try to compile the test-2 kernel when running the test-2 kernel and I
get signal 11 errors like what's shown below:
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -march=i686 -c -o
init/main.o init/main.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -march=i686
-DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
make -C kernel
make -C drivers
make -C mm
make -C fs
make -C net
make[1]: Entering directory `/usr/src/linux-2.4.0-test2/drivers'
make -C block
make -C ipc
make[1]: Entering directory `/usr/src/linux-2.4.0-test2/mm'
make all_targets
gcc: Internal compiler error: program cc1 got fatal signal 11
gcc: Internal compiler error: program cc1 got fatal signal 11
make[1]: Entering directory `/usr/src/linux-2.4.0-test2/kernel'
make all_targets
make[1]: Entering directory `/usr/src/linux-2.4.0-test2/fs'
make -C proc
make: *** [init/version.o] Error 1
make: *** Waiting for unfinished jobs....
The actual place at where I get errors changes. If I do several runs,
the errors will be in different places.
This is my system configuration:
Tyan S1836DLUAN Mother board
2 x Pentium III (450Mhz)
256 Meg RAM
1 x Matrox G400 MAX with 32 Meg RAM
1 x Ultra wide SCSI Hard disk
1 x SCSI CD-ROM
1 x SCSI CD-RW
3 x Udma 33 IDE Hard disks
1 X SBLive
Has anyone run across this???
Better yet has anyone got a fix (other than compiling under the test1
kernel)???
If you could e-mail me directly as well as answer the group it would be
much appreciated...
TIA
John
------------------------------
From: Art Wagner <[EMAIL PROTECTED]>
Crossposted-To: linux.dev.kernel,alt.os.linux
Subject: Re: compiling 2.4-test2 kernel problem
Date: Mon, 26 Jun 2000 20:53:23 -0700
John;
You need to get Alan Cox's patch-2.4.0-test2-ac2.gz from;
ftp://ftp.kernel.org/pub/kernel/people/alan/
It fixes MANY nasty problems in 2.4.0-test2
Art Wagner
John Gluck wrote:
>
> Hi
>
> This is a bit of a strange problem but here goes....
>
> If I compile the 2.4-test2 kernel (SMP) while running the 2.4-test1
> (SMP) kernel it works fine...
> All the modules load OK and there are no error or warning files in any
> of the log files.
> The system behaves normally I can runn pppd and get on the net (I'm
> running test 2 now)
>
> So here's the problem.
> Try to compile the test-2 kernel when running the test-2 kernel and I
> get signal 11 errors like what's shown below:
>
> scripts/split-include include/linux/autoconf.h include/config
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strict-aliasing -pipe -march=i686 -c -o
> init/main.o init/main.c
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> -fomit-frame-pointer -fno-strict-aliasing -pipe -march=i686
> -DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
> make -C kernel
> make -C drivers
> make -C mm
> make -C fs
> make -C net
> make[1]: Entering directory `/usr/src/linux-2.4.0-test2/drivers'
> make -C block
> make -C ipc
> make[1]: Entering directory `/usr/src/linux-2.4.0-test2/mm'
> make all_targets
> gcc: Internal compiler error: program cc1 got fatal signal 11
> gcc: Internal compiler error: program cc1 got fatal signal 11
> make[1]: Entering directory `/usr/src/linux-2.4.0-test2/kernel'
> make all_targets
> make[1]: Entering directory `/usr/src/linux-2.4.0-test2/fs'
> make -C proc
> make: *** [init/version.o] Error 1
> make: *** Waiting for unfinished jobs....
>
> The actual place at where I get errors changes. If I do several runs,
> the errors will be in different places.
>
> This is my system configuration:
>
> Tyan S1836DLUAN Mother board
> 2 x Pentium III (450Mhz)
> 256 Meg RAM
> 1 x Matrox G400 MAX with 32 Meg RAM
> 1 x Ultra wide SCSI Hard disk
> 1 x SCSI CD-ROM
> 1 x SCSI CD-RW
> 3 x Udma 33 IDE Hard disks
> 1 X SBLive
>
> Has anyone run across this???
> Better yet has anyone got a fix (other than compiling under the test1
> kernel)???
>
> If you could e-mail me directly as well as answer the group it would be
> much appreciated...
>
> TIA
>
> John
------------------------------
From: Art Wagner <[EMAIL PROTECTED]>
Subject: Re: 2.4.0 test2 kernel qualms
Date: Mon, 26 Jun 2000 20:55:51 -0700
Brian J Luczkiewicz wrote:
>
> I just downloaded the test2 kernel (and as the holy penguin specter
> said, it worked)...unfortunately I have two problems. my first is that
> I can not seem to make pppd behave itself, it quits just after hooking
> up ppp0 <--> /dev/modem.....the second is that I get a lot of "oops"
> messages at startup and shutdown regarding the dereferencing of
> NULL pointers by the kernel. Any ideas? the oops messages are nonfatal
> and if i break into a shell i can go multiuser from there and have
> basically full functionality, besides ppp.....it is annoying to have to
> manually start up though....
>
> Brian
Get Alan Cox's patch-2.4.0-test2-ac2.gz
Fixes PPP problem
Art Wagner
------------------------------
From: John Gluck <[EMAIL PROTECTED]>
Subject: compiling 2.4-test2 kernel problem
Date: Tue, 27 Jun 2000 03:58:27 GMT
Hi
This is a bit of a strange problem but here goes....
If I compile the 2.4-test2 kernel (SMP) while running the 2.4-test1
(SMP) kernel it works fine...
All the modules load OK and there are no error or warning files in any
of the log files.
The system behaves normally I can runn pppd and get on the net (I'm
running test 2 now)
So here's the problem.
Try to compile the test-2 kernel when running the test-2 kernel and I
get signal 11 errors like what's shown below:
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -march=i686 -c -o
init/main.o init/main.c
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -march=i686
-DUTS_MACHINE='"i386"' -c -o init/version.o init/version.c
make -C kernel
make -C drivers
make -C mm
make -C fs
make -C net
make[1]: Entering directory `/usr/src/linux-2.4.0-test2/drivers'
make -C block
make -C ipc
make[1]: Entering directory `/usr/src/linux-2.4.0-test2/mm'
make all_targets
gcc: Internal compiler error: program cc1 got fatal signal 11
gcc: Internal compiler error: program cc1 got fatal signal 11
make[1]: Entering directory `/usr/src/linux-2.4.0-test2/kernel'
make all_targets
make[1]: Entering directory `/usr/src/linux-2.4.0-test2/fs'
make -C proc
make: *** [init/version.o] Error 1
make: *** Waiting for unfinished jobs....
The actual place at where I get errors changes. If I do several runs,
the errors will be in different places.
This is my system configuration:
Tyan S1836DLUAN Mother board
2 x Pentium III (450Mhz)
256 Meg RAM
1 x Matrox G400 MAX with 32 Meg RAM
1 x Ultra wide SCSI Hard disk
1 x SCSI CD-ROM
1 x SCSI CD-RW
3 x Udma 33 IDE Hard disks
1 X SBLive
Has anyone run across this???
Better yet has anyone got a fix (other than compiling under the test1
kernel)???
If you could e-mail me directly as well as answer the group it would be
much appreciated...
TIA
John
------------------------------
From: Yung-Hsiang Lu <[EMAIL PROTECTED]>
Subject: can linux control bus signals?
Date: 27 Jun 2000 04:11:15 GMT
Hi,
First, I believe that the current implementation of Linux does not put
Pentium into a sleep state and save power even though there is nothing
to do. If that's not true, please correct me. Thank you.
In order to put Pentium into sleeping state, two signals needs to be
asserted: STPCLK and SLP. My question is whether this is possible by
Linux? If so, how to achieve it? I browse the source tree (kernel
2.2.12) but did not find anything promising.
Thank you very much.
--
Sincerely,
Yung-Hsiang Lu
[EMAIL PROTECTED]
------------------------------
From: Sheryl Martin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development
Subject: Re: Getting IP from Telnet-User
Date: Tue, 27 Jun 2000 05:36:32 GMT
Use finger or I suppose the hard way might be:
netstat -an | grep ESTABLISH | grep ':23'.
- Pat
Jan R�hrich wrote:
> How can I find out the IP of the client-system in a telnet-session? I
> want to use the IP to connect back!
>
> Jan
------------------------------
From: Brennan Cheung <[EMAIL PROTECTED]>
Subject: Re: running remote untrusted code
Date: Mon, 26 Jun 2000 23:02:40 -0700
Chetan Ahuja wrote:
> Brennan Cheung <[EMAIL PROTECTED]> spoke thusly:
> > Hi. I am working on a project that I need a client to be able to upload
> > code to my server and have it run securely. I want to limit all API
> > access except the API I will provide (ie, no files, no networking, no
> > libc, etc). I was wondering if this is even possible under Linux? I'm
> > not sure if this is the right group to be asking under but it looked
> > like the best choice I could find. Should I post this somewhere else?
> > If so, where?
>
> > What mechanism could I use to load and execute remote code. It is very
> > much like a DLL but I don't want to have to write it to a file first.
>
> > Would people be able to write code under a different platform such as
> > Windows and have it run on my server. I was thinking that it shouldn't
> > be too hard because it should be pure binary code with the exception of
> > the library calls I will provide.
>
> > What is the process for a client to link into the API that I will
> > provide?
>
> > The basic idea of what I am trying to do for those of you who are
> > wondering why I want to do this is that I have a server and lots of
> > clients that will connect to the server. These clients are AI units
> > that interact in a virtual world (the server). I want anyone to be able
> > to do this but I want to be able to run untrusted code or in other words
> > restrict the client from executing any harmful code.
>
> > Thanks in advance,
> > Brennan
>
> Brennen, what you're talking about is part of a currently popular
> field in Comp. Sci. Run searches for words like "Smart agents",
> "Mobile agents" etc on google and you'll come up with lots and lots
> of stuff. If you want to write such a system with complete security
> and for commercial purposes (so that anybody can write the agents
> and upload on your servers), your best bets are Java or some other
> scripting language (e.g. python, perl etc) which would work under
> an interpreter provided by you. Then you will have to carefully
> craft the interpreter to make it secure. Java already has an
> intensive security infrastructure that could save you some time. But
> on the other hand you could use an open source language like python
> or perl and then customize the interpreter to eliminate security
> hazards as well as (possibly) enhance performance.
>
> In short, there's no short and easy way out here. You'll have to
> do considerable amount of work to make such a system work at the
> scale you want. If you really have a commercialy interest in it then
> you'll probably have to find some way to get this done in a
> distribute way (using some sort of distributed server farm).
>
> You can get in touch with me over email if you want to discuss it
> further.
>
> Chetan Ahuja
I have have been thinking about what the requirements of this system are and
they are really pretty high. Due to the number of processes running
concurrently
there music be a really low context switch for task swapping. The large
number
of processes also demands that each process run as fast as it possibly can. I
am
currently looking under different opearting systems to see if any other
operating
systems out there meet this requirement. So far I haven't really found
anything
too promising. I am thinking that a new operating system will have to be
build
in order to solve this problem. I'm probably going to start playing around
with
the OSKit again sometime soon.
Anyone have any suggestions?
Brennan Cheung
------------------------------
** 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
******************************