Hi, I retrieved GCC 2.95.1, installed it from the source and recompiled the kernel and rtl. Now I have no problems with X or KDE crashing (none yet anyway). I am now trying to compile the examples and I get errors there. I totally removed the pgcc compiler that came with Mandrake. I export CC=gcc to have the examples compiled under gcc. I have included the make output here as well as the boot messages. Does anyone have an idea as to why these errors? Is GCC 2.95.1 O.K. for use with rtl? If not where can I find 2.7.2.3 sources (not at the gcc home page). Thanks for your help, John -----Original Message----- From: Michael Barabanov [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 17, 1999 3:56 AM To: John VanLoon Subject: Re: [rtl] RTL beta 16 and Mandrake John VanLoon ([EMAIL PROTECTED]) wrote: > Hi, > I have use RTL V1.2 for a while and am trying to come up to speed with > the beta's. I grabbed the prepatched beta 16 and installed it on Mandrake > (orig kernel was 2.2.9). I compiled both the patched linux and RTL, then > installed them. After rebooting and starting RTLbeta16 I get into KDE, > can log on but if I try to open a Kconsole (terminal app) the system > freezes and I get to kick it :-(. The system is a Pent. 166 with 64 MB > mem (4 MB is used by the video card). Lilo includes mem=59M. I am not > running any RT processes. The old kernel still works just fine. On boot > up everything looks good. I searched the archives but did not find > anything. I would appreciate any help or encouragement that it works on > Mandrake (I know of no reason it would not. I compiled for non SMP type > machine with networking no APM and not much else. 1. Please send me the system boot messags. 2. Could you try recompiling the kernel with gcc 2.7.2.3? Michael. [[ error.txt : 3899 in error.txt ]][[ dmesg.txt : 3900 in dmesg.txt ]]
cd /usr/src/beta16/rtl/examples/frank/ make -k gcc -I/usr/src/beta16/linux/include -I/usr/src/beta16/rtl/include -I/usr/src/beta16/rtl -I/usr/src/beta16/linux/include -I/usr/src/beta16/rtl/include -I/usr/src/beta16/rtl -I/usr/src/beta16/rtl/include/posix -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__RTL__ -D__KERNEL__ -DMODULE -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c frank_module.c -o frank_module.o frank_module.c: In function `my_handler': /usr/src/beta16/rtl/include/arch/rtl_time.h:158: Invalid `asm' statement: /usr/src/beta16/rtl/include/arch/rtl_time.h:158: fixed or forbidden register 0 (ax) was spilled for class AREG. make: *** [frank_module.o] Error 1 gcc -I/usr/src/beta16/linux/include -I/usr/src/beta16/rtl/include -I/usr/src/beta16/rtl -O2 -Wall frank_app.c -o frank_app gcc -I/usr/src/beta16/linux/include -I/usr/src/beta16/rtl/include -I/usr/src/beta16/rtl -I/usr/src/beta16/linux/include -I/usr/src/beta16/rtl/include -I/usr/src/beta16/rtl -I/usr/src/beta16/rtl/include/posix -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__RTL__ -D__KERNEL__ -DMODULE -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -c frank_new.c -o frank_new.o frank_new.c: In function `thread_code': /usr/src/beta16/rtl/include/arch/rtl_time.h:168: Invalid `asm' statement: /usr/src/beta16/rtl/include/arch/rtl_time.h:168: fixed or forbidden register 2 (cx) was spilled for class CREG. make: *** [frank_new.o] Error 1 make: Target `all' not remade because of errors. Compilation exited abnormally with code 2 at Tue Oct 19 17:37:00
Linux version 2.2.12-RTLBETA16 (root@NGCCS) (gcc version 2.95.1 19990816 (release)) #6 Mon Oct 18 20:48:18 PDT 1999 Detected 167045323 Hz processor. Console: colour VGA+ 80x25 Calibrating delay loop... 333.41 BogoMIPS Memory: 58168k/60416k available (964k kernel code, 408k reserved, 840k data, 36k init) CPU: Intel Pentium MMX stepping 03 Checking 386/387 coupling... OK, FPU using exception 16 error reporting. Checking 'hlt' instruction... OK. Intel Pentium with F0 0F bug - workaround enabled. POSIX conformance testing by UNIFIX RTL started PCI: PCI BIOS revision 2.10 entry at 0xfb110 PCI: Using configuration type 1 PCI: Probing PCI hardware Linux NET4.0 for Linux 2.2 Based upon Swansea University Computer Society NET3.039 NET4: Unix domain sockets 1.0 for Linux NET4.0. NET4: Linux TCP/IP 1.0 for NET4.0 IP Protocols: ICMP, UDP, TCP Starting kswapd v 1.5 Serial driver version 4.27 with no serial options enabled ttyS00 at 0x03f8 (irq = 4) is a 16550A ttyS01 at 0x02f8 (irq = 3) is a 16550A pty: 256 Unix98 ptys configured SIS5513: IDE controller on PCI bus 00 dev 09 SIS5513: not 100% native mode: will probe irqs later ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:pio, hdb:pio ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:pio, hdd:pio hda: WDC AC26400B, ATA DISK drive hdb: HITACHI CDR-7930, ATAPI CDROM drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 hda: WDC AC26400B, 6149MB w/512kB Cache, CHS=13328/15/63 hdb: ATAPI 8X CD-ROM drive, 128kB Cache Uniform CDROM driver Revision: 2.55 Floppy drive(s): fd0 is 1.44M FDC 0 is a post-1991 82077 tulip.c:v0.89H 5/23/98 [EMAIL PROTECTED] eth0: Lite-On 82c168 PNIC at 0xe000, 00 a0 cc 26 58 fb, IRQ 9. eth0: MII transceiver found at MDIO address 1, config 3100 status 7829. eth0: Advertising 01e1 on PHY 1, previously advertising 01e1. Partition check: hda: hda1 hda2 hda3 hda4 NTFS version 990411 VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 36k freed Adding Swap: 76540k swap-space (priority -1) eth0: Changing PNIC configuration to full-duplex, CSR6 812e0200. eth0: Changing PNIC configuration to full-duplex, CSR6 812e0200.