From: nolet@concour.cs.concordia.ca (Nolet Richard G.) Subject: Some Problems: Emacs, gdb, and recompiling 0.95 Date: 14 Mar 1992 05:05:38 GMT
First of all: kudos to a successful os. I've been using linux 0.12 since
around mid January. I've just upgraded to 0.95 and gcc 1.4.
I waited until 0.95 came out to ask a few questions because I had applied
a number of patches to 0.12 and it becomes hard to figure out if it's a
patch that's causing the problems. Ok here goes - I noticed someone mention
this problem already but I may have missed the answer:
If I try to execute Emacs shell mode this is what I get:
Process shell background read attempted from control tty
The status line says:
--**-Emacs: *shell* (Shell: stop)----All----etc.....
Needless to say the shell doesn't work :-( - Any ideas??? and yes it still
occurs in 0.95!
The next problem occurs with gdb. Basically I was testing it out on a simple
program - "hello world" that also asks for character input and branches
accordingly. This is what gdb tells me:
(no debugging symbols found)...
(gdb) run
Starting program: /usr/root/hello
[ioctl TIOCSPGRP failed in terminal_inferior: Not owner]
Program received signal 21, Stopped (tty input)
0x6cc in read ()
(gdb) quit
The program is running. Quit anyway? (y or n)y
Gee - if root isn't the owner than who is?
Still - linux is great and it's free so I won't complain too loudly.
*BUT* here comes the worst part - 0.95 and gcc 1.4 has trouble compiling.
I picked up the new linux source from tsx-11 and wanted to recompile so
I could use ps. Well!, it mostly compiled ok except for two files:
console.c and fork.c
For both of these files I got this type of message:
gcc -Wall -O -fstrength-reduce -fomit-frame-pointer -finline-functions -nostdin
Program got fatal signal 436.
make[1]: *** [console.o] Error 1
make: *** [kernel/chr_drv/chr_drv.a] Error 1
The fix seems to be to remove -O from the Makefile - then it all compiles ok!
But by the time I create the Image file it's considerably larger than the
distribution (could be due to a change in optimization and 1.4 rather than
2.0 I guess):
tools/build boot/bootsect boot/setup tools/system /dev/hda4 > Image
Root device is (3, 4)
Boot sector 512 bytes.
Setup is 1384 bytes.
System is 217088 bytes.
sync
Booting from this Image is - well - not happening :-(
more output:
8 virtual consoles
4 pty's
stack segment: 0000
EIP: 0008:0000D2D6
EFLAGS: 00010202
fs: 0010
base: 00000000, limit: 000A0000
Pid: 0, process nr: 0
8b 45 cc 66 c7 04 cd e0 a4 00
Kernel panic: Trying to free up swapper memory space
In swapper task - not syncing
And then it just sits there - bummer.
One other thing with 0.95 - the keypad arrow keys output things like:
^[Ox and ^[Ov rather than the usual ^[OA and ^[OC etc.
This was another reason to recompile - maybe by changing the keyboard to US
it would change the keypad output.
Anyway - I've had no problems applying patches to 0.12 and recompiling the
kernel. Am I doing something wrong with 0.95? Oh yeah - before I forget,
my system:
ALR 386 with math copro, 4MB mem
Thanks,
+-------------------------------------------------------------------------+
| Richard Nolet "I am not sure what this is, but |
| Montreal... an `F' would only dignify it." |
| |
| nolet@concour.cs.concordia.ca 514-487-5817 |
+-------------------------------------------------------------------------+